R
Railway14mo ago
x4zx

Where do all the folders go?

I'm using this volume as storage for my site. The point is that in the GitHub repository I have a media folder where I save folders with files. I also created a volume and specified the path as /media. But the problem is that every time I make pull request in the main branch - railway automatically updates the site and when I go to the page all previously uploaded files - somewhere disappear, please tell me what I did wrong and how to avoid this?
No description
Solution:
try mounting the volume to /app/media since your repo is placed in the /app directory
Jump to solution
5 Replies
Percy
Percy14mo ago
Project ID: f8cc6b6a-813b-4d34-b2f8-20c87fba3048
x4zx
x4zxOP14mo ago
f8cc6b6a-813b-4d34-b2f8-20c87fba3048
Solution
Brody
Brody14mo ago
try mounting the volume to /app/media since your repo is placed in the /app directory
x4zx
x4zxOP14mo ago
That seemed to help, thank you very much
Brody
Brody14mo ago
no problem!
Want results from more Discord servers?
Add your server