Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. [ Geklärt ] Problem bei Influx Installation

    NEWS

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

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    [ Geklärt ] Problem bei Influx Installation

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

      @crunchip
      Wo ist oben?
      Das sind die Angaben zu meinem System

      pi@raspberrypi:~ $ cat /proc/version
      Linux version 5.4.79-v7l+ (dom@buildbot) (gcc version 8.4.0 (Ubuntu/Linaro 8.4.0-3ubuntu1)) #1373 SMP Mon Nov 23 13:27:40                  GMT 2020
      pi@raspberrypi:~ $ uname -a
      Linux raspberrypi 5.4.79-v7l+ #1373 SMP Mon Nov 23 13:27:40 GMT 2020 armv7l GNU/Linux
      pi@raspberrypi:~ $ cat /etc/debian_version
      10.7
      pi@raspberrypi:~ $
      
      
      crunchip 1 Reply Last reply Reply Quote 0
      • crunchip
        crunchip Forum Testing Most Active @Altersrentner last edited by crunchip

        @Altersrentner sagte in Problem bei Influx Installation:

        Wo ist oben?

        https://forum.iobroker.net/post/541116
        ah moment stop, Ubuntu
        @Altersrentner sorry, war grad abgelenkt, hatte kleinen zwischenfall,
        also debian läuft?, dann war ich doch richtig, mit der Anleitung

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

          @crunchip
          Zeile 2 ?

          pi@raspberrypi:~ $ wget -qO- https://repos.influxdata.com/influxdb.key | sudo apt-key add -
          OK
          pi@raspberrypi:~ $ source /etc/lsb-release
          -bash: /etc/lsb-release: No such file or directory
          pi@raspberrypi:~ $ sudo source /etc/lsb-release
          sudo: source: command not found
          pi@raspberrypi:~ $ source /etc/lsb-release
          -bash: /etc/lsb-release: No such file or directory
          pi@raspberrypi:~ $
          
          
          crunchip 1 Reply Last reply Reply Quote 0
          • crunchip
            crunchip Forum Testing Most Active @Altersrentner last edited by

            @Altersrentner das sind doch ganze Befehle, guck mal selbst, auf der ganz normalen offiziellen Seite

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

              @crunchip

              ● influxdb.service - InfluxDB is an open-source, distributed, time series database
                 Loaded: loaded (/lib/systemd/system/influxdb.service; enabled; vendor preset: enabled)
                 Active: active (running) since Sun 2020-12-20 20:05:48 CET; 20s ago
                   Docs: https://docs.influxdata.com/influxdb/
               Main PID: 4285 (influxd)
                  Tasks: 14 (limit: 4915)
                 CGroup: /system.slice/influxdb.service
                         └─4285 /usr/bin/influxd -config /etc/influxdb/influxdb.conf
              
              Dec 20 20:05:49 raspberrypi influxd[4285]: ts=2020-12-20T19:05:49.999473Z lvl=info msg="Starting continuous query service" log_id=0RCOY820000 service
              Dec 20 20:05:49 raspberrypi influxd[4285]: ts=2020-12-20T19:05:49.999496Z lvl=info msg="Starting HTTP service" log_id=0RCOY820000 service=httpd authe
              Dec 20 20:05:49 raspberrypi influxd[4285]: ts=2020-12-20T19:05:49.999517Z lvl=info msg="opened HTTP access log" log_id=0RCOY820000 service=httpd path
              Dec 20 20:05:49 raspberrypi influxd[4285]: ts=2020-12-20T19:05:49.999520Z lvl=info msg="Storing statistics" log_id=0RCOY820000 service=monitor db_ins
              Dec 20 20:05:50 raspberrypi influxd[4285]: ts=2020-12-20T19:05:49.999745Z lvl=info msg="Listening on HTTP" log_id=0RCOY820000 service=httpd addr=[::]
              Dec 20 20:05:50 raspberrypi influxd[4285]: ts=2020-12-20T19:05:49.999809Z lvl=info msg="Starting retention policy enforcement service" log_id=0RCOY82
              Dec 20 20:05:50 raspberrypi influxd[4285]: ts=2020-12-20T19:05:50.000038Z lvl=info msg="Listening for signals" log_id=0RCOY820000
              Dec 20 20:05:50 raspberrypi influxd[4285]: ts=2020-12-20T19:05:50.004535Z lvl=info msg="Sending usage statistics to usage.influxdata.com" log_id=0RCO
              Dec 20 20:05:59 raspberrypi influxd[4285]: ts=2020-12-20T19:05:59.234954Z lvl=info msg="Executing query" log_id=0RCOY820000 service=query query="SHOW
              Dec 20 20:05:59 raspberrypi influxd[4285]: [httpd] 192.168.178.41 - MEB [20/Dec/2020:20:05:59 +0100] "GET /query?db=iobroker&p=%5BREDACTED%5D&precisi
              ~
              ~
              ~
              ~
              ~
              ~
              ~
              ~
              ~
              ~
              lines 1-19/19 (END)
              
              ``
              Sieht das gut aus?
              crunchip 1 Reply Last reply Reply Quote 0
              • crunchip
                crunchip Forum Testing Most Active @Altersrentner last edited by

                @Altersrentner 👍

                A 2 Replies Last reply Reply Quote 1
                • A
                  Altersrentner @crunchip last edited by

                  @crunchip
                  Ich bedanke 👍 👍 👍 mich für Deine unendlichen Bemühungen
                  mir zu helfen.
                  Für heute ist Schluss.
                  Morgen ist auch noch ein Tag
                  Einen schönen Abend
                  wünscht Michael

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

                    @crunchip Hallo,
                    Der Ärger geht weiter.
                    Heute Morgen war noch alles im grünen Bereich.
                    Influydb lief, und der influxdb.0 Adapter war auch grün.
                    Dann hatte ich grafana installiert.
                    Konnte über Port 3000 zugreifen.
                    Bei der Dateneingabe verlief alles gut nur bei Host war
                    localhost vorgegeben. konnte auch nicht in IP geändert werden.
                    Nach Sicherung kam die Meldung keine Verbindung möglich.
                    Darauf habe ich in der influxdb.0 die iP in localhost geändert,
                    in derHoffnung eine Verbindung zu bekommen.
                    Leider klappte das nicht.
                    Nach zurücksetzen localhost in IP bleibt die Ampel jetzt auf gelb.
                    Habe dann grafana und den influxdb.0 Adapter deinstalliert.
                    Adapter neu installiert, daten eingegeben, gestartet und die Ampel bleibt gelb.
                    Im Terminal influxdb überprüft. alles ok, läuft.
                    Das ist die Fehlermeldung aus dem log.

                    influxdb.0	2020-12-21 11:05:35.664	error	(1453) Error: authorization failed
                    influxdb.0	2020-12-21 11:05:35.659	info	(1453) Connecting http://192.168.178.41:8086 ...
                    
                    

                    Juser und Paswort im Adapter sind die, In influxdb eingegebenen.
                    Hast Du noch eine Idee?
                    Gruß Michael

                    crunchip 1 Reply Last reply Reply Quote 0
                    • crunchip
                      crunchip Forum Testing Most Active @Altersrentner last edited by

                      @Altersrentner auf die schnelle nicht, da ich unterwegs bin. Möglich, das sich ein Leerzeichen oder so mit eingeschlichen hat?

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

                        @crunchip Hallo,
                        Ich muss mich doch noch mal um Hilfe bitten.
                        Nicht das jemand denkt ich bin zu düsig! aber es geling mir nicht
                        Influxdb zu konfigurieren.
                        Mehrmaliges löschen und wieder installieren hat nichts gebracht.
                        Ich komme immer bis zu diesem Punkt:

                        pi@raspberrypi:~ $ wget -qO- https://repos.influxdata.com/influxdb.key | sudo apt-key add -
                        OK
                        pi@raspberrypi:~ $ source /etc/lsb-release
                        -bash: /etc/lsb-release: No such file or directory
                        pi@raspberrypi:~ $ sudo source /etc/lsb-release
                        sudo: source: command not found
                        pi@raspberrypi:~ $ source /etc/os-release
                        pi@raspberrypi:~ $ echo "deb https://repos.influxdata.com/${DISTRIB_ID,,} ${DISTRIB_CODENAME} stable" | sudo tee /etc/apt/sources.list.d/influxdb.list
                        deb https://repos.influxdata.com/  stable
                        pi@raspberrypi:~ $ sudo apt update
                        E: Malformed entry 1 in list file /etc/apt/sources.list.d/influxdb.list (Component)
                        E: The list of sources could not be read.
                        pi@raspberrypi:~ $ echo "deb https://repos.influxdata.com/debian $(lsb_release -cs) stable" | sudo tee /etc/apt/sources.list.d/influxdb.list
                        deb https://repos.influxdata.com/debian buster stable
                        pi@raspberrypi:~ $ sudo apt update
                        Get:1 http://raspbian.raspberrypi.org/raspbian buster InRelease [15.0 kB]
                        Hit:2 http://archive.raspberrypi.org/debian buster InRelease
                        Hit:3 https://deb.nodesource.com/node_10.x buster InRelease
                        Hit:4 https://repos.influxdata.com/debian buster InRelease
                        Fetched 15.0 kB in 2s (9,888 B/s)
                        Reading package lists... Done
                        Building dependency tree
                        Reading state information... Done
                        All packages are up to date.
                        pi@raspberrypi:~ $ sudo apt install influxdb
                        Reading package lists... Done
                        Building dependency tree
                        Reading state information... Done
                        The following NEW packages will be installed:
                          influxdb
                        0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
                        Need to get 0 B/60.0 MB of archives.
                        After this operation, 153 MB of additional disk space will be used.
                        Selecting previously unselected package influxdb.
                        (Reading database ... 63673 files and directories currently installed.)
                        Preparing to unpack .../influxdb_1.8.3-1_armhf.deb ...
                        Unpacking influxdb (1.8.3-1) ...
                        Setting up influxdb (1.8.3-1) ...
                        Processing triggers for man-db (2.8.5-2) ...
                        pi@raspberrypi:~ $ sudo systemctl status influxdb.service
                        ● influxdb.service - InfluxDB is an open-source, distributed, time series database
                           Loaded: loaded (/lib/systemd/system/influxdb.service; enabled; vendor preset: enabled)
                           Active: active (running) since Tue 2020-12-22 11:44:21 CET; 3h 12min ago
                             Docs: https://docs.influxdata.com/influxdb/
                         Main PID: 5478 (influxd)
                            Tasks: 14 (limit: 4915)
                           CGroup: /system.slice/influxdb.service
                                   └─5478 /usr/bin/influxd -config /etc/influxdb/influxdb.conf
                        
                        Dec 22 14:55:30 raspberrypi influxd[5478]: ts=2020-12-22T13:55:30.303321Z lvl=info msg="failed to store statistic
                        Dec 22 14:55:40 raspberrypi influxd[5478]: [httpd] 127.0.0.1 - admin [22/Dec/2020:14:55:40 +0100] "GET /query?db=
                        Dec 22 14:55:40 raspberrypi influxd[5478]: ts=2020-12-22T13:55:40.504680Z lvl=info msg="failed to store statistic
                        Dec 22 14:55:50 raspberrypi influxd[5478]: [httpd] 127.0.0.1 - admin [22/Dec/2020:14:55:50 +0100] "GET /query?db=
                        Dec 22 14:56:00 raspberrypi influxd[5478]: [httpd] 127.0.0.1 - admin [22/Dec/2020:14:56:00 +0100] "GET /query?db=
                        Dec 22 14:56:10 raspberrypi influxd[5478]: [httpd] 127.0.0.1 - admin [22/Dec/2020:14:56:10 +0100] "GET /query?db=
                        Dec 22 14:56:21 raspberrypi influxd[5478]: [httpd] 127.0.0.1 - admin [22/Dec/2020:14:56:20 +0100] "GET /query?db=
                        Dec 22 14:56:31 raspberrypi influxd[5478]: [httpd] 127.0.0.1 - admin [22/Dec/2020:14:56:31 +0100] "GET /query?db=
                        Dec 22 14:56:41 raspberrypi influxd[5478]: [httpd] 127.0.0.1 - admin [22/Dec/2020:14:56:41 +0100] "GET /query?db=
                        Dec 22 14:56:51 raspberrypi influxd[5478]: [httpd] 127.0.0.1 - admin [22/Dec/2020:14:56:51 +0100] "GET /query?db=
                        pi@raspberrypi:~ $ sudo systemctl unmask influxdb.service
                        pi@raspberrypi:~ $ sudo systemctl start influxdb
                        pi@raspberrypi:~ $ sudo systemctl enable influxdb.service
                        pi@raspberrypi:~ $
                        pi@raspberrypi:~ $
                        pi@raspberrypi:~ $ sudo influx
                        Connected to http://localhost:8086 version 1.8.3
                        InfluxDB shell version: 1.8.3
                        > CREATE DATABASE "iobroker"
                        ERR: unable to parse authentication credentials
                        Warning: It is possible this error is due to not setting a database.
                        Please set a database with the command "use <database>".
                        >
                        
                        

                        Alles was danach versucht wird einzugeben wird mit der
                        letzten Fehlermeldung beantwortet
                        Die influxdb.0 Ampel ist gelb.
                        Dortige Eingaben sind wie gehabt
                        Auch USE "iobroker" bringt das selbe Ergebnis.

                        pi@raspberrypi:~ $ sudo influx
                        Connected to http://localhost:8086 version 1.8.3
                        InfluxDB shell version: 1.8.3
                        > CREATE DATABASE "iobroker"
                        ERR: unable to parse authentication credentials
                        Warning: It is possible this error is due to not setting a database.
                        Please set a database with the command "use <database>".
                        > auth
                        username: admin
                        password:
                        > show database
                        ERR: authorization failed
                        Warning: It is possible this error is due to not setting a database.
                        Please set a database with the command "use <database>".
                        > show databases
                        ERR: authorization failed
                        Warning: It is possible this error is due to not setting a database.
                        Please set a database with the command "use <database>".
                        >
                        
                        

                        Gestern habe ich eine andere Speicherkarte neu aufgesetzt.
                        Rasphian buster und iobroker installiert und
                        dort hat die Installation von influxdb und Grafana auf Anhieb geklappt.

                        Ich vermute, das es in einer Konfigurationsdatei Einträge gibt,
                        die diese Fehlermeldungen herforrufen.
                        Freundliche Grüße
                        Michael

                        crunchip 2 Replies Last reply Reply Quote 0
                        • crunchip
                          crunchip Forum Testing Most Active @Altersrentner last edited by crunchip

                          @Altersrentner du kannst influx löschen incl aller Abhängigkeiten und Konfigurationseinstellungen, mittels

                          sudo apt-get autoremove --purge influxdb
                          

                          Anschliessend kannst du sauber neu installieren

                          Und wenn du schon beim installieren bist, warum nicht gleich die neuste Version?
                          https://portal.influxdata.com/downloads/

                          Influxdb v 2.0.3

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

                            @crunchip sagte in Problem bei Influx Installation:

                            Und wenn du schon beim installieren bist, warum nicht gleich die neuste Version?

                            Weil's da keinen passenden build für 32bit Raspian OS gibt. Alles arm64.

                            A crunchip 2 Replies Last reply Reply Quote 1
                            • A
                              Altersrentner @Thomas Braun last edited by

                              @Thomas-Braun Hallo,
                              So habe ich das auch gesehen!??
                              Gruß Michael

                              1 Reply Last reply Reply Quote 0
                              • crunchip
                                crunchip Forum Testing Most Active @Thomas Braun last edited by

                                @Thomas-Braun stimmt, hatte ich nicht dran gedacht🤦 geht ja um nen raspberry

                                1 Reply Last reply Reply Quote 0
                                • crunchip
                                  crunchip Forum Testing Most Active @Altersrentner last edited by

                                  @Altersrentner wenn ich mich nicht Irre, kannst du das create database.... Weglassen auf der Konsole.
                                  Die wird nämlich automatisch angelegt, wenn du in deiner Influx Instanz, die Werte/Einstellungen gemacht hast und anschliessend startest. Das denke ich, behebt auch deinen Fehler

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

                                    @crunchip Hallo,
                                    😊 😊 😊 Es hat geklappt.
                                    Folgende Situation war gegeben,
                                    trotz mehrmaligem löschen der influxdb war aber noch die
                                    alte config vorhanden und damit die vormals kommentierten Zeilen.
                                    Ich war immer davon ausgegangen, das die config auch entfernt wurde.
                                    Habe dann alle Zeilen bis auf bind.... auskommentiert und damit hatten
                                    sich login und database selbst unter influxdb eingetragen.
                                    Das brachte dann SHOW..... ans Licht. ist zwar etwas komisch,
                                    denn in den Anleitungen wird ja immer geschrieben CREATE......
                                    Na ja - alles gut!! für heute reicht`s
                                    Ich bedanke mich nochmals für Eure Unterstützung!
                                    Freundliche Grüße und besinnliche Feiertage
                                    wünscht Michael

                                    crunchip 1 Reply Last reply Reply Quote 1
                                    • crunchip
                                      crunchip Forum Testing Most Active @Altersrentner last edited by

                                      @Altersrentner sagte in [ Geklärt ] Problem bei Influx Installation:

                                      denn in den Anleitungen wird ja immer geschrieben CREATE......

                                      Ja, man geht bei der offiziellen Anleitung auch nicht davon aus, das iobroker genutzt wird😉

                                      Nein, die config bleibt erhalten, daher hatte ich den Befehl oben genannt, damit alles "Restlos" gelöscht wird und du von Grundauf neu installeren kannst.

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

                                        @Altersrentner
                                        crunchip 👍 👍 👍

                                        crunchip 1 Reply Last reply Reply Quote 0
                                        • crunchip
                                          crunchip Forum Testing Most Active @Altersrentner last edited by

                                          @Altersrentner ein Tipp vorne weg, beim loggen eines Datenpunktes.
                                          Beim Auswahlmenü "Speichern unter" nicht Automatic auswählen, da es je nach Datenpunkt zu Problemen führen kann, wenn der zu loggende Datentyp z.b. vom Typ "boolean" oder "String" ist. Ein nachträgliches Ändern führt dazu, das keine Werte mehr in Grafana angezeigt werden und dieser dann erst aus der Datenbank gelöscht werden muss. Dementsprechend also gleich beim aktivieren den "richtigen Typ auswählen.
                                          44c05bc0-947c-4f44-ba05-80221d3454ba-image.png

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

                                            @crunchip Hallo,
                                            Danke für Deinen Hinweis!!!!
                                            Ich kämpfe immer noch😧
                                            Möchte mit mi Temperaturen und Türmagneten anfangen.
                                            Natürlich steht alles auf Autom.
                                            Temperaturen sind ja Zahlen und Schalter Logikwerte.
                                            Ich habe aber nur die von Dir gezeigten Parameter zur Auswahl.
                                            Was benutze ich wo?
                                            Danke

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

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate
                                            FAQ Cloud / IOT
                                            HowTo: Node.js-Update
                                            HowTo: Backup/Restore
                                            Downloads
                                            BLOG

                                            1.0k
                                            Online

                                            31.7k
                                            Users

                                            79.7k
                                            Topics

                                            1.3m
                                            Posts

                                            influxdb
                                            12
                                            178
                                            27959
                                            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