[Setup] Restoring a Plone 3 website

CapnKirk empirical.humanist at gmail.com
Mon Dec 19 16:13:07 UTC 2011


Situation: a server went down permanently, which had a Plone 3 website. I
want to restore it on our new hardware. OS: Ubuntu Server 11.04 "Natty". I
have the ZOPE db backups. I assume that trying to restore these Plone 3
backups on a current Plone 4.x platform is going to give me problems.

I found and am following the recipe for installing Plone 3 on Ubuntu here:

http://plone.org/documentation/kb/installing-a-plone-buildout-on-ubuntu

I got Python 2.4 compiled and running. I then got to the step:

> # 3) Get ZopeSkel paster scripts
> sudo easy_install-2.4 ZopeSkel

Standard out give me this:
****************************************************
Searching for ZopeSkel
Best match: ZopeSkel 3.0a1
Processing ZopeSkel-3.0a1-py2.4.egg
ZopeSkel 3.0a1 is already the active version in easy-install.pth
Installing zopeskel script to /usr/local/bin

Using /usr/local/lib/python2.4/site-packages/ZopeSkel-3.0a1-py2.4.egg
Processing dependencies for ZopeSkel
Searching for PasteDeploy<1.5.0
Reading http://pypi.python.org/simple/PasteDeploy/
Reading http://pythonpaste.org/deploy/
Reading http://pythonpaste.org/deploy/paste-deploy.html
Best match: PasteDeploy 1.3.4
Downloading
http://pypi.python.org/packages/source/P/PasteDeploy/PasteDeploy-1.3.4.tar.gz#md5=eb4b3e2543d54401249c2cbd9f2d014f
Processing PasteDeploy-1.3.4.tar.gz
Running PasteDeploy-1.3.4/setup.py -q bdist_egg --dist-dir
/tmp/easy_install-ppjWGz/PasteDeploy-1.3.4/egg-dist-tmp-utVl1E
{}
warning: no previously-included files matching '*' found under directory
'docs/_build/_sources'

Installed /tmp/easy_install-ppjWGz/PasteDeploy-1.3.4/Paste-1.7.5.1-py2.4.egg
********************************************************

and then the script ended. But standard error reported this (beginning and
end only; middle edited out):

***********************************************************
Directory ./PasteDeploy.egg-info ignored by pattern *.egg-info
File ./paste/__init__.py ignored by pattern *.py
File ./tests/__init__.py ignored by pattern *.py
File ./tests/fixture.py ignored by pattern *.py
File ./tests/test_config.py ignored by pattern *.py
File ./tests/test_load_package.py ignored by pattern *.py
File ./tests/finddata.py ignored by pattern *.py
File ./tests/test_config_middleware.py ignored by pattern *.py
File ./tests/test_basic_app.py ignored by pattern *.py
File ./tests/test_filter.py ignored by pattern *.py
File ./paste/deploy/__init__.py ignored by pattern *.py
File ./paste/deploy/interfaces.py ignored by pattern *.py
File ./paste/deploy/converters.py ignored by pattern *.py
File ./paste/deploy/loadwsgi.py ignored by pattern *.py
File ./paste/deploy/epdesc.py ignored by pattern *.py
File ./paste/deploy/paster_templates.py ignored by pattern *.py
File ./paste/deploy/config.py ignored by pattern *.py
File ./paste/deploy/util/__init__.py ignored by pattern *.py
File ./paste/deploy/util/threadinglocal.py ignored by pattern *.py
File ./paste/deploy/util/fixtypeerror.py ignored by pattern *.py
Traceback (most recent call last):
  File "/usr/local/bin/easy_install-2.4", line 8, in ?
    sys.exit(

[snip]

File
"/usr/local/lib/python2.4/site-packages/distribute-0.6.21-py2.4.egg/pkg_resources.py",
line 485, in iter_entry_points
    for dist in self:
  File
"/usr/local/lib/python2.4/site-packages/distribute-0.6.21-py2.4.egg/pkg_resources.py",
line 511, in __iter__
    for key in self.entry_keys[item]:
KeyError:
'/tmp/easy_install-kk6O83/PasteDeploy-1.3.4/temp/easy_install-Og3hQ9/Paste-1.7.5.1'
***********************************************************

This suggests to me that the easy_install script ended abnormally.

Can anyone tell me if this is the case, or that I can proceed with the rest
of the install?

Any suggestions welcome and appreciated!

TIA,

Kirk

--
View this message in context: http://plone.293351.n2.nabble.com/Restoring-a-Plone-3-website-tp7108670p7108670.html
Sent from the Installation, Setup, Upgrades mailing list archive at Nabble.com.


More information about the Setup mailing list