Re: [Zope] Upgrading best practices

2006-03-08 Thread Brian Sullivan
On 3/8/06, Lennart Regebro <[EMAIL PROTECTED]> wrote:
> On 3/8/06, Brian Sullivan <[EMAIL PROTECTED]> wrote:
> > Is there somewhere a general guide to upgrading existing Zope systems
> > to newer versions? I realize that there are special cases but I am
> > looking for a general best practices guide.
>
> 1. Install the new version in a new directory together with all
> products you use.
> 2. Copy the old ZODB to the new instance.
> 3. Do whatever needed for your products to upgrade.
>

That is essentially what I have done -- I just hadn't seen any
strategy written down and thought maybe there might be more to it.
___
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] Upgrading best practices

2006-03-08 Thread Einar Næss Jensen
When I do this ( with my very simple zope systems), I always do a test-migration before THE migration.
Basically: If all looks well, we are Go for Migration.

In short, I do it like this (not using zeo):
check with google, bugcollectors mailinglists if your new zope version
may expose you to unwanted issues. For some reason, I forget this
important part, and get punished by it.
Install new zope-engine. generate new instance where the migrated system will live.
copy etc/  Imports/ Extensions/ Products/ to the new instance.
copy Data.fs
ensure the new instnace is running on different port-number than the old one (for the test-run).
remember that some products may have hard-coded paths. change them.
testrun of your new zope. Check features, check logs.

remember to change your apache config files also (or other webserver)

This is the short version of how I do things. 
 On 3/8/06, Brian Sullivan <[EMAIL PROTECTED]> wrote:
Is there somewhere a general guide to upgrading existing Zope systemsto newer versions? I realize that there are special cases but I amlooking for a general best practices guide.It seems that there is lots of information with each release on
installation from scratch but very little solid information that Icould find on upgrading.___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 )-- 
-- Einar Næss Jensenhttp://einar.nidelven-it.no/einarbloghttp://www.homemade.notlf: +47 90990249(\__/)(='.'=)This is Bunny. Copy and paste bunny into your
(")_(")signature to help him gain world domination.
___
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] Upgrading best practices

2006-03-08 Thread Lennart Regebro
On 3/8/06, Brian Sullivan <[EMAIL PROTECTED]> wrote:
> Is there somewhere a general guide to upgrading existing Zope systems
> to newer versions? I realize that there are special cases but I am
> looking for a general best practices guide.

1. Install the new version in a new directory together with all
products you use.
2. Copy the old ZODB to the new instance.
3. Do whatever needed for your products to upgrade.

--
Lennart Regebro, Nuxeo http://www.nuxeo.com/
CPS Content Management http://www.cps-project.org/
___
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] Upgrading best practices

2006-03-08 Thread Brian Sullivan
Is there somewhere a general guide to upgrading existing Zope systems
to newer versions? I realize that there are special cases but I am
looking for a general best practices guide.

It seems that there is lots of information with each release on
installation from scratch but very little solid information that I
could find on upgrading.
___
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 )