Detached volume cannot be deleted - every deletion path reports success but the volume persists
alfer-svg
HOBBYOP

5 days ago

A detached volume (no service attached) cannot be deleted by any method - every path reports success but the volume remains listed with its instance alive. Project: som (f41225e8-503c-4eeb-9449-fbe3b7827bc4) - environment: production (f54ee520-3ffe-45a5-8666-ac360517ae9c) - volume: postgres-volume-R-MM (id 5e791b45-242a-47fa-a07a-0fd2093e4e54), ~199 MB, serviceId null. It does not render on the project canvas nor in Settings, so there is no manual delete button; it only shows via CLI "railway volume list" and the GraphQL API. Tried, in order: (1) GraphQL volumeDelete while detached - returns true, no effect, twice; (2) dashboard Agent staged removal + Deploy + Destructive Changes dialog (typed the name) + Commit - shows "Deployed - 1 resource removed", volume still there; (3) CLI "railway volume delete" - prints deleted, still there; (4) attached it to a fresh throwaway service and ran volumeDelete while attached - true, no effect; (5) deleted that throwaway service - service died, volume survived the cascade and returned to detached; (6) environmentPatchCommitStaged - "No patch to apply". The "-R-MM" suffix suggests a leftover from a deleted environment (an orphaned record the deletion handlers skip silently). Identical symptom to the solved thread "Phantom volume visible in CLI but not in dashboard" (b70764de), which has no public resolution posted. Could you hard-delete this volume server-side? Please do NOT touch the volume "postgres-volume" attached to the Postgres service in the same project - that one is live production data. Thanks!

Awaiting User Response

1 Replies

Railway
BOT

5 days ago

That volume is already scheduled for permanent deletion, one of your attempts did take effect. Volumes holding data go through a 48-hour retention window before removal as a safeguard against accidental loss, so the volume continues to appear in the CLI and API until then but will be permanently removed around 2026-08-18 16:35 UTC. This window cannot be shortened, and no staff action is needed or available to expedite it. Your live postgres-volume attached to the Postgres service is unaffected.


Status changed to Awaiting User Response Railway 5 days ago


Welcome!

Sign in to your Railway account to join the conversation.

Loading...