-
Notifications
You must be signed in to change notification settings - Fork 14
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
[Error: EACCES: permission denied, open '/app/data/secrets.json'] #58
Comments
Hello. It looks like a problem with folder permissions. Try to give the folder the same permissions as the user under which docker is running. |
Hello. |
Hi @Vladimi2boom, can you share what you did to make this work? 🤔 |
Hi @AdwaitNPradhan, |
Thanks for the reply but the thing is, the container does not start so I cant attach to it to run the command. Am I doing it correctly? |
Hi @AdwaitNPradhan, |
Hey hey.
The volumes were generated, but neonlink complains about access issues as well
I can confirm, that there weren't any files in the volume. |
I tried to recreate the problem and indeed, if you connect volume, then the problem that you wrote about appears. As a temporary solution, I can offer you to connect the entire /app folder.
|
Fixed in 1.4.4 |
I pulled version 1.4.4 and error still exists. Nothing changed. |
Can you send docker-compose file and also logs from docker? |
docker-compose -v
git log --oneline -n 5
docker-compose.yml
docker-compose logs
|
I'm having the same issue, even with the permissions fixed. There are also no files in any of the folders. docker-compose:
ls -Ral
|
In my case, I solved this by 'user: uid:gid' example
|
You can also create folder first and then run container. |
without 'user: uid:gid'? not worked |
This didn't work for me, still getting the same error.
That's what I did originally, creating the folders then changing the ownership to the docker user, this didn't fix it unfortunately. |
@CharlotteCross1998 Did you try 'user: 0:0'? |
That worked, thanks! |
@CharlotteCross1998 I don't know exactly but if 'user: 0:0' works then other user(have RW permission to your folder) will works too like 'user :1015:100' |
Hello!
first install with docker-compose
root@NUC10-NAS:~/neonlink# docker-compose up
Creating network "neonlink_default" with the default driver
Creating neonlink ... done
Attaching to neonlink
neonlink | [Error: EACCES: permission denied, open '/app/data/secrets.json'] {
neonlink | errno: -13,
neonlink | code: 'EACCES',
neonlink | syscall: 'open',
neonlink | path: '/app/data/secrets.json'
neonlink | }
neonlink exited with code 1
The text was updated successfully, but these errors were encountered: