Skip to content

Rhaptos Software Development

Personal tools
You are here: Home » Developer Blog » Brent's Blog » Migrating to Rhaptos

Migrating to Rhaptos Migrating to Rhaptos

Document Actions
Submitted by brentmh. on 2005-09-28 10:54. AnnouncementsDevelopmentMaintenance
Instructions for migrating your development instance to the newly renamed rhaptos code

Note: These instructions assume that you are following the convention of keeping our products in a subdirectory under your Products directory and using symlinks.

Go to your instances Products directory

cd /opt/instances/<foo>/Products

Checkout the new Rhaptos package:

svn co svn+ssh://software.cnx.rice.edu/Rhaptos/trunk Rhaptos

Remove the old symlinks

rm Risa* CatalogMemberDataTool CMFDiffTool CMFCollaboration CNXMLDocument CVSTool ExtZSQL FSImportTool LinkMapTool ZAnnot

Create symlinks to the new Rhaptos packages

find Rhaptos -type d -mindepth 1 -maxdepth 1 -name \* -exec ln -s \{\} \;

If you have any unchecked in changes in your old RISA/ directory you will need to copy it over to the new Rhaptos checkout. If you have been working on a branch, you will need to update the individual Products to your branch and merge in the changes from trunk.

If you have any local-changes to CNXContent, CNXPloneSite, or FeatureArticle, back them up somewhere, and then remove them

rm -rf CNXContent CNXPloneSite FeatureArticle

Checkout the new connexions-specficic bundle

svn co svn+ssh://software.cnx.rice.edu/Bundles/connexions

Make new symlinks

find connexions -type d -mindepth 1 -maxdepth 1 -name \* -exec ln -s \{\} \;

Test the installation by running the zope debugger

/opt/instances/<foo>/bin/zopectl debug

If it is successful, exit it and run the rhaptos migration script

/opt/instances/<foo>/bin/zopectl run RhaptosSite/Upgrades/up131_132.zctl

Now restart your running Zope instance

sudo /opt/instances/<foo>/bin/zopectl restart

Re: Migrating to Rhaptos

Posted by cbearden at 2005-09-28 15:18
When I try to start the instance under the debugger, I get an ImportError:

ImportError: No module named AdvancedQuery

Does AdvancedQuery need to be added to the instructions?

Re: Migrating to Rhaptos

Posted by maxwell at 2005-10-03 16:19
That last command should be:

sudo /opt/instances/<foo>/bin/zopectl restart

not sudp, right?

Re: Re: Migrating to Rhaptos

Posted by brentmh at 2005-10-04 13:06
Yep. Thanks, I'll fix.

Re: Migrating to Rhaptos

Posted by jccooper at 2005-10-17 18:46
You should also run the 132-151 migration script, which will exist shortly. This'll fix quickinstaller and the transforms.
Developer Blog
« November 2008 »
Su Mo Tu We Th Fr Sa
            1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30            
2008-11-10
13:39-13:39 Suggestion for live site slowness reports
Categories:
Content (55)
Copyright (0)
Deep Code (3)
Development (203)
Markup (22)
Metadata (1)
Printing (7)
Style (9)
Testing (2)
Usability (6)