Skip to content

Rhaptos Software Development

Personal tools
You are here: Home » Developer Blog » jccooper blog » Plone Upgrade Progress

Plone Upgrade Progress Plone Upgrade Progress

Document Actions
Submitted by jccooper. on 2007-03-23 17:15. Development
So I can start an instance on Python 2.4/Zope 2.9/Plone 2.5.2. I can also run *most* of the upgrade script! Bad news is the timing.
Follows in the latest migration script log. Note that it's gotten past the 2.1 steps and is into 2.5. Ironically, it's now failing in code that I wrote. The problem is the catalog memberdata tool, which PlonePAS install doesn't understand. I still have to determine what to do about PAS.

Anyway, what everyone needs to know about this is primarily that it takes a long time. This last run, I think, was about 11 hours.

The bulk of the time is, I think, spent in two places:

1) catalog upgrades

2) installing ATContentTypes, which means converting every Image and File we have (and, with the images, creating thumbnails and so forth).

I will look into whether these steps are compatible with continued content creation. There are a number of possible workarounds to shutting editing down for this long, but I'm not certain of any of them, really.



Result of the attempt...

  • Starting the migration from version: 2.0.5
  • Attempting to upgrade from: 2.0.5
  • Converted Plone Site to CMFDynamicViewFTI
  • Updated portal selectable views
  • Running manage_convertIndexes on ZCatalog instance 'portal_catalog'
  • Finished migrating catalog indexes for ZCatalog instance 'portal_catalog'
  • Running manage_convertIndexes on ZCatalog instance 'uid_catalog'
  • Finished migrating catalog indexes for ZCatalog instance 'uid_catalog'
  • Running manage_convertIndexes on ZCatalog instance 'reference_catalog'
  • Finished migrating catalog indexes for ZCatalog instance 'reference_catalog'
  • Running manage_convertIndexes on ZCatalog instance 'member_catalog'
  • Finished migrating catalog indexes for ZCatalog instance 'member_catalog'
  • Deleted PathIndex 'path' from portal_catalog.
  • Added ExtendedPathIndex 'path' to portal_catalog.
  • Deleted FieldIndex 'created'.
  • Added DateIndex 'created'.
  • Deleted FieldIndex 'modified'.
  • Added DateIndex 'modified'.
  • Deleted FieldIndex 'Date'.
  • Added DateIndex 'Date'.
  • Deleted FieldIndex 'start'.
  • Added DateIndex 'start'.
  • Deleted FieldIndex 'end'.
  • Added DateIndex 'end'.
  • Deleted FieldIndex 'effective'.
  • Added DateIndex 'effective'.
  • Deleted FieldIndex 'expires'.
  • Added DateIndex 'expires'.
  • Added DateRangeIndex 'effectiveRange' (effective, expires).
  • Added FieldIndex 'sortable_title' to portal_catalog.
  • Migrating CSSRegistry.
  • No CSSRegistry found.
  • Migrating JSRegistry.
  • No JSRegistry found.
  • Installed CSSRegistry and JSRegistry.
  • Added TranslationService Tool
  • Removed old MailHost
  • Added new MailHost (SecureMailHost): localhost:25
  • Deleted portal_form tool.
  • Deleted portal_navigation tool.
  • Deleted form_properties property sheet.
  • MimetypesRegistry is out of date (installed: 1.3.3-final/ filesystem: 1.4.1-final), reinstalled.
  • PortalTransforms is out of date (installed: 1.3.3-final/ filesystem: 1.5.0-final), reinstalled.
  • Archetypes is out of date (installed: 1.3.2-final/ filesystem: 1.4.2-final), reinstalled.
  • Installed ATContentTypes.
  • Upgrade to: 2.1-alpha1, completed
  • Attempting to upgrade from: 2.1-alpha1
  • Added 'full_screen' action to actions tool.
  • Added 'full_screen' icon to actionicons tool.
  • Added 'visible_ids' property to site_properties.
  • Added 'exposeDCMetaTags' property to site_properties.
  • Added 'sitemap' action to actions tool.
  • Added 'types_not_searched' property to site_properties.
  • Added 'non_default_page_types' property to site_properties.
  • Disabled 'news' and 'Members' portal tabs actions.
  • Set constrain types for news folder.
  • Added default view for news folder.
  • Added Topic for default news folder view.
  • Added events folder.
  • Set constrain types for events folder.
  • Added default view for events folder.
  • Added Topic for default events folder view.
  • Added 'Delete' contentmenu action to actions tool.
  • Added 'Paste' contentmenu action to actions tool.
  • Added 'Copy' contentmenu action to actions tool.
  • Added 'Cut' contentmenu action to actions tool.
  • Added 'Contents' contentmenu action to actions tool.
  • Added default group 'Administrators'.
  • Added default group 'Reviewers'.
  • Added default content types to portal_factory.
  • Added 'disable_folder_sections' property to site_properties.
  • Added 'selectable_views' property to portal root
  • Modified existing copy action
  • Modified existing cut action
  • Added missing change_state action
  • Modified existing extedit action
  • Added 'typesUseViewActionInListings' property to site_properties.
  • Added missing plone_setup action
  • Changed Plone Site icon
  • Upgrade to: 2.1-alpha2, completed
  • Attempting to upgrade from: 2.1-alpha2
  • Modified existing object paste action for folderish default pages
  • Added 'Contents' contentmenu action to actions tool.
  • Added 'Default view' contentmenu action to actions tool.
  • Made the 'mystuff' action point to folder listing instead of folder_contents
  • Migrating CSSRegistry.
  • Done migrating CSSRegistry.
  • Migrating JSRegistry.
  • Done migrating JSRegistry.
  • Granted "Access inactive portal content" permission to Owner role
  • Added published criterion to news topic.
  • Added published criterion to events topic.
  • Registered login.js
  • Added directory view for plone_login
  • Installed kupu.
  • Set Kupu as default WYSIWYG editor.
  • Added ploneTextSmall.css to CSSRegistry.
  • Added ploneTextLarge.css to CSSRegistry.
  • Removing plone prefix from stylesheets.
  • Finished removing plone prefix from stylesheets.
  • Added new entries to "types_not_searched" site_property
  • Added FieldIndex 'is_default_page' to portal_catalog.
  • Added FieldIndex 'is_folderish' to portal_catalog.
  • Added plone_3rdParty to Plone Default.
  • Added plone_3rdParty to Plone Tableless.
  • Adding Portlet and Deprecated stylesheets.
  • Finished adding Portlet and Deprecated stylesheets.
  • Added 'enable_livesearch' property to site_properties.
  • Added 'search' icon to actionicons tool.
  • Set target expresion of folderlisting action for 'Plone Site' to 'view'
  • Reindexed portal_catalog.
  • Upgrade to: 2.1-beta1, completed
  • Attempting to upgrade from: 2.1-beta1
  • Updated portal selectable views
  • Fixed 'Contents' action on actions tool.
  • Changed category of Plone Site view action to 'object'
  • Changed category of Plone Site edit action to 'object'
  • Added method aliases to Plone Site FTI
  • Added 'Edit this file in an external application (Requires Zope ExternalEditor installed)' action to actions tool.
  • Updated workflow titles for state visible
  • Updated workflow titles for state pending
  • Updated workflow titles for state private
  • Updated workflow titles for state published
  • Updated workflow titles for state visible
  • Updated workflow titles for state private
  • Updated workflow titles for state published
  • Fixed 'Accessibility' action on actions tool.
  • Fixed 'Contact' action on actions tool.
  • Fixed 'Site Setup' action on actions tool.
  • Removed action plone_setup from portal_membership
  • Set portal root edit action to use /edit method alias
  • Added CMFUid tool(s) portal_uidannotation, portal_uidgenerator, portal_uidhandler
  • Set media type for member.css to screen
  • Set media type for RTL.css to screen
  • Set media type for presentation.css to projection
  • Set media type for ploneCustom.css to all
  • Corrected CSS media types
  • Added 'navigation' icon to actionicons tool.
  • Registered formsubmithelpers.js
  • Added 'visible_ids' property to portal_memberdata.
  • Added 'visible_ids' property to portal_memberdata.
  • Added CMF types to 'types_not_searched' property.
  • Removed 'non_default_page_types' property to site_properties.
  • Added 'default_page_types' property to site_properties.
  • Changed sendto action permission to Allow Sendto
  • Recataloged Members folder.
  • Recataloged news folder.
  • Recataloged events folder.
  • Upgrade to: 2.1-beta2, completed
  • Attempting to upgrade from: 2.1-beta2
  • Upgrade to: 2.1-rc1, completed
  • Attempting to upgrade from: 2.1-rc1
  • Disabled 'syndication' object action.
  • Changed RSS action title
  • Reindexed portal_catalog.
  • Recataloged Members folder.
  • Recataloged news folder.
  • Recataloged events folder.
  • Upgrade to: 2.1-rc2, completed
  • Attempting to upgrade from: 2.1-rc2
  • Added criterion to limit to current events.
  • Added 'Cut' contentmenu action to actions tool.
  • Added 'Paste' contentmenu action to actions tool.
  • Added 'Delete' contentmenu action to actions tool.
  • Added 'Copy' contentmenu action to actions tool.
  • Added new view templates to Folder FTI.
  • Added new view templates to Large Plone Folder FTI.
  • Added new view templates to Topic FTI.
  • Added new view templates to Plone Site FTI.
  • Moved news topic to portal root
  • Moved old news folder to old_news
  • Moved events topic to portal root
  • Deleted empty events folder
  • Added sort on effective to news topic.
  • Upgrade to: 2.1-rc3, completed
  • Attempting to upgrade from: 2.1-rc3
  • Fixed preferences action title
  • Changed News Topic default view to folder_summary_view.
  • Object buttons reordered as cut, copy, paste, delete
  • Reorder stylesheets
  • Upgrade to: 2.1, completed
  • Attempting to upgrade from: 2.1
  • Upgrade to: 2.1.1, completed
  • Attempting to upgrade from: 2.1.1
  • Removed plone_3rdParty\CMFTopic layer from all skins.
  • Added 'Rename' contentmenu action to actions tool.
  • Added se-highlight.js to portal_javascipt
  • Removing workflow from Discussion Item
  • Upgrade to: 2.1.2-rc1, completed
  • Attempting to upgrade from: 2.1.2-rc1
  • Upgrade to: 2.1.2-rc2, completed
  • Attempting to upgrade from: 2.1.2-rc2
  • Upgrade to: 2.1.2, completed
  • 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
  • Upgrade to: 2.1.4-rc1, completed
  • Attempting to upgrade from: 2.1.4-rc1
  • Upgrade to: 2.1.4, completed
  • 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: _actions
  • File "/home/jccooper/projects/cnx/devinstances/plone25/Products/CMFPlone/MigrationTool.py", line 307, in upgrade newv, msgs = self._upgrade(newv)
  • File "/home/jccooper/projects/cnx/devinstances/plone25/Products/CMFPlone/MigrationTool.py", line 404, in _upgrade res = function(self.aq_parent)
  • File "/home/jccooper/projects/cnx/devinstances/plone25/Products/CMFPlone/migrations/v2_5/alphas.py", line 24, in alpha1_alpha2 installPlonePAS(portal, out)
  • File "/home/jccooper/projects/cnx/devinstances/plone25/Products/CMFPlone/migrations/v2_5/alphas.py", line 43, in installPlonePAS installOrReinstallProduct(portal, 'PlonePAS', out)
  • File "/home/jccooper/projects/cnx/devinstances/plone25/Products/CMFPlone/migrations/migration_util.py", line 82, in installOrReinstallProduct qi.installProduct(product_name)
  • File "/home/jccooper/projects/cnx/devinstances/plone25/Products/CMFQuickInstallerTool/QuickInstallerTool.py", line 322, in installProduct res=install(portal)
  • File "/home/jccooper/zope/2.9.6/lib/python/Products/ExternalMethod/ExternalMethod.py", line 225, in __call__ try: return f(*args, **kw)
  • File "/home/jccooper/projects/cnx/devinstances/plone25/Products/PlonePAS/Extensions/Install.py", line 835, in install setupTools(portal, out)
  • File "/home/jccooper/projects/cnx/devinstances/plone25/Products/PlonePAS/Extensions/Install.py", line 400, in setupTools migrateMemberDataTool(portal, out)
  • File "/home/jccooper/projects/cnx/devinstances/plone25/Products/PlonePAS/Extensions/Install.py", line 522, in migrateMemberDataTool actions = portal.portal_memberdata._actions
  • End of upgrade path, migration has finished
  • The upgrade path did NOT reach current version
  • Migration has failed