[Setup] Migration to Plone3.1.3

Nick Owen nowen at wikidsystems.com
Thu Nov 13 17:57:00 UTC 2008



Frank Poetzsch-Heffter-2 wrote:
> 
> Hello,
> I have a few Plone sites in my Zope instance and want to migrate from
> Plone 2.5.5 to 3.1.3. It's all okay with the upgrade but the migration
> of one Plone site  aborted with following error.
> 
> Deleting all additional products takes no effect.
> 
> Can you help me?
> 
> Frank
> ----------------------------------------------------------------------------------
>     *   Dry run selected.
>     * Starting the migration from version: 2.5.5
>     * Attempting to upgrade from: 2.5.5
>     * Registered tools as utilities.
>     * Migrated old actions to new actions stored in portal_actions.
>     * Added navtree.css to the registry
>     * Added invisibles.css to the registry
>     * Added forms.css to the registry
>     * Added 'default_contenttype' property to site_properties.
>     * Added 'forbidden_contenttypes' property to site_properties.
>     * Added Markup Settings to the control panel
>     * Added markup configlet icon to actionicons tool.
>     * Updated actions i18n domain attribute.
>     * Updated type informations i18n domain attribute.
>     * Upgraded the ATContentTypes tool.
>     * Installed CMFDiffTool.
>     * Installed CMFEditions.
>     * Converted legacy portlets at the portal root
>     * NOTE: You may need to convert other portlets manually.
>     * - to do so, click "manage portlets" in the relevant folder.
>     * Added 'calendar' icon to actionicons tool.
>     * Added calendar settings to the control panel
>     * Removed the Plone Tableless skin
>     * Upgrade to: 3.0-alpha1, completed
>     * Attempting to upgrade from: 3.0-alpha1
>     * Registered tools as utilities.
>     * Removed generated.css from the registry
>     * Added form_tabbing.js to portal_javascipt
>     * Registered kss mimetype
>     * Registered kss resources
>     * Added missing skins to Plone Default
>     * Succesfully migrated portal to KSS
>     * Registered redirector utility
>     * Added content rules action to object category
>     * Added reader and editor roles
>     * Ensured references to folder_localrole_form point to @@sharing now
>     * Updated RTL.css expression.
>     * Upgrade to: 3.0-alpha2, completed
>     * Attempting to upgrade from: 3.0-alpha2
>     * Registered tools as utilities.
>     * Added 'Maintenance' to the control panel
>     * Added 'maintenance' icon to actionicons tool.
>     * Added 'number_of_days_to_keep' property to site properties
>     * Added 's5_presentation' action to actions tool.
>     * Added 's5_presentation' icon to actionicons tool.
>     * Added in css and js for table of contents
>     * Added input-label.js to portal_javascipt
>     * Updated member management security
>     * Added Plone Session Plugin.
>     * Added 'filter' icon to actionicons tool.
>     * Added 'security' icon to actionicons tool.
>     * Registered content rules storage utility
>     * Added 'Content Rules Settings' to the control panel
>     * Added 'Content Rules Settings' icon to actionicons tool.
>     * Added html filter settings to the control panel
>     * Added security settings to the control panel
>     * Added 'enable_sitemap' property to site properties
>     * Use ++resource++kukit-src.js instead of ++resource++kukit.js
>     * Set 'full' compression on ++resource++kukit-src.js
>     * Created RAMCache ResourceRegistryCache for ResourceRegistry output
>     * Associated portal_css with ResourceRegistryCache
>     * Associated portal_javascripts with ResourceRegistryCache
>     * Set 'full-encode' compression on cssQuery.js
>     * Removed folder_contents_hideAddItems.js from portal_javascripts.
>     * Added webstats.js to portal_javascipts
>     * Added 'webstats_js' property to site properties
>     * Added object_provides index to portal_catalog
>     * Removed the mystuff user action
>     * Added 'external_links_open_new_window' property to site properties
>     * Added Types Settings to the control panel
>     * Added types configlet icon to actionicons tool.
>     * Added workflow intranet_workflow
>     * Added workflow intranet_folder_workflow
>     * Added workflow one_state_workflow
>     * Added workflow simple_publication_workflow
>     * Added 'many_groups' property to site properties
>     * Replaced obsolete PlonePAS version of plone tool with the normal
> one.
>     * Registered plone.app.i18n utilities.
>     * Installed PloneLanguageTool.
>     * Added 'email_charset' property to the portal.
>     * Upgrade to: 3.0-beta1, completed
>     * Attempting to upgrade from: 3.0-beta1
>     * Registered tools as utilities.
>     * Changed the order of action providers.
>     * Added unlockOnFormUnload.js to portal_javascripts
>     * Removed object_tabs action category.
>     * Removed global action category.
>     * Removed empty default_charset portal property
>     * Added automatic group PAS plugin
>     * Removed 's5_presentation' action from actions tool.
>     * Removed 's5_presentation' icon from actionicons tool.
>     * Associated portal_kss with ResourceRegistryCache
>     * Updated kss javascript resource ++resource++kukit-src.js, to
> disable kss for anonymous.
>     * Added kss resource at_experimental.kss, disabled by default.
>     * Added kss resource plone_experimental.kss, disabled by default.
>     * Removed properties action from type CMF Image
>     * Removed properties action from type CMF Document
>     * Removed properties action from type CMF Favorite
>     * Removed properties action from type CMF Link
>     * Removed properties action from type CMF News Item
>     * Removed properties action from type CMF File
>     * Removed properties action from type Survey
>     * Removed properties action from type Sub Survey
>     * Removed properties action from type Survey Matrix
>     * Removed properties action from type Survey Matrix Question
>     * Removed properties action from type Survey Select Question
>     * Removed properties action from type Survey Text Question
>     * Removed properties action from type ATPathCriterion
>     * Removed properties action from type ATBooleanCriterion
>     * Removed properties action from type Image
>     * Removed properties action from type Topic
>     * Removed properties action from type ATSelectionCriterion
>     * Removed properties action from type Large Plone Folder
>     * Removed properties action from type Document
>     * Removed properties action from type ATSimpleStringCriterion
>     * Removed properties action from type ATCurrentAuthorCriterion
>     * Removed properties action from type ATDateCriteria
>     * Removed properties action from type Favorite
>     * Removed properties action from type Event
>     * Removed properties action from type ATReferenceCriterion
>     * Removed properties action from type ATSimpleIntCriterion
>     * Removed properties action from type ATListCriterion
>     * Removed properties action from type Folder
>     * Removed properties action from type Link
>     * Removed properties action from type News Item
>     * Removed properties action from type File
>     * Removed properties action from type ATDateRangeCriterion
>     * Removed properties action from type ATSortCriterion
>     * Removed properties action from type ATPortalTypeCriterion
>     * Removed properties action from type SingleChoiceAnswer
>     * Removed properties action from type FreeTextQuestion
>     * Removed properties action from type FreeTextAnswer
>     * Removed properties action from type ExamFolder
>     * Removed properties action from type TrueFalseQuestion
>     * Removed properties action from type ChoiceGapAnswer
>     * Removed properties action from type TextTaskAnswer
>     * Removed properties action from type BaseAnswer
>     * Removed properties action from type MatchingAnswer
>     * Removed properties action from type FillGapQuestion
>     * Removed properties action from type BlindGapAnswer
>     * Removed properties action from type MathQuestion
>     * Removed properties action from type TrueFalseAnswer
>     * Removed properties action from type SimpleResponse
>     * Removed properties action from type MultipleChoiceQuestion
>     * Removed properties action from type MultipleChoiceAnswer
>     * Removed properties action from type TextTaskQuestion
>     * Removed properties action from type MatchingQuestion
>     * Removed properties action from type MathAnswer
>     * Removed properties action from type SingleChoiceQuestion
>     * Removed properties action from type PloneChat
>     * Removed properties action from type PloneboardComment
>     * Removed properties action from type Ploneboard
>     * Removed properties action from type PloneboardConversation
>     * Removed properties action from type PloneboardForum
>     * Upgrade to: 3.0-beta2, completed
>     * Attempting to upgrade from: 3.0-beta2
>     * Registered tools as utilities.
>     * Removed explicit references to sharing action
>     * Upgrade to: 3.0-beta3, completed
>     * Attempting to upgrade from: 3.0-beta3
>     * Registered tools as utilities.
>     * Updated kss javascript resources, to enable the use of
> production and development versions.
>     * Upgrade to: 3.0-rc1, completed
>     * Attempting to upgrade from: 3.0-rc1
>     * Added text_web_intelligent mime type to registry
>     * Added intelligenttext to html transform to registry
>     * Added html to intelligenttext transform to registry
>     * Upgrade to: 3.0-rc2, completed
>     * Attempting to upgrade from: 3.0-rc2
>     * Upgrade to: 3.0, completed
>     * Attempting to upgrade from: 3.0
>     * Upgrade to: 3.0.1, completed
>     * Attempting to upgrade from: 3.0.1
>     * Upgrade to: 3.0.2, completed
>     * Attempting to upgrade from: 3.0.2
>     * Upgrade to: 3.0.3, completed
>     * Attempting to upgrade from: 3.0.3
>     * Added new CMFEditions modifiers
>     * Upgrade to: 3.0.4, completed
>     * Attempting to upgrade from: 3.0.4
>     * Registered tools as utilities.
>     * Upgrade to: 3.0.5, completed
>     * Attempting to upgrade from: 3.0.5
>     * Upgrade to: 3.0.6, completed
>     * Attempting to upgrade from: 3.0.6
>     * Upgrade aborted
>     * Error type: exceptions.ValueError
>     * Error value: list.index(x): x not in list
>     * File
> "/home/port9673/Plone-3.1/zeocluster/parts/plone/CMFPlone/MigrationTool.py",
> line 210, in upgrade newv, msgs = self._upgrade(newv)
>     * File
> "/home/port9673/Plone-3.1/zeocluster/parts/plone/CMFPlone/MigrationTool.py",
> line 321, in _upgrade res = function(self.aq_parent)
>     * File
> "/home/port9673/Plone-3.1/zeocluster/parts/plone/CMFPlone/migrations/v3_1/betas.py",
> line 18, in three0_beta1 loadMigrationProfile(portal,
> 'profile-Products.CMFPlone.migrations:3.0.6-3.1beta1')
>     * File
> "/home/port9673/Plone-3.1/zeocluster/parts/plone/CMFPlone/migrations/migration_util.py",
> line 107, in loadMigrationProfile
> tool.runAllImportStepsFromProfile(profile, purge_old=False)
>     * File
> "/home/port9673/Plone-3.1/zeocluster/parts/plone/GenericSetup/tool.py",
> line 390, in runAllImportStepsFromProfile
> ignore_dependencies=ignore_dependencies)
>     * File
> "/home/port9673/Plone-3.1/zeocluster/parts/plone/GenericSetup/tool.py",
> line 1182, in _runImportStepsFromContext message =
> self._doRunImportStep(step, context)
>     * File
> "/home/port9673/Plone-3.1/zeocluster/parts/plone/GenericSetup/tool.py",
> line 1093, in _doRunImportStep return handler(context)
>     * File
> "/home/port9673/Plone-3.1/zeocluster/parts/plone/ResourceRegistries/exportimport/jsregistry.py",
> line 14, in importJSRegistry return importResRegistry(context,
> _REG_ID, _REG_TITLE, _FILENAME)
>     * File
> "/home/port9673/Plone-3.1/zeocluster/parts/plone/ResourceRegistries/exportimport/resourceregistry.py",
> line 29, in importResRegistry importer.body = body
>     * File
> "/home/port9673/Plone-3.1/zeocluster/parts/plone/GenericSetup/utils.py",
> line 544, in _importBody self._importNode(dom.documentElement)
>     * File
> "/home/port9673/Plone-3.1/zeocluster/parts/plone/ResourceRegistries/exportimport/resourceregistry.py",
> line 82, in _importNode self._initResources(node)
>     * File
> "/home/port9673/Plone-3.1/zeocluster/parts/plone/ResourceRegistries/exportimport/resourceregistry.py",
> line 168, in _initResources moveMethod(res_id, *position[1:])
>     * File
> "/home/port9673/Plone-3.1/zeocluster/parts/plone/ResourceRegistries/tools/BaseRegistry.py",
> line 635, in moveResourceBefore dest_index =
> self.getResourcePosition(dest_id)
>     * File
> "/home/port9673/Plone-3.1/zeocluster/parts/plone/ResourceRegistries/tools/BaseRegistry.py",
> line 748, in getResourcePosition return resource_ids.index(id)
>     * End of upgrade path, migration has finished
>     * The upgrade path did NOT reach current version
>     * Migration has failed
>     * Dry run selected, transaction aborted
> 
> _______________________________________________
> Setup mailing list
> Setup at lists.plone.org
> http://lists.plone.org/mailman/listinfo/setup
> 
> 

Did you figure this out?  I am having exactly the same issue, but going from
3.0.4 to 3.1.1.

Nick

-- 
View this message in context: http://n2.nabble.com/Migration-to-Plone3.1.3-tp576443p1494870.html
Sent from the Installation, Setup, Upgrades mailing list archive at Nabble.com.




More information about the Setup mailing list