My guess would be that you have an object with the short name (id) "news"
in the root. Rename it via the ZMI, and the migration should work.
-- Alexander
On Sat, 19 Nov 2005 12:16:46 -0800, Brian Place
<[EMAIL PROTECTED]> wrote:
Hi all - I am pretty much a plone novice though I've been using it for
some time to keep some dynamic documentation at arms length for me and
my employees. I just purchased a new
server, installed CentOS 4.1 (x86_64 on an Opteron), Python 2.3.5, Zope
2.8.4 and Plone 2.1.1.
Plone works fine.
I copied my old Data.fs to the new Plone instance and restarted Zope,
and of course Zope works fine but Plone doesn't because I need to run
the migration procedure. When I do, I get the following error:
* Upgrade to: 2.1-alpha1, completed
* Attempting to upgrade from: 2.1-alpha1
* Upgrade aborted
* Error type: exceptions.AttributeError
* Error value: _getOb
* File "/opt/ZopeInstance/Products/CMFPlone/MigrationTool.py", line
265, in upgrade newv, msgs = self._upgrade(newv)
* File "/opt/ZopeInstance/Products/CMFPlone/MigrationTool.py", line
362, in _upgrade res = function(self.aq_parent)
* File
"/opt/ZopeInstance/Products/CMFPlone/migrations/v2_1/alphas.py",
line 163, in alpha1_alpha2 addNewsTopic(portal, out)
* File
"/opt/ZopeInstance/Products/CMFPlone/migrations/v2_1/alphas.py",
line 950, in addNewsTopic title='News', description='Site News')
* File "/opt/ZopeInstance/Products/CMFPlone/utils.py", line 129, in
_createObjectByType ob = container._getOb( id )
* End of upgrade path, migration has finished
* The upgrade path did NOT reach current version
* Migration has failed
It seems like things look pretty good up until that point. Can anyone
help me decode this error and figure out what it means?
Thanks in advance!
-Brian
P.S. The full upgrade text is below...
===
esult of the attempt...
* Starting the migration from version: 2.0-final
* Attempting to upgrade from: 2.0-final
* Adding year range properties: calendar_starting_year,
calendar_future_years_available.
* Upgrade to: 2.0.1, completed
* Attempting to upgrade from: 2.0.1
* Upgrade to: 2.0.2, completed
* Attempting to upgrade from: 2.0.2
* Upgrade to: 2.0.3, completed
* Attempting to upgrade from: 2.0.3
* Upgrade to: 2.0.4, completed
* Attempting to upgrade from: 2.0.4
* Upgrade to: 2.0.5-rc1, completed
* Attempting to upgrade from: 2.0.5-rc1
* Upgrade to: 2.0.5-rc2, completed
* Attempting to upgrade from: 2.0.5-rc2
* Renamed Folder 'properties' tab to 'edit'.
* Added 'folderlisting' action to Topics.
* Interchanged 'edit' and 'sharing' tabs.
* Upgrade to: 2.0.5, completed
* 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'
* Deleted PathIndex 'path' from portal_catalog.
* Added ExtendedPathIndex 'path' to portal_catalog.
* Added FieldIndex 'getObjPositionInParent' to portal_catalog.
* Added 'getObjSize' metadata to portal_catalog.
* Added 'exclude_from_nav' metadata 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.
* Added 'is_folderish' metadata to portal_catalog.
* Removed 'ExpiresDate' metadata from portal_catalog.
* Added 'ExpirationDate' metadata to portal_catalog.
* Migrating CSSRegistry.
* No CSSRegistry found.
* Migrating JSRegistry.
* No JSRegistry found.
* Installed CSSRegistry and JSRegistry.
* Added TranslationService Tool
* Added 'home_page' property to portal_memberdata.
* Added 'location' property to portal_memberdata.
* Added 'description' property to portal_memberdata.
* Added 'language' property to portal_memberdata.
* Added 'ext_editor' property to portal_memberdata.
* Updated navtree_properties.
* Removed old MailHost
* Added new MailHost (SecureMailHost): mail.bdpnetworks.com:25
* Deleted portal_form tool.
* Deleted portal_navigation tool.
* Deleted form_properties property sheet.
* Deleted navigation_properties property sheet.
* Installed MimetypesRegistry.
* Installed PortalTransforms.
* Installed Archetypes.
* Installed ATContentTypes.
* Upgrade to: 2.1-alpha1, completed
* Attempting to upgrade from: 2.1-alpha1
* Upgrade aborted
* Error type: exceptions.AttributeError
* Error value: _getOb
* File "/opt/ZopeInstance/Products/CMFPlone/MigrationTool.py", line
265, in upgrade newv, msgs = self._upgrade(newv)
* File "/opt/ZopeInstance/Products/CMFPlone/MigrationTool.py", line
362, in _upgrade res = function(self.aq_parent)
* File
"/opt/ZopeInstance/Products/CMFPlone/migrations/v2_1/alphas.py",
line 163, in alpha1_alpha2 addNewsTopic(portal, out)
* File
"/opt/ZopeInstance/Products/CMFPlone/migrations/v2_1/alphas.py",
line 950, in addNewsTopic title='News', description='Site News')
* File "/opt/ZopeInstance/Products/CMFPlone/utils.py", line 129, in
_createObjectByType ob = container._getOb( id )
* End of upgrade path, migration has finished
* The upgrade path did NOT reach current version
* Migration has failed
--
_____________________________________________________________________
Alexander Limi · Chief Architect · Plone Solutions · Norway
Consulting · Training · Development · http://www.plonesolutions.com
_____________________________________________________________________
Plone Co-Founder · http://plone.org · Connecting Content
Plone Foundation · http://plone.org/foundation · Protecting Plone
_______________________________________________
Setup mailing list
[email protected]
http://lists.plone.org/mailman/listinfo/setup