Re: Moving a Plone installation

Christian Ledermann <[email protected]> Wed, 15 Apr 2015 12:17:48 +0100
Newsgroups gmane.comp.web.zope.plone.user
Message-ID <CABCjzWobQqMuaUFvMXu39oj7NvTsdHdNKyqhthVOwwksdnA=6w@mail.gmail.com>
On 15 April 2015 at 12:08, Wolfgang Jeltsch <[email protected]> wrote:
> Hi,
>
> thanks a lot for this information.
>
> I like this “conservative approach”. I just did not know it so far. In
> particular, I did not know that it is safe to replace the var directory
> with the one from another Plone installation. I guess the Plone versions
> of both installations must match for this to work.
> Or is it actually
> possible to transfer the var directory from of an older Plone to a newer
> Plone?
>Then I could update my Plone on the way.

yes this is possible. also note that when you update from a plone with
python 2.6
to a version with python 2.7 this is the most painless way

having said this: try to keep each step separate, don't do too much at
one time,
if you run into errors you will have an easier time if you know in
what step exactly
the error occurs


>
> All the best,
> Wolfgang
>
> Am Dienstag, den 14.04.2015, 15:33 -0700 schrieb Steve McMahon:
>> Call me conservative, but I'd be inclined to:
>>
>>
>> 1) Do a fresh install on the new machine;
>>
>>
>> 2) Make sure it works;
>>
>>
>> 3) Copy the buildout.cfg (and any other .cfg files in your zinstance
>> or zeocluster directory) to the target;
>>
>>
>> 4) Run buildout on the target;
>>
>>
>> 5) Make sure it works;
>>
>>
>> 6) Transfer the var subdirectory from the old machine to overwrite the
>> var subdirectory on the target;
>>
>>
>> 7) Make sure it works :)
>>
>>
>> 8) Check all your cron jobs (like backup and log rotation);
>> reimplement on new machine.
>>
>>
>> If you're not using the Unified Installer, make sure you use
>> virtualenv to set up your Python on the target. Do not fiddle the site
>> packages of your system Python; do not rely on its site packages
>> staying stable.
>>
>>
>> Extra credit: do steps 1-5 and 8 via Ansible (or other remote config
>> mechanism) so that you don't have to ever configure via the remote
>> command line again. Many smileys!
>>
>> On Mon, Apr 13, 2015 at 8:31 AM, Wolfgang Jeltsch
>> <[email protected]> wrote:
>>         Hi,
>>
>>         I have installed a new OS version on my server, upgrading from
>>         Debian 6
>>         to Debian 7. Before the upgrade, I made a backup of my entire
>>         Plone 4.1
>>         installation, including the Python that comes with it. After
>>         the OS
>>         upgrade, I copied the Plone installation to the newly
>>         installed Debian.
>>
>>         Since I assumed that the Plone installation is basically
>>         self-contained
>>         (modulo a few external utilities like zlib), I thought that
>>         this
>>         approach should work. However, when trying to run the Plone
>>         installation, I got the error, “ImportError: No module named
>>         _md5”. What
>>         is the cause of this, and how can I fix this problem?
>>
>>         All the best,
>>         Wolfgang
>>
>>
>>         ------------------------------------------------------------------------------
>>         BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT
>>         Develop your own process in accordance with the BPMN 2
>>         standard
>>         Learn Process modeling best practices with Bonita BPM through
>>         live exercises
>>         http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_
>>         source=Sourceforge_BPM_Camp_5_6_15&utm_medium=email&utm_campaign=VA_SF
>>         _______________________________________________
>>         Plone-Users mailing list
>>         [email protected]
>>         https://lists.sourceforge.net/lists/listinfo/plone-users
>>
>>
>> ------------------------------------------------------------------------------
>> BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT
>> Develop your own process in accordance with the BPMN 2 standard
>> Learn Process modeling best practices with Bonita BPM through live exercises
>> http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_
>> source=Sourceforge_BPM_Camp_5_6_15&utm_medium=email&utm_campaign=VA_SF
>> _______________________________________________
>> Plone-Users mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/plone-users
>
>
>
> ------------------------------------------------------------------------------
> BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT
> Develop your own process in accordance with the BPMN 2 standard
> Learn Process modeling best practices with Bonita BPM through live exercises
> http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_
> source=Sourceforge_BPM_Camp_5_6_15&utm_medium=email&utm_campaign=VA_SF
> _______________________________________________
> Plone-Users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/plone-users



-- 
Best Regards,

Christian Ledermann

London - UK
Mobile : +44 7474997517

https://www.linkedin.com/in/christianledermann
https://github.com/cleder/


<*)))>{

If you save the living environment, the biodiversity that we have left,
you will also automatically save the physical environment, too. But If
you only save the physical environment, you will ultimately lose both.

1) Don’t drive species to extinction

2) Don’t destroy a habitat that species rely on.

3) Don’t change the climate in ways that will result in the above.

}<(((*>

------------------------------------------------------------------------------
BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT
Develop your own process in accordance with the BPMN 2 standard
Learn Process modeling best practices with Bonita BPM through live exercises
http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_
source=Sourceforge_BPM_Camp_5_6_15&utm_medium=email&utm_campaign=VA_SF
_______________________________________________
Plone-Users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/plone-users