hassio-addons/addon-influxdb

HA Error after uninstall InfluxDB Add-On

derMicro opened this issue · 1 comments

Problem/Motivation

After uninstalling the InfluxDB add-on via the Add-On Store, the following error is logged after restarting HA
image

HA 2024.1.6
on HA OS (Intel NUC)

Expected behavior

no Errors :)

Actual behavior

see Problem

Steps to reproduce

I stop the add-on, switch off the automatic restart, remove all InfluxDB entries from the configuration.yaml, remove the add-on via the store and restart HA. After the restart, the two errors are logged. If I also remove the login data from secret.yaml, HA can no longer be restarted although there are no more InfluxDB entries in configuration.yaml and a restart has already been carried out after InfluxDB was uninstalled. image

If I re-enter the secrets, write the InfluxDB entries back into the configuration.yaml and install the InfluxDB add-on, everything is error-free again.
How do I uninstall the add-on correctly?

Proposed changes

(If you have a proposed change, workaround or fix,
describe the rationale behind it)

By chance, I found another sensor in the depths of my template sensors that referred to Influx. After deleting it and restarting HA, I was able to uninstall Influx without any problems.