Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PGUpgrade. Upgrade the database from version 15 to version 16 error #3792

Closed
ivanovpavel1983 opened this issue Nov 29, 2023 · 4 comments
Closed

Comments

@ivanovpavel1983
Copy link

ivanovpavel1983 commented Nov 29, 2023

When we try to update the database from version 15 to version 16, we get the error:


Performing Consistency Checks

Checking cluster versions ok

failure
Consult the last few lines of "/pgdata/pg16/pg_upgrade_output.d/20231129T083313.457/log/pg_upgrade_server.log" for
the probable cause of the failure.

connection to server on socket "/pgdata/.s.PGSQL.50432" failed: No such file or directory
Is the server running locally and accepting connections on that socket?

could not connect to source postmaster started with the command:
"/usr/pgsql-15/bin/pg_ctl" -w -l "/pgdata/pg16/pg_upgrade_output.d/20231129T083313.457/log/pg_upgrade_server.log" -D "/pgdata/pg15" -o "-p 50432 -b -c listen_addresses='' -c unix_socket_permissions=0700 -c unix_socket_directories='/pgdata'" start


pg_upgrade_server.log

pg_upgrade run on Wed Nov 29 08:33:13 2023

command: "/usr/pgsql-15/bin/pg_ctl" -w -l "/pgdata/pg16/pg_upgrade_output.d/20231129T083313.457/log/pg_upgrade_server.log" -D "/pgdata/pg15" -o "-p 50432 -b -c listen_addresses='' -c unix_socket_permissions=0700 -c unix_socket_directories='/pgdata'" start >> "/pgdata/pg16/pg_upgrade_output.d/20231129T083313.457/log/pg_upgrade_server.log" 2>&1
waiting for server to start....2023-11-29 08:33:13.623 UTC [107] LOG: pgaudit extension initialized
stopped waiting
pg_ctl: could not start server
Examine the log output.


Looks like a bug sclorg/postgresql-container#362
Is it possible to set the POSTGRESQL_UPGRADE_PGUPGRADE_OPTIONS option in the PGUpgrade CRD-entity?

@dsessler7
Copy link
Contributor

Hello @ivanovpavel1983,

Are you still experiencing this issue? What version of CPK are you running (specifically interested in the tags for PGO and crunchy-upgrade)?

Can you send full upgrade logs? Postgres and PGO logs?

@ivanovpavel1983
Copy link
Author

Hello @dsessler7.
Operator/Upgrade version is postgres-operator-upgrade:ubi8-5.3.2-0.
PosgreSQL version is crunchy-postgres:ubi8-15.3-0.
I can send full upgrade logs on Monday.
Have a nice day.

@ivanovpavel1983
Copy link
Author

ivanovpavel1983 commented Jan 15, 2024

Hello.
Updated pgo to version 5.5.0.
The cluster update was successful, thank you!
database.log

@ivanovpavel1983
Copy link
Author

Fixed in pgo 5.5.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants