Upgrading to Zope 2.7.0 final from Zope 2.6.2
Hei, We are now running this Zope version behind Apache 2.0: Zope Version (Zope 2.6.2 (binary release, python 2.1, linux2-x86), python 2.1.3, linux2) Python Version 2.1.3 (#1, Sep 19 2002, 13:15:46) [GCC egcs-2.91.66 19990314/Linux (egcs-1.1.2 release)] System Platform linux2 Our Zope was installed using this file: Zope-2.6.2-linux2-x86.tgz Further we have Plone 2.0-RC3 installed. And then not much else. Now we would like upgrade to Zope 2.7.0 final and Plone 2.0-final. As we have never upgraded a Zope on a linux before, I thought I should ask some questions before we go ahead.. 1. The Zope-2.7.0\doc\INSTALL.TXT describes installing Zope from source. If I follow this description, what will then happen to the Zope 2.6.2 that I am allready running? 2. Should I do something with my Zope 2.6.2 before starting installing Zope 2.7.0? 3. After following the above installation guide. Can I then just take the data.fs file from Zope 2.6.2 and put it into the \Zope-Instance\var\ directory of my new Zope-2.7.0, restart Zope, and then be happy running the "old" web applications again? 4. Or can I/should I just export my Zope 2.6.2 web applications and then import them into Zope-2.7.0? Cheers and Thank you very much! I am very eager to try out the new Zope : ) Børge
Børge Kjeldstad wrote:
Hei,
We are now running this Zope version behind Apache 2.0: Zope Version (Zope 2.6.2 (binary release, python 2.1, linux2-x86), python 2.1.3, linux2) Python Version 2.1.3 (#1, Sep 19 2002, 13:15:46) [GCC egcs-2.91.66 19990314/Linux (egcs-1.1.2 release)] System Platform linux2
Our Zope was installed using this file: Zope-2.6.2-linux2-x86.tgz
Further we have Plone 2.0-RC3 installed. And then not much else.
Now we would like upgrade to Zope 2.7.0 final and Plone 2.0-final.
As we have never upgraded a Zope on a linux before, I thought I should ask some questions before we go ahead..
1. The Zope-2.7.0\doc\INSTALL.TXT describes installing Zope from source. If I follow this description, what will then happen to the Zope 2.6.2 that I am allready running?
they can happily coexist one next to the other. I did that on a couple of machines as follows: - dowloaded python 2.3.3 and installed it - created a new user zope27 (mandatory but usefull) - created a directory /home/zope27/instances - created ~/Products unpacked CMFPlone-2.0-final to this directory created a softlink CMFPlone-2 pointing to CMFPlone-2.0-final - dowloaded Zope and unpacked it to /home/zope27/Zope-2.7-0-src - installed zope to reside in /home/zope27/Zope-2.7-0 with configure --prefix=~/Zope-2.7-0 - created instances of zope with ~/Zope-2.7-0/bin/mkzopeinstance in the ~/instances - edited ~/instances/INSTANCEX/etc/zope.conf to my liking (at least port-base so it does not run at the same port as the 2.6.2 version) - copied OLDZOPE/var/Data.fs do ~/instances/INSTANCEX/var - made softlinks in ~/instances/INSTANCEX/Products pointing to all directories in ~/Products/CMFPlone-2 - started the new zope with ~/instances/INSTANCEX/bin/zctrl start HTH robert
2. Should I do something with my Zope 2.6.2 before starting installing Zope 2.7.0?
3. After following the above installation guide. Can I then just take the data.fs file from Zope 2.6.2 and put it into the \Zope-Instance\var\ directory of my new Zope-2.7.0, restart Zope, and then be happy running the "old" web applications again?
4. Or can I/should I just export my Zope 2.6.2 web applications and then import them into Zope-2.7.0?
Cheers and Thank you very much! I am very eager to try out the new Zope : )
Børge
_______________________________________________ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
Børge Kjeldstad wrote at 2004-4-1 12:52 +0200:
... 1. The Zope-2.7.0\doc\INSTALL.TXT describes installing Zope from source. If I follow this description, what will then happen to the Zope 2.6.2 that I am allready running?
Nothing, unless you choose to put the new Zope in the old place. Do not do that (until everything works to your needs).
2. Should I do something with my Zope 2.6.2 before starting installing Zope 2.7.0?
This is not necessary. When your new Zope should use the same ports as your old one, you must shutdown the old one before you can start the new one. But for testing, just let the new one use different ports.
3. After following the above installation guide. Can I then just take the data.fs file from Zope 2.6.2 and put it into the \Zope-Instance\var\ directory of my new Zope-2.7.0, restart Zope, and then be happy running the "old" web applications again?
Yes, at least ideally. There might be some problems (such as missing products).
4. Or can I/should I just export my Zope 2.6.2 web applications and then import them into Zope-2.7.0?
No, unless you want only to move part of your Zope site. Even then copying and deleting is usally better... -- Dieter
participants (3)
-
Børge Kjeldstad -
Dieter Maurer -
robert rottermann