Patches & Updates PostgreSQL 7.4.17 Upgrade



22 May 2007

H-Sphere versions: 2.4.3 +, before 2.5

We recommend upgrading PostgreSQL user, database servers and the system PostgreSQL to 7.4.17.

To update PostgreSQL for H-Sphere 2.5+ and 3.0+, go to System Packages Update.

System Requirements:

- H-Sphere 2.4.1 Patch 2 and higher. If you are running an earlier version of H-Sphere, this patch will break your installation.
- If your Postgres is older than v.7.3 or system DB encoding is other than UTF-8, manual update is highly recommended.

Update procedure:

  1. Log into your control panel server as root:
    su -
  2. Download the PostgreSQL 7.4.17 upgrade script from the psoft site:
    For Linux:
    wget http://www.psoft.net/shiv/HS/u-pgsql-7.4.17.tar.gz
    For FreeBSD:
    fetch http://www.psoft.net/shiv/HS/u-pgsql-7.4.17.tar.gz
  3. Unpack the archive:
    tar xfz u-pgsql-7.4.17.tar.gz
  4. Enter the unpacked directory:
    cd u-pgsql-7.4.17
  5. To upgrade all PostgreSQL servers, run the update.sh script:
    sh update.sh

    To run the script and view the messages that appeared during installation, run the following command:

    sh update.sh | tee update.log
    It will copy the messages to the log file.

Warning: If during the update process you get the message:
WARNING: pg_hba.conf must be configured more strictly.
it means that pg_hba.conf for a given Postgres database should be configured to restrict IP access to Postgres databases from outside the H-Sphere cluster. It is especially important to ensure that IP access to the H-Sphere system database is provided only from CP.



Copyright 1998-2008. Positive Software Corporation.
All rights reserved.