-
-
Notifications
You must be signed in to change notification settings - Fork 845
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
front hangup on restart #341
Comments
Thanks for reporting, will fix urgently. |
FWIW, it's still happening in v1.5.1 (not sure what version the fix on Feb 8 went into), but it just happened to me this afternoon. As a work-around to get front running again (since it dies before I can get into the container and manually remove the pid file), I used this work-around:
Also, in fix #341, the fix looks to be removing and checking in /var/log/nginx.pid... is that right? Or, shouldn't it be in /var/run/nginx.pid? |
When front container restarts it logs only "Hangup" and does not start. How to reproduce: "docker-compose restart front" OR "systemctl restart docker" OR reboot the machine.
Problem is "nginx -s reload" in config.py. On the first run, it logs 'nginx: [error] open() "/var/run/nginx.pid" failed (2: No such file or directory)'. If the container restarts, the "/var/log/nginx.pid" exists, but the not the process, and "nginx -s reload" is the last command executed, "Hangup" is logged, and container exited with code 129.
The text was updated successfully, but these errors were encountered: