2 months ago
Hi Railway Support,
I have a critical issue with volume mounting due to read-only filesystem
in my Railway container.
Issue:
- Volume "workout-data" exists and is attached (151MB of data)
- Container filesystem is read-only
- Cannot create /data directory: "Read-only file system" error
- Volume cannot mount without writable mount point
Configuration:
- Volume: workout-data
- Service: personal-workout-tracker
- Mount Path: /data
- Project: renewed-light
This prevents persistent storage from working. Can you help resolve
this container filesystem permissions issue?
Thanks!
2 Replies
2 months ago
Hey there! We've found the following might help you get unblocked faster:
If you find the answer from one of these, please let us know by solving the thread!
2 months 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 brody • about 2 months ago
2 months ago
Hey,
Which user is used inside your container ? Volumes are mounted as root so you need your app to use root user too or create an entrypoint script that edit volume's permissions.
Status changed to Solved shibatales • about 2 months ago