-
-
Notifications
You must be signed in to change notification settings - Fork 244
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
Issue with Postgres bump from 15 to 16 if image: postgres in compose #164
Comments
Hello @stanthewizzard, |
after update ... doesn't work anymore in my case |
As the docker-compose is using latest tag of postgres and the postgres 16 is now the latest, postgres container will fail to run with the following error:
This is viable workaround:
|
I'm already with this workaround |
found it In docker-compose.yml you could change
|
Applied the same change to fix:
|
AFAIK, to upgrade a major postgres version, we will have to do it manually, either by dumping our database and reimporting it or using |
Steps to reproduce the behavior:
update postgres
bump from 15 to 16
See error
database was initiated with 15 and is incompatible with 16
In compose I change from
image: postgres
to
image: postgres:15.4-bullseye
The text was updated successfully, but these errors were encountered: