7 months ago
I recently changed the volume size of my PostGIS database from 500MB to 1GB. After this, my database was restarted, but now I'm getting the following error:
2024-10-30 22:15:35.912 UTC [1] FATAL: database files are incompatible with server
2024-10-30 22:15:35.912 UTC [1] DETAIL: The data directory was initialized by PostgreSQL version 16, which is not compatible with this version 17.0 (Debian 17.0-1.pgdg110+1).
I suppose that my old database was using Postgresql 16 and after the restart it changed the version and is trying to use version 17 and this is causing the errors.
How can I change the version of Postgres that my PostGIS database is using?
ⓘ Deployment information is only viewable by project members and Railway employees.
3 Replies
7 months ago
You just update the image postgis/postgis
-> postgis/postgis:16-master
I've done this for you.
7 months ago
Thanks!!!
Status changed to Solved brody • 7 months ago