Upgrading error - Mailing list pgsql-general

From chris navarroza
Subject Upgrading error
Date
Msg-id CADRdQ7r7t1sDYRSc79aSzFG3U-cS1VY_4X_sYBhibQcSG2roNg@mail.gmail.com
Whole thread Raw
Responses Re: Upgrading error
List pgsql-general
Hi,

I have a postgresql server version 12.9 and trying to upgrade it to 14.5. My OS is Centos 8 Stream and I already managed to install postgresql14.5 but when I'm trying to upgrade, I am encountering this error

bash-4.4$ /usr/pgsql-14/bin/pg_upgrade --old-datadir=/home/dmartuser/pgdata/data/ --new-datadir=/home/dmartuser/pgdata/data/ --old-bindir=/usr/pgsql-12/bin/ --new-bindir=/usr/pgsql-14/bin/ --check --verbose
Running in verbose mode
Performing Consistency Checks
-----------------------------
Checking cluster versions
This utility can only upgrade to PostgreSQL version 14.
Failure, exiting

I can't seem to find any solution in the internet. Please help!

Sincerely,
butching


pgsql-general by date:

Previous
From: Matthias Apitz
Date:
Subject: Re: Mysterious performance degradation in exceptional cases
Next
From: Tom Lane
Date:
Subject: Re: Upgrading error