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