Re: [Zope] Zope update
Hi. I've posted this in more detail before, but the general processs i've been using to update Zope lately is: # Backup /Data.fs # Put the new zope tarball somewhere like... cd /home/myhome/src/zope/276/ gunzip .gz tar -xvf .tar mv zope276 cd zope276 #Assuming you want to put your new zope in /var #Assuming you have a recent python ./configure --prefix=/var/zope276 --with-python="/usr/bin/python2.3" make make install # Assuming your prior zope version is still running and that it # is installed as a service. service zopectl stop change references in /var/zope-instance/bin/zopectl change references in /var/zope-instance/bin/runzope service zopectl start # This way I can leave prior versions of zope on the system in # case I need to revert. For instance, I had lots of legacy # and Plone problems with 2.8 so went back to 2.76 by just # changing references in zopectl I hope that helps. Harlow Pinson Indepth Learning Email: [EMAIL PROTECTED] 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 )
Re: [Zope] Zope update
Wednesday, July 13, 2005, 6:22:04 PM, J Cameron Cooper wrote: > Josef Burger wrote: >> Hi, >> >> I want to update from Zope 2.7.4 to Zope 2.7.6 >> >> What is the easiest way? >> >> Unfortunately there is no description of how an update of Zope is >> done. I'm running Plone on it. I tried to newly install Zope 2.7.6 >> and then copied the backed-up Data.fs file and the content of the >> Products folder. It didn't work very well. There should be no version >> conflicts with Plone as I checked on the Plone web site. > > "Didn't work very well" is not a good description of a problem. > > You should be able to replace the existing Zope SOFTWARE_HOME with a new > version. (I don't know if over-writing is safe; I wouldn't count on it.) > This may be easiest. > > You should also be able to install Zope in a different location, create > a new instance, and copy over the config files, products, and Data.fs of > your old instance. Recently I had to move a Zope (Plone 2.0.x) instance, and I have found that I can't just move the Data.fs. It stores several absolute paths that become broken if the paths of the things (like of some files in products) changes. So finally I have exported the objects (PloneSite objects), and imported them into the new instance. It worked, however then the user name of the last modifier of the objects was replaced with the name of the user who did the importing /-: (while the last modification date has remained intact -- strange). (Also, I seems one have to be careful to create the same users in the /acl_users than in the old instance, otherwise the exported stuff will have some strange security errors.) > (All this is because the instance scripts point to a specific > SOFTWARE_HOME. You could also change that.) > > --jcc -- Best regards, Daniel Dekany ___ 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] Zope update
Josef Burger wrote: Hi, I want to update from Zope 2.7.4 to Zope 2.7.6 What is the easiest way? Unfortunately there is no description of how an update of Zope is done. I'm running Plone on it. I tried to newly install Zope 2.7.6 and then copied the backed-up Data.fs file and the content of the Products folder. It didn't work very well. There should be no version conflicts with Plone as I checked on the Plone web site. "Didn't work very well" is not a good description of a problem. You should be able to replace the existing Zope SOFTWARE_HOME with a new version. (I don't know if over-writing is safe; I wouldn't count on it.) This may be easiest. You should also be able to install Zope in a different location, create a new instance, and copy over the config files, products, and Data.fs of your old instance. (All this is because the instance scripts point to a specific SOFTWARE_HOME. You could also change that.) --jcc -- "Building Websites with Plone" http://plonebook.packtpub.com/ Enfold Systems, LLC http://www.enfoldsystems.com ___ 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] Zope update
Hi, I want to update from Zope 2.7.4 to Zope 2.7.6 What is the easiest way? Unfortunately there is no description of how an update of Zope is done. I'm running Plone on it. I tried to newly install Zope 2.7.6 and then copied the backed-up Data.fs file and the content of the Products folder. It didn't work very well. There should be no version conflicts with Plone as I checked on the Plone web site. Thanks for any advice! Josef ___ 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 )