[Setup] Plone 2.1.4 > 2.5.5 migration problems

DSmyth david.smyth at latens.co.uk
Tue Dec 8 10:00:01 UTC 2009


Hi,

I have a 2.1.4 instance that I want to upgrade to 2.5.5 (and eventually to
latest 3.x.x)

I have created a clean 2.5.5 instance and moved across third party products
and Data.fs. The site uses CMFMember.
I have also placed remember, membrane and contentmigration in the Products
directory of the new instance as I have read this is required for
CMFMember-Remember migration.
Migration fails when using the migration tool in the ZMI with the following;

Result of the attempt...

    * Dry run selected.
    * Starting the migration from version: 2.1.4
    * Attempting to upgrade from: 2.1.4
    * Installed CMFPlacefulWorkflow.
    * Upgrade to: 2.5-alpha1, completed
    * Attempting to upgrade from: 2.5-alpha1
    * Upgrade aborted
    * Error type: exceptions.AttributeError
    * Error value: 'NoneType' object has no attribute 'keys'
    * File
"/opt/Plone-2.5.5/zeocluster/client1/Products/CMFPlone/MigrationTool.py",
line 308, in upgrade newv, msgs = self._upgrade(newv)
    * File
"/opt/Plone-2.5.5/zeocluster/client1/Products/CMFPlone/MigrationTool.py",
line 417, in _upgrade res = function(self.aq_parent)
    * File
"/opt/Plone-2.5.5/zeocluster/client1/Products/CMFPlone/migrations/v2_5/alphas.py",
line 24, in alpha1_alpha2 installPlonePAS(portal, out)
    * File
"/opt/Plone-2.5.5/zeocluster/client1/Products/remember/cmfmember/monkey.py",
line 61, in installPlonePAS result = InstallPlonePAS.install(portal)
    * File
"/opt/Plone-2.5.5/zeocluster/client1/Products/PlonePAS/Extensions/Install.py",
line 848, in install migrate_root_uf(self, out)
    * File
"/opt/Plone-2.5.5/zeocluster/client1/Products/PlonePAS/Extensions/Install.py",
line 703, in migrate_root_uf replace_acl_users(parent, out)
    * File
"/opt/Plone-2.5.5/zeocluster/client1/Products/PluggableAuthService/Extensions/upgrade.py",
line 198, in replace_acl_users _upgradeLocalRoleAssignments(self, RESPONSE)
    * File
"/opt/Plone-2.5.5/zeocluster/client1/Products/PluggableAuthService/Extensions/upgrade.py",
line 190, in _upgradeLocalRoleAssignments descend(self.acl_users, self)
    * File
"/opt/Plone-2.5.5/zeocluster/client1/Products/PluggableAuthService/Extensions/upgrade.py",
line 182, in descend descend(user_folder, o)
    * File
"/opt/Plone-2.5.5/zeocluster/client1/Products/PluggableAuthService/Extensions/upgrade.py",
line 182, in descend descend(user_folder, o)
    * File
"/opt/Plone-2.5.5/zeocluster/client1/Products/PluggableAuthService/Extensions/upgrade.py",
line 182, in descend descend(user_folder, o)
    * File
"/opt/Plone-2.5.5/zeocluster/client1/Products/PluggableAuthService/Extensions/upgrade.py",
line 182, in descend descend(user_folder, o)
    * File
"/opt/Plone-2.5.5/zeocluster/client1/Products/PluggableAuthService/Extensions/upgrade.py",
line 182, in descend descend(user_folder, o)
    * File
"/opt/Plone-2.5.5/zeocluster/client1/Products/PluggableAuthService/Extensions/upgrade.py",
line 151, in descend for key in map.keys():
    * End of upgrade path, migration has finished
    * The upgrade path did NOT reach current version
    * Migration has failed
    * Dry run selected, transaction aborted


When I turn up debug I can see in the events.log file mentions of;

ERROR Zope.ZCatalog uncatalogObject unsuccessfully attempted to uncatalog an
object with a uid of
portal_memberdata/epollock/at_references/aab8de6dd7fb15ae2a15e24b3229d810.

INFO PluggableAuthService.upgrade.upgradeLocalRoleAssignmentsFromRoot Local
Roles map changed for
(/latens/sections/systems/archive/technical-partner-management/clients/vendors/i3micro/mood300/outline)

and further on down;

------
2009-12-03T15:59:31 INFO
PluggableAuthService.upgrade.upgradeLocalRoleAssignmentsFromRoot   Ignoring
map for unknown principal jheron

These messages appear with the majority of usernames for the site.

Anyone point me in the direction of what to look at?

Thanks,

David

-- 
View this message in context: http://n2.nabble.com/Plone-2-1-4-2-5-5-migration-problems-tp4131491p4131491.html
Sent from the Installation, Setup, Upgrades mailing list archive at Nabble.com.



More information about the Setup mailing list