[Zope] Re: Trouble migrating from Zope 2.5.x to Zope 2.9.x

Doug Morse morse at edoug.org
Thu Aug 9 09:18:30 EDT 2007

Hi Maurits,

Thanks for the speedy reply!

Hmmm... you make a good point about the ZODB file size.  At
installation, though, there was a notable difference.  The new,
default Data.fs was 2.9MB, whereas the mounted, older Data.fs
(renamed, of course) was/is 4.4MB.

I like your suggestion re: just upgrading though each minor release
number.  If someone doesn't suggest an alternative, speedier route,
then I'll do as you suggest.


On Thu, Aug 09, 2007 at 08:49:07AM +0000, Maurits van Rees wrote:
> Doug Morse, on 2007-08-09:
> > Hello Fellow Zopers,
> >
> > I'm trying to migrate an older Zope installation (2.5.x) to Zope 2.9 and I'm
> > having some trouble.  I can mount the old ZODB in the new installation -- it
> > shows up under the database control panel with the correct size (4.4M) --
> > but it appears to be empty.  By "empty", I mean there are no folders or
> > objects present when I view the mount point using the ZMI, and I get
> > "Resource Not Found" errors when trying to view object I know to be there.
> > I'm not getting any error messages within the ZMI or in the events.log file
> > regarding problems with the older Data.fs file or mounting it.
> A 4.4 MB Data.fs *is* rather empty.  That is only marginally bigger
> than the size you get when you start with a fresh zope instance.  Are
> you sure the objects you expect are actually there when you start a
> 2.5 Zope with this database?
> > I'm wondering if there's some sort of "upgrading" of the ZODB file I need to
> > perform?  Any help with this would be MOST appreciated, as I'm not turning
> > up anything in the docs, with google, or any other means I can think of, and
> > I need to get this site migrated.
> Not sure, but you might need to first upgrade to 2.6, then 2.7, then
> 2.8, then 2.9.  At least I would not be surprised if that is the case.
> > Just for completeness: The only thing different about the new Zope
> > installation is that the old Data.fs file is being mounted within Zope under
> > a subdirectory (e.g., "/sitename") instead of the root directory (i.e.,
> > "/"). There's a new ZODB mounted at the root directory, and several other
> > new ZODBs mounted in other subdirectories for new sites -- they all
> > work fine but also were created using Zope 2.9, not Zope 2.5.
> I would first migrate the 2.5 database to 2.9 in a separate zope
> instance with only this database, not any others.  After that you can
> try mounting that migrated database together with the others.  This is
> just a guess though: I have never tried anything like this.

More information about the Zope mailing list