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 -r1.6.2.2 -r1.6.2.3 --- openacs-4/packages/acs-core-docs/www/upgrade-supporting.html 5 Jul 2004 19:47:33 -0000 1.6.2.2 +++ openacs-4/packages/acs-core-docs/www/upgrade-supporting.html 1 Nov 2004 23:40:19 -0000 1.6.2.3 @@ -1,4 +1,4 @@ -Upgrading Platform components

Upgrading Platform components

Upgrading OpenFTS from 0.2 to 0.3.2

OpenACS Full Text Search requires several pieces: the OpenFTS code, some database functions, and the OpenFTS Engine. This section describes how to upgrade OpenFTS from 0.2 to 0.3.2 and upgrade the search engine on an OpenACS site at the same time.

  1. Uninstall the old OpenFTS Engine from the $OPENACS_SERVICE_NAME database.

    1. Browse to http://yourserver/openfts. +Upgrading Platform components

      Upgrading Platform components

      Upgrading OpenFTS from 0.2 to 0.3.2

      OpenACS Full Text Search requires several pieces: the OpenFTS code, some database functions, and the OpenFTS Engine. This section describes how to upgrade OpenFTS from 0.2 to 0.3.2 and upgrade the search engine on an OpenACS site at the same time.

      1. Uninstall the old OpenFTS Engine from the $OPENACS_SERVICE_NAME database.

        1. Browse to http://yourserver/openfts.

        2. Click Administration.

        3. Click Drop OpenFTS Engine

      2. Build and install the new OpenFTS driver and supporting tcl procedures. (This section of shell code is not fully documented; please exercise care.)

        cd /usr/local/src/
                   tar xzf /tmp/Search-OpenFTS-tcl-0.3.2.tar.gz
                   chown -R root.root Search-OpenFTS-tcl-0.3.2/
        @@ -32,7 +32,7 @@
         psql $OPENACS_SERVICE_NAME -f /usr/local/src/postgresql-7.2.3/contrib/tsearch/tsearch.sql
         exit
      3. OPTIONAL: Install the new OpenFTS Engine.�If you want to upgrade the OpenFTS Engine, do these steps. (You must have already upgraded the OpenFTS driver to - 0.3.2.)

        1. Browse to http://yourserver/admin/site-map

        2. On the openfts line, click on set parameters.

        3. Change the value of openfts_tcl_src_path from /usr/local/src/Search-OpenFTS-tcl-0.2/ to /usr/local/src/Search-OpenFTS-tcl-0.3.2/

        4. Click Set Parameters

        5. [root root]# restart-aolserver $OPENACS_SERVICE_NAME
        6. Browse to http://yourserver/openfts

        7. Click Administration.

        8. Click Initialize OpenFTS Engine

      Upgrading from PostGreSQL 7.2 to 7.3

      An OpenACS database created in PostGreSQL 7.2 will not + 0.3.2.)

      1. Browse to http://yourserver/admin/site-map

      2. On the openfts line, click on set parameters.

      3. Change the value of openfts_tcl_src_path from /usr/local/src/Search-OpenFTS-tcl-0.2/ to /usr/local/src/Search-OpenFTS-tcl-0.3.2/

      4. Click Set Parameters

      5. [root root]# restart-aolserver $OPENACS_SERVICE_NAME
      6. Browse to http://yourserver/openfts

      7. Click Administration.

      8. Click Initialize OpenFTS Engine

Upgrading from PostGreSQL 7.2 to 7.3

An OpenACS database created in PostGreSQL 7.2 will not work correctly in PostGreSQL 7.3. This is because 7.2 truncates function names to 31 characters, but 7.3 does not. This does not cause problems in 7.2, because truncation occurs both at