Look at Zope upgrade documentation.  If you upgrade before zope 2.7 and 2.8
you need to run manage_convertIndexes on each of the catalogs
 

> -----Original Message-----
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of Rui Gamito
> Sent: Monday, November 07, 2005 8:52 AM
> To: Shane Graber
> Cc: [EMAIL PROTECTED]
> Subject: Re: [Setup] Migration
> 
> It worked for me to :)
> Everything came what seemed to be ok, but I'm just having one 
> problem...
> I can't "view" my sites! When I click "view" on the ZMI, it spits this
> out:
> 
> Module ZPublisher.Publish, line 187, in publish_module_standard
>       * Module 
> Products.PlacelessTranslationService.PatchStringIO, line
>         51, in new_publish
>       * Module ZPublisher.Publish, line 144, in publish
>       * Module Zope2.App.startup, line 199, in 
> zpublisher_exception_hook
>       * Module ZPublisher.Publish, line 113, in publish
>       * Module ZPublisher.mapply, line 88, in mapply
>       * Module ZPublisher.Publish, line 40, in call_object
>       * Module Shared.DC.Scripts.Bindings, line 311, in __call__
>       * Module Shared.DC.Scripts.Bindings, line 348, in _bindAndExec
>       * Module Products.PageTemplates.ZopePageTemplate, line 256, in
>         _exec
>       * Module Products.PageTemplates.PageTemplate, line 104, in
>         pt_render
>         <ZopePageTemplate at /EDD/index_html>
>       * Module TAL.TALInterpreter, line 206, in __call__
>       * Module TAL.TALInterpreter, line 250, in interpret
>       * Module TAL.TALInterpreter, line 711, in do_useMacro
>       * Module TAL.TALInterpreter, line 250, in interpret
>       * Module TAL.TALInterpreter, line 426, in do_optTag_tal
>       * Module TAL.TALInterpreter, line 411, in do_optTag
>       * Module TAL.TALInterpreter, line 406, in no_tag
>       * Module TAL.TALInterpreter, line 250, in interpret
>       * Module TAL.TALInterpreter, line 742, in do_defineSlot
>       * Module TAL.TALInterpreter, line 250, in interpret
>       * Module TAL.TALInterpreter, line 426, in do_optTag_tal
>       * Module TAL.TALInterpreter, line 411, in do_optTag
>       * Module TAL.TALInterpreter, line 406, in no_tag
>       * Module TAL.TALInterpreter, line 250, in interpret
>       * Module TAL.TALInterpreter, line 690, in do_defineMacro
>       * Module TAL.TALInterpreter, line 250, in interpret
>       * Module TAL.TALInterpreter, line 734, in do_defineSlot
>       * Module TAL.TALInterpreter, line 250, in interpret
>       * Module TAL.TALInterpreter, line 477, in do_setLocal_tal
>       * Module Products.PageTemplates.TALES, line 221, in evaluate
>         URL: /EDD/index_html
>         Line 43, Column 5
>         Expression: <PythonExpr
>         
> container.portal_catalog(portal_type='Info',sort_on='Date',sor
> t_order='reverse',review_state='published')[:1]>
>         Names:
>         {'container': <PloneSite at /EDD>,
>          'context': <PloneSite at /EDD>,
>          'default': <Products.PageTemplates.TALES.Default 
> instance at 0xb7409f6c>,
>          'here': <PloneSite at /EDD>,
>          'loop': <Products.PageTemplates.TALES.SafeMapping 
> object at 0xb3bcab0c>,
>          'modules': 
> <Products.PageTemplates.ZRPythonExpr._SecureModuleImporter 
> instance at 0xb741ce6c>,
>          'nothing': None,
>          'options': {'args': ()},
>          'repeat': <Products.PageTemplates.TALES.SafeMapping 
> object at 0xb3bcab0c>,
>          'request': <HTTPRequest, 
> URL=http://abc.di.uevora.pt:9673/EDD/index_html>,
>          'root': <Application at >,
>          'template': <ZopePageTemplate at /EDD/index_html>,
>          'traverse_subpath': [],
>          'user': Gestor}
>       * Module Products.PageTemplates.ZRPythonExpr, line 47, 
> in __call__
>         __traceback_info__:
>         
> container.portal_catalog(portal_type='Info',sort_on='Date',sor
> t_order='reverse',review_state='published')[:1]
>       * Module Python expression
>         
> "container.portal_catalog(portal_type='Info',sort_on='Date',so
> rt_order='reverse',review_state='published')[:1]", line 1, in 
> <expression>
>       * Module Products.LinguaPlone.patches, line 121, in 
> searchResults
>       * Module Products.CMFCore.CatalogTool, line 217, in 
> searchResults
>       * Module Products.ZCatalog.ZCatalog, line 689, in searchResults
>       * Module Products.ZCatalog.Catalog, line 733, in searchResults
>       * Module Products.ZCatalog.Catalog, line 539, in search
>       * Module Products.ZCatalog.Catalog, line 566, in sortResults
>       * Module Products.PluginIndexes.common.UnIndex, line 120, in
>         __len__
> AttributeError: _length (Also, an error occurred while 
> attempting to render the standard error message.)
> 
> --
> 
> 
> On Fri, 2005-11-04 at 09:22 -0500, Shane Graber wrote:
> > The two items that are required for a transfer from one box 
> to another 
> > are a copy of Data.fs and your /Products directory from 
> your old box.
> > 
> > I just moved my site from my ancient Debian box running Zope 
> > 2.7.5/Python 2.3.4/Plone 2.0.5 to a new Ubuntu/breezy box 
> running Zope 
> > 2.7.7/Python 2.3.5/Plone 2.0.5.  Here's how I did it:
> > 
> > Created new zope instance on my new box using mkzope2.7instance.py. 
> > Before starting the new instance up, I copied over Data.fs to the 
> > /var/lib/zope2.7/instance/<NEWINSTANCE>/var/ directory and I copied 
> > over my old 
> /var/lib/zope2.7/instance/<OLDINSTANCE>/Products folder to 
> > /<NEWINSTANCE>/.  I then gave user 'zope' permissions on 
> Data.fs and 
> > /Products.  After this, I edited zope.conf to run the new zope 
> > instance on a new port and started it up with ./runzope to see a 
> > verbose startup.
> > 
> > Worked without a hitch for me.
> > Shane
> 
> 
> _______________________________________________
> Setup mailing list
> [EMAIL PROTECTED]
> http://lists.plone.org/mailman/listinfo/setup
> 

_______________________________________________
Setup mailing list
[EMAIL PROTECTED]
http://lists.plone.org/mailman/listinfo/setup

Reply via email to