-
Notifications
You must be signed in to change notification settings - Fork 53
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 mode failed to start server with permission denied errors #212
Comments
It looks like |
Here is the output of ls -la /app/data, I am not sure if the root role caused this problem. |
I then tried to start server manually by running 'uwsgi /etc/uwsgi/imagetagger.ini' as root, everything goes well. |
What if you run |
same error message by running /usr/local/bin/run manually. [uwsgi-daemons] spawning "/usr/local/bin/zip_daemon" (uid: 5008 gid: 33) ERRORS: |
I tried to first delete both "/app/data/images" and "/app/data/tools" directories, and then manually run /use/local/bin/run , everything is back to normal. So what is the root cause ? |
sorry to bring this issue up againt. I tried the following command so as to mapping '/app/data' to a specific folder. The error pops up again. ERRORS: ERRORS: |
Which commit are you on? Maybe I can reproduce your problem. |
I added one line 'chown -R www-data /app ' in /usr/local/bin/run file, the problem is fixed. |
Here is my Dockerfile, I only added some db configs and then run with command
docker run -it -p 8000:80 --name imagetagger imagetagger
.The text was updated successfully, but these errors were encountered: