Overview

Starting with Version 4.5, all OpenACS core packages support automatic upgrade. That means that, if you have OpenACS 4.5 or better, you should always be able to upgrade all of your core packages automatically. If you haven't changed anything, no manual intervention should be required. If you are running OpenACS prior to 4.5, upgrading will require manual effort.

If all of these conditions are true:

then you can upgrade automatically using the automated installer in the OpenACS Package Manager (APM), and you can probably skip the rest of this chapter. To upgrade directly from the OpenACS repository using the APM:

  1. Browse to the Installer.

  2. Click install or upgrade under "Install from OpenACS Repository" and select the packages to install or upgrade.

  3. The APM will download the requested packages from OpenACS.org, install the files on your hard drive, run any appropriate database upgrade scripts, and prompt you to restart the server. After restarting the server again, the upgrade is complete.

Figure 5.1. Upgrading with the APM

Upgrading with the APM

It's always a good idea to precede an upgrade attempt with a snapshot backup.

Table 5.1. Assumptions in this section

name of OpenACS userservice0
OpenACS server nameservice0
Root of OpenACS file tree/var/lib/aolserver/service0
Database backup directory/var/lib/aolserver/service0/database-backup
View comments on this page at openacs.org