yoshimendokusee
FREEOP
a month ago
my uploaded documents have a value in my database but i cant see it in my repository
3 Replies
hi all files from my volume like jpgs, pngs, etc are being deleted after redeploying
starphoneswebtech
PRO
a month ago
Hi,
This happens because your service uses ephemeral storage, meaning any files stored locally (like jpgs, pngs, etc.) are deleted when the service is redeployed.
To persist files, you should use a persistent storage option, such as a Railway bucket or an external service like AWS S3.
samgordon
PROTop 5% Contributor
a month ago
Or just, a volume, which I think is what they're already using. They might be moving files to a directory that isn't where the volume is mounted.