Configuration InfluxDB Addon location Database

Hello

I would like to save sensor values ​​via InfluxDB. For that I would like to change the location of InfluxDB database. However, when I change the envvars, InfluxDB no longer starts.

I changed that:

envvars:

  • name: INFLUXDB_META_DIR
    value: /share/db/influxdb/meta
  • name: INFLUXDB_DATA_DIR
    value: /share/db/influxdb/data
  • name: INFLUXDB_WAL_DIR
    value: /share/db/influxdb/wal

What’s the problem? I don’t find the default InfluxDB database either. HASS OS is installed on a RapsberryPi.

Can someone help me please?

Why are you doing this?
I’m pretty sure /share is not what you think it is.

An addon is an independent docker container. Whatever you mounted on the HA container is not available to the influxDB container.