Upgrading OpenACS

Upgrading 4.5 to 4.6.x

The required platform for OpenACS 4.6 is the same as 4.5, with the exception of OpenFTS. OpenACS 4.6 and later require OpenFTS 0.3.2 for full text search on PostGreSQL. If you have OpenFTS 0.2, you'll need to upgrade.

  1. Make a Backup. Back up the database and file system (see the section called “Manual backup and recovery”).

  2. OPTIONAL: Upgrade OpenFTS. the section called “Upgrading OpenFTS from 0.2 to 0.3.2”

  3. Stop the server

    [root root]# svc -d /service/service0
  4. Upgrade the file system. the section called “Upgrading the OpenACS files”

  5. Start the server

    [root root]# svc -u /service/service0
  6. Use APM to upgrade the database. 

    1. Browse to the package manager, http://yourserver/acs-admin/apm.

    2. Click Install packages.

    3. Select the packages you want to install. This should be everything that says upgrade, plus any new packages you want. It's safest to upgrade the kernel by itself, and then come back and upgrade the rest of the desired packages in a second pass.

    4. On the next screen, click Install Packages

    5. When prompted, restart the server:

      [root root]# restart-aolserver service0
    6. Wait a minute, then browse to the package manager, http://yourserver/acs-admin/apm.

    7. Check that the kernel upgrade worked by clicking All and making sure that acs-kernel version is 5.0.0b4.

  7. Rollback. If anything goes wrong, roll back to the backup snapshot.

Upgrading OpenACS 4.6.x to 4.6.3

Upgrading from before 4.6.3 to 5.0

OpenACS 5.0 requires PostGreSQL 7.3; OpenACS 4.6.3 supports both 7.2 and 7.3; OpenACS versions prior to 4.6.3 do not support PostGreSQL 7.3. Therefore, if you are upgrading a PostGreSQL OpenACS site from a version before 4.6.3, you must do it in three steps:

Upgrading OpenACS 4.6.3 to 5.0

View comments on this page at openacs.org