UPDATE:
I still can't successfully upgrade to 2.5.
However, I have a different path to failure now. Instead of
trying to
upgrade from 2.1.2 to 2.5, did the following:
- upgrade zope: 2.8.6 -> 2.8.7 (successful)
- upgrade plone: 2.1.2 -> 2.1.3 (successful)
- upgrade plone: 2.1.3 -> 2.5 (FAILED)
The error trace (for a Dry run) is the same as that included
below when
I tried 2.1.2->2.5.
So this isn't really progress, since I still can't migrate
to 2.5, but
at least 2.1.2 seems to not be part of the equation, i.e. I
can
reproducibly fail to migrate 2.1.3->2.5 on zope 2.8.7.
Again, any help or advice is appreciated.
-hoss
David Hostetler wrote:
> Any help regarding the following is appreciated.
>
> I'm attempting to migrate from a zope2.8.6/plone2.1.2
instance to
> zope2.9.4/plone2.5. Feeling brave, I initially tried
to upgrade both
> zope and plone simultaneously. Of course, it failed
miserably, so I
> decided to try upgrading in phases.
>
> Phase 1: upgrade zope from 2.8.6 to 2.8.7 (since it's
my understanding
> that plone2.5 won't work on anything less than
zope2.8.7).
>
> Result: Success! No problems with the zope upgrade,
and all of my
> plone2.1.2 content appeared to migrate fine and
function without issue.
>
> Phase 2: upgrade plone from 2.1.2 to 2.5 (on
zope2.8.7).
>
> Result: failure. Details below.
>
> (note that this plan involves one final phase that I
cannot yet attempt:
> upgrading zope from 2.8.7 to 2.9.4).
>
> When I attempted the migration from plone 2.1.2 to 2.5,
I get the
> following error from the portal_migration Dry run:
>
> * Dry run selected.
> * Starting the migration from version: 2.1.2
> * Attempting to upgrade from: 2.1.2
> * Removed vcXMLRPC.js
> * Reindexed portal_catalog.
> * Recataloged Members folder.
> * Added icons for copy, cut, paste and delete
> * Upgrade to: 2.1.3-rc1, completed
> * Attempting to upgrade from: 2.1.3-rc1
> * Upgrade to: 2.1.3, completed
> * Attempting to upgrade from: 2.1.3
> * Installed CMFPlacefulWorkflow.
> * Upgrade to: 2.5-alpha1, completed
> * Attempting to upgrade from: 2.5-alpha1
> * Upgrade aborted
> * Error type: exceptions.KeyError
> * Error value: 'tokens'
> * File
>
"/var/lib/zope/zope-apache287/Products/CMFPlone/Migrat
ionTool.py", line
> 299, in upgrade newv, msgs = self._upgrade(newv)
> * File
>
"/var/lib/zope/zope-apache287/Products/CMFPlone/Migrat
ionTool.py", line
> 396, in _upgrade res = function(self.aq_parent)
> * File
>
"/var/lib/zope/zope-apache287/Products/CMFPlone/migrat
ions/v2_5/alphas.py",
> line 24, in alpha1_alpha2 installPlonePAS(portal, out)
> * File
>
"/var/lib/zope/zope-apache287/Products/CMFPlone/migrat
ions/v2_5/alphas.py",
> line 43, in installPlonePAS
installOrReinstallProduct(portal,
> 'PlonePAS', out)
> * File
>
"/var/lib/zope/zope-apache287/Products/CMFPlone/migrat
ions/migration_util.py",
> line 82, in installOrReinstallProduct
qi.installProduct(product_name)
> * File
>
"/var/lib/zope/zope-apache287/Products/CMFQuickInstall
erTool/QuickInstallerTool.py",
> line 322, in installProduct res=install(portal)
> * File
>
"/usr/lib/zope-2.8.7/lib/python/Products/ExternalMetho
d/ExternalMethod.py",
> line 225, in __call__ try: return f(*args, **kw)
> * File
>
"/var/lib/zope/zope-apache287/Products/PlonePAS/Extens
ions/Install.py",
> line 837, in install restoreUserData(portal, out,
userdata)
> * File
>
"/var/lib/zope/zope-apache287/Products/PlonePAS/Extens
ions/Install.py",
> line 320, in restoreUserData mtool.addMember(*u)
> * File
>
"/var/lib/zope/zope-apache287/Products/PlonePAS/tools/
membership.py",
> line 75, in addMember
member.setMemberProperties(properties)
> * File
>
"/var/lib/zope/zope-apache287/Products/PlonePAS/tools/
memberdata.py",
> line 172, in setMemberProperties
sheet.setProperty(user, k, v)
> * File
"/var/lib/zope/zope-apache287/Products/PlonePAS/sheet.
py",
> line 97, in setProperty
provider.setPropertiesForUser(user, self)
> * File
>
"/var/lib/zope/zope-apache287/Products/PlonePAS/plugin
s/property.py",
> line 174, in setPropertiesForUser if (name in
properties and not
> * File
"/var/lib/zope/zope-apache287/Products/PlonePAS/sheet.
py",
> line 58, in validate inspector =
self.tmap[property_type]
> * End of upgrade path, migration has finished
> * The upgrade path did NOT reach current version
> * Migration has failed
> * Dry run selected, transaction aborted
>
>
> I'm using gentoo, if that matters. Haven't had any
issues prior to the
> upgrade attempt. My zope/plone instance is pretty
lightweight. Not a
> ton of content, and just some skin/template
customizations. Hardly any
> 3rd party Products, either: DocFinderTab,
FileSystemStorage.
>
> I'll glady provide any additional info that will help
diagnose the problem.
>
> Thanks again in advance for the help.
>
> -hoss
>
>
_______________________________________________
Setup mailing list
Setup lists.plone.org
http://
lists.plone.org/mailman/listinfo/setup
|