Icinga / Icinga/docker-icingaweb2

container fails to restart unless ssl_cipher and ssl_ca path is set on resource

Open
#72 2 comments 0 reactions 1 assignee View on GitHub

@coredump17 is already working on this.

Since Nov 14, 2023.

Dominant language
Go
Stars
18
Forks
14
PR merge metrics
No merged PRs in 30d

Description

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"

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.