Documents wont save in volume
yoshimendokusee
FREEOP

a year ago

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

Closed$10 Bounty

3 Replies

yoshimendokusee
FREEOP

a year ago

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


starphoneswebtech
PRO

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


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


Welcome!

Sign in to your Railway account to join the conversation.

Loading...