Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Off Topic
    4. InfluxDB
    5. Benötige Hilfe bei Influx DB

    NEWS

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

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    Benötige Hilfe bei Influx DB

    This topic has been deleted. Only users with topic management privileges can see it.
    • A
      Altersrentner @Homoran last edited by

      @homoran Danke

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

        @altersrentner

        wget -q https://repos.influxdata.com/influxdb.key
        echo '23a1c8836f0afc5ed24e0486339d7cc8f6790b83886c4c96995b88a061c5bb5d influxdb.key' | sha256sum -c && cat influxdb.key | gpg --dearmor | sudo tee /etc/apt/trusted.gpg.d/influxdb.gpg > /dev/null
        echo 'deb [signed-by=/etc/apt/trusted.gpg.d/influxdb.gpg] https://repos.influxdata.com/debian stable main' | sudo tee /etc/apt/sources.list.d/influxdata.list
        
        sudo apt update && sudo apt install influxdb2
        
        A 1 Reply Last reply Reply Quote 0
        • A
          Altersrentner @Thomas Braun last edited by

          @thomas-braun
          Danke für Deine Hilfe.

          pi@raspberrypiioBroker:~ $ wget -q https://repos.influxdata.com/influxdb.key
          pi@raspberrypiioBroker:~ $ echo '23a1c8836f0afc5ed24e0486339d7cc8f6790b83886c4c96995b88a061c5bb5d influxdb.key' | sha256sum -c && cat influxdb.key | gpg --dearmor | sudo tee /etc/apt/trusted.gpg.d/influxdb.gpg > /dev/null
          influxdb.key: OK
          pi@raspberrypiioBroker:~ $ echo 'deb [signed-by=/etc/apt/trusted.gpg.d/influxdb.gpg] https://repos.influxdata.com/debian stable main' | sudo tee /etc/apt/sources.list.d/influxdata.list
          deb [signed-by=/etc/apt/trusted.gpg.d/influxdb.gpg] https://repos.influxdata.com/debian stable main
          pi@raspberrypiioBroker:~ $ sudo apt update && sudo apt install influxdb2
          Hit:1 http://security.debian.org/debian-security bullseye-security InRelease
          Hit:2 http://deb.debian.org/debian bullseye InRelease
          Get:3 http://deb.debian.org/debian bullseye-updates InRelease [44.1 kB]
          Hit:4 http://archive.raspberrypi.org/debian bullseye InRelease
          Get:5 https://repos.influxdata.com/debian stable InRelease [4,645 B]
          Hit:6 https://deb.nodesource.com/node_16.x bullseye InRelease
          Hit:7 https://packages.grafana.com/oss/deb stable InRelease
          Get:8 https://repos.influxdata.com/debian stable/main armhf Packages [779 B]
          Get:9 https://repos.influxdata.com/debian stable/main arm64 Packages [1,260 B]
          Fetched 50.8 kB in 2s (26.0 kB/s)
          Reading package lists... Done
          Building dependency tree... Done
          Reading state information... Done
          All packages are up to date.
          Reading package lists... Done
          Building dependency tree... Done
          Reading state information... Done
          The following additional packages will be installed:
            influxdb2-cli
          The following NEW packages will be installed:
            influxdb2 influxdb2-cli
          0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
          Need to get 94.3 MB of archives.
          After this operation, 160 MB of additional disk space will be used.
          Do you want to continue? [Y/n] y
          Get:1 https://repos.influxdata.com/debian stable/main arm64 influxdb2 arm64 2.3.0-1 [89.4 MB]
          Get:2 https://repos.influxdata.com/debian stable/main arm64 influxdb2-cli arm64 2.3.0 [4,953 kB]
          Fetched 94.3 MB in 17s (5,603 kB/s)
          Selecting previously unselected package influxdb2.
          (Reading database ... 45845 files and directories currently installed.)
          Preparing to unpack .../influxdb2_2.3.0-1_arm64.deb ...
          Unpacking influxdb2 (2.3.0-1) ...
          Selecting previously unselected package influxdb2-cli.
          Preparing to unpack .../influxdb2-cli_2.3.0_arm64.deb ...
          Unpacking influxdb2-cli (2.3.0) ...
          Setting up influxdb2 (2.3.0-1) ...
          Created symlink /etc/systemd/system/influxd.service → /lib/systemd/system/influxdb.service.
          Created symlink /etc/systemd/system/multi-user.target.wants/influxdb.service → /lib/systemd/system/influxdb.service.
          Setting up influxdb2-cli (2.3.0) ...
          pi@raspberrypiioBroker:~ $ sudo service influxdb2 start
          Failed to start influxdb2.service: Unit influxdb2.service not found.
          pi@raspberrypiioBroker:~ $ sudo service influxdb start
          pi@raspberrypiioBroker:~ $ sudo influx
          NAME:
             influx - Influx Client
          
          USAGE:
             influx [command]
          
          COMMANDS:
             version              Print the influx CLI version
             write                Write points to InfluxDB
             bucket               Bucket management commands
             completion           Generates completion scripts
             query                Execute a Flux query
             config               Config management commands
             org, organization    Organization management commands
             delete               Delete points from InfluxDB
             user                 User management commands
             task                 Task management commands
             telegrafs            List Telegraf configuration(s). Subcommands manage Telegraf configurations.
             dashboards           List Dashboard(s).
             export               Export existing resources as a template
             secret               Secret management commands
             v1                   InfluxDB v1 management commands
             auth, authorization  Authorization management commands
             apply                Apply a template to manage resources
             stacks               List stack(s) and associated templates. Subcommands manage stacks.
             template             Summarize the provided template
             bucket-schema        Bucket schema management commands
             ping                 Check the InfluxDB /health endpoint
             setup                Setup instance with initial user, org, bucket
             backup               Backup database
             restore              Restores a backup directory to InfluxDB
             remote               Remote connection management commands
             replication          Replication stream management commands
             server-config        Display server config
             help, h              Shows a list of commands or help for one command
          
          GLOBAL OPTIONS:
             --help, -h  show help
          pi@raspberrypiioBroker:~ $
          
          

          Muss ich jetzt noch Rechte einfügen? Etwa so?

          CREATE USER "admin" WITH PASSWORD '<adminpassword>' WITH ALL PRIVILEGES
          CREATE USER "user" WITH PASSWORD '<userpassword>'
          CREATE DATABASE "iobroker"
          GRANT ALL ON "iobroker" TO "user"
          
          Thomas Braun R 2 Replies Last reply Reply Quote 0
          • Thomas Braun
            Thomas Braun Most Active @Altersrentner last edited by

            @altersrentner

            Ich setzte kein influx ein. Wie das zu konfigurieren ist kann ich dir nicht sagen.

            1 Reply Last reply Reply Quote 0
            • DJMarc75
              DJMarc75 @Homoran last edited by DJMarc75

              @homoran sagte in Benötige Hilfe bei Influx DB:

              wie hast du denn Grafana gesichert?

              Leider garnicht !

              @altersrentner sagte in Benötige Hilfe bei Influx DB:

              Muss ich jetzt noch Rechte einfügen?

              Mach langsam damit.
              Welche Anleitung hast Du genutzt ??

              EDIT:
              Du hast hoffentlich jetzt nicht influxdb2 installiert ???????????????????

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

                @djmarc75

                apt install influxdb2
                

                haut influxdb2 auf die Kiste.

                Homoran DJMarc75 2 Replies Last reply Reply Quote 0
                • Homoran
                  Homoran Global Moderator Administrators @Thomas Braun last edited by

                  @thomas-braun sagte in Benötige Hilfe bei Influx DB:

                  @djmarc75

                  apt install influxdb2
                  

                  haut influxdb2 auf die Kiste.

                  aber nur mit 64bit

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

                    @homoran

                    Mit 32bit kann der nicht installiert werden, weil der dann gar nicht in der Auslage liegt.

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

                      @thomas-braun sagte in Benötige Hilfe bei Influx DB:

                      haut influxdb2 auf die Kiste.

                      Das wollen wir eigentlich vermeiden weil ... siehe gestern 😉

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

                        @djmarc75

                        Altersrentner kam mit influxdb2 an. Ich hab nur das Repo gerade gerückt. Aus der Quelle kann man ja beides schöpfen. Was dann da installiert und benötigt wird muss jeder selber wissen.

                        DJMarc75 1 Reply Last reply Reply Quote 0
                        • Homoran
                          Homoran Global Moderator Administrators @Altersrentner last edited by

                          @thomas-braun sagte in Benötige Hilfe bei Influx DB:

                          weil der dann gar nicht in der Auslage liegt.

                          etwa so?

                          @altersrentner sagte in Benötige Hilfe bei Influx DB:

                          Unable to locate package influxdb2

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

                            @thomas-braun sagte in Benötige Hilfe bei Influx DB:

                            Altersrentner kam mit influxdb2 an

                            Jetzt hab ichs auch gesehen.... dann wird das hier wieder ein langer Thread 😩

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

                              @homoran sagte in Benötige Hilfe bei Influx DB:

                              etwa so?

                              Nein, nicht so. Das lag ja am nicht korrekt eingebundenen Repo. Da hätte man auch kein influx1 drüber bekommen.

                              1 Reply Last reply Reply Quote 1
                              • A
                                Altersrentner @DJMarc75 last edited by Altersrentner

                                @djmarc75 sagte in Benötige Hilfe bei Influx DB:

                                Jetzt hab ichs auch gesehen.... dann wird das hier wieder ein langer Thread

                                Da hast Du aber eine schlechte Meinung von mir😧

                                Stand der Dinge aktuell:
                                IoBroker läuft
                                InfluxDB läuft
                                Grafana läuft

                                Soweit so gut
                                Es fehlt nur noch die Verbindung von Grafana mit der InfluxDB

                                DJMarc75 1 Reply Last reply Reply Quote 0
                                • DJMarc75
                                  DJMarc75 @Altersrentner last edited by

                                  @altersrentner sagte in Benötige Hilfe bei Influx DB:

                                  Da hast Du aber eine schlechte Meinung von mir

                                  Quatsch.
                                  Aber jetzt zum Thema. Welche influxdb hast Du denn nun installiert ? DIe 1er oder 2er?
                                  Und welche hattest Du vorher ?

                                  A 2 Replies Last reply Reply Quote 0
                                  • A
                                    Altersrentner @DJMarc75 last edited by

                                    @djmarc75 sagte in Benötige Hilfe bei Influx DB:

                                    Aber jetzt zum Thema. Welche influxdb hast Du denn nun installiert ? DIe 1er oder 2er?

                                    Ich denke 1

                                    DJMarc75 1 Reply Last reply Reply Quote 0
                                    • DJMarc75
                                      DJMarc75 @Altersrentner last edited by

                                      @altersrentner sagte in Benötige Hilfe bei Influx DB:

                                      Ich denke 1

                                      influxd version
                                      
                                      A 1 Reply Last reply Reply Quote 0
                                      • A
                                        Altersrentner @DJMarc75 last edited by

                                        @djmarc75
                                        In der influxDB muss unter Settings Benutzer und Passwort eingestellt werden.
                                        Dort stehen jetzt noch durch das eingespielte Backup die alten Daten drin.
                                        Das Passwort habe ich aber vergessen.
                                        Da es keine Sicherung von Grafana gibt, muss ich dort unter Datenquellen/Einstellungen/influxDB
                                        ganz unten:
                                        Datenbannk: iobroker
                                        Benutzer: admin
                                        Passwort:?
                                        eingeben.
                                        Das ist doch das Passwort aus der influxDB, oder?
                                        Wenn ja, kann ich ein neues Passwort vergeben?

                                        DJMarc75 1 Reply Last reply Reply Quote 0
                                        • A
                                          Altersrentner @DJMarc75 last edited by

                                          @djmarc75 sagte in Benötige Hilfe bei Influx DB:

                                          influxd version

                                          pi@raspberrypiioBroker:~ $ influxd version
                                          InfluxDB v1.8.10 (git: 1.8 688e697c51fd)
                                          pi@raspberrypiioBroker:~ $
                                          
                                          
                                          1 Reply Last reply Reply Quote 0
                                          • DJMarc75
                                            DJMarc75 @Altersrentner last edited by

                                            @altersrentner sagte in Benötige Hilfe bei Influx DB:

                                            Wenn ja, kann ich ein neues Passwort vergeben?

                                            Hast Du denn gestern oder heute einen Benutzer admin angelegt ?

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

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            806
                                            Online

                                            31.7k
                                            Users

                                            79.7k
                                            Topics

                                            1.3m
                                            Posts

                                            7
                                            109
                                            6755
                                            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