Replies: 2 comments 1 reply
-
I run into the same issue when upgrading from 10 to 12 |
Beta Was this translation helpful? Give feedback.
-
Same here, and I can confirm the file /var/lib/postgresql/10/data/PG_VERSION really exists: `The files belonging to this database system will be owned by user "postgres". The database cluster will be initialized with locale "en_US.utf8". Data page checksums are disabled. fixing permissions on existing directory /var/lib/postgresql/12/data ... ok Success. You can now start the database server using:
initdb: warning: enabling "trust" authentication for local connections could not open version file "/var/lib/postgresql/10/data/PG_VERSION": No such file or directory |
Beta Was this translation helpful? Give feedback.
-
Hi there.
First of all many thanks to all the people involved in this project for their time.
I'm trying to follow the provided example in the README, and I get an error.
Steps to reproduce
Expected behaviour
See a success message in the standard out
Found behaviour
The process stopped with an error message:
Error message
Additional information
I'm almost sure that the root cause of the issue is the owner of the docker host directories.
The start of the workaround will require re-building a custom image with something like below:
Beta Was this translation helpful? Give feedback.
All reactions