Pivotal GPText Error: "Version #.#.# is not supported by this upgrade" when trying to upgrade GPText using gptext-upgrade utility
search cancel

Pivotal GPText Error: "Version #.#.# is not supported by this upgrade" when trying to upgrade GPText using gptext-upgrade utility

book

Article ID: 295806

calendar_today

Updated On:

Products

VMware Tanzu Greenplum

Issue/Introduction

When upgrading GPText, it fails with the following message. In this example, GPText is upgraded from v2.3.1 to v3.1:
20190205:05:50:41:088397 gptext-upgrade:hostname:gpadmin-[INFO]:-Loading upgrade file /greenplum/greenplum-text-3.1.0/share/upgrade.yaml...
20190205:05:50:41:088397 gptext-upgrade:hostname:gpadmin-[INFO]:-Validating upgrade file contents...
20190205:05:50:41:088397 gptext-upgrade:hostname:gpadmin-[ERROR]:-Error upgrade GPText: Version 2.3.1 is not supported by this upgrade.

You have sourced the greenplum-text_path.sh script in the old GPText installation directory specified in the Upgrading GPText  release documentation:

$ /usr/local/greenplum-text-<new-version>/bin/gptext-upgrade

Adding the verbose option to the gptext-upgrade command shows additional information:

20190205:07:15:33:005802 gptext-upgrade:hostname:gpadmin-[DEBUG]:-Found command rm at /bin/rm
20190205:07:15:33:005802 gptext-upgrade:hostame:gpadmin-[DEBUG]:-Versions supported by this upgrade: 2.4.0, 3.0.0
20190205:07:15:33:005802 gptext-upgrade:hostname:gpadmin-[ERROR]:-Error upgrade GPText: Version 2.3.1 is not supported by this upgrade.
20190205:07:15:33:005802 gptext-upgrade:hostname:gpadmin-[DEBUG]:-Traceback (most recent call last):

Cause

GPTransfer 3.1 only supports upgrading GPText from version 2.4.0 or 3.0.0. In other words, GPTransfer 3.1 does not support upgrading GPText from a version lower than 2.4.0 or 3.0.0.

Resolution

Upgrade to GPText 2.4.0 and then use GPTransfer 3.1 to upgrade to your desired version.