Documents wont save in volume
yoshimendokusee
FREEOP

a month ago

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

$10 Bounty

3 Replies

yoshimendokusee
FREEOP

a month ago

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.


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