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.
If upgrading from 4.4, you need to manually run acs-kernel/sql/postgres/upgrade-4.4-4.5.sql. See Bug #632
A computer with OpenACS 4.5.
OpenACS 4.6 tarball or CVS checkout/export.
Required for Full Text Search on PostgreSQL: OpenFTS 0.3.2
Make a Backup. Back up the database and file system (see the section called “Manual backup and recovery”).
OPTIONAL: Upgrade OpenFTS. the section called “Upgrading OpenFTS from 0.2 to 0.3.2”
Stop the server
[root root]# svc -d /service/$OPENACS_SERVICE_NAME
Upgrade the file system. the section called “Upgrading the OpenACS files”
Start the server
[root root]# svc -u /service/$OPENACS_SERVICE_NAME
Use APM to upgrade the database.
Browse to the package manager, http://yourserver/acs-admin/apm
.
Click Install packages.
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.
On the next screen, click
When prompted, restart the server:
[root root]# restart-aolserver $OPENACS_SERVICE_NAME
Wait a minute, then browse to the package manager, http://yourserver/acs-admin/apm
.
Check that the kernel upgrade worked by clicking All
and making sure that acs-kernel
version is 5.7.0.
Rollback. If anything goes wrong, roll back to the backup snapshot.