Index: openacs-4/packages/acs-core-docs/www/upgrade-supporting.html =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-core-docs/www/upgrade-supporting.html,v diff -u -N -r1.16 -r1.17 --- openacs-4/packages/acs-core-docs/www/upgrade-supporting.html 13 Sep 2009 23:54:41 -0000 1.16 +++ openacs-4/packages/acs-core-docs/www/upgrade-supporting.html 17 Oct 2010 21:06:08 -0000 1.17 @@ -43,7 +43,7 @@ are not, and so they don't match. Also some functions use casting commands that no longer work in 7.3 and these functions must be recreated.

- To upgrade an OpenACS site from PostGreSQL 7.2 to 7.3, first upgrade the kernel to 4.6.3. Then, dump the database, run the upgrade script /var/lib/aolserver/$OPENACS_SERVICE_NAME/bin/pg_7.2to7.3_upgrade_helper.pl on the dump file, and reply the dump. See Forum OpenACS Q&A: PG 7.2->7.3 upgrade gotcha?. Example:

  1. Back up the database as per ???.

  2. Run the upgrade script on the backup file.

    [root root]# su - $OPENACS_SERVICE_NAME
    +      To upgrade an OpenACS site from PostGreSQL 7.2 to 7.3, first upgrade the kernel to 4.6.3.  Then, dump the database, run the upgrade script /var/lib/aolserver/$OPENACS_SERVICE_NAME/bin/pg_7.2to7.3_upgrade_helper.pl on the dump file, and reply the dump.  See Forum OpenACS Q&A: PG 7.2->7.3 upgrade gotcha?.  Example:

    1. Back up the database as per PostgreSQL.

    2. Run the upgrade script on the backup file.

      [root root]# su - $OPENACS_SERVICE_NAME
                 [$OPENACS_SERVICE_NAME $OPENACS_SERVICE_NAME]# cd /var/lib/aolserver/$OPENACS_SERVICE_NAME/bin
                 [$OPENACS_SERVICE_NAME bin]$ ./pg_7.2to7.3_upgrade_helper.pl \
                 ../database-backup/nightly.dmp \
      @@ -76,4 +76,4 @@
                 postgres73 user's home directory.

    3. Change the path in $OPENACS_SERVICE_NAME's .bashrc or .bash_profile (or both) files to reflect the new postgres73 - user directory. Also add in the PGPORT.

    4. Restore the database from dump as per the recovery instructions.

View comments on this page at openacs.org
+ user directory. Also add in the PGPORT.

  • Restore the database from dump as per the recovery instructions.

  • View comments on this page at openacs.org