2 years ago
Hello! I'm trying to access my txt file, which has been uploaded to my service volume.
I use this template ( https://railway.app/template/Nan7Bs ) to upload my text file.
Mount this volume on my service.
But it seems like I can't reach it.
I tried different options: /data or /app/data
My service uses an ENV variable to reach this txt file ( VOCABULARYFILEPATH ). I tried /data/word.txt or /app/data/word.txt or ./data/word.txt
but it seems like nothing is working right now.
I used this documentation: https://docs.railway.app/guides/volumes
Can you help me?
ⓘ Deployment information is only viewable by project members and Railway employees.
2 Replies
2 years ago
Hey, When you deployed that template did you set USE_VOLUME_ROOT to 1 ?
If not, The uploaded files are placed in a /storage directory at the root of the volume.
2 years ago
Thank you Brody!
I missed this in the template issue! It's working very well now!
Status changed to Solved brody • over 1 year ago

