[Zope] Re: Advice on upgrade?

Paul Winkler pw_lists at slinkp.com
Fri Aug 20 17:14:31 EDT 2004


On Fri, Aug 20, 2004 at 04:36:40PM -0400, Jean-Francois.Doyon at CCRS.NRCan.gc.ca wrote:
> Yup, or maybe when you re-edited zope.conf you missed something.
> 

Or maybe you also need to edit the paths in bin/runzope 
and bin/zopectl.

But I wouldn't take that approach at all.
One nice thing about instances is that you don't have to tie them
to a particular release and you shouldn't have to edit anything
when you upgrade.

What I do is this:

1) install zope in a versionless directory, e.g. in your example
/var/zope

2) cd /var/zope and create your instance, e.g. in your example:
/var/zope/bin/mkzopeinstance.py
and name the instance something like:
/var/zope-instance  (again, no version number)

3)  mv /var/zope /var/zope272
4)  ln -s /var/zope272 /var/zope


Having done all that, your future upgrades will be easier.
E.g. when zope 2.7.3 comes out, you can install it in /var/zope273
and then do:
ln -sf /var/zope273 /var/zope

and you're done.
No changes in your instance necessary.

-- 

Paul Winkler
http://www.slinkp.com


More information about the Zope mailing list