a year ago
Mounting volume on: /var/lib/containers/railwayapp/bind-mounts/9b826d11-8208-4706-83fb-c82e6ceea5b8/vol_y6s92jmj6nv28u4g
PostgreSQL Database directory appears to contain a database; Skipping initialization
2025-02-20 07:13:56.147 UTC [1] FATAL: database files are incompatible with server
2025-02-20 07:13:56.147 UTC [1] DETAIL: The data directory was initialized by PostgreSQL version 16, which is not compatible with this version 17.3 (Debian 17.3-3.pgdg110+1).
ⓘ Deployment information is only viewable by project members and Railway employees.
3 Replies
a year ago
If it's not compatible with the v2 runtime, please roll back to the legacy runtime. Production is down due to this issue. Thank you.
a year ago
Oh, never mind. It's not related to a runtime issue; it was using the postgis/postgis:latest tag, which pulled version 17 and caused the error.
I just rolled back to v16, and the issue is gone.
a year ago
Awesome
Status changed to Awaiting User Response Railway • about 1 year ago
Status changed to Solved unicodeveloper • about 1 year ago