How to upgrade from GetPaid .3/Plone 3.0.x to GetPaid .6.1/Plone 3.1.2
(standalone rootless install in unprivileged user home directory)
Install Plone 3.1.2
Get the newest stable Plone
cd ~ wget http://launchpad.net/plone/3.1/3.1.2/+download/Plone-3.1.2-UnifiedInstaller.tgz
Unpack it:
tar xvfz Plone-3.1.2-UnifiedInstaller.tgz
Start up the Plone installer in standalone mode
cd Plone-3.1.2-UnifiedInstaller ./install.sh standalone
Install dependencies for Getpaid
Go to the location of the local easy_install
cd ~/Plone-3.1/Python-2.4/bin/
Run the local easy_install
./easy_install simplejson ./easy_install zc.ssl ./easy_install dateutil
Install GetPaid .6.1
Get the latest GetPaid
wget http://getpaid.googlecode.com/files/PloneGetPaid-bundle-0.6.1.tar.gz
Unpack it:
tar xvfz PloneGetPaid-bundle-0.6.1.tar.gz
Move the GetPaid libs into the new Plone install
cp -r ~/PloneGetPaid-bundle/lib/python/* ~/Plone-3.1/zinstance/parts/zope2/lib/python/
Move the GetPaid product into the new Plone install
cp -r ~/PloneGetPaid-bundle/Products/* ~/Plone-3.1/zinstance/parts/instance/Products/
Migrate your old data to the new Plone
Shutdown your current Plone database
~/Plone-3/zinstance/bin/zopectl stop
Move your empty new data files out of the way
cd ~/Plone-3.1/zinstance/var/filestorage mkdir original mv Data* original
Copy your old Plone Data.fs over to the new Plone
cp -r ~/Plone-3/zinstance/var$ cp Data.fs ~/Plone-3.1/zinstance/var/filestorage/
Restart your old Plone
~/Plone-3/zinstance/bin$ ./zopectl start
Change your new Plone's port #
vi ~/Plone-3.1/zinstance/parts/instance/etc/zope.conf
Then change the port from 8080 to, say, 8090
Perform the automated ZMI database migrations for each Plone site
Start up your new Plone
~/Plone-3.1/zinstance/bin/zopectl start
Then browse to http://yourdomain:8090/manage
Type in your old Plone's un/pw
In the ZMI, browse to each plone site's folder, and click 'portal_migration'
Click the 'Upgrade' button for each plone site. Each should be successful. If not, you have some debugging to do.
Go live with your upgraded new Plone site
Shut down your new zope with the ZMI's Control Panel or by .zopectl stop
Change your new Plone's port # back to 8080
vi ~/Plone-3.1/zinstance/parts/instance/etc/zope.conf
Shut down your old Plone
~/Plone-3/zinstance/bin/zopectl stop
Start up your new Plone
~/Plone-3.1/zinstance/bin/zopectl start
Congratulations, now yer gettin' paid!

Previous:
Cable Trellis Project



