You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm a beginner to docker and to postgres as well. I've been asked to upgrade postgres from 9.6 to 10. So thank you very much for this image !
In my case, all the data is in 9.6/main, instead of 9.6/data. When i try to upgrade postgres, i get the following message :
`$ sudo docker run --rm -v /etc/postgresql/9.6/main:/var/lib/postgresql/9.6/main -v /etc/postgresql/10/main:/var/lib/postgresql/10/main tianon/postgres-upgrade:9.6-to-10 --link
...
Success. You can now start the database server using:
Additionally, if your data is not under /data, you either need to rename your folder to get it there, or you need to follow the alternate instructions (so that it's /data inside the container), which will be slower than doing the rename, using a single -v, and using --link.
Hello,
I'm a beginner to docker and to postgres as well. I've been asked to upgrade postgres from 9.6 to 10. So thank you very much for this image !
In my case, all the data is in 9.6/main, instead of 9.6/data. When i try to upgrade postgres, i get the following message :
`$ sudo docker run --rm -v /etc/postgresql/9.6/main:/var/lib/postgresql/9.6/main -v /etc/postgresql/10/main:/var/lib/postgresql/10/main tianon/postgres-upgrade:9.6-to-10 --link
...
Success. You can now start the database server using:
could not open version file: /var/lib/postgresql/9.6/data/PG_VERSION
Failure, exiting`
Can you help me ?
Best regards,
Ludovic
The text was updated successfully, but these errors were encountered: