PostgreSQL stuck in crash loop due to "No space left on device" after volume upgrade
Anonymous
PROOP

a month ago

Hi,

My PostgreSQL service is stuck in a crash loop and cannot start after running out of disk space.

Error logs:

FATAL: could not write to file "pg_wal/xlogtemp.*": No space left on device

The database enters WAL recovery, but immediately fails because of insufficient disk space.

What I already did:

  • Upgraded the volume size in Railway
  • Restarted and redeployed the service multiple times

However, the issue persists. It looks like the filesystem inside the volume was not resized to reflect the new capacity, so PostgreSQL still sees the disk as full and cannot complete recovery.

Important:

  • I do NOT have shell access to the volume
  • Data preservation is critical
  • The database is currently inaccessible and stuck in startup recovery loop

Could you please perform a filesystem resize (or any required internal volume fix) so PostgreSQL can complete recovery and start normally?

After that, I will immediately create a backup (pg_dump).

Thank you.

Closed

0 Replies

Status changed to Awaiting Railway Response Railway about 1 month ago


Status changed to Closed brody about 1 month ago


Welcome!

Sign in to your Railway account to join the conversation.

Loading...