Forum OpenACS Q&A: OCT team plan for upgrade

Collapse
48: OCT team plan for upgrade (response to 1)
Posted by Jade Rubick on
Thanks to the work of Malte Sussdorff, the openacs.org site will be upgraded this weekend, barring any major problems.

The upgrade will take 7am GMT, this Saturday. During this time, the site will redirect to a page that warns you the site is being upgraded.

Plan for the upgrade:

Don:

  1. Don will work on adding pagination to forums before Saturday, and let everyone know if he doesn't have the time to finish.

Joel:

  1. Write up document on how to switch over to cvs.openacs.org in existing CVS checkouts.

Andrew:

  1. Make anonymous pserver work for cvs.openacs.org

Malte:

  1. Run the upgrade.sh script on his computer with a recent oacs-5-1 checkout (oacs-5-1-compat checkout, right?).
  2. Once this is successful, make the site available at http://samoyed.furfly.net
  3. Upgrade all other packages and fix / document problems along the way.
  4. On the day of the upgrade following things will happen:
    1. Announce on openacs.org that all postings done from now on will not be available on the new site.
    2. Set up an index.vuh file which redirects the old site to a page that lets everyone know that openacs.org is being upgraded.
    3. Make a dump and copy it over to my machine.
    4. Run the upgrade
    5. Install PG 7.4.5 on samoyed.openacs.org
    6. Copy the dump from the successful upgrade on my machine to samoyed.openacs.org and install in PG 7.4.5
    7. Copy sourcecode from successful upgrade to samoyed.openacs.org
    8. Move /web/openacs.org to /web/openacs.org-4.2
    9. Change runfile to run /web/openacs.org-4.2 on port 8005
    10. Move successful upgrade sourcecode to /web/openacs.org
    11. Change runfile to run /web/openacs.org on http://openacs.org
Comments, annotations, warnings, suggestions ?
Collapse
Posted by Joel Aufrecht on
The following bash command will change openacs.org to cvs.openacs.org in all of the CVS/Root files in all subdirectories. So do this to change over a directory:
cd /var/lib/aolserver/service0
for file in `find . -name Root | grep CVS`; do  perl -p -i -e 's/openacs\.org/cvs\.openacs\.org/' $file; done 
Don't do this if you are using anonymous access via pserver (ie, your CVS/Root says ":pserver:anonymous@openacs.org") or you will break your cvs checkout, because pserver hasn't been set up yet for cvs.openacs.org. You can reverse this change by repeating the command with openacs\.org and cvs\.openacs\.org swapped.)
Collapse
Posted by Malte Sussdorff on
Somone has to change the DNS record as well once the move was successful.
Collapse
Posted by Malte Sussdorff on
Finally the site is running with 5.1.3 on samoyed.furfly.net. Looking forward for feedback and new way in how to make best use of the new plattform we have.
Collapse
Posted by C. R. Oldham on
Malte, Thanks to you and everyone else that made this possible. --cro