File Storing
Three months ago I had no problems storing files locally with Railway. But now all of a sudden they just don't save and don't persist. I haven't touched the code associated with file storing. Have they changed something?
Solution:Jump to solution
Nothing's changed about File Storing on Railway, this would be a code issue
16 Replies
Project ID:
aed3312d-c191-4a5c-af21-e2d8042504d8
aed3312d-c191-4a5c-af21-e2d8042504d8
Solution
Nothing's changed about File Storing on Railway, this would be a code issue
Can I check where the files are stored through a console or something?
just overall view every file
nope, at least not in an inbuilt way
you need to handle that through your service
ah alr
well ty every1 for answering
ill see what I can do
you can try adding brody's filebrowser template
you'll need to disconnect and mount the volume on that template to view the files in it, which could cause downtime but it should let you dive into what files are in the volume
didn't know brody made it
but i should have expected it
could you send a link?
to deploy it, just right click in your project files and then search "Filebrowser"
if you deploy it from the link then it creates a new project for you
https://railway.app/template/Nan7Bs
alr
In your project:
1. Right-click and click on Templates and deploy Brody's FileBrowser template
2. In the deploy config, set the
USE_VOLUME_ROOT
variable to 1
3. Once it's deployed, delete the volume that's attached to it
4. Mount your volume to the FileBrowser service
5. Start the FileBrowser service, and go to its website, you can use the login credentials in the FileBrowser service settings
^ once you're done you can disconnect it again and mount it back to your original servicealr
tyvm
is there an option for multiple services to use the same volume, so you can keep FileBrowser and let your app have access to volume files?
That is unfortunately not possible yet :PensiveFluent:
ok, thanks for the reply. I hope that it's at least on the roadmap