Skip to content

PostgreSQL version 15 is not compatible with version 16.0 (Debian 16.0-1.pgdg120+1). #1125

New issue

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

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

Already on GitHub? # to your account

Closed
KLISCHE-HW opened this issue Sep 19, 2023 · 1 comment

Comments

@KLISCHE-HW
Copy link

I have installed easypanel.io in an Ubuntu 22.04 enviroment and got suddenly this error message:
The data directory was initialized by PostgreSQL version 15, which is not compatible with this version 16.0 (Debian 16.0-1.pgdg120+1).

@yosifkit
Copy link
Member

The PostgreSQL data directory is not compatible between major versions, so the quick fix is to not use postgres:latest but to use the more specific postgres:15 to be compatible with your data directory.

There is more discussion on upgrading between major versions in #37

Related issue: #157

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants