Volume not mounted during Deploy?
colonel-sandvich
HOBBYOP

a year ago

https://docs.railway.com/guides/volumes#volume-availability says that volumes are not available during build time, so I took this to assume they're available during deploy time and after. Is this assumption wrong? I have a pre-deploy script that does ls / /db (/db is my mount point) and the folder just isn't there

Solved

7 Replies

colonel-sandvich
HOBBYOP

a year ago

bf423e8f-f800-45c6-87ca-694b0dbbff7d


brody
EMPLOYEE

a year ago

volumes are not available during pre-deploy


colonel-sandvich
HOBBYOP

a year ago

Thank you, are they available when the start command runs? I also feel like I'm going about this wrong, it can't be this hard to touch a sqlite file right?


brody
EMPLOYEE

a year ago

yes they are available during runtime


colonel-sandvich
HOBBYOP

a year ago

Thanks very much, you can mark this solved


brody
EMPLOYEE

a year ago

happy to help!

I'll be updating the docs section you linked to mention that volumes are not available during pre-deploy


brody
EMPLOYEE

a year ago

!s


Status changed to Solved brody 12 months ago


Loading...