RE: [Zope] Advice on upgrade?
I *JUST* did that myself :) What I did: - configure and install the core Zope 2.7.2 - create a new 2.7.2 instance - copy over the products (Both core and instance) - edit the zope.conf - copy over the data.fs done! worked great for me. J.F. -----Original Message----- From: zope-bounces@zope.org [mailto:zope-bounces@zope.org]On Behalf Of hpinson@indepthl.com Sent: August 20, 2004 10:19 AM To: zope@zope.org Subject: [Zope] Advice on upgrade? I am unclear on the upgrade process. I would like to upgrade from Zope 2.7 to 2.7.2. Platform is Fedora Core 1 with Python 2.3. installed. I have two directories /var/zope2.7 and /var/zope-instance I will install the new version to /var/zope2.7.2 How can I make use of my existing /var/zope-instance? Or is it best to recreate a new instance from scratch? Harlow Pinson Indepth Learning Email: hpinson@indepthl.com Web: http://www.indepthl.com Voice: 505-994-2135 FAX: 208-475-7678 _______________________________________________ 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 )
What I did:
- configure and install the core Zope 2.7.2 - create a new 2.7.2 instance - copy over the products (Both core and instance) - edit the zope.conf - copy over the data.fs
done! worked great for me.
Yikes. That is exactly what I did (i think), but no luck. The new zope is not even producing a log, though it seems to run. Harlow Pinson Indepth Learning Email: hpinson@indepthl.com Web: http://www.indepthl.com Voice: 505-994-2135 FAX: 208-475-7678
hpinson@indepthl.com wrote:
What I did:
- configure and install the core Zope 2.7.2 - create a new 2.7.2 instance
Ug!
- copy over the products (Both core and instance)
Ug! Ug! Yuk!
- edit the zope.conf - copy over the data.fs
done! worked great for me.
Your other email was closer so I'll reply there... Chris -- Simplistix - Content Management, Zope & Python Consulting - http://www.simplistix.co.uk
Thanks Chris-- don't want to indulge in any masochism just now (at least any more than I have to)! I did what you said, and my zope is now upgraded, along with Plone from 2.0.3 to 2.0.4 So here's what I did for the upgrade from 2.7 to 2.7.2. Installed the new core to /var/zope272 sitting alongside the old core which is in /var/zope27 Used the old /var/zope-instance (thank goodness!): I had to edit the first few lines of zope.conf to point to the new core. Also, as you suggested, I edited runzope and zopectl, again pointing to the new zope core. However on startup, the old zope was still being used. Turns out I had an errant zopectl script sitting in /etc/rc.d/init.d which pointed to the old zope core. Removing that solved the problem. I'm guessing others are stuggling with a upgrade a bit too. Any suggestions on how to add this procedure to the online Zope Book 2.7 edition? I would be happy to write it up. Harlow Pinson Indepth Learning Email: hpinson@indepthl.com Web: http://www.indepthl.com Voice: 505-994-2135 FAX: 208-475-7678
hpinson@indepthl.com wrote:
Turns out I had an errant zopectl script sitting in /etc/rc.d/init.d which pointed to the old zope core.
Ouch, yeah, that should always be simlinked and not copied for that very reason!
I'm guessing others are stuggling with a upgrade a bit too. Any suggestions on how to add this procedure to the online Zope Book 2.7 edition? I would be happy to write it up.
If you could send me your proposed changes, I'd be happy to make them, provided Mark Pratt doesn't shout at me again ;-) Chris -- Simplistix - Content Management, Zope & Python Consulting - http://www.simplistix.co.uk
participants (3)
-
Chris Withers -
hpinson@indepthl.com -
Jean-Francois.Doyon@CCRS.NRCan.gc.ca