I remember that in some case, elements from portal_factory where indexed.  
Clearly here the problem is this portal_factory element.  Elements are first 
created in portal_factory then when "finalized", removed from portal_factory 
and really created.  What you have to do is to remove this element from 
existing catalogs.

I do not know much about the exact migration but did you try updating your 
uid_catalog?  ZMi-->uid_catalog-->advances-->update catalog.

Have a nice day,

Gauthier

-----Message d'origine-----
De : [email protected] 
[mailto:[email protected]] De la part de Stuart Marshall
Envoyé : mardi 25 octobre 2011 18:06
À : [email protected]
Objet : [Setup] 3.3.6 -> 4.1.2 migration fails on Inconsistent UID index

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
_______________________________________________
Setup mailing list
[email protected]
https://lists.plone.org/mailman/listinfo/plone-setup
 

__________ Information provenant d'ESET NOD32 Antivirus, version de la base des 
signatures de virus 6574 (20111025) __________

Le message a été vérifié par ESET NOD32 Antivirus.

http://www.eset.com
 
 

__________ Information provenant d'ESET NOD32 Antivirus, version de la base des 
signatures de virus 6574 (20111025) __________

Le message a été vérifié par ESET NOD32 Antivirus.

http://www.eset.com
 
_______________________________________________
Setup mailing list
[email protected]
https://lists.plone.org/mailman/listinfo/plone-setup

Reply via email to