Postgree Redeploy Error

consultoria-simplia
HOBBY

a month ago

025-08-13 18:44:47.984 UTC [2] FATAL: database files are incompatible with server

2025-08-13 18:44:47.984 UTC [2] DETAIL: The data directory was initialized by PostgreSQL version 16, which is not compatible with this version 17.5 (Debian 17.5-1.pgdg120+1).

I've seen other topics started about the same issue. The image its using is ghcr.io/railwayapp-templates/postgres-ssl which is 16 already.

Solved$10 Bounty

3 Replies

Railway
BOT

a month ago

Hey there! We've found the following might help you get unblocked faster:

If you find the answer from one of these, please let us know by solving the thread!


consultoria-simplia
HOBBY

a month ago

I set the image source as:

postgres:16

and it worked. I guess the issue was the image.


a month ago

Hey, I'll mark this thread as solved, thanks for reporting back with your solution!


Status changed to Solved uxuz about 1 month ago


Postgree Redeploy Error - Railway Help Station