Re: Moving a Plone installation
Steve McMahon <[email protected]> Tue, 14 Apr 2015 15:33:40 -0700
| Newsgroups | gmane.comp.web.zope.plone.user |
|---|---|
| Message-ID | <CAOqzbgiozhhmwros5RgkaBP77jFfrptWO804PDbPM=RBQHQ35w@mail.gmail.com> |
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 < wls580ii-u9ERN231N2QZkvjqreKGLti2O/[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