Deleting persistent storage mount silently destroys host directory contents — insufficient warning #9284
peterdrier
started this conversation in
Improvement Requests
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Description
Deleting a persistent storage mount in the Coolify UI causes the host directory contents to be deleted on the next redeploy. The only safeguard is a small checkbox — far too subtle for an action that permanently destroys data.
Severity
Critical / Data Loss — this destroyed uploaded files (images) with no way to recover.
Steps to Reproduce
/opt/docker/myapp/uploads:/app/wwwroot/uploadsrw) that contains user-uploaded filesExpected Behavior
Actual Behavior
The host directory (
/opt/docker/myapp/uploads/) was wiped clean — all files permanently deleted. The existing checkbox warning was too subtle to convey the severity of the action.Impact
Lost all user-uploaded images (camp photos, profile pictures, etc.) from a QA environment. The database still references the file paths, so every page with images now shows broken links.
Environment
Suggested Fix
Beta Was this translation helpful? Give feedback.
All reactions