Skip to content
Error
nitinvayuzgit
OP

a month ago

My OpenClaw service is repeatedly crashing during deployment.

The deployment logs continuously show:

openat2 beneath root: Permission denied (os error 13)

The service uses the Docker image ghcr.io/openclaw/openclaw:latest-browser with a persistent volume mounted at /home/node/.openclaw.

The volume is not full, but deployment keeps failing during volume mounting.

Could you please investigate whether this is a Railway volume mounting or host filesystem permission issue?

Solved

1 Reply

Railway
BOT

a month ago

The volume itself is mounting successfully on each attempt, and the permission error comes right after, when the app tries to write to it. Volumes are mounted as the root user, and the OpenClaw image runs as a non-root user, so it can't write to /home/node/.openclaw.

Your service doesn't have RAILWAY_RUN_UID set. Add the variable RAILWAY_RUN_UID=0 to the openclaw service's variables and redeploy, as described in our volume permissions docs.


Status changed to Awaiting User Response Railway • about 1 month ago


Railway
BOT

a month 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 • about 1 month ago


Welcome!

Sign in to your Railway account to join the conversation.

Loading...