Skip to content
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 unless ssl_cipher and ssl_ca path is set on resource #72

Open
coredump17 opened this issue Jan 11, 2022 · 2 comments
Assignees

Comments

@coredump17
Copy link

Hi,

starting the container and mounting a clean volume for /data. Run through the setup wizard - everything works as expected. Stop / start container. Container fails to start with error below.

conmon[474009]: [Tue Jan 11 13:55:35.806860973 2022] [docker_entrypoint:info] [pid 1] DOCKERE: Checking database resources used as backends
conmon[474009]: [Tue Jan 11 13:55:35.971084091 2022] [docker_entrypoint:debug] [pid 1] DOCKERE: Checking database resource "icingaweb_db"
conmon[474009]: ERROR: ErrorException in /usr/share/icingaweb2/modules/setup/library/Setup/Utils/DbTool.php:338 with message: Undefined index: ssl_capath
conmon[474009]: [Tue Jan 11 13:55:36.122648934 2022] [docker_entrypoint:crit] [pid 1] DOCKERE: exit status 1

Workaround:

Set ssl_capath and ssl_cipher in resources.ini for icingaweb_db.

ssl_capath = "/certs/"
ssl_cipher = "EECDH+AESGCM:EDH+AESGCM:AES256+EECDH:AES256+EDH"

@Al2Klimov
Copy link
Member

Run through the setup wizard - everything works as expected.

Please could you stop that container and dump the volume content? We would provide you an upload link.

@lippserd lippserd changed the title icingaweb2 fails to restart container unless ssl_cipher and ssl_ca path is set on resource container fails to restart unless ssl_cipher and ssl_ca path is set on resource Jul 4, 2022
@julianbrost
Copy link
Contributor

@mooneym17 I assume you're using TLS for connecting to the database, is that correct? Also, did you set any icingaweb.* environment variables or did you rely entirely on the web-based wizard for setup?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants