Description:
This project was initially set up with postgres:latest in the Docker configuration. Recently, PostgreSQL updated from version 16 to 17, and this upgrade is not seamless. The data directory initialized by PostgreSQL 16 is not compatible with PostgreSQL 17, causing compatibility issues.
Temporary Solution:
As a temporary fix, I have pinned the PostgreSQL version to postgres:16 in the Docker setup. This will prevent unexpected upgrades from breaking the container.
For Users Already on PostgreSQL 17:
If your setup is already using PostgreSQL 17, you’ll need to edit the docker-compose.yml file to ensure the PostgreSQL version matches the data directory you’re using.
Feel free to reach out if you encounter any further issues related to this upgrade.
Description:
This project was initially set up with
postgres:latestin the Docker configuration. Recently, PostgreSQL updated from version 16 to 17, and this upgrade is not seamless. The data directory initialized by PostgreSQL 16 is not compatible with PostgreSQL 17, causing compatibility issues.Temporary Solution:
As a temporary fix, I have pinned the PostgreSQL version to
postgres:16in the Docker setup. This will prevent unexpected upgrades from breaking the container.For Users Already on PostgreSQL 17:
If your setup is already using PostgreSQL 17, you’ll need to edit the
docker-compose.ymlfile to ensure the PostgreSQL version matches the data directory you’re using.Feel free to reach out if you encounter any further issues related to this upgrade.