Personal tools
You are here: Home Hacking archlinux Upgrade to Zope 2.8.1 and Plone 2.1 on Arch Linux

Upgrade to Zope 2.8.1 and Plone 2.1 on Arch Linux

This upgrade introduces some major changes which could break your current zope applications (check for updates). You must also fix paths in your startup scripts (located in your zope instance directory) because the python Zope package has been renamed to Zope2.

Requisites

In the following i assume your zope instance is located in /var/lib/zope/.

Fix Startup scripts

The python Zope package has been renamed to Zope2. You must merge these changes in your startup scripts.

Merge /opt/zope/skel/bin/runzope.in to /var/lib/zope/bin/runzope :

  ZOPE_RUN="$SOFTWARE_HOME/Zope2/Startup/run.py"

Merge /opt/zope/skel/bin/zopectl.in to /var/lib/zope/bin/zopectl :

  ZDCTL="$SOFTWARE_HOME/Zope2/Startup/zopectl.py"

Upgrade your Plone instance

Plone 2.0.x is not compatible with Zope 2.8.x. Install Plone 2.1 in the your product directory:

    cd /tmp
    wget -q  -O - http://mesh.dl.sourceforge.net/sourceforge/plone/Plone-2.1.tar.gz|tar xzf - 
    cp -a Plone-2.1/* /var/lib/zope/Products
    chown -R zope:zope /var/lib/zope/Products

Use the Zope Management Interface to upgrade your Plone portal (portal_migration)

Document Actions