On Supervised Install Problems with Docker Components

Hi,

my homeAssistant is running for a long time on a Debian12 fine.

Now for some reason my Grafana and InfluxDB AddOns are not seen on the GUI any more. I rebooted the host but no change.
I can connect with the Hassio-App to the GUI and see automations and all this. Going to the Add-On part it shows me an error and recommends to read logs.

So I did and as far as I can see the InfluxDB Kapacitor has issues.

Jan 24 09:35:53 hoas addon_a0d7b954_influxdb[648]: [09:35:53] INFO: Kapacitor is waiting until InfluxDB is available...
Jan 24 09:35:53 hoas addon_a0d7b954_influxdb[648]: jq: error (at <stdin>:1): null (null) has no keys
Jan 24 09:35:53 hoas addon_a0d7b954_influxdb[648]: [09:35:53] INFO: Starting the InfluxDB...
[...]
Jan 24 09:36:08 hoas addon_a0d7b954_influxdb[648]: 2024/01/24 09:36:08 Using configuration at: /etc/kapacitor/kapacitor.conf
Jan 24 09:36:08 hoas addon_a0d7b954_influxdb[648]: ts=2024-01-24T09:36:08.357+01:00 lvl=error msg="encountered error" service=run err="parse config: Near line 22 (last key 
parsed 'reporting.enabled'): expected value but found '<' instead"
Jan 24 09:36:08 hoas addon_a0d7b954_influxdb[648]: run: parse config: Near line 22 (last key parsed 'reporting.enabled'): expected value but found '<' instead
Jan 24 09:36:08 hoas addon_a0d7b954_influxdb[648]: [09:36:08] WARNING: Kapacitor crashed, halting add-on

So there seems to be a problem in the file /etc/kapacitor.conf in line 22.

I can not find the file on my Debian system, I assume it is in one of the Docker containers. So I did a find /var/lib/docker -name kapacitor.conf and found several instances of it, althought the docker paths change from one minute to the next.

However, I managed to find a file where line 22 in section [reporting] seems to match:

[...]
[reporting]
  enabled = <no value>
  url = "https://usage.influxdata.com"

So I edited the file and set the line 22 to enabled = "true"and rebooted.

But it looks like the file is generated dynamically as it disappears and get re-created.

So what switch do I have to tell to create a valid kapacitor.conf file?

Thanks!

/KNEBB

Hi- a miracle appeared!

I had no idea how to solve and was waiting for a reply here. So I did not touch nor rebooted the system.

However, this morning I was able to use ha backup list and ha backup restore (which did not work before) and after restore and reboot my system is up and running fine again.

Whatever this was…

/KNEBB