Re: [Zope] Question regarding changing Zope site to another distro

2005-04-22 Thread Jake
Hi Mario,

This is my system for upgrading:
http://zopezone.com/faq/1063992383

I have moved my Zope installation more than a few times from server to
server and here are the basics.

- Get the new installation up and running first, just plain Zope/Plone/CMF
etc. You might want to start with a newer version as it is a good time to
upgrade but that is up to you, more work, bigger payout.

- Copy over the /Products/ (or the ones that you didn't already install)
and restart Zope. Check for errors.

- Copy over the Data.fs, repeat.

Finally, make sure to grab all the logs etc.

That is to go from a old zope version to a new one.

If you just want to transfer it, shut it down, zip it up and unzip it in
the same location. I have never found this to work very well though. You
will have to edit the config and start files to make sure they are
pointing at the new locations.

The other way to do it, would be to try the first method but use the exact
same versions. So, just install the same versions in a normal manner, and
copy over Products and Data.fs.

Good luck (this is why I try only to do it a few times a year).

Jake

-- 
http://www.ZopeZone.com


Mário Gamito said:
 Hi,

 I run this Zope/Plone site - www.dte.ua.pt
 I am no Zope guru. I've just managed, with my years on administrating
 Linux servers, to install it, as well as plone and a bunch of Products,
 and get it running. That's all.
 Just made after, a few hacks in Plone code, mainly to support
 authentication through HTTPS and a few more minor thingies.

 The server running Zope has been there for about three years (more or
 less), is running SuSE 9.0 and it was compiled as well as Pyhton.

 The latest versions of Zope and Python, were by that time 2.6.1 and
 2.1.3 respectively.

 So, to live on the edge, i've instaled this versions under:
 /usr/local/zope
 and
 /usr/local/python


 I start zope with:
 /usr/local/zope/start 

 and in /usr/local/zope/start file, i have
 exec /usr/local/python/bin/python $cwd/z2.py -L 'pt_PT' -u zope $@



 I'm moving this machine to a more powerful one in which i'm going to
 install Red Hat Enterprise Linux 4.

 I remeber having installed it first in RedHat 9, and then switching it
 after a few days to SuSE 9.0, just by backing up /usr/local/zope
 directory and restoring it after in SuSE.
 No major issues with this.
 A couple of symbolic links did to tweaks that were needed.


 Now...
 I think my Zope is suffering from arthritis :(
 I can't undo any more, either in Zope nor Plone and i can't compress
 Zope's database without getting an error and... no database compressed.
 As if you care to rapidly browse the site, you will see it is indeed a
 small one, but the /usr/local/zope .bz2 tarball is already at 1 GB and
 increasing.


 Does this sympthoms means that i'm going to have troubles now migrating
 to RHEL 4 ?
 Maintaining the Zope and Python version of course and the same scheme.
 I don't want to upgrade Zope, nor Python, nor Plone.

 Any help would be apreciated.

 Warm Regards,
 --
 Mário Gamito
 Bastard Administrator in $hell
 $Users, you better make your backups
 Key FingerPrint: 0x90DA8E3C
 ___
 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] Question regarding changing Zope site to another distro

2005-04-21 Thread Mário Gamito
Hi,

I run this Zope/Plone site - www.dte.ua.pt
I am no Zope guru. I've just managed, with my years on administrating
Linux servers, to install it, as well as plone and a bunch of Products,
and get it running. That's all.
Just made after, a few hacks in Plone code, mainly to support
authentication through HTTPS and a few more minor thingies.

The server running Zope has been there for about three years (more or
less), is running SuSE 9.0 and it was compiled as well as Pyhton.

The latest versions of Zope and Python, were by that time 2.6.1 and
2.1.3 respectively.

So, to live on the edge, i've instaled this versions under:
/usr/local/zope
and
/usr/local/python


I start zope with:
/usr/local/zope/start 

and in /usr/local/zope/start file, i have
exec /usr/local/python/bin/python $cwd/z2.py -L 'pt_PT' -u zope $@



I'm moving this machine to a more powerful one in which i'm going to
install Red Hat Enterprise Linux 4.

I remeber having installed it first in RedHat 9, and then switching it
after a few days to SuSE 9.0, just by backing up /usr/local/zope
directory and restoring it after in SuSE.
No major issues with this.
A couple of symbolic links did to tweaks that were needed.


Now...
I think my Zope is suffering from arthritis :(
I can't undo any more, either in Zope nor Plone and i can't compress
Zope's database without getting an error and... no database compressed.
As if you care to rapidly browse the site, you will see it is indeed a
small one, but the /usr/local/zope .bz2 tarball is already at 1 GB and
increasing.


Does this sympthoms means that i'm going to have troubles now migrating
to RHEL 4 ?
Maintaining the Zope and Python version of course and the same scheme.
I don't want to upgrade Zope, nor Python, nor Plone.

Any help would be apreciated.

Warm Regards,
--
Mário Gamito
Bastard Administrator in $hell
$Users, you better make your backups
Key FingerPrint: 0x90DA8E3C
___
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 )