[Setup] error upgrading from 2.1.2 to 2.5

David Hostetler hoss at negativesum.net
Mon Aug 21 03:05:17 UTC 2006

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/MigrationTool.py", line 
299, in upgrade newv, msgs = self._upgrade(newv)
     * File 
"/var/lib/zope/zope-apache287/Products/CMFPlone/MigrationTool.py", line 
396, in _upgrade res = function(self.aq_parent)
     * File 
line 24, in alpha1_alpha2 installPlonePAS(portal, out)
     * File 
line 43, in installPlonePAS installOrReinstallProduct(portal, 
'PlonePAS', out)
     * File 
line 82, in installOrReinstallProduct qi.installProduct(product_name)
     * File 
line 322, in installProduct res=install(portal)
     * File 
line 225, in __call__ try: return f(*args, **kw)
     * File 
line 837, in install restoreUserData(portal, out, userdata)
     * File 
line 320, in restoreUserData mtool.addMember(*u)
     * File 
line 75, in addMember member.setMemberProperties(properties)
     * File 
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 
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.


More information about the Setup mailing list