-
Notifications
You must be signed in to change notification settings - Fork 16
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
Container fails to restart automatically after server reboot #38
Comments
@Kuppit this only happens after a server reboot? Are you able to manually bring it up after intervening? Before trying those workarounds (tini, entrypoint), were you using the published docker image for kop or a custom one? You can try enabling debug logs by setting |
Yes, this issue only occurs after a server reboot. I am able to manually bring it up after intervening. Before trying those workarounds (tini, entrypoint), I was using the published Docker image. Here is my docker-compose.yml configuration:
I enabled debug logs by setting DEBUG=1 in the environment and rebooted the server. Here is the end of the logs after the reboot:
Thank you for your assistance. |
Strange. Can you check syslog and/or |
Probably unrelated, but looks like there is also a bug in setting a custom poll interval. |
Tested the poll interval and it looks fine on my end. Is it possible the log output you pasted was not from the config above? I see 5 seconds between logs but you have configured
|
Regarding the poll interval, I can confirm that the log output I pasted was from the configuration above. Originally, I had set KOP_POLL_INTERVAL to 10 seconds, but I changed it to 5 seconds for testing purposes. Despite this, the issue persists. I have now set KOP_POLL_INTERVAL to 60 seconds, and after three reboots, I am still experiencing the same problem. Additionally, I have several other containers running on this server without any issues at all. They all restart correctly after a server reboot. Any assistance or guidance on resolving this issue would be greatly appreciated. Thank you for your time and help! |
Hello,
I am experiencing an issue where the Traefik-Kop container does not restart automatically after a server reboot, despite having the
restart: always
policy set in thedocker-compose.yml
. After rebooting the server, the container exits with status code 2. The container logs do not provide further information on why the restart is not occurring.Expected Behavior:
The Traefik-Kop container should restart automatically after the server reboots.
Actual Behavior:
The Traefik-Kop container does not restart and exits with status code 2.
Additional Information:
tini
as an init system in the Dockerfile, but the issue persists.entrypoint.sh
script with signal handling and a restart loop did not resolve the issue.traefik-kop
) which interacts with Redis and Docker.Any assistance or guidance on resolving this issue would be greatly appreciated. Thank you!
The text was updated successfully, but these errors were encountered: