-
Notifications
You must be signed in to change notification settings - Fork 189
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
Director service is not running #263
Comments
That's strange, it should start automatically and is not something we usually start/stop manually. Just to check, you did not set If you docker exec into the container, what happens if you run This container is based on the standard debian image and it does not include systemctl as is the best practice for containers. I use supervisord to help manage the multiple daemons required since it's a little more complicated of an image that the usual 😛 |
Hi @jjethwa
I double-checked but I didn't set this by accident, especially because it's not in the default docker-compose file there was no possibility for me to even find this flag :D
That's something unexpected... I expected the director service to be stopped... start obviously thrown an error so I restarted it: After restart, the issue persists, where IcingaWeb Deamon throws this error, and the status is "Running" |
Thanks for the information, @Muchaszewski but now I feel even more confused since it shows as running hehe. Can you try stopping and starting the director service with supervisorctl and see if it reports an issue? If it doesn't help, we'll need to start looking at logs. Do you have any other details that might help me reproduce the issue? |
Just to make sure that no data is corrupted on the Docker images, volumes, etc I run So my only way to reproduce this issue is to provide you my docker-compose file
I don't change anything in msmtp and secrets_sql.env besides providing credentials. Just note that this configuration was working until I provided For completeness log from docker-compose ... build/up |
Thanka, @Muchaszewski I'll go through the logs and see if I can reproduce it using your compose file, really appreciate you adding all of the details. Just need a bit of time to wrap up some other tasks and I'll get down to it 👍 |
@Muchaszewski going to take me a bit longer to get to it today, do you mind trying something? If you start the container up by itself with a normal docker run, does the daemon connectivity work? No volumes or anything, just a fresh container run to make sure there's nothing on the host side that might be causing an issue. |
Thanks @Muchaszewski Do you mind sharing the director configs from the volumes you are using? |
I'm not modifying any other settings, everything is generated after docker-compose is run. Steps:
I can provide director configs that are created but if you could point to where they are as by default I have access denied on all the config folders, and searching through them could take me a while. |
@jjethwa I have found an issue, it was either of the 2 things. Because Director was not working after I added So I have changed line endings from WINDOWS to UNIX and removed all special characters from the secrets_sql and it resolved my issue! 😃 Line endings could be an issue because |
That's great news, @Muchaszewski ! That would definitely do it! Really glad you found the issue 😃 |
I had successfully set up your image once but forgot to set
DEFAULT_MYSQL_PASS
and decided it would be easier to make a clear rerun of the container. Removed all containers, and all volumes data.After re-run following issue has appeared:
Because systemctl does not exist on docker images I have no idea how I can start this daemon.
Without the demon director does not work as it freezes on deployments.
The text was updated successfully, but these errors were encountered: