-
Notifications
You must be signed in to change notification settings - Fork 8.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
docker install error: EACCES: permission denied, open '/home/node/.n8n/config' #1240
Comments
Update:Additional information: I am running on Debian 10 V-Server. Quick fixI use a volume, say n8n_data. I create it, and chown 1000:1000 the /n8n_data/_data directory, then run the docker run command again. Same works if you use a directory ~/.n8n I guess. |
Very strange. Sounds like the user is not allowed to write to the file. You can try if opening the rights with the following command solves the issues: chmod 777 -R ~/.n8n |
I have the same problem because the home folder will be created by root. So here is the complete explanation of what to execute:
|
So what you did is basically the following (which I did to get it up running).
|
Exactly. You can do it without the docker part, too: (careful: you got a typo |
Hello, I have same problem here. I'm confused because there are 3 folders and 2 users involved here: So I re created the images, adding this line (after line 8) to docker/images/n8n/docker-entrypoint.sh
and now it works tell me if you accept a PR |
Same here... restarting container.. |
Thanks a lot everybody! Ah, interesting |
Thanks a lot @lupa18 for the PR! Got merged. The next n8n version will be released with the updated image. |
Got released with n8n@0.99.0 |
Describe the bug
Error when using -v parameter:
To Reproduce
Steps to reproduce the behavior:
Expected behavior
installation successful
Environment (please complete the following information):
Additional context
If I run without the -v volume parameter it works. I read that it might be solved using
RUN npm config set unsafe-perm true
The text was updated successfully, but these errors were encountered: