Volume Permission Denied
Hey all, I'm experiencing a similar issue to this thread:
https://discord.com/channels/713503345364697088/1158087604152045598
I am deploying a n8n instance with a volume.
Whenever it tries to write to the volume, I receive the following error:
Project ID:
c57e0988-8082-440b-8a7e-765fd5cec52d
9 Replies
Project ID:
c57e0988-8082-440b-8a7e-765fd5cec52d
Issue persists with or without
RAILWAY_VOLUME_MOUNT_PATH
variable.is this deployed from a docker image
Solution
try setting a service variable
RAILWAY_RUN_UID
to 0
What black magic is this? π
It appears to be working now. Thanks!
the volumes are mounted as root, but that docker image runs n8n as a non root user (uid=1000),
RAILWAY_RUN_UID
set to 0
forces the image to run as a root user (uid=0)
this wouldnt work for the thread you linked since thats an issue with nixpacksAwesome! Thank-you for explaining!
no problem π