Skip to content

Conversation

@ThallesP
Copy link

@ThallesP ThallesP commented Sep 27, 2025

TLDR

Breaking change in Postgres 18:
Volume mount path changed from /var/lib/postgresql/data to /var/lib/postgresql

What Railway needs to do:
Update volume mount configuration to use /var/lib/postgresql instead of /var/lib/postgresql/data

Decision needed:

  • Option 1: Just fix the mount path (this PR)
  • Option 2: Also add major version /var/lib/postgresql/18/docker (recommended by Docker)

Current deployments fail without the mount path fix. The version-specific path is optional but follows Docker image's new recommendations for easier upgrades.

*yep, that's AI generated. refer to #30 for more context

If you really need a Postgres 18 instance, take a look at my template https://railway.com/deploy/postgresql-18. Please note that some features won't work, such as the data tab.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant