doccano_frontend_1 exited with code 0
See original GitHub issueHow to reproduce the behaviour
I tried to run the doccano using docker-compose, and I made a modification on the nginx listen port to 8181, and change the docker-compose.prod.yaml on nginx ports service to
build: ./nginx
volumes:
- www:/var/www/html:ro
- static_volume:/static
ports:
- 8181:8181
After I run the docker compose, it returns nginx 500 Internal Server Error when I access the web. I check the logs, I think there are some issues on the front-end and or the nginx image. This is the error logs,
doccano_frontend_1 exited with code 0
and
nginx_1 | 2020/04/21 09:38:16 [crit] 8#8: *2 stat() "/var/www/html/index.html" failed (13: Permission denied), client: X.X.X.X, server: , request: "GET /favicon.ico HTTP/1.1", host: "X.X.X.X:8181", referrer: "http://X.X.X.X:8181/"
nginx_1 | 2020/04/21 09:38:16 [error] 8#8: *2 rewrite or internal redirection cycle while internally redirecting to "/index.html", client: 192.168.20.116, server: , request: "GET /favicon.ico HTTP/1.1", host: "X.X.X.X:8181", referrer: "http://X.X.X.X:8181/"
Any solution to solved this? Many thanks!
My Environment
- Operating System: Ubuntu 16.04
- Python Version Used: 3.7
- When you install doccano: April 9, 2020
- How did you install doccano (Heroku button etc): docker-compose
Issue Analytics
- State:
- Created 3 years ago
- Comments:13 (2 by maintainers)
Top Results From Across the Web
The program has exited with code 0 (0x0). - CodeProject
Exited with code 0 means there was no error. What is your question? Richard MacCutchan 22-Aug-17 10:45am.
Read more >c# - The Console application has exited with code 0 (0x0 ...
A bug in the visual studio debugger! The debugger reports that the exit code is zero, but the debugger is lying to you...
Read more >How to remove "exited with code 0." from cmd console
The output on the console prints up fine, but then is followed by: C:\Users\...\MyProgram.exe (process 17008) exited with code 0. and ends with:...
Read more >Upon browsing a specific repo, an "500 exited with code 0 ...
The error is caused by a missing .gitmodules file that git could not find for some reason. When a repo with submodules is...
Read more >6 Ways to Fix Minecraft “Exit Code: 0” - Help Desk Geek
Software exit codes should tell you what went wrong, but Minecraft's Exit Codes rarely do that. When the game crashes with the “Exit...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@tamio96 I did that, even I prune all of images and volumes, but still I got the error. 😂
https://github.com/doccano/doccano/issues/471 is the answer.