[Zope] Re: Critical System Hosed, Plan B - upgrade zope, convert db
Tres Seaver
tseaver at palladion.com
Sat Apr 12 21:40:16 EDT 2008
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Wes Modes wrote:
> Okay, I accept that Zope is a mysterious god that requires sacrifice.
> And I wasn't able to solve the mysteries of how to get it up and running
> again with my old data after an unintentional "upgrade."
>
> However... I can upgrade Python from 2.4.2 to 2.4.4 and upgrade Zope
> from 2.7.2 to 2.10.5, get that working, and then hopefully convert my
> old data.
>
> I can handle the python and zope upgrades, but have no idea how to take
> my old zope database and use it with my brand new zope installation.
>
> Any ideas?
$ /path/to/Zope-2.10.x/bin/mkzopeinstance -d ~/z210 -u admin:123
$ cp -r ~/z27/Products ~/z210/Products
$ ~/z210/bin/zopectl fg
# fix / upgrade products broken by the upgrade to 2.10 until
# Zope starts in foreground mode
^C
$ ~/z27/bin/zopectl stop
$ cp ~/z27/var/Data.fs* ~/z10/var
$ ~/z210/bin/zopectl fg
# Now, find and fix problems related to old data
Tres.
- --
===================================================================
Tres Seaver +1 540-429-0999 tseaver at palladion.com
Palladion Software "Excellence by Design" http://palladion.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFIAWSA+gerLs4ltQ4RAhejAJ9+4JsMIQD2T0+nl7Dk110RFnwGxgCgsq/p
kefvTl7vmTQOPHWRtX8hjaA=
=o8fp
-----END PGP SIGNATURE-----
More information about the Zope
mailing list