Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Off Topic
    4. InfluxDB
    5. Influx DB unter bookworm installieren

    NEWS

    • ioBroker@Smart Living Forum Solingen, 14.06. - Agenda added

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    Influx DB unter bookworm installieren

    This topic has been deleted. Only users with topic management privileges can see it.
    • Thomas Braun
      Thomas Braun Most Active @nobbiman last edited by

      @nobbiman

      sudo mv /etc/apt/trusted.gpg /etc/apt/trusted.gpg.d/
      

      Dann halt die gewünschte Version von influxdb installieren. Ich würde die influxdb2 nehmen.

      N 1 Reply Last reply Reply Quote 0
      • N
        nobbiman @Thomas Braun last edited by

        @thomas-braun sagte in Influx DB unter bookworm installieren:

        sudo mv /etc/apt/trusted.gpg /etc/apt/trusted.gpg.d/

        Ich verneige mich vor dir und deiner Hilfsbereitschaft, wahrscheinlich hätte ich das ohne Hilfe nicht hinbekommen - sag mir, wo ich dir einen Kaffee spendieren kann!

        Aber noch eines: weißt du, ob ich vor der Installation mit

        sudo apt-get install influxdb2
        

        noch einen Key installieren muss? Ich frage, weil unter einer YT-Anleitung, ab 8:43 davon gesprochen wird.

        Thomas Braun 1 Reply Last reply Reply Quote 0
        • Thomas Braun
          Thomas Braun Most Active @nobbiman last edited by Thomas Braun

          @nobbiman

          Ich schau keine YT-Filmchen. Solltest du auch nicht, die wenigsten davon sind wirklich zu gebrauchen.

          apt wird aber Meckern, wenn ein Key fehlen sollte. Es fehlt aber keiner, sonst hättest du da Meldungen analog zu der Meldung gesehen, die du jetzt ja angegangen bist.

          N 1 Reply Last reply Reply Quote 0
          • N
            nobbiman @Thomas Braun last edited by

            @thomas-braun Das sagt einer, der sich auskennt, dem Laien blieb eine intensive Einarbeitung in Linux, um ein Systemverständnis zu entwickeln. Eigentlich will ich nur mit dem später noch zu installierenden Grafan Daten aus dem ioBroker visualisieren. Das kostet mich genug Zeit.
            Also, was ist mit dem Kaffee?

            Thomas Braun 1 Reply Last reply Reply Quote 0
            • Thomas Braun
              Thomas Braun Most Active @nobbiman last edited by Thomas Braun

              @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.

              N 1 Reply Last reply Reply Quote 0
              • N
                nobbiman @Thomas Braun last edited by

                @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?

                1 Reply Last reply Reply Quote 0
                • werner2000x
                  werner2000x last edited by

                  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.
                  
                  
                  Thomas Braun 1 Reply Last reply Reply Quote 0
                  • Thomas Braun
                    Thomas Braun Most Active @werner2000x last edited by

                    @werner2000x

                    Richte das influxdb-Repo neu ein:

                    https://forum.iobroker.net/topic/59231/phantastische-repositories-und-wo-sie-zu-finden-sind

                    werner2000x 1 Reply Last reply Reply Quote 0
                    • werner2000x
                      werner2000x @Thomas Braun last edited by

                      @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)).
                      
                      
                      Thomas Braun 1 Reply Last reply Reply Quote 0
                      • Thomas Braun
                        Thomas Braun Most Active @werner2000x last edited by

                        @werner2000x

                        Und warum machst du es nicht wie es in meinem Link drin steht?
                        Da ist es nämlich richtig, ohne apt-key.

                        werner2000x 1 Reply Last reply Reply Quote 0
                        • werner2000x
                          werner2000x @Thomas Braun last edited by

                          @thomas-braun Ja, Danke.
                          Ich bekomme mit dem Befehl:
                          sudo service influxdb Status

                          influxdb: 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 1 Reply Last reply Reply Quote 0
                          • Thomas Braun
                            Thomas Braun Most Active @werner2000x last edited by

                            @werner2000x

                            Das heißt ja auch auf modernen Systemen

                            systemctl status influxdb.service
                            
                            werner2000x 1 Reply Last reply Reply Quote 1
                            • werner2000x
                              werner2000x @Thomas Braun last edited by Homoran

                              @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!

                              Thomas Braun 1 Reply Last reply Reply Quote 0
                              • Thomas Braun
                                Thomas Braun Most Active @werner2000x last edited by

                                @werner2000x

                                Grafana und influxdb verwende ich nicht. Kann ich also nix genaues zu sagen.

                                1 Reply Last reply Reply Quote 0
                                • First post
                                  Last post

                                Support us

                                ioBroker
                                Community Adapters
                                Donate

                                514
                                Online

                                31.7k
                                Users

                                79.7k
                                Topics

                                1.3m
                                Posts

                                4
                                33
                                3943
                                Loading More Posts
                                • Oldest to Newest
                                • Newest to Oldest
                                • Most Votes
                                Reply
                                • Reply as topic
                                Log in to reply
                                Community
                                Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
                                The ioBroker Community 2014-2023
                                logo