After switching from the legacy runtime to the v2 runtime, PostGIS keeps crashing.
davepoon
PROOP

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).

View Deploy details

ⓘ Deployment information is only viewable by project members and Railway employees.

Solved

3 Replies

davepoon
PROOP

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.


davepoon
PROOP

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.


unicodeveloper
PRO

a year ago

Awesome


Status changed to Awaiting User Response Railway about 1 year ago


Status changed to Solved unicodeveloper about 1 year ago


Loading...