[Setup] RE : 3.3.6 -> 4.1.2 migration fails on Inconsistent UID index
Marshall, Stuart L.
marshall at slac.stanford.edu
Wed Oct 26 20:41:35 UTC 2011
Thanks for the suggestion. I tried updating the catalog in both the
old working 3.3.6 site and in the new 4.1.2. It did not help in
either case.
I did look in: /collab/uid_catalog/Indexes/Type
and there are only 2 entries there with portal_factory in the path,
they are:
portal_factory/Folder/admin
seminars/portal_factory/Folder/teatalks
So these seem to correspond well to the error message.
Unfortunately so far I can't think if any way to delete them
(or find them since /admin and /seminars/teatalks both exist as real
folders).
Since there are only two items, I wonder if there is a way to
identify and delete them in the ZMI interface?
I guess I'm stuck waiting until (http://dev.plone.org/ticket/12185)
is resolved.
Stuart
Quoting Bastien Gauthier (gbastien at commune.sambreville.be) on Wed, Oct 26, 2011 at 12:47:01AM -0700:
> 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 : plone-setup-bounces at lists.plone.org [mailto:plone-setup-bounces at lists.plone.org] De la part de Stuart Marshall
> Envoyé : mardi 25 octobre 2011 18:06
> À : setup at lists.plone.org
> 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
> Setup at lists.plone.org
> 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
>
--
- Stuart Marshall 650 926 3616 Office
- KIPAC/SLAC M/S 29 926 2846 Dept Office
- 2575 Sand Hill Rd. 926 8570 FAX
- Menlo Park, CA 94025 marshall at slac.stanford.edu E-mail
More information about the Setup
mailing list