Documents wont save in volume
yoshimendokusee
FREEOP

4 months ago

my uploaded documents have a value in my database but i cant see it in my repository

$10 Bounty

3 Replies

yoshimendokusee
FREEOP

4 months ago

hi all files from my volume like jpgs, pngs, etc are being deleted after redeploying


starphoneswebtech
PRO

4 months 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.


4 months 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.


Loading...