7 days ago
Service: stl-generator
Environment: production
Volume: stl-generator-volume
Mount path: /data
Region: EU West
Replicas: 1
Problem:
Files written to /data disappear after redeploy.
Before redeploy, diagnostics showed files/sentinel existed.
After redeploy:
deployment_id=55b0be45-ce8d-4fba-b9f8-3d0ccdffe8b0
railway_service=stl-generator
hostname=2a839eaa0509
/data/blog_content_uploads exists=true writable=true but file_count=0
sentinel_exists_before=false
persisted_after_restart=false
Same for:
/data/configurator_model_uploads
/data/configurator_test_renders
/data/openscad_libs
The app creates a sentinel file at /data/.../.upload-diagnostics-sentinel.
After redeploy the sentinel is gone, which means the mounted /data volume is empty/new.
Please check whether the volume is actually persisted and attached to this production service deployment.
1 Replies
7 days ago
This thread has been marked as public for community involvement, as it does not contain any sensitive or personal information. Any further activity in this thread will be visible to everyone.
Status changed to Open Railway • 7 days ago
6 days ago
Do you have your mount path set to /data in your volume settings?
Attachments