R
Railway4mo ago
Stefan

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:
Nothing's changed about File Storing on Railway, this would be a code issue
Jump to solution
16 Replies
Percy
Percy4mo ago
Project ID: aed3312d-c191-4a5c-af21-e2d8042504d8
Stefan
Stefan4mo ago
aed3312d-c191-4a5c-af21-e2d8042504d8
Solution
Fragly
Fragly4mo ago
Nothing's changed about File Storing on Railway, this would be a code issue
Stefan
Stefan4mo ago
Can I check where the files are stored through a console or something? just overall view every file
LaCrak27
LaCrak274mo ago
nope, at least not in an inbuilt way you need to handle that through your service
Stefan
Stefan4mo ago
ah alr well ty every1 for answering ill see what I can do
Fragly
Fragly4mo ago
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
LaCrak27
LaCrak274mo ago
didn't know brody made it but i should have expected it
Stefan
Stefan4mo ago
could you send a link?
Fragly
Fragly4mo ago
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
Stefan
Stefan4mo ago
alr
Fragly
Fragly4mo ago
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 service
Stefan
Stefan4mo ago
alr tyvm
aleksandar
aleksandar4mo ago
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?
Fragly
Fragly4mo ago
That is unfortunately not possible yet :PensiveFluent:
aleksandar
aleksandar4mo ago
ok, thanks for the reply. I hope that it's at least on the roadmap