PostgreSQL Database Server Version Not Supported

When PrivX is installed or upgraded on an unsupported PostgreSQL server version, the postinstall.sh script fails with an error similar to the following:

ERROR: The installation or upgrade process has failed
 because the PostgreSQL database server version is not
 supported. The minimum supported version is PostgreSQL <version>.
 Please upgrade your PostgreSQL server version to <version> or
 higher. After upgrading the database to the required
 version, resume the current operation with:

Resume installation:
    /opt/privx/scripts/postinstall.sh

Resume normal upgrade (not zero-downtime upgrade):
    /opt/privx/scripts/postinstall.sh

Resume first stage upgrade (in zero-downtime upgrade, e.g if version check error occurred while running upgrade_first_stage.sh):
    UPGRADE_STYLE=no_downtime /opt/privx/scripts/postinstall.sh 

This indicates that the PostgreSQL server version does not meet the minimum version requirements set by PrivX.

Potential Solution

To resolve the issue, upgrade the PrivX database PostgreSQL server to one of the supported versions -- the minimum accepted version is listed in the error message.

After upgrading, rerun the appropriate script based on your installation or upgrade method.

  • During upgrade, if you are prompted to continue installation without removing existing files, answer Yes.
  • Do not perform a clean installation. Doing so may remove critical files and make your PrivX deployment unusable.

Was this page helpful?