InfluxDB host from documentation is not always correct #86
boxcee posted onGitHub
Problem/Motivation
When I installed InfluxDB addon, HA was not enable to connect because the host settings from the documentation were wrong.
Expected behavior
Better explanation where the host settings are defined/coming from.
Actual behavior
When installing InfluxDB, I set the host for the HA integration to the host mentioned in the documentation. This host however was wrong for me.
I found the correct host by running ha supervisor info
and comparing the slug/repository keys of my addons. The host from the documentation matched the slug/repository of AdGuard and WireGuard, but not InfluxDB.
- description: Fast, modern, secure VPN tunnel
icon: false
installed: 0.3.2
logo: false
name: WireGuard
repository: a0d7b954
slug: a0d7b954_wireguard
state: started
version: 0.3.2
- description: Network-wide ads & trackers blocking DNS server
icon: false
installed: 2.4.2
logo: false
name: AdGuard Home
repository: a0d7b954
slug: a0d7b954_adguard
state: started
version: 2.4.2
- description: The open platform for beautiful analytics and monitoring
icon: true
installed: 5.2.1
logo: true
name: Grafana
repository: ccf28a08
slug: ccf28a08_grafana
state: started
version: 5.2.1
- description: Scalable datastore for metrics, events, and real-time analytics
icon: true
installed: 3.7.3
logo: true
name: InfluxDB
repository: ccf28a08
slug: ccf28a08_influxdb
state: started
version: 3.7.3
Changing the host to ccf28a08-influxdb
instead of a0d7b954-influxdb
fixed it for me.
Steps to reproduce
Not entirely sure, to be honest. I would say:
Install AdGuard, install WireGuard, install InfluxDB.
Proposed changes
I don't really understand how the host is configured and how the supervisor works etc., but I propose to improve the documentation a bit for that case.