[Setup] Migration from 2.5.1 to 3.1.7 dies.

Paul Hostetler phostetl at yahoo.com
Mon Dec 1 17:33:09 UTC 2008


---- Original Message ----
From: Milos Prudek <prudek at bvx.cz>
Look at this solution that solved this problem for me a year ago:

"The reason is that two MIME types are missing from the mimetypes_registry. To 
correct the issue, add the MIME types:

   1. In the ZMI, go to the root of your Plone site.
   2. Go into the mimetypes_registry
   3. At the top of that sreen is a button to Add a New MIME type. Click that.
   4. In the resulting screen, complete that form. I believe the only fields 
that are required are Name and mime-types.
   5. In name, enter a name of your choice.
   6. In mime-type, enter: text/x-web-markdown
   7. Repeat steps 5 and 6, except for mime-type, enter: text/x-web-textile 
   8. Re-export the site and the import to the new instance should now succeed 
(at least it did for me ;-)).

Source: https://weblion.psu.edu/trac/weblion/wiki/PloneTroubleshooting

Did it help?


OK, I did that and the problem changed:

	* Dry run selected. 
	* Starting the migration from version: 2.5.1 
	* Attempting to upgrade from: 2.5.1 
	* Registered tools as utilities. 
	* Changed credentials_cookie_path login_path property to 'require_login'. 
	* Upgrade to: 2.5.2-rc1, completed 
	* Attempting to upgrade from: 2.5.2-rc1 
	* Upgrade to: 2.5.2, completed 
	* Attempting to upgrade from: 2.5.2 
	* Added `text/x-web-markdown` and `text/x-web-textile`. 
	* Upgrade to: 2.5.3-rc1, completed 
	* Attempting to upgrade from: 2.5.3-rc1 
	* Upgrade to: 2.5.3-final, completed 
	* Attempting to upgrade from: 2.5.3-final 
	* Set plone GS profile as default 
	* Upgrade to: 2.5.4-final, completed 
	* Attempting to upgrade from: 2.5.4-final 
	* Upgrade to: 2.5.4-2, completed 
	* Attempting to upgrade from: 2.5.4-2 
	* Upgrade to: 2.5.5, completed 
	* Attempting to upgrade from: 2.5.5 
	* Upgrade aborted 
	* Error type: zExceptions.BadRequest 
	* Error value: ('Empty or invalid id specified', '') 
	* File "/home/paul/Plone-3.1.7/zinstance/parts/plone/CMFPlone/MigrationTool.py", line 210, in upgrade newv, msgs = self._upgrade(newv) 
	* File "/home/paul/Plone-3.1.7/zinstance/parts/plone/CMFPlone/MigrationTool.py", line 321, in _upgrade res = function(self.aq_parent) 
	* File "/home/paul/Plone-3.1.7/zinstance/parts/plone/CMFPlone/migrations/v3_0/alphas.py", line 100, in three0_alpha1 migrateOldActions(portal, out) 
	* File "/home/paul/Plone-3.1.7/zinstance/parts/plone/CMFPlone/migrations/v3_0/alphas.py", line 425, in migrateOldActions portal.portal_actions._setObject(category, ActionCategory(id=category)) 
	* File "/home/paul/Plone-3.1.7/zinstance/parts/zope2/lib/python/OFS/ObjectManager.py", line 314, in _setObject v = self._checkId(id) 
	* File "/home/paul/Plone-3.1.7/zinstance/parts/zope2/lib/python/OFS/ObjectManager.py", line 81, in checkValidId raise BadRequest, ('Empty or invalid id specified', id) 
	* End of upgrade path, migration has finished 
	* The upgrade path did NOT reach current version 
	* Migration has failed 
	* Dry run selected, transaction aborted Any suggestions?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.plone.org/pipermail/setup/attachments/20081201/44b0171b/attachment.htm


More information about the Setup mailing list