[Setup] Upgrade from 3.2.2 to 4.0.2 fails > Solved

Michael Zimmermann list at incunabulum.de
Sun Feb 6 15:44:23 UTC 2011

Hi there,

after some more digging I was finally able to hunt this down.  The
Stacktrace below hinted that the upgrade procedure is not able to
relocate an item called "gp". What I did was as follows:

- Deleting this object did not help.
- As the traceback hints at the catalog, rebuilding the index
  and running migration again lead to errors like "Broken
  TextIndex". Many of them!
- Looking at portal_catalog I could see that two indexes
  (Title, Description) were of type "TextIndex". A type
  which is no longer supported, see bug #11418
- So, recreate these indexes as ZCTextIndex and rebuild  the catalog
- Finally, the migration works....

Nice.... now this major hurdle is taken...

On towards the smaller ones like finding out why the review portlet
shows every published item as "to be reviewed" and some such..

btw - this nabble-mailman-thing is a royal PITA. How do I really
subscribe to this thing? And how do I make sure I do get each post once
- and not never or twice....


> Traceback (most recent call last):
> ....
> "/opt/plone4/buildout-cache/eggs/Zope2-2.12.13-py2.6-linux-i686.egg/Products/ZCatalog/CatalogBrains.py",
> line 92, in getObject
>     target = parent.restrictedTraverse(path[-1])
>   File
> "/opt/plone4/buildout-cache/eggs/Zope2-2.12.13-py2.6-linux-i686.egg/OFS/Traversable.py",
> line 310, in restrictedTraverse
>     return self.unrestrictedTraverse(path, default, restricted=True)
>   File
> "/opt/plone4/buildout-cache/eggs/Zope2-2.12.13-py2.6-linux-i686.egg/OFS/Traversable.py",
> line 293, in unrestrictedTraverse
>     raise e
> NotFound: gp
> End of upgrade path, migration has finished

More information about the Setup mailing list