I recently upgraded from Zope 2.10.0 to 2.10.4. However, the Zope instance still reflects 2.10.0 in the control panel. I installed Zope 2.10.4. Then, in my instance, I changed the variables in 'zopectl' and 'zope.conf' to reflect the new 2.10.4 version and restarted. Did I miss a step? Thanks in Advance, Dave
--On 11. Juli 2007 23:03:11 -0400 David Ayres <david.ayres3@verizon.net> wrote:
I recently upgraded from Zope 2.10.0 to 2.10.4. However, the Zope instance still reflects 2.10.0 in the control panel.
I happened by installation the new version of an existing one? (not recommended). -aj
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 12 Jul 2007, at 05:03, David Ayres wrote:
I recently upgraded from Zope 2.10.0 to 2.10.4. However, the Zope instance still reflects 2.10.0 in the control panel.
I installed Zope 2.10.4. Then, in my instance, I changed the variables in 'zopectl' and 'zope.conf' to reflect the new 2.10.4 version and restarted. Did I miss a step?
Taking an existing instance and mucking with the scripts in it to point to newer code isn't recommended. However, it can be expedient if you really know what you're doing. You need to edit pretty much every file under bin/ and etc/ in your instance and do a search/ replace, not just etc/zope.conf and bin/zopectl. jens -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (Darwin) iD8DBQFGlcz6RAx5nvEhZLIRAlYJAJ4+SgVYVwtS98r3TClp+t7XKI2rkgCglGQD act77PiH/seLmB9EohtKtVU= =SJOI -----END PGP SIGNATURE-----
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Jens Vagelpohl wrote:
On 12 Jul 2007, at 05:03, David Ayres wrote:
I recently upgraded from Zope 2.10.0 to 2.10.4. However, the Zope instance still reflects 2.10.0 in the control panel.
I installed Zope 2.10.4. Then, in my instance, I changed the variables in 'zopectl' and 'zope.conf' to reflect the new 2.10.4 version and restarted. Did I miss a step?
Taking an existing instance and mucking with the scripts in it to point to newer code isn't recommended. However, it can be expedient if you really know what you're doing. You need to edit pretty much every file under bin/ and etc/ in your instance and do a search/ replace, not just etc/zope.conf and bin/zopectl.
in particular, 'zopectl' invokes 'runzope' to start the application server. Tres. - -- =================================================================== Tres Seaver +1 540-429-0999 tseaver@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 iD8DBQFGlkEd+gerLs4ltQ4RAtiVAJ976kguMdfO+ebdvgLcG8SKTrgu8gCgwnUT ljZjUSxpqqlQdWsRCjRMVmY= =Ug8d -----END PGP SIGNATURE-----
David Ayres, on 2007-07-12:
I recently upgraded from Zope 2.10.0 to 2.10.4. However, the Zope instance still reflects 2.10.0 in the control panel.
I installed Zope 2.10.4. Then, in my instance, I changed the variables in 'zopectl' and 'zope.conf' to reflect the new 2.10.4 version and restarted. Did I miss a step?
You can run a mkzopeinstance over an existing instance and those things will be upgraded. Not completely sure what happens to any modifications to the zope.conf file. -- Maurits van Rees | http://maurits.vanrees.org/ [NL] Work | http://zestsoftware.nl/ "Do not worry about your difficulties in computers, I can assure you mine are still greater."
Thanks to everyone for the replies. In the past, I usually created a brand new instance and just copied over my Data.fs, Products, etc. But, I figured there was a way to do an upgrade. Attempt 1: Failed. :) If I run mkzopeinstance over my existing instance, will it upgrade the instance without destroying my data, etc. ? Thanks Again, Dave -----Original Message----- From: zope-bounces@zope.org [mailto:zope-bounces@zope.org] On Behalf Of Maurits van Rees Sent: Thursday, July 12, 2007 11:34 AM To: zope@zope.org Subject: [Zope] Re: Zope 2.10.4 Upgrade David Ayres, on 2007-07-12:
I recently upgraded from Zope 2.10.0 to 2.10.4. However, the Zope instance still reflects 2.10.0 in the control panel.
I installed Zope 2.10.4. Then, in my instance, I changed the variables in 'zopectl' and 'zope.conf' to reflect the new 2.10.4 version and restarted. Did I miss a step?
You can run a mkzopeinstance over an existing instance and those things will be upgraded. Not completely sure what happens to any modifications to the zope.conf file. -- Maurits van Rees | http://maurits.vanrees.org/ [NL] Work | http://zestsoftware.nl/ "Do not worry about your difficulties in computers, I can assure you mine are still greater." _______________________________________________ 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 )
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 13 Jul 2007, at 01:40, David Ayres wrote:
Thanks to everyone for the replies. In the past, I usually created a brand new instance and just copied over my Data.fs, Products, etc. But, I figured there was a way to do an upgrade. Attempt 1: Failed. :)
If I run mkzopeinstance over my existing instance, will it upgrade the instance without destroying my data, etc. ?
Why don't you just create a new instance, copy or link all products from the old instance and copy the ZODB into it? That way you keep your old instance as a backup. jens -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (Darwin) iD8DBQFGlyF0RAx5nvEhZLIRAmsdAJ9azJJneG3xJFDTEpiPj9w3jvRtpACgmeam haF+C83m8ELmyR2O4/wG+Es= =PJvd -----END PGP SIGNATURE-----
That's what I did in the past and what I finally did for this upgrade. I was just wondering for future reference. Dave -----Original Message----- From: zope-bounces@zope.org [mailto:zope-bounces@zope.org] On Behalf Of Jens Vagelpohl Sent: Friday, July 13, 2007 2:54 AM To: zope user list Subject: Re: [Zope] Re: Zope 2.10.4 Upgrade -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 13 Jul 2007, at 01:40, David Ayres wrote:
Thanks to everyone for the replies. In the past, I usually created a brand new instance and just copied over my Data.fs, Products, etc. But, I figured there was a way to do an upgrade. Attempt 1: Failed. :)
If I run mkzopeinstance over my existing instance, will it upgrade the instance without destroying my data, etc. ?
Why don't you just create a new instance, copy or link all products from the old instance and copy the ZODB into it? That way you keep your old instance as a backup. jens -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (Darwin) iD8DBQFGlyF0RAx5nvEhZLIRAmsdAJ9azJJneG3xJFDTEpiPj9w3jvRtpACgmeam haF+C83m8ELmyR2O4/wG+Es= =PJvd -----END PGP SIGNATURE----- _______________________________________________ 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 )
participants (5)
-
Andreas Jung -
David Ayres -
Jens Vagelpohl -
Maurits van Rees -
Tres Seaver