Skip to content
This repository has been archived by the owner on Feb 4, 2021. It is now read-only.

Nginx gets "Permission denied" #48

Closed
funtaps opened this issue Oct 3, 2016 · 1 comment
Closed

Nginx gets "Permission denied" #48

funtaps opened this issue Oct 3, 2016 · 1 comment

Comments

@funtaps
Copy link

funtaps commented Oct 3, 2016

Hello.
I'm having troubles with running your container.
Tried different approaches - started with docker-compose, then tried more robust ways.
At the end, I'm running

docker run --name nextcloud --link db_nextcloud:db_nextcloud \
 -v /home/kfuntov/nextcloud/data:/data -v /home/kfuntov/nextcloud/config:/config -v /home/kfuntov/nextcloud/apps:/apps2 \
 wonderfall/nextcloud:10.0

(default UID and GID, db_nextcloud running well)
Docker version 1.12.1, build 23cf638

And i get those errors

nginx: [alert] could not open error log file: open() "/var/lib/nginx/logs/error.log" failed (13: Permission denied)
2016/10/03 08:08:33 [emerg] 13#0: open() "/var/lib/nginx/logs/error.log" failed (13: Permission denied)
nginx: [alert] could not open error log file: open() "/var/lib/nginx/logs/error.log" failed (13: Permission denied)
2016/10/03 08:08:34 [emerg] 20#0: open() "/var/lib/nginx/logs/error.log" failed (13: Permission denied)
nginx: [alert] could not open error log file: open() "/var/lib/nginx/logs/error.log" failed (13: Permission denied)
...

Tried to do something, but nothing works. Can you help me?

@Wonderfall
Copy link
Owner

#37

@funtaps funtaps closed this as completed Oct 3, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants