Re: Moving a Plone installation
Wolfgang Jeltsch <wls580ii-u9ERN231N2QZkvjqreKGLti2O/[email protected]> Wed, 15 Apr 2015 14:08:55 +0300
| Newsgroups | gmane.comp.web.zope.plone.user |
|---|---|
| Message-ID | <1429096135.2266.62.camel@idefix> |
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. 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