Closed
Description
When trying to upgrade from 10 to 11 - the following error pops up:
...
Success. You can now start the database server using:
pg_ctl -D /var/lib/postgresql/11/data -l logfile start
WARNING: enabling "trust" authentication for local connections
You can change this by editing pg_hba.conf or using the option -A, or
--auth-local and --auth-host, the next time you run initdb.
Performing Consistency Checks
-----------------------------
Checking cluster versions ok
connection to database failed: FATAL: role "postgres" does not exist
could not connect to source postmaster started with the command:
"/usr/lib/postgresql/10/bin/pg_ctl" -w -l "pg_upgrade_server.log" -D "/var/lib/postgresql/10/data" -o "-p 50432 -b -c listen_addresses='' -c unix_socket_permissions=0700 -c unix_socket_directories='/var/lib/postgresql'" start
Failure, exiting
I tried setting the POSTGRES_*
environment variables, but still getting the same error. Any idea why this is happening?
Metadata
Metadata
Assignees
Labels
No labels