Closed GregorWedlich closed 2 years ago
We're about to fix this. I'll keep you posted.
Hello, any updates on this issue? :)
This issue shouldn't prevent you from using Icinga DB but is more about having a proper error than just crashing.
The actual problem should be that your config file is incomplete (missing a database section). This might be the case as the structure of the file changed resulting in the need to update the environment variables for the container. If you start the container as described in the Readme of this repo, that segfault shouldn't happen.
In the compose of this project all the environment variables seem to be provided. I tried defaults and altering env while compose is up having the same result.
icingadb:
environment:
ICINGADB_MYSQL_HOST: icingadb-mysql
ICINGADB_MYSQL_DATABASE: icingadb
ICINGADB_MYSQL_USER: icingadb
ICINGADB_MYSQL_PASSWORD: ${ICINGADB_MYSQL_PASSWORD:-icingadb}
ICINGADB_REDIS_HOST: icingadb-redis
# Icinga DB connects to Redis on port 6380 by default but we're using the Redis default port 6379 here.
ICINGADB_REDIS_PORT: 6379
https://github.com/lippserd/docker-compose-icinga/blob/master/docker-compose.yml
Give me some minutes, I'll push a fix.
I updated the docker-compose repo.
Hi, any updates?
Technically it's fixed now, i.e. no SIGSEGV anymore (implicitly by merging #44). I mean you won't get any useful behavior with an empty config anyways, but the new behavior isn't particularly useful either.
I created an issue over at the other project as that behavior primarily has to be changed there: https://github.com/Icinga/icingadb/issues/472
Does anyone currently have this problem as well? I use the official docker-compose file from Icinga.