NEWS
Influx DB unter bookworm installieren
-
@nobbiman sagte in Influx DB unter bookworm installieren:
Das kostet mich genug Zeit.
YT-Clips sind halt eine große Zeitverschwendung. In der Zeit, wir da noch ein tolles Intro läuft und die erste nervige Werbeunterbrechung mir auf den Zeiger geht hab ich da schon eine bessere und aktuellere Anleitung in Schriftform gefunden. Zuletzt mal eine (ungelogen!) 10 minütige längliche Anleitung mit allem nervigen Krams gesehen, in der eine Datei mittels Editor um zwei Einträge ergänzt wurde. Das ist in einem Wiki oder Forum maximal ein Zweizeiler.
Also, was ist mit dem Kaffee?
Nicht erforderlich. Du kannst aber wenn du magst meiner Patentochter in Togo ein Taschengeld zukommen lassen.
-
@thomas-braun OK, dann gehe ich mal auf die Suche, wenn ich Grafana installieren werde.
Tolle Idee mit der Patentochter, wie bekomme ich das Taschengeld nach Togo? -
Ich habe auch das Problem mit influx unter bookworm und folgende Fehlerausgabe:
sudo apt update Hit:1 http://raspbian.raspberrypi.com/raspbian bookworm InRelease Hit:2 https://apt.grafana.com stable InRelease Hit:3 http://archive.raspberrypi.com/debian bookworm InRelease Hit:4 https://deb.nodesource.com/node_20.x nodistro InRelease Hit:5 https://repos.influxdata.com/debian stable InRelease Err:5 https://repos.influxdata.com/debian stable InRelease The following signatures couldn't be verified because the public key is not available: NO_PUBKEY D8FF8E1F7DF8B07E Reading package lists... Done Building dependency tree... Done Reading state information... Done All packages are up to date. W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: https://repos.influxdata.com/debian stable InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY D8FF8E1F7DF8B07E W: Failed to fetch https://repos.influxdata.com/debian/dists/stable/InRelease The following signatures couldn't be verified because the public key is not available: NO_PUBKEY D8FF8E1F7DF8B07E W: Some index files failed to download. They have been ignored, or old ones used instead.
-
Richte das influxdb-Repo neu ein:
https://forum.iobroker.net/topic/59231/phantastische-repositories-und-wo-sie-zu-finden-sind
-
@thomas-braun Danke für den Link:
Nun habe ich noch folgenden Fehler bei der Installation von influx:
rm influxdata-archive_compat.key rm: cannot remove 'influxdata-archive_compat.key': No such file or directory pi@raspberrypi:~ $ wget -qO- https://repos.influxdata.com/influxdb.key | sudo apt-key add - Warning: apt-key is deprecated. Manage keyring files in trusted.gpg.d instead (see apt-key(8)).
-
Und warum machst du es nicht wie es in meinem Link drin steht?
Da ist es nämlich richtig, ohne apt-key. -
@thomas-braun Ja, Danke.
Ich bekomme mit dem Befehl:
sudo service influxdb Statusinfluxdb: unrecognized service
und in Grafana:
Post "http://139.168.198.39:8086/query?db=iobroker&epoch=ms": dial tcp 139.168.198.39:8086: i/o timeout error reading influxDB -
-
@thomas-braun Ja richtig, aber in grafana geht es nicht obwohl die instance ok meldet. Hier der status:
Linux raspberrypi 6.6.47+rpt-rpi-v8 #1 SMP PREEMPT Debian 1:6.6.47-1+rpt1 (2024-09-02) aarch64 The programs included with the Debian GNU/Linux system are free software; the exact distribution terms for each program are described in the individual files in /usr/share/doc/*/copyright. Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent permitted by applicable law. Last login: Tue Sep 17 20:40:37 2024 from 192.168.198.72 pi@raspberrypi:~ $ systemctl status influxdb.service ● influxdb.service - InfluxDB is an open-source, distributed, time series database Loaded: loaded (/lib/systemd/system/influxdb.service; enabled; preset: enable> Active: active (running) since Tue 2024-09-17 21:13:28 CEST; 36min ago Docs: https://docs.influxdata.com/influxdb/ Process: 16923 ExecStart=/usr/lib/influxdb/scripts/influxd-systemd-start.sh (c> Main PID: 16924 (influxd) Tasks: 14 (limit: 4915) CPU: 50.711s CGroup: /system.slice/influxdb.service └─16924 /usr/bin/influxd -config /etc/influxdb/influxdb.conf Sep 17 21:49:32 raspberrypi influxd-systemd-start.sh[16924]: [httpd] 192.168.198.3>Sep 17 21:49:32 raspberrypi influxd-systemd-start.sh[16924]: [httpd] 192.168.198.3>Sep 17 21:49:32 raspberrypi influxd-systemd-start.sh[16924]: [httpd] 192.168.198.3>Sep 17 21:49:37 raspberrypi influxd-systemd-start.sh[16924]: [httpd] 192.168.198.3>Sep 17 21:49:42 raspberrypi influxd-systemd-start.sh[16924]: [httpd] 192.168.198.3>Sep 17 21:49:42 raspberrypi influxd-systemd-start.sh[16924]: [httpd] 192.168.198.3>Sep 17 21:49:42 raspberrypi influxd-systemd-start.sh[16924]: [httpd] 192.168.198.3>Sep 17 21:49:42 raspberrypi influxd-systemd-start.sh[16924]: [httpd] 192.168.198.3>Sep 17 21:49:42 raspberrypi influxd-systemd-start.sh[16924]: [httpd] 192.168.198.3>Sep 17 21:49:42 raspberrypi influxd-systemd-start.sh[16924]: [httpd] 192.168.198.3>...skipping... ● influxdb.service - InfluxDB is an open-source, distributed, time series database Loaded: loaded (/lib/systemd/system/influxdb.service; enabled; preset: enable> Active: active (running) since Tue 2024-09-17 21:13:28 CEST; 36min ago Docs: https://docs.influxdata.com/influxdb/ Process: 16923 ExecStart=/usr/lib/influxdb/scripts/influxd-systemd-start.sh (c> Main PID: 16924 (influxd) Tasks: 14 (limit: 4915) CPU: 50.711s CGroup: /system.slice/influxdb.service └─16924 /usr/bin/influxd -config /etc/influxdb/influxdb.conf ● influxdb.service - InfluxDB is an open-source, distributed, time series database Loaded: loaded (/lib/systemd/system/influxdb.service; enabled; preset: enabled) Active: active (running) since Tue 2024-09-17 21:13:28 CEST; 36min ago Docs: https://docs.influxdata.com/influxdb/ Process: 16923 ExecStart=/usr/lib/influxdb/scripts/influxd-systemd-start.sh (code=exited, status=0/SUCCESS) Main PID: 16924 (influxd) Tasks: 14 (limit: 4915) CPU: 50.711s CGroup: /system.slice/influxdb.service └─16924 /usr/bin/influxd -config /etc/influxdb/influxdb.conf Sep 17 21:49:32 raspberrypi influxd-systemd-start.sh[16924]: [httpd] 192.168.198.39 - iobroker [17/Sep/2024:21:49:31 +0200] "POST /write?database=iobroker&db=iobroker&>Sep 17 21:49:32 raspberrypi influxd-systemd-start.sh[16924]: [httpd] 192.168.198.39 - iobroker [17/Sep/2024:21:49:32 +0200] "POST /write?database=iobroker&db=iobroker&>Sep 17 21:49:32 raspberrypi influxd-systemd-start.sh[16924]: [httpd] 192.168.198.39 - iobroker [17/Sep/2024:21:49:32 +0200] "POST /write?database=iobroker&db=iobroker&>Sep 17 21:49:37 raspberrypi influxd-systemd-start.sh[16924]: [httpd] 192.168.198.39 - iobroker [17/Sep/2024:21:49:37 +0200] "POST /write?database=iobroker&db=iobroker&>Sep 17 21:49:42 raspberrypi influxd-systemd-start.sh[16924]: [httpd] 192.168.198.39 - iobroker [17/Sep/2024:21:49:42 +0200] "POST /write?database=iobroker&db=iobroker&>Sep 17 21:49:42 raspberrypi influxd-systemd-start.sh[16924]: [httpd] 192.168.198.39 - iobroker [17/Sep/2024:21:49:42 +0200] "POST /write?database=iobroker&db=iobroker&>Sep 17 21:49:42 raspberrypi influxd-systemd-start.sh[16924]: [httpd] 192.168.198.39 - iobroker [17/Sep/2024:21:49:42 +0200] "POST /write?database=iobroker&db=iobroker&>Sep 17 21:49:42 raspberrypi influxd-systemd-start.sh[16924]: [httpd] 192.168.198.39 - iobroker [17/Sep/2024:21:49:42 +0200] "POST /write?database=iobroker&db=iobroker&>Sep 17 21:49:42 raspberrypi influxd-systemd-start.sh[16924]: [httpd] 192.168.198.39 - iobroker [17/Sep/2024:21:49:42 +0200] "POST /write?database=iobroker&db=iobroker&>Sep 17 21:49:42 raspberrypi influxd-systemd-start.sh[16924]: [httpd] 192.168.198.39 - iobroker [17/Sep/2024:21:49:42 +0200] "POST /write?database=iobroker&db=iobroker&>~ ~ ~ ~ ~ ~ ~ ~ ~ lines 1-21/21 (END)
MOD-EDIT: Code in code-tags gesetzt!
-
Grafana und influxdb verwende ich nicht. Kann ich also nix genaues zu sagen.