[Setup] Upgrade from 3.3.5 to 4.0.3 fails on "NotFound: <username>" (same for 4.0.4)

Steve McMahon steve at dcn.org
Wed Mar 9 02:03:48 UTC 2011


Have you tried clearing and rebuilding your catalog prior to upgrading? It
looks like there might be a bad entry.

On Tue, Mar 8, 2011 at 11:15 AM, Mike Hammill <mike at kth.se> wrote:

> Same error with the newest 4.0.4.  Guess it's time for a bug report?
>
> Upgrade report
>
> Dry run selected.
> Starting the migration from version: 3.3.5
> Ran upgrade step: Uninstall a broken CacheFu
> Ran upgrade step: Unregister old export and import steps.
> Ran upgrade step: Cleanup the persistent tool registry.
> Role / permission map imported.
> Toolset imported.
> Archetype tool imported.
> Ran upgrade step: Update the toolset registry.
> Ran upgrade step: Cleanup the skins tool.
> Ran upgrade step: Cleanup Zope's products registry.
> Ran upgrade step: Empty upgrade step
> Ran upgrade step: Remember active theme.
> Role / permission map imported.
> Skins tool imported.
> Archetype tool imported.
> Role / permission map imported.
> Skins tool imported.
> Actions tool imported.
> Archetype tool imported.
> Role / permission map imported.
> Skins tool imported.
> Archetype tool imported.
> Javascript registry imported.
> Imported.
> Stylesheet registry imported.
> Role / permission map imported.
> Toolset imported.
> Adapters registered.
> Utilities registered.
> Skins tool imported.
> Control panel imported.
> Archetype tool imported.
> TinyMCE Settings imported.
> Javascript registry imported.
> KSS registry imported.
> Stylesheet registry imported.
> Action icons tool settings imported.
> Role / permission map imported.
> Archetype tool imported.
> Javascript registry imported.
> Stylesheet registry imported.
> Role / permission map imported.
> Control panel imported.
> Archetype tool imported.
> Properties tool imported.
> Action icons tool settings imported.
> Role / permission map imported.
> Archetype tool imported.
> Javascript registry imported.
> Properties tool imported.
> 'Discussion Item' type info imported.
> 'TempFolder' type info imported.
> 'Plone Site' type info imported.
> 'ATPathCriterion' type info imported.
> 'ATBooleanCriterion' type info imported.
> 'Image' type info imported.
> 'Topic' type info imported.
> 'ATSelectionCriterion' type info imported.
> 'Document' type info imported.
> 'ATSimpleStringCriterion' type info imported.
> 'ATCurrentAuthorCriterion' type info imported.
> 'ATDateCriteria' type info imported.
> 'Event' type info imported.
> 'ATReferenceCriterion' type info imported.
> 'ATSimpleIntCriterion' type info imported.
> 'ATListCriterion' type info imported.
> 'Folder' type info imported.
> 'Link' type info imported.
> 'News Item' type info imported.
> 'File' type info imported.
> 'ATDateRangeCriterion' type info imported.
> 'ATSortCriterion' type info imported.
> 'ATRelativePathCriterion' type info imported.
> 'ATPortalTypeCriterion' type info imported.
> ATCTTool settings imported.
> Control panel imported.
> Javascript registry imported.
> Ran upgrade step: General upgrade steps.
> Skins tool imported.
> Imported.
> Ran upgrade step: Restore theme after Sunburst has been installed.
> Ran upgrade step: Upgrade action icons away from the action icons tool.
> Installed local RAM cache utility.
> Ran upgrade step: Update the local RAMCache utility import location.
> Updated workflow actor variable expression.
> Ran upgrade step: Update the actor variable expression in several
> workflows.
> Updated expression for authenticated-only resources.
> Ran upgrade step: Update expression for authenticated-only resources.
> Ran upgrade step: Configure new reference browser.
> Updated Plone site FTI.
> Updated TempFolder FTI.
> Ran upgrade step: Remove outdated actions and properties from the Portal
> FTI.
> Added new CMFEditions modifiers.
> Ran upgrade step: Add new CMFEditions default modifiers.
> Ran upgrade step: Upgrade MailHost.
> migrating btree-based folders from <PloneSite at /pdc>:
> intermediate commit (376 objects processed, last batch in 8.305s)...
> processed 376 object(s) in 8.660s (6.070s cpu time).
> Ran upgrade step: Upgrade standard folders to new unified folder type.
> Ran upgrade step: Empty upgrade step
> Ran upgrade step: Empty upgrade step
> Ran upgrade step: Disable plone.app.jquerytools' overlay CSS
> Ran upgrade step: Rename join_form_fields.
> Role / permission map imported.
> Actions tool imported.
> Archetype tool imported.
> Ran upgrade step: Update Join action URL
> Dublin Core metadata definition updated.
> Ran upgrade step: Upgrade DCMI metadata storage in portal_metadata
> Ran upgrade step: Add the recursive groups PAS plugin.
> Updated `portal_type` for former "Large Folder" content
> Ran upgrade step: Update portal type of former 'Large Folder' content
> Ran upgrade step: Cleanup Zope's products registry.
> Optimized internal date range index structures.
> Ran upgrade step: Optimize date range indexes.
> Ran upgrade step: Cleanup Classic Theme CSS registry metadata.
> Role / permission map imported.
> Skins tool imported.
> Control panel imported.
> Archetype tool imported.
> Javascript registry imported.
> Imported.
> Types tool imported.
> 'Plone Site' type info imported.
> 'Topic' type info imported.
> 'Folder' type info imported.
> Catalog imported.
> Ran upgrade step: General upgrade steps.
> Role / permission map imported.
> Archetype tool imported.
> Imported.
> Ran upgrade step: General upgrade steps
> Ran upgrade step: Ensure recursive groups plugin is properly placed.
> Role / permission map imported.
> Archetype tool imported.
> Imported.
> Stylesheet registry imported.
> Types tool imported.
> 'TempFolder' type info imported.
> 'Plone Site' type info imported.
> 'Image' type info imported.
> 'Topic' type info imported.
> 'Document' type info imported.
> 'Event' type info imported.
> 'Folder' type info imported.
> 'Link' type info imported.
> 'News Item' type info imported.
> 'File' type info imported.
> Ran upgrade step: General upgrade steps
> Ran upgrade step: Update the safe_html transform with the new config
> params, migrating existing config from Kupu.
> Updating `getIcon` metadata.
> Upgrade aborted. Error:
> Traceback (most recent call last):
>  File
>
> "/usr/local/Plone-4.0.4/buildout-cache/eggs/Plone-4.0.4-py2.6.egg/Products/CMFPlone/MigrationTool.py",
> line 175, in upgrade
>    step['step'].doStep(setup)
>  File
>
> "/usr/local/Plone-4.0.4/buildout-cache/eggs/Products.GenericSetup-1.6.1-py2.6.egg/Products/GenericSetup/upgrade.py",
> line 141, in doStep
>    self.handler(tool)
>  File
>
> "/usr/local/Plone-4.0.4/buildout-cache/eggs/plone.app.upgrade-1.0.4-py2.6.egg/plone/app/upgrade/v40/betas.py",
> line 115, in updateIconMetadata
>    obj = brain.getObject()
>  File
>
> "/usr/local/Plone-4.0.4/buildout-cache/eggs/Zope2-2.12.16-py2.6-linux-x86_64.egg/Products/ZCatalog/CatalogBrains.py",
> line 83, in getObject
>    parent = parent.unrestrictedTraverse(path[:-1])
>  File
>
> "/usr/local/Plone-4.0.4/buildout-cache/eggs/Zope2-2.12.16-py2.6-linux-x86_64.egg/OFS/Traversable.py",
> line 293, in unrestrictedTraverse
>    raise e
> NotFound: edlund
> End of upgrade path, migration has finished
> The upgrade path did NOT reach current version
> Migration has failed
> Dry run selected, transaction aborted
> Version Overview
>
> Plone 4.0.4
> Zope 2.12.16
> Python 2.6.6 (r266:84292, Mar 8 2011, 19:38:28) [GCC 4.1.2 20080704 (Red
> Hat 4.1.2-46)]
> _______________________________________________
> Setup mailing list
> Setup at lists.plone.org
> https://lists.plone.org/mailman/listinfo/setup
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.plone.org/pipermail/setup/attachments/20110308/b3e25a8e/attachment-0001.html>


More information about the Setup mailing list