[Setup] 3.3.6 -> 4.1.2 migration fails on Inconsistent UID index
Stuart Marshall
marshall at slac.stanford.edu
Tue Oct 25 16:06:08 UTC 2011
Hi,
I'm getting stuck trying to migrate our intranet site from 3.3.x to 4.1.2.
It is a large and old site with thousands of entries.
This appears to correspond to ticket 12185
(http://dev.plone.org/ticket/12185)
The end of the dry run looks like:
-------------------------------------------------------------------------------
2011-10-24T22:35:19 INFO plone.app.upgrade Converting index `UID` to UUIDIndex.
------
2011-10-24T22:35:20 ERROR plone.app.upgrade Upgrade aborted. Error:
Traceback (most recent call last):
File "/prod1/collab/buildout-cache/eggs/Products.CMFPlone-4.1.2-py2.6.egg/Products/CMFPlone/MigrationTool.py", line 175, in upgrade
step['step'].doStep(setup)
File "/prod1/collab/buildout-cache/eggs/Products.GenericSetup-1.6.3-py2.6.egg/Products/GenericSetup/upgrade.py", line 142, in doStep
self.handler(tool)
File "/prod1/collab/buildout-cache/eggs/plone.app.upgrade-1.1.3-py2.6.egg/plone/app/upgrade/v41/alphas.py", line 276, in to41alpha3
optimize_indexes(context)
File "/prod1/collab/buildout-cache/eggs/plone.app.upgrade-1.1.3-py2.6.egg/plone/app/upgrade/v41/alphas.py", line 269, in optimize_indexes
convert_to_uuidindex(catalog, index)
File "/prod1/collab/buildout-cache/eggs/plone.app.upgrade-1.1.3-py2.6.egg/plone/app/upgrade/v41/alphas.py", line 214, in convert_to_uuidindex
'with multiple docids: %r' % (k, paths))
ValueError: Inconsistent UID index, UID 3bd998e1b63ebf63d8c1228a23be524e is associated with multiple docids: {('', 'collab', 'seminars', 'teatalks'): -1812305681, ('', 'collab', 'seminars', 'portal_factory', 'Folder', 'teatalks'): -630262447}
------
2011-10-24T22:35:23 INFO plone.app.upgrade End of upgrade path, migration has finished
------
2011-10-24T22:35:23 ERROR plone.app.upgrade The upgrade path did NOT reach current version
------
2011-10-24T22:35:23 ERROR plone.app.upgrade Migration has failed
-------------------------------------------------------------------------------
Has anyone else experienced this? I'd be happy to go back and remove the offending if I knew how to find them.
Any suggestions on what to try next?
thanks!,
Stuart
More information about the Setup
mailing list