RE: [Zope] Re: Zope 2.10.4 Upgrade

2007-07-13 Thread David Ayres

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: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 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 )

___
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 )


Re: [Zope] Re: Zope 2.10.4 Upgrade

2007-07-12 Thread Jens Vagelpohl

-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 )


RE: [Zope] Re: Zope 2.10.4 Upgrade

2007-07-12 Thread David Ayres
 
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: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 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 )

___
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 )


[Zope] Re: Zope 2.10.4 Upgrade

2007-07-12 Thread Maurits van Rees
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 )


[Zope] Re: Zope 2.10.4 Upgrade

2007-07-12 Thread Tres Seaver
-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  [EMAIL PROTECTED]
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-

___
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 )