Search · Index

Upgrading OpenACS.org to 5.3

The steps to upgrade openacs.org to 5.3.1 are as follows. I just keep this xowiki page for the record, so I remember what has been done and make this maybe a good guide for the future.

Staging server upgrade 

  1. Create a staging server for the service0 "openacs" and dump the latest code and database onto it.

    scp login@openacs.org:/backup/openacs.org/*full* /web/openacs/
    tar xfz *.tar.gz
    cd database-backup
    gunzip openacs.org-nightly-backup.dmp.tar.gz

    # Change the dump from SQL_ASCII to UTF-8. Still does not work correctly, but it did the trick for now.
    /usr/bin/iconv -c -f iso8859-1 -t UTF-8 -o cleanfile.dmp openacs.org-nightly-backup.dmp
    psql -h ww.xx.yy.zz -U openacs -f cleanfile.dmp openacs

  2. Check the existing code for differences

    cd /web/openacs/packages
    cvs diff >diff.log

  3. If there are any, make sure to copy them to a save place
  4. Checkout and update the code

    cvs -d :pserver:anonymous@cvs.openacs.org:/cvsroot co -r oacs-5-3 openacs-4/packages
    sudo su - openacs
    cd openacs-4/packages

    # Copy over all files. This includes the CVS files which is wanted !
     cp -pr * /web/openacs/packages/
  5. Apply the changes made and not commited in step 3. to the code.

This has given you an installation of openacs.org running on the latest packages. Now we go for the other parts that need to be done

Adopt to new theme-zen

We need to make sure that the new site master template is working with the changes introduced by ZEN. Taking into account that the website is running on legacy code, this might be more of a challenge than initially anticipated.

Write ETP => XoWIKI converter

If we want to drop ETP in favour of XoWIKI, we either need a converter or do this manually by hand. On cognovis.de I did this manually for about 60 pages and it turned out not too be too much time, so doing it hand by hand might actually be faster. But still, someone needs to do it :).

Install PM

As some of us want to use Project Manager to organize other efforts in the community a little bit better (and be it just to have the laundry list in bits and pieces, so people can go there and deal with it), I will install PM on openacs.org so people willing to collaborate this way can do so. Probably with an integration into XoWIKI as well, so we have a wiki per project (or at least a wiki page per project). 

Previous Month March 2017
Sun Mon Tue Wed Thu Fri Sat
26 27 28 1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 (1) 20 21 22 23 24 25
(1) 26 27 28 29 30 31 1

Popular tags

17 , 5.9.0 , 5.9.1 , ad_form , ADP , ajax , aolserver , asynchronous , bgdelivery , bootstrap , bugtracker , CentOS , COMET , CSP , CSRF , cvs , debian , emacs , fedora , FreeBSD , hstore , includelets , install , installation , installers , install-ns , javascript , libthread , linux , monitoring
No registered users in community xowiki
in last 30 minutes
Contributors

OpenACS.org