Re: Moving a Plone installation

Alessandro Pisa <[email protected]> Mon, 13 Apr 2015 23:31:26 +0200
Newsgroups gmane.comp.web.zope.plone.user
Message-ID <CAFLUjzMxzOEz7D=rYGr9BxCat+WXV=7UJAqHVBqVAwX+0KiBvw@mail.gmail.com>
On 13 April 2015 at 17:31, 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?
>

Assuming you have all the system libraries in place (e.g.:
libxml2-dev, libxslt1-dev, python-dev, ecc...), at least you should
rebootstrap and relaunch relaunch buildout after deleting all compiled
eggs:
 - rm -rf /path/to/eggs/*-linux-*.egg/

Ciao!
-- 
@ale_pisa - http://alepisa.blogspot.com

------------------------------------------------------------------------------
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