-
Notifications
You must be signed in to change notification settings - Fork 5
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
Inconsistent password options between containers in README #51
Comments
Sounds like you have specified a Redis password in the Icinga DB configuration but not in Redis (or maybe forgot to restart Redis after updating the configuration). Redis actively rejects passwords if none is configured on the server. |
Thanks for the hint. I was following the official Icinga Docker instructions, where the icingadb gets an "icingadb-redis-password" argument. I just left that out and the container starts. Will investigate further, thank you. |
For MySQL/MariaDB, the Readme actually specifies a password in the options for the other container, but not for Redis (where it doesn't seem to be possible to do this by just setting an environment variable, unfortunately). Could be a bit more consistent. |
Got a few steps further and now working on icingaweb2. |
Connection refused has nothing to do with password checks. If that happens, something went wrong before it even had the chance to send a password. Take extra care with the port numbers: 6379 (Redis default, used in the Redis Docker image) vs. 6380 (used by the icingadb-redis packages and therefore the default in other components) |
Thanks, I am paying attention to the port numbers. Redis: icingadb:
Looks like the ICINGADB_REDIS_HOST option is being ignored. When:
No info about host or port, see no connection incoming on the redis host. |
You can have a look at https://github.com/lippserd/docker-compose-icinga/blob/master/docker-compose.yml#L123-L136 for a working example. Also make sure you're using the latest version of the image (i.e. run |
Julian, I owe you some beers! Image update did it. THANK YOU. |
I think I hit the same problem. After removing -e ICINGADB_REDIS_PASSWORD=123456 The icingadb run command shouldn't have the redis password set if the docker run redis commands doesn't have it specified at startup. |
Would it maybe make sense to switch the example from redis to bitnami/redis? |
Anybody experiencing this during startup?
FATAL icingadb ERR AUTH <password> called without any password configured for the default user. Are you sure your configuration is correct?
The text was updated successfully, but these errors were encountered: