Pretty new to HA, so this might be something very basic, but I can’t seem to get influxdb to install. Can anyone see from the log what goes wrong?
Sorry if this is postet in the wrong thread.
[s6-init] making user provided files available at /var/run/s6/etc…exited 0.
[s6-init] ensuring user provided files have correct perms…exited 0.
[fix-attrs.d] applying ownership & permissions fixes…
[fix-attrs.d] done.
[cont-init.d] executing container initialization scripts…
[cont-init.d] 00-banner.sh: executing…
Add-on: InfluxDB
Scalable datastore for metrics, events, and real-time analytics
Add-on version: 4.3.0
You are running the latest version of this add-on.
System: Home Assistant OS 6.6 (aarch64 / raspberrypi3-64)
Home Assistant Core: 2021.11.5
Home Assistant Supervisor: 2021.12.1
Please, share the above information when looking for help
or support in, e.g., GitHub, forums or the Discord chat.
There is an upgrade mode that works very well. You just need to add some dbrp mapping if you want to use InfluxQL instead of Flux. But you are right, a separated add-on is probably the better option… I think I will soon work on it if it does not already exist somewhere.
I’m not thinking the upgrade of the DB itself will be an issue, it is the things that I connect to it I worry about. Chronograf, Grafana and Node-RED nodes .
Chronograf doesn’t exist in InfluxV2 => the UI is now accessible on the 8086 default port (chronograf like).
No change for Grafana expect the dbrp mapping to add for old InfluxQL queries.
Ok for Node-Red I have never used it.
I will probably work on a V2 addon (reusing 99% of the current one…)
I’ve just started playing around with Grafana and InfluxDB and I pretty quickly realized that I don’t want to be setting up my dashboards using FluxQL queries: it’s no longer being developed and therefore missing some newer features that are available in Flux such as grouping by calendar months. However, when I got to building my dashboards with Flux instead, I realized that the Flux version shipped with InfluxDB 1.8.10 from the addon is an early version, missing some of the newer features and not even not compatible with the Raspberry Pi’s ARM architecture (some commonly used aggregate functions such as mean and sum don’t work).
So I’m really keen to move to InfluxDB 2.x but I haven’t figured out how to set this up on my Home Assistant supervisor environment. Are there any guides? As far as I can tell the upgrade feature is not available for the docker image of this addon so it would have to be a new build but then the data has to be migrated as well. Any recommendations would be much appreciated!
Question. I tried to disable the _internal monitoring database (as recommended for normal production use). I added the correcponding envvar to the add-on configuration:
I’m positive the internal measurements are disabled. The memory usage dropped ca 1% (40mb). Querying the internals database doesn’t show new values since the change.
Thx!
So is it possible to upgrade from 1.8 to 2.x using the automated-upgrade directions linked above? I have HA installed on a bare metal server running Ubuntu. When I look for influxdb, I see this mess:
Hi,
I need to use an https connection for some external request. I’ve already a secured connection with my HA with letsencrypt. When I add this lines in the influxdb conf file > envvars, I can use the httpS request via web browser (:8086) during 5 minutes and then it stop.
Influxdb can’t really start. I can’t access to the configuration page.
[23:04:20] INFO: Chronograf is waiting until InfluxDB is available...
[23:04:20] INFO: Kapacitor is waiting until InfluxDB is available...
[23:04:20] DEBUG: Setting Env Variable INFLUXDB_HTTP_HTTPS_ENABLED to true
[23:04:20] DEBUG: Setting Env Variable INFLUXDB_HTTP_HTTPS_CERTIFICATE to /ssl/fullchain.pem
[23:04:20] DEBUG: Setting Env Variable INFLUXDB_HTTP_HTTPS_PRIVATE_KEY to /ssl/privkey.pem
[23:04:20] INFO: Starting the InfluxDB..
And then it stops and the httpS request isn’t available anymore.
Do you have an idea why the daemon can’t start when https connection is activated?