[Setup] Re: Problem: 2.1 migration to 2.1.2 -- fails

Alexander Limi limi at plone.org
Fri May 19 17:10:19 UTC 2006


Yes, exporting and importing is not necessary. Just upgrade the software,  
restart and click "migrate" in portal_migrations.

On Tue, 09 May 2006 22:14:08 -0700, Peter Simmons  
<pete-lists at bcmpweb.com> wrote:

> I don't think that is the recommended upgrade path. The way I have done  
> it (from 2.1 to 2.1.2) and it works for me is to leave the zodb where it  
> is and just change the software and then use portal_migrations to do the  
> rest.
>
> Hope that helps,
> Pete
>
> Gerry Kaplan wrote:
>> I am having problems importing a Plone site that was created under 2.1  
>> into
>> 2.1.2. Does anyone know about this problem? I've tried doing the same  
>> with other
>> sites, but they all have the same results. I even created a fresh site  
>> in
>> the 2.1 instance with nothing changed, export it, then import it and it
>> fails the same way.
>>
>> The steps I've taken are:
>>
>> 1. In the 2.1 instance of Plone, from the Zope management console, I  
>> select
>> the site, click Export, select "save to file on server", and then click
>> Export.
>>
>> 2. I copy the export file into the import directory of the new instance.
>>
>> 3. In the 2.1.2 instance, from the Zope management console, root folder
>> selected. I click "Import/Export" button, select the import file name,  
>> then
>> click Import.
>>
>> The message I get is:
>>
>> Site Error
>> An error was encountered while publishing this resource. Error Type:  
>> AttributeError
>> Error Value: _index_parents
>> ________________________________
>>
>> Troubleshooting Suggestions
>>
>> * The URL may be incorrect.
>> * The parameters passed to this resource may be incorrect.
>> * A resource that this resource relies on may be encountering an error.
>>
>> For more detailed information about the error, please refer to the error
>> log. If the error persists please contact the site maintainer. Thank  
>> you for your
>> patience. =================================================
>>
>> Here's the traceback:
>>
>> Traceback (innermost last):
>> Module ZPublisher.Publish, line 115, in publish
>> Module ZPublisher.mapply, line 88, in mapply
>> Module ZPublisher.Publish, line 41, in call_object
>> Module OFS.ObjectManager, line 585, in manage_importObject
>> Module OFS.ObjectManager, line 607, in _importObjectFromFile
>> Module OFS.ObjectManager, line 330, in _setObject
>> Module zope.event, line 23, in notify
>> Module zope.app.event.dispatching, line 66, in dispatch
>> Module zope.component, line 181, in subscribers
>> Module zope.component.site, line 89, in subscribers
>> Module zope.interface.adapter, line 481, in subscribers
>> Module zope.app.event.objectevent, line 192, in objectEventNotify
>> Module zope.component, line 181, in subscribers
>> Module zope.component.site, line 89, in subscribers
>> Module zope.interface.adapter, line 481, in subscribers
>> Module OFS.subscribers, line 114, in dispatchObjectMovedEvent
>> Module OFS.subscribers, line 137, in callManageAfterAdd
>> Module Products.CMFCore.CMFCatalogAware, line 199, in manage_afterAdd
>> Module Products.CMFCore.CMFCatalogAware, line 235, in __recurse
>> Module Products.Archetypes.BaseBTreeFolder, line 37, in manage_afterAdd
>> Module Products.Archetypes.BaseFolder, line 108, in manage_afterAdd
>> Module Products.CMFCore.CMFCatalogAware, line 198, in manage_afterAdd
>> Module Products.Archetypes.CatalogMultiplex, line 26, in indexObject
>> Module Products.CMFPlone.CatalogTool, line 407, in catalog_object
>> Module Products.ZCatalog.ZCatalog, line 566, in catalog_object
>> Module Products.ZCatalog.Catalog, line 360, in catalogObject
>> Module Products.ExtendedPathIndex.ExtendedPathIndex, line 148, in
>> index_object
>> Module Products.ExtendedPathIndex.ExtendedPathIndex, line 88, in
>> insertEntry
>> AttributeError: _index_parents
>>    
>> ------------------------------------------------------------------------
>>
>> _______________________________________________
>> Setup mailing list
>> Setup at lists.plone.org
>> http://lists.plone.org/mailman/listinfo/setup
>>



-- 
_____________________________________________________________________

      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




More information about the Setup mailing list