I am attempting to upgrade aufrecht.org to 5.0. My steps are as follows (with dead ends omitted):
- Inspect the live system by going to /acs-admin/apm, and discover that the kernel is 4.6.1.
- Make a copy of the live database (postgresql), which is PostGreSQL 7.2
- On a development machine, run pg_7.2to7.3_upgrade_helper.pl on the dmp file.
- Restore the dmp file to a PostGreSQL 7.3.4 database.
- Download the OpenACS 4.6.3 tarball and unpack it
- tweak the config.tcl file to have correct values
- Start aolserver using the 4.6.3 tarball as the homedir and the restored database as the db
- Go to the APM and click Install
- Select only the kernel for Upgrade. Select both
sql/postgresql/upgrade/upgrade-4.6.1-4.6.2.sql
sql/postgresql/upgrade/upgrade-4.6.2-4.6.3.sql
- Failed to install ACS Kernel, version 4.6.3. The following error was generated:
Database operation "0or1row" failed (exception NSDB, "Query was not a statement returning rows.") ERROR: pg_atoi: zero-length string SQL: select apm_package_version__new( NULL, 'acs-kernel', '4.6.3', 'https://openacs.org/repository/download/apm/acs-kernel-4.6.3.apm', 'Routines and data models providing the foundation for OpenACS-based Web services.', NULL, NULL, '2002-10-27', 'OpenACS', 'https://openacs.org/', 't', 't' );