Postgree Redeploy Error
consultoria-simplia
HOBBYOP

4 months 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

4 months 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
HOBBYOP

4 months ago

I set the image source as:

postgres:16

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


uxuz
MODERATOR

4 months ago

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


Status changed to Solved uxuz 4 months ago


Loading...