Container cannot write on mounted volume
michael-databit
TRIALOP

a year ago

Container cannot write on the mounted volume.

Error Images: https://imgur.com/a/qzipFfC

Github Repo Link: bugzilla/harmony: next generation bugzilla

Solved

5 Replies

I think this has something to do with the Dockerfile not properly giving the user permissions to write and store data. Can you share the dockerfile?


Status changed to Awaiting User Response Railway over 1 year ago


michael-databit
TRIALOP

a year ago

here is the dockerfile which is being used by docker-compose. it works when running docker-compose locally

docker-compose.yml: harmony/docker-compose.yml at main · bugzilla/harmony

dockerfile: harmony/Dockerfile at main · bugzilla/harmony


Status changed to Awaiting Railway Response Railway over 1 year ago


a year ago

Hello,

Please try setting a RAILWAY_RUN_UID service variable to 0

Best,

Brody


Status changed to Awaiting User Response Railway over 1 year ago


michael-databit
TRIALOP

a year ago

it did something.

It changed the error to: Effective UID must be 10001!


Status changed to Awaiting Railway Response Railway over 1 year ago


a year ago

Hello,

You would need to remove that artificial limitation as your app does need to run as root (UID 0) to read and write with the volume, as the volume is mounted as root and that is not configurable.


Status changed to Awaiting User Response Railway over 1 year ago


Railway
BOT

10 months ago

This thread has been marked as solved automatically due to a lack of recent activity. Please re-open this thread or create a new one if you require further assistance. Thank you!

Status changed to Solved Railway 10 months ago


Welcome!

Sign in to your Railway account to join the conversation.

Loading...