RE: [Zope] Re: Advice on upgrade?
Yup, or maybe when you re-edited zope.conf you missed something. Another common cause of such a symptom is that you're trygin to start as root without having it configured for it. try starting it with "runzope" instead of zopectl, you'll get output to the terminal indicating the cause of the problem. J.F. -----Original Message----- From: zope-bounces@zope.org [mailto:zope-bounces@zope.org]On Behalf Of Passin, Tom Sent: August 20, 2004 4:17 PM To: zope@zope.org Subject: RE: [Zope] Re: Advice on upgrade?
From: zope-bounces@zope.org [mailto:zope-bounces@zope.org] On Behalf Of
Ok, I went into the new /var/zope272-instance/etc/zope.conf
and changed the two lines:
%define INSTANCE /var/zope-instance %define ZOPE /var/zope
to
%define INSTANCE /var/zope272-instance %define ZOPE /var/zope272
and start the new version of Zope, which appears to start and run, but cannot be called via http-- I just get "This page cannot be displayed."
Are you sure that the old version isn't still running on the same port? Maybe it starts automatically when you boot (seems likely). Tom P _______________________________________________ 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 )
On Fri, Aug 20, 2004 at 04:36:40PM -0400, Jean-Francois.Doyon@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
participants (2)
-
Jean-Francois.Doyon@CCRS.NRCan.gc.ca -
Paul Winkler