question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

doccano_frontend_1 exited with code 0

See original GitHub issue

How 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:closed
  • Created 3 years ago
  • Comments:13 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
swicaksonocommented, Apr 22, 2020

@tamio96 I did that, even I prune all of images and volumes, but still I got the error. 😂

0reactions
Hironsancommented, Apr 27, 2020
Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found