InfluxDB Probleme bei der Installation INFO: Starting NGINX

Hallo Zusammen,

ich habe InfluxDB nur im Home Asistant installiert aus dem ADD-ON-STORE.

Dann die Einträge wie im Video vorgenommen.

Leider startet InfluxDB nicht.

Starting NGINX… damit endet alles, ich habe NGINX nicht installiert und auch kein DuckDNS.

Hat jemand eine Idee, wo das Problem liegen könnte?

Danke für eine Rückmeldung

der Dirk

s6-rc: info: service s6rc-oneshot-runner: starting
s6-rc: info: service s6rc-oneshot-runner successfully started
s6-rc: info: service base-addon-banner: starting


Add-on: InfluxDB
Scalable datastore for metrics, events, and real-time analytics

Add-on version: 4.8.0
You are running the latest version of this add-on.
System: Home Assistant OS 11.1 (amd64 / generic-x86-64)
Home Assistant Core: 2023.10.5
Home Assistant Supervisor: 2023.10.1

Please, share the above information when looking for help
or support in, e.g., GitHub, forums or the Discord chat.

s6-rc: info: service base-addon-banner successfully started
s6-rc: info: service fix-attrs: starting
s6-rc: info: service base-addon-timezone: starting
s6-rc: info: service base-addon-log-level: starting
s6-rc: info: service fix-attrs successfully started
[20:30:04] INFO: Configuring timezone (Europe/Berlin)…
s6-rc: info: service base-addon-log-level successfully started
s6-rc: info: service base-addon-timezone successfully started
s6-rc: info: service legacy-cont-init: starting
cont-init: info: running /etc/cont-init.d/create-users.sh
[20:30:07] INFO: InfluxDB init process in progress…
[tcp] 2023/10/30 20:30:12 tcp.Mux: Listener at 127.0.0.1:8088 failed failed to accept a connection, closing all listeners - accept tcp 127.0.0.1:8088: use of closed network connection
cont-init: info: /etc/cont-init.d/create-users.sh exited 0
cont-init: info: running /etc/cont-init.d/influxdb.sh
cont-init: info: /etc/cont-init.d/influxdb.sh exited 0
cont-init: info: running /etc/cont-init.d/kapacitor.sh
cont-init: info: /etc/cont-init.d/kapacitor.sh exited 0
cont-init: info: running /etc/cont-init.d/nginx.sh
cont-init: info: /etc/cont-init.d/nginx.sh exited 0
s6-rc: info: service legacy-cont-init successfully started
s6-rc: info: service legacy-services: starting
services-up: info: copying legacy longrun chronograf (no readiness notification)
services-up: info: copying legacy longrun influxdb (no readiness notification)
services-up: info: copying legacy longrun kapacitor (no readiness notification)
services-up: info: copying legacy longrun nginx (no readiness notification)
[20:30:13] INFO: Chronograf is waiting until InfluxDB is available…
[20:30:13] INFO: Kapacitor is waiting until InfluxDB is available…
[20:30:13] INFO: Starting the InfluxDB…
s6-rc: info: service legacy-services successfully started
[20:30:18] INFO: Starting Chronograf…
[20:30:18] INFO: Starting the Kapacitor
2023/10/30 20:30:18 Using configuration at: /etc/kapacitor/kapacitor.conf

‘##:::’##::::‘###::::’########:::::‘###:::::’######::‘####:’########::‘#######::’########::
##::‘##::::’## ##::: ##… ##:::‘## ##:::’##… ##:. ##::… ##…::‘##… ##: ##… ##:
##:’##::::‘##:. ##:: ##:::: ##::’##:. ##:: ##:::…::: ##::::: ##:::: ##:::: ##: ##:::: ##:
#####::::‘##:::. ##: ########::’##:::. ##: ##:::::::: ##::::: ##:::: ##:::: ##: ########::
##. ##::: #########: ##…::: #########: ##:::::::: ##::::: ##:::: ##:::: ##: ##… ##:::
##:. ##:: ##… ##: ##:::::::: ##… ##: ##::: ##:: ##::::: ##:::: ##:::: ##: ##::. ##::
##::. ##: ##:::: ##: ##:::::::: ##:::: ##:. ######::'####:::: ##::::. #######:: ##:::. ##:
…::::…::…:::::…::…:::::::::…:::::…:::…:::…:::::…::::::…:::…:::::…::

time=“2023-10-30T20:30:21+01:00” level=info msg=“Serving chronograf at http://127.0.0.1:8889” component=server
time=“2023-10-30T20:30:21+01:00” level=info msg=“Reporting usage stats” component=usage freq=24h reporting_addr=“https://usage.influxdata.com” stats=“os,arch,version,cluster_id,uptime”
[20:30:22] INFO: Starting NGINX…

Moin,
NGINX ist in mehreren Addons mit drin, ich glaube damit man auf die Oberfläche drauf kommt.
Bin mir aber nicht 100% sicher.
Bei mir sieht es eigentlich ziemlich gleich aus.

s6-rc: info: service s6rc-oneshot-runner: starting
s6-rc: info: service s6rc-oneshot-runner successfully started
s6-rc: info: service base-addon-banner: starting

-----------------------------------------------------------
 Add-on: InfluxDB
 Scalable datastore for metrics, events, and real-time analytics
-----------------------------------------------------------
 Add-on version: 4.8.0
 You are running the latest version of this add-on.
 System: Home Assistant OS 11.1  (amd64 / qemux86-64)
 Home Assistant Core: 2023.10.5
 Home Assistant Supervisor: 2023.10.1
-----------------------------------------------------------
 Please, share the above information when looking for help
 or support in, e.g., GitHub, forums or the Discord chat.
-----------------------------------------------------------
s6-rc: info: service base-addon-banner successfully started
s6-rc: info: service fix-attrs: starting
s6-rc: info: service base-addon-timezone: starting
s6-rc: info: service base-addon-log-level: starting
s6-rc: info: service fix-attrs successfully started
[17:19:03] INFO: Configuring timezone (Europe/Berlin)...
s6-rc: info: service base-addon-log-level successfully started
s6-rc: info: service base-addon-timezone successfully started
s6-rc: info: service legacy-cont-init: starting
cont-init: info: running /etc/cont-init.d/create-users.sh
cont-init: info: /etc/cont-init.d/create-users.sh exited 0
cont-init: info: running /etc/cont-init.d/influxdb.sh
cont-init: info: /etc/cont-init.d/influxdb.sh exited 0
cont-init: info: running /etc/cont-init.d/kapacitor.sh
cont-init: info: /etc/cont-init.d/kapacitor.sh exited 0
cont-init: info: running /etc/cont-init.d/nginx.sh
cont-init: info: /etc/cont-init.d/nginx.sh exited 0
s6-rc: info: service legacy-cont-init successfully started
s6-rc: info: service legacy-services: starting
services-up: info: copying legacy longrun chronograf (no readiness notification)
services-up: info: copying legacy longrun influxdb (no readiness notification)
services-up: info: copying legacy longrun kapacitor (no readiness notification)
services-up: info: copying legacy longrun nginx (no readiness notification)
[17:19:06] INFO: Starting the InfluxDB...
s6-rc: info: service legacy-services successfully started
[17:19:06] INFO: Kapacitor is waiting until InfluxDB is available...
[17:19:06] INFO: Chronograf is waiting until InfluxDB is available...
[17:19:32] INFO: Starting Chronograf...
[17:19:32] INFO: Starting the Kapacitor

'##:::'##::::'###::::'########:::::'###:::::'######::'####:'########::'#######::'########::
 ##::'##::::'## ##::: ##.... ##:::'## ##:::'##... ##:. ##::... ##..::'##.... ##: ##.... ##:
 ##:'##::::'##:. ##:: ##:::: ##::'##:. ##:: ##:::..::: ##::::: ##:::: ##:::: ##: ##:::: ##:
 #####::::'##:::. ##: ########::'##:::. ##: ##:::::::: ##::::: ##:::: ##:::: ##: ########::
 ##. ##::: #########: ##.....::: #########: ##:::::::: ##::::: ##:::: ##:::: ##: ##.. ##:::
 ##:. ##:: ##.... ##: ##:::::::: ##.... ##: ##::: ##:: ##::::: ##:::: ##:::: ##: ##::. ##::
 ##::. ##: ##:::: ##: ##:::::::: ##:::: ##:. ######::'####:::: ##::::. #######:: ##:::. ##:
..::::..::..:::::..::..:::::::::..:::::..:::......:::....:::::..::::::.......:::..:::::..::

2023/10/29 17:19:33 Using configuration at: /etc/kapacitor/kapacitor.conf
ts=2023-10-29T17:19:33.165+01:00 lvl=error msg="error while sending usage report on startup" service=reporting err="Post \"https://usage.influxdata.com/api/v1/usage/kapacitor\": dial tcp 0.0.0.0:443: connect: connection refused"
time="2023-10-29T17:19:43+01:00" level=info msg="Reporting usage stats" component=usage freq=24h reporting_addr="https://usage.influxdata.com" stats="os,arch,version,cluster_id,uptime"
time="2023-10-29T17:19:43+01:00" level=info msg="Serving chronograf at http://127.0.0.1:8889" component=server
[17:19:44] INFO: Starting NGINX...
ts=2023-10-30T05:19:33.180+01:00 lvl=error msg="error while sending usage report" service=reporting err="Post \"https://usage.influxdata.com/api/v1/usage/kapacitor\": dial tcp 0.0.0.0:443: connect: connection refused"
ts=2023-10-30T17:19:33.159+01:00 lvl=error msg="error while sending usage report" service=reporting err="Post \"https://usage.influxdata.com/api/v1/usage/kapacitor\": dial tcp 0.0.0.0:443: connect: connection refused"

Und danach zeigt er in den Logs nichts mehr an aber infuxDB läuft bei mir.
guck doch mal ob du auf die Oberfläche kommst.

LG
Tobi

Hallo Tobi,

danke für die Rückmeldung, ich komme nicht auf die Oberfläche. Ich habe inzwischen mehrfach InfluxDB installiert und wieder deinstalliert, ohne Erfolg.

InfluxDB

The add-on is not running. Do you want to start it now?

NO START ADD-ON

auch ohne Erfolg!

Das Problem haben aber wohl schon mehrere gehabt, zu mindestens findet man dazu Meldungen.

Eine Lösung habe ich aber noch nicht gefunden.

Danke sagt der Dirk, die Lösung ist noch nicht wirklich gefunden.

Moin,
Gibt es hier schon eine Lösung? Bei mir schreibt er immer 502: Bad Gateway.
Oder gibt es eventuell eine Alternative für Langzeitdaten und deren Grafischer Darstellung ?
Hier noch der log:

'##:::'##::::'###::::'########:::::'###:::::'######::'####:'########::'#######::'########::
 ##::'##::::'## ##::: ##.... ##:::'## ##:::'##... ##:. ##::... ##..::'##.... ##: ##.... ##:
2024/08/17 00:28:19 Using configuration at: /etc/kapacitor/kapacitor.conf
 ##:'##::::'##:. ##:: ##:::: ##::'##:. ##:: ##:::..::: ##::::: ##:::: ##:::: ##: ##:::: ##:
 #####::::'##:::. ##: ########::'##:::. ##: ##:::::::: ##::::: ##:::: ##:::: ##: ########::
 ##. ##::: #########: ##.....::: #########: ##:::::::: ##::::: ##:::: ##:::: ##: ##.. ##:::
 ##:. ##:: ##.... ##: ##:::::::: ##.... ##: ##::: ##:: ##::::: ##:::: ##:::: ##: ##::. ##::
 ##::. ##: ##:::: ##: ##:::::::: ##:::: ##:. ######::'####:::: ##::::. #######:: ##:::. ##:
..::::..::..:::::..::..:::::::::..:::::..:::......:::....:::::..::::::.......:::..:::::..::

[httpd] ::1 - kapacitor [17/Aug/2024:00:28:19 +0200] "GET /ping HTTP/1.1" 204 0 "-" "KapacitorInfluxDBClient" d71cf922-5c1e-11ef-8005-0242ac1e2105 51
[httpd] ::1 - kapacitor [17/Aug/2024:00:28:19 +0200] "POST /query?db=&q=SHOW+DATABASES HTTP/1.1 " 200 94 "-" "KapacitorInfluxDBClient" d71d07e3-5c1e-11ef-8006-0242ac1e2105 1153
[httpd] ::1 - kapacitor [17/Aug/2024:00:28:19 +0200] "POST /query?db=&q=SHOW+SUBSCRIPTIONS HTTP/1.1 " 200 57 "-" "KapacitorInfluxDBClient" d71deb60-5c1e-11ef-8007-0242ac1e2105 389
time="2024-08-17T00:28:24+02:00" level=info msg="Serving chronograf at http://127.0.0.1:8889" component=server
time="2024-08-17T00:28:24+02:00" level=info msg="Reporting usage stats" component=usage freq=24h reporting_addr="https://usage.influxdata.com" stats="os,arch,version,cluster_id,uptime"
[00:28:24] INFO: Starting NGINX...
2024/08/17 00:28:24 [crit] 410#410: ngx_slab_alloc() failed: no memory
[00:28:24] WARNING: NGINX crashed, halting add-on
[00:28:24] INFO: NGINX stopped, restarting...
s6-rc: info: service legacy-services: stopping
[tcp] 2024/08/17 00:28:24 tcp.Mux: Listener at 127.0.0.1:8088 failed failed to accept a connection, closing all listeners - accept tcp 127.0.0.1:8088: use of closed network connection
[00:28:24] INFO: Chronograf stopped, restarting...
[00:28:24] INFO: InfluxDB stopped, restarting...
[00:28:24] INFO: Kapacitor stopped, restarting...
s6-rc: info: service legacy-services successfully stopped
s6-rc: info: service legacy-cont-init: stopping
s6-rc: info: service legacy-cont-init successfully stopped
s6-rc: info: service fix-attrs: stopping
s6-rc: info: service base-addon-timezone: stopping
s6-rc: info: service base-addon-log-level: stopping
s6-rc: info: service fix-attrs successfully stopped
	s6-rc: info: service base-addon-timezone successfully stopped
s6-rc: info: service base-addon-log-level successfully stopped
s6-rc: info: service base-addon-banner: stopping
s6-rc: info: service base-addon-banner successfully stopped
s6-rc: info: service s6rc-oneshot-runner: stopping
s6-rc: info: service s6rc-oneshot-runner successfully stopped

:crayon:by HarryP: Post formatiert

Moin,

Das ist ein Thread aus Oktober 2023 und wieso Lösung, obwohl ich nicht das interne Add-on influxDB nutze, habe ich das Add-on mal installiert und gestartet, bei mir startet das Add-on ohne Probleme.

Ich denke, dass Du da mal näher ins Detail gehen solltest, damit man Dir helfen kann.

VG
Bernd

Ich habe hier das Thread nochmal aufgegriffen da ich das selbe Problem habe aber noch keine Lösung. Und auch wenn der Beitrag hier von 2023 ist steht ja keine Lösung bei !

Nochmal das Problem:

  • ich installiere das AddOn (funktioniert ohne Probleme)
  • Ich gucke mir das Protokoll an, dann kommt das was ich gepostet habe
  • dann gehe ich auf das UI und er schreibt das add on scheint noch nicht vollständig gestartet zu sein. Oben links steht dann 502 Bad Gateway
  • Mehrfacher Neustart von homeassistant und RPi5 bringt nichts
  • Deinstallieren und neu installieren auch nicht
    Welche Infos werden noch benötigt ?

Moin,

Wie ist denn das Add-on konfiguriert?

Ich spiele das gerade noch mal durch, bei mir absolut kein Problem, sehe gerade das man nichts gesondert einstellen muss, alles so auf dem Standard gelassen

Installation

time="2024-08-17T10:07:30+02:00" level=info msg="Response: OK" component=server method=GET remote_addr="127.0.0.1:57278" response_time="921.138µs" status=200
time="2024-08-17T10:07:30+02:00" level=info msg="Response: No Content" component=server method=GET remote_addr="127.0.0.1:57286" response_time="533.593µs" status=204
time="2024-08-17T10:07:30+02:00" level=info msg="Response: OK" component=server method=GET remote_addr="127.0.0.1:57288" response_time="77.659µs" status=200
time="2024-08-17T10:07:30+02:00" level=info msg="Response: OK" component=server method=POST remote_addr="127.0.0.1:57292" response_time="702.865µs" status=200
time="2024-08-17T10:07:30+02:00" level=info msg="Response: OK" component=server method=POST remote_addr="127.0.0.1:57298" response_time=1.252942ms status=200
time="2024-08-17T10:07:30+02:00" level=info msg="Response: OK" component=server method=GET remote_addr="127.0.0.1:57312" response_time=1.33342ms status=200
time="2024-08-17T10:07:30+02:00" level=info msg="Response: OK" component=server method=GET remote_addr="127.0.0.1:57314" response_time=1.112791ms status=200
time="2024-08-17T10:07:30+02:00" level=info msg="Response: No Content" component=server method=GET remote_addr="127.0.0.1:57320" response_time="410.816µs" status=204
time="2024-08-17T10:07:30+02:00" level=info msg="Response: OK" component=server method=GET remote_addr="127.0.0.1:57332" response_time="128.102µs" status=200
time="2024-08-17T10:07:30+02:00" level=info msg="Response: OK" component=server method=POST remote_addr="127.0.0.1:57340" response_time="645.614µs" status=200
time="2024-08-17T10:07:30+02:00" level=info msg="Response: OK" component=server method=POST remote_addr="127.0.0.1:57352" response_time="792.149µs" status=200
time="2024-08-17T10:07:30+02:00" level=info msg="Response: OK" component=server method=GET remote_addr="127.0.0.1:57368" response_time="839.629µs" status=200
time="2024-08-17T10:07:30+02:00" level=info msg="Response: OK" component=server method=GET remote_addr="127.0.0.1:57370" response_time=1.039758ms status=200
time="2024-08-17T10:07:30+02:00" level=info msg="Response: No Content" component=server method=GET remote_addr="127.0.0.1:57372" response_time="365.998µs" status=204
time="2024-08-17T10:07:30+02:00" level=info msg="Response: OK" component=server method=GET remote_addr="127.0.0.1:57384" response_time="157.1µs" status=200
time="2024-08-17T10:07:30+02:00" level=info msg="Response: OK" component=server method=POST remote_addr="127.0.0.1:57392" response_time="687.048µs" status=200
time="2024-08-17T10:07:30+02:00" level=info msg="Response: OK" component=server method=POST remote_addr="127.0.0.1:57402" response_time="758.454µs" status=200
time="2024-08-17T10:07:32+02:00" level=info msg="Response: OK" component=server method=POST remote_addr="127.0.0.1:57408" response_time="783.98µs" status=200
time="2024-08-17T10:07:34+02:00" level=info msg="Response: OK" component=server method=GET remote_addr="127.0.0.1:57420" response_time="30.956µs" status=200
s6-rc: info: service legacy-services: stopping
[tcp] 2024/08/17 10:07:47 tcp.Mux: Listener at 127.0.0.1:8088 failed failed to accept a connection, closing all listeners - accept tcp 127.0.0.1:8088: use of closed network connection
[10:07:47] INFO: Chronograf stopped, restarting...
[10:07:47] INFO: NGINX stopped, restarting...
[10:07:47] INFO: Kapacitor stopped, restarting...
[10:07:47] INFO: InfluxDB stopped, restarting...
s6-rc: info: service legacy-services successfully stopped
s6-rc: info: service legacy-cont-init: stopping
s6-rc: info: service legacy-cont-init successfully stopped
s6-rc: info: service fix-attrs: stopping
s6-rc: info: service base-addon-timezone: stopping
s6-rc: info: service base-addon-log-level: stopping
s6-rc: info: service fix-attrs successfully stopped
s6-rc: info: service base-addon-timezone successfully stopped
s6-rc: info: service base-addon-log-level successfully stopped
s6-rc: info: service base-addon-banner: stopping
s6-rc: info: service base-addon-banner successfully stopped
s6-rc: info: service s6rc-oneshot-runner: stopping
s6-rc: info: service s6rc-oneshot-runner successfully stopped

erster Start des Add-ons

s6-rc: info: service s6rc-oneshot-runner: starting
s6-rc: info: service s6rc-oneshot-runner successfully started
s6-rc: info: service base-addon-banner: starting
----------------------------------------------------------- 

 Add-on: InfluxDB
 Scalable datastore for metrics, events, and real-time analytics
-----------------------------------------------------------
 Add-on version: 5.0.0
 You are running the latest version of this add-on.
 System: Home Assistant OS 13.0  (amd64 / qemux86-64)
 Home Assistant Core: 2024.8.2
 Home Assistant Supervisor: 2024.08.0
-----------------------------------------------------------
 Please, share the above information when looking for help
 or support in, e.g., GitHub, forums or the Discord chat.
-----------------------------------------------------------
s6-rc: info: service base-addon-banner successfully started
s6-rc: info: service fix-attrs: starting
s6-rc: info: service base-addon-timezone: starting
s6-rc: info: service base-addon-log-level: starting
s6-rc: info: service fix-attrs successfully started
[14:39:18] INFO: Configuring timezone (Europe/Berlin)...
s6-rc: info: service base-addon-log-level successfully started
s6-rc: info: service base-addon-timezone successfully started
s6-rc: info: service legacy-cont-init: starting
cont-init: info: running /etc/cont-init.d/create-users.sh
[14:39:21] INFO: InfluxDB init process in progress...
[tcp] 2024/08/17 14:39:27 tcp.Mux: Listener at 127.0.0.1:8088 failed failed to accept a connection, closing all listeners - accept tcp 127.0.0.1:8088: use of closed network connection
cont-init: info: /etc/cont-init.d/create-users.sh exited 0
cont-init: info: running /etc/cont-init.d/influxdb.sh
cont-init: info: /etc/cont-init.d/influxdb.sh exited 0
cont-init: info: running /etc/cont-init.d/kapacitor.sh
cont-init: info: /etc/cont-init.d/kapacitor.sh exited 0
cont-init: info: running /etc/cont-init.d/nginx.sh
cont-init: info: /etc/cont-init.d/nginx.sh exited 0
s6-rc: info: service legacy-cont-init successfully started
s6-rc: info: service legacy-services: starting
services-up: info: copying legacy longrun chronograf (no readiness notification)
services-up: info: copying legacy longrun influxdb (no readiness notification)
services-up: info: copying legacy longrun kapacitor (no readiness notification)
services-up: info: copying legacy longrun nginx (no readiness notification)
[14:39:27] INFO: Kapacitor is waiting until InfluxDB is available...
[14:39:27] INFO: Chronograf is waiting until InfluxDB is available...
[14:39:27] INFO: Starting the InfluxDB...
s6-rc: info: service legacy-services successfully started
[14:39:32] INFO: Starting Chronograf...
[14:39:32] INFO: Starting the Kapacitor

'##:::'##::::'###::::'########:::::'###:::::'######::'####:'########::'#######::'########::
 ##::'##::::'## ##::: ##.... ##:::'## ##:::'##... ##:. ##::... ##..::'##.... ##: ##.... ##:
 ##:'##::::'##:. ##:: ##:::: ##::'##:. ##:: ##:::..::: ##::::: ##:::: ##:::: ##: ##:::: ##:
 #####::::'##:::. ##: ########::'##:::. ##: ##:::::::: ##::::: ##:::: ##:::: ##: ########::
2024/08/17 14:39:32 Using configuration at: /etc/kapacitor/kapacitor.conf
 ##. ##::: #########: ##.....::: #########: ##:::::::: ##::::: ##:::: ##:::: ##: ##.. ##:::
 ##:. ##:: ##.... ##: ##:::::::: ##.... ##: ##::: ##:: ##::::: ##:::: ##:::: ##: ##::. ##::
 ##::. ##: ##:::: ##: ##:::::::: ##:::: ##:. ######::'####:::: ##::::. #######:: ##:::. ##:
..::::..::..:::::..::..:::::::::..:::::..:::......:::....:::::..::::::.......:::..:::::..::

ts=2024-08-17T14:39:32.822+02:00 lvl=error msg="error while sending usage report on startup" service=reporting err="Post \"https://usage.influxdata.com/api/v1/usage/kapacitor\": dial tcp 0.0.0.0:443: connect: connection refused"
time="2024-08-17T14:39:35+02:00" level=info msg="Serving chronograf at http://127.0.0.1:8889" component=server
time="2024-08-17T14:39:35+02:00" level=info msg="Reporting usage stats" component=usage freq=24h reporting_addr="https://usage.influxdata.com" stats="os,arch,version,cluster_id,uptime"
[14:39:36] INFO: Starting NGINX...

VG
Bernd

Es ist genau so konfiguriert wie bei dir. Er versucht es auch glaube ich 3 mal zu starten und das war es dann. NGINX ist ja glaube ich für die UI zuständig. Ich hab auch im Netz nichts weiter gefunden um das Problem zu lösen.

Gibt es vielleicht noch eine andere Möglichkeit Langzeit Daten zu speichern und Grafisch darzustellen?



Moin,

Ich habe es vielleicht überlesen, aber worauf läuft HA, wenn es in einer Virtualisierung, z. B. Proxmox, Unraid, oä läuft, könntest Du natürlich auch influxDB dort separat installieren.

Frage, wegen Langzeitdaten, die Langzeitdaten, die in HA sowieso angelegt werden, sind nicht ausreichend, was ist Dein Ziel?
Wenn Du über grafisch Darstellen sprichst, redest Du über Grafana?

Apropos, die Konfiguration in der configuration.yaml hast Du auch gemacht?

Dir ist auch bewusst, dass es nicht ohne weiteres, möglich ist aus HA auf die Daten in der influxDB zuzugreifen?

So, oder so ähnlich zur Kommunikation mit der installation.

Da fällt mir noch ein, Du könntest, dieses noch einmal ausprobieren

Die passende HA Dokumentation

VG
Bernd

Ja, ich weiß das der Beitrag etwas älter ist, aber bei mir besteht exakt das gleiche Problem: Hier ein Auszug aus dem Protokoll:

[08:16:31] INFO: Chronograf is waiting until InfluxDB is available...
[08:16:31] INFO: Kapacitor is waiting until InfluxDB is available...
[08:16:31] INFO: Starting the InfluxDB...
[08:16:41] INFO: Starting Chronograf...
[08:16:41] INFO: Starting the Kapacitor
'##:::'##::::'###::::'########:::::'###:::::'######::'####:'########::'#######::'########::
 ##::'##::::'## ##::: ##.... ##:::'## ##:::'##... ##:. ##::... ##..::'##.... ##: ##.... ##:
 ##:'##::::'##:. ##:: ##:::: ##::'##:. ##:: ##:::..::: ##::::: ##:::: ##:::: ##: ##:::: ##:
 #####::::'##:::. ##: ########::'##:::. ##: ##:::::::: ##::::: ##:::: ##:::: ##: ########::
 ##. ##::: #########: ##.....::: #########: ##:::::::: ##::::: ##:::: ##:::: ##: ##.. ##:::
 ##:. ##:: ##.... ##: ##:::::::: ##.... ##: ##::: ##:: ##::::: ##:::: ##:::: ##: ##::. ##::
 ##::. ##: ##:::: ##: ##:::::::: ##:::: ##:. ######::'####:::: ##::::. #######:: ##:::. ##:
..::::..::..:::::..::..:::::::::..:::::..:::......:::....:::::..::::::.......:::..:::::..::
2025/03/12 08:16:41 Using configuration at: /etc/kapacitor/kapacitor.conf
time="2025-03-12T08:16:49+01:00" level=info msg="Reporting usage stats" component=usage freq=24h reporting_addr="https://usage.influxdata.com" stats="os,arch,version,cluster_id,uptime"
time="2025-03-12T08:16:49+01:00" level=info msg="Serving chronograf at http://127.0.0.1:8889" component=server
[08:16:49] INFO: Starting NGINX...
..::::..::..:::::..::..:::::::::..:::::..:::......:::....:::::..::::::.......:::..:::::..::
2025/03/12 08:16:41 Using configuration at: /etc/kapacitor/kapacitor.conf
time="2025-03-12T08:16:49+01:00" level=info msg="Reporting usage stats" component=usage freq=24h reporting_addr="https://usage.influxdata.com" stats="os,arch,version,cluster_id,uptime"
time="2025-03-12T08:16:49+01:00" level=info msg="Serving chronograf at http://127.0.0.1:8889" component=server
[08:16:49] INFO: Starting NGINX...
[08:16:49] INFO: Starting NGINX...
[08:16:49] INFO: Starting NGINX...
[08:16:49] INFO: Starting NGINX...
[08:16:49] INFO: Starting NGINX...
[08:16:49] INFO: Starting NGINX...
[08:16:49] INFO: Starting NGINX...
[08:16:49] INFO: Starting NGINX...
[08:16:49] INFO: Starting NGINX...
[08:16:49] INFO: Starting NGINX...
[08:16:49] INFO: Starting NGINX...
[08:16:49] INFO: Starting NGINX...
[08:16:49] INFO: Starting NGINX...

Da ich mich mittlerweile schon etwas länger mit dem Problem rumschlage, habe ich die Influxdb auch im Docker auf meiner Synology installiert.
Hier bekomme ich aber keine Verbindung zu HA hin.
Dazu habe ich hier auch schon etwas gepostet:
Mein Post
Mein Homeassistant läuft auf einer virtuellen Maschine auf meiner Synology.
Dort hatte ich dann das Backup eingespielt, was ich vorher, als mein HA noch auf einem Raspberry lief, gemacht habe. Seitdem habe ich dieses Problem mit der Influxdb.
Mir ist es eigentlich egal wo die Influx läuft, wenn sie nur endlich Daten vom HA bekommen würde.

Moin,

ich frage, das noch einmal, wieso willst Du InfluxDB nutzen, was reicht Dir an der Standardlösung von Home Assistant nicht?
In HA gibt es auch Langzeitdaten!

Ansonsten habe ich im anderen Post noch was geschrieben, nur bitte keine Inflation an Posts öffnen, wo Du zu mehr oder weniger gleichen Thema geht, man verliert ansonsten den Überblick.

VG
Bernd

Naja, ich möchte die Influx nutzen um meine Temperaturen, Verbrauchswerte meiner 49 Shellys usw. über einen langen Zeitraum zu loggen und dann auch in Grafana zu visualisieren. Nur müsste halt dazu erstmal das Addon laufen

Du könntest mal in der Addon Konfiguration den Log-Level auf “Debug” setzen.

Moin,

das macht HA schon für dich out of the box!
Nennt sich Statistiken und ist nicht zeitlich begrenzt, nach meinem aktuellen Wissensstand.
Schau dir doch einmal eine Temperatur im HA Verlauf an, wenn du da einen längeren Zeitraum angibst.
Ein Beispiel:

  • Grüner Pfeil = Im Dezember 2023 habe ich HA aufgesetzt
  • Roter Pfeil, im Januar habe ich den Außentemperatursensor eingebunden
  • Blauer Pfeil, alles, was da kommt, sind die Historie Daten, die Daten haben für die im Standard 10 Tage, eine höhere Auflösung.

Ok, Grafana, kann da mit Sicherheit mehr als HA mit den HACS Chart Erweiterungen, aber ist das wirklich den Aufwand wert?
Dann als nächstes, du musst dann auch wieder die Grafiken in HA hineinbekommen, und dann auch noch, alles korrekt konfigurieren, dass die Grafiken auch angezeigt werden, wenn man von außerhalb des eigenen Netzwerks zugreift.

Ich will dich nicht von deinem Vorhaben abbringen, ich finde es toll, dass du dich so intensiv damit beschäftigst, aber manches Mal habe ich den Eindruck, dass du dich verzettelst.
Nutz doch erst einmal das, was HA dir an die Hand gibt, wenn das dann nicht mehr ausreicht, kann man sich immer noch über andere Lösungen nachdenken.

Früher zu meiner ioBroker Zeit habe ich alles mit influxDB und Grafana gemacht, heute mit HA, nichts mehr, ich komme mit den Hausmitteln von HA aus.

Noch etwas Lesestoff, zu den HA Charts

VG
Bernd

Sorry, das ich so spät antworte. Mittlerweile läuft meine Influx und Grafana als HA Addon. Das Ganze ließ sich problemlos installieren, nachdem ich das NAS einmal komplett neugestartet habe. Darauf muss man auch erst mal kommen.