Skip to content
  • Home
  • Aktuell
  • Tags
  • 0 Ungelesen 0
  • Kategorien
  • Unreplied
  • Beliebt
  • GitHub
  • Docu
  • Hilfe
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Standard: (Kein Skin)
  • Kein Skin
Einklappen
ioBroker Logo

Community Forum

  1. ioBroker Community Home
  2. Deutsch
  3. ioBroker Allgemein
  4. [ Geklärt ] Problem bei Influx Installation

NEWS

  • UPDATE 31.10.: Amazon Alexa - ioBroker Skill läuft aus ?
    apollon77A
    apollon77
    48
    3
    8.3k

  • Monatsrückblick – September 2025
    BluefoxB
    Bluefox
    13
    1
    2.0k

  • Neues Video "KI im Smart Home" - ioBroker plus n8n
    BluefoxB
    Bluefox
    15
    1
    2.4k

[ Geklärt ] Problem bei Influx Installation

Geplant Angeheftet Gesperrt Verschoben ioBroker Allgemein
influxdb
178 Beiträge 12 Kommentatoren 34.0k Aufrufe 11 Watching
  • Älteste zuerst
  • Neuste zuerst
  • Meiste Stimmen
Antworten
  • In einem neuen Thema antworten
Anmelden zum Antworten
Dieses Thema wurde gelöscht. Nur Nutzer mit entsprechenden Rechten können es sehen.
  • A Altersrentner

    @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

    crunchipC Abwesend
    crunchipC Abwesend
    crunchip
    Forum Testing Most Active
    schrieb am zuletzt editiert von
    #55

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

    umgestiegen von Proxmox auf Unraid

    A 1 Antwort Letzte Antwort
    0
    • crunchipC crunchip

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

      A Offline
      A Offline
      Altersrentner
      schrieb am zuletzt editiert von Altersrentner
      #56

      @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

      crunchipC 2 Antworten Letzte Antwort
      0
      • A 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

        crunchipC Abwesend
        crunchipC Abwesend
        crunchip
        Forum Testing Most Active
        schrieb am zuletzt editiert von crunchip
        #57

        @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

        umgestiegen von Proxmox auf Unraid

        Thomas BraunT 1 Antwort Letzte Antwort
        0
        • crunchipC 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 BraunT Online
          Thomas BraunT Online
          Thomas Braun
          Most Active
          schrieb am zuletzt editiert von
          #58

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

          Linux-Werkzeugkasten:
          https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
          NodeJS Fixer Skript:
          https://forum.iobroker.net/topic/68035/iob-node-fix-skript
          iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

          A crunchipC 2 Antworten Letzte Antwort
          1
          • Thomas BraunT Thomas Braun

            @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 Offline
            A Offline
            Altersrentner
            schrieb am zuletzt editiert von
            #59

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

            1 Antwort Letzte Antwort
            0
            • Thomas BraunT Thomas Braun

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

              crunchipC Abwesend
              crunchipC Abwesend
              crunchip
              Forum Testing Most Active
              schrieb am zuletzt editiert von
              #60

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

              umgestiegen von Proxmox auf Unraid

              1 Antwort Letzte Antwort
              0
              • A 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

                crunchipC Abwesend
                crunchipC Abwesend
                crunchip
                Forum Testing Most Active
                schrieb am zuletzt editiert von
                #61

                @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

                umgestiegen von Proxmox auf Unraid

                A 1 Antwort Letzte Antwort
                0
                • crunchipC crunchip

                  @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 Offline
                  A Offline
                  Altersrentner
                  schrieb am zuletzt editiert von
                  #62

                  @crunchip Hallo,
                  :blush: :blush: :blush: 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

                  crunchipC 1 Antwort Letzte Antwort
                  1
                  • A Altersrentner

                    @crunchip Hallo,
                    :blush: :blush: :blush: 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

                    crunchipC Abwesend
                    crunchipC Abwesend
                    crunchip
                    Forum Testing Most Active
                    schrieb am zuletzt editiert von
                    #63

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

                    umgestiegen von Proxmox auf Unraid

                    1 Antwort Letzte Antwort
                    0
                    • A Altersrentner

                      Guten Morgen,
                      Ich möchte meine Graphen zukünftig mittels Grafana darstellen.
                      Dafür benötige ich die InfluxDB.
                      Dazu habe ich mir sehr viele Videos angesehen und es sollte von der
                      Sache her kein Problem sein, Aber der teufel steckt im Detail

                      Processing triggers for man-db (2.8.5-2) ...
                      pi@raspberrypi:~ $ sudo service influxdb start
                      pi@raspberrypi:~ $ sudo influx
                      Failed to connect to http://localhost:8086: Get http://localhost:8086/ping: dial       tcp [::1]:8086: connect: connection refused
                      Please check your connection settings and ensure 'influxd' is running.
                      pi@raspberrypi:~ $
                      
                      

                      Heist:
                      sudo influx Fehler beim Herstellen einer Verbindung zu http: // localhost: 8086: Abrufen von http: // localhost: 8086 / ping: Wählen von TCP [:: 1]: 8086: Verbinden: Verbindung abgelehnt
                      Bitte überprüfen Sie Ihre Verbindungseinstellungen und stellen Sie sicher, dass 'influxd' ausgeführt wird.

                      Wer kann mir bitte helfen das Problem zu lösen.
                      Freundliche Grüße
                      Michael

                      A Offline
                      A Offline
                      Altersrentner
                      schrieb am zuletzt editiert von Altersrentner
                      #64

                      @Altersrentner
                      crunchip :+1: :+1: :+1:

                      crunchipC 1 Antwort Letzte Antwort
                      0
                      • A Altersrentner

                        @Altersrentner
                        crunchip :+1: :+1: :+1:

                        crunchipC Abwesend
                        crunchipC Abwesend
                        crunchip
                        Forum Testing Most Active
                        schrieb am zuletzt editiert von
                        #65

                        @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

                        umgestiegen von Proxmox auf Unraid

                        A 1 Antwort Letzte Antwort
                        0
                        • crunchipC crunchip

                          @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 Offline
                          A Offline
                          Altersrentner
                          schrieb am zuletzt editiert von
                          #66

                          @crunchip Hallo,
                          Danke für Deinen Hinweis!!!!
                          Ich kämpfe immer noch:anguished:
                          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

                          crunchipC 1 Antwort Letzte Antwort
                          0
                          • A Altersrentner

                            @crunchip Hallo,
                            Danke für Deinen Hinweis!!!!
                            Ich kämpfe immer noch:anguished:
                            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

                            crunchipC Abwesend
                            crunchipC Abwesend
                            crunchip
                            Forum Testing Most Active
                            schrieb am zuletzt editiert von crunchip
                            #67

                            @Altersrentner ist richtig, siehst du im RAW des jeweiligen Datenpunktes, Stichwort Typ
                            Beispiel dein xiaomi Klima Sensor. Öffnest den Objektbaum.
                            Bei Temperatur und Humitidy jeweils, rechts auf den Schraubenschlüssel und config influx aufrufen, da erscheint dann das Fenster, wie in meinem Screen.
                            Da der Typ in dem Fall "Number" ist ,wählst du dies entsprechend aus. Wenn du unten links "alias" frei lässt, erscheint dein geloggter Datenpunkt auch so wie er in iobroker benannt ist.
                            Wenn du dann unten mit ok bestätigst, füllt sich die Datenbank, sobald eine Änderung des Wertes stattgefunden hat.

                            Bei deinem Tür/Fensterkontakt gehst du genauso vor, jedoch ist da der Typ "boolean" auszuwählen.

                            umgestiegen von Proxmox auf Unraid

                            A 1 Antwort Letzte Antwort
                            0
                            • crunchipC crunchip

                              @Altersrentner ist richtig, siehst du im RAW des jeweiligen Datenpunktes, Stichwort Typ
                              Beispiel dein xiaomi Klima Sensor. Öffnest den Objektbaum.
                              Bei Temperatur und Humitidy jeweils, rechts auf den Schraubenschlüssel und config influx aufrufen, da erscheint dann das Fenster, wie in meinem Screen.
                              Da der Typ in dem Fall "Number" ist ,wählst du dies entsprechend aus. Wenn du unten links "alias" frei lässt, erscheint dein geloggter Datenpunkt auch so wie er in iobroker benannt ist.
                              Wenn du dann unten mit ok bestätigst, füllt sich die Datenbank, sobald eine Änderung des Wertes stattgefunden hat.

                              Bei deinem Tür/Fensterkontakt gehst du genauso vor, jedoch ist da der Typ "boolean" auszuwählen.

                              A Offline
                              A Offline
                              Altersrentner
                              schrieb am zuletzt editiert von
                              #68

                              @crunchip
                              Danke, habe jetzt erst mal wieder Futter.
                              Wünsche einen schönen Abend
                              Freundliche Grüße Michael

                              crunchipC 1 Antwort Letzte Antwort
                              0
                              • A Altersrentner

                                @crunchip
                                Danke, habe jetzt erst mal wieder Futter.
                                Wünsche einen schönen Abend
                                Freundliche Grüße Michael

                                crunchipC Abwesend
                                crunchipC Abwesend
                                crunchip
                                Forum Testing Most Active
                                schrieb am zuletzt editiert von
                                #69

                                @Altersrentner ich sitz noch auf Arbeit😁

                                umgestiegen von Proxmox auf Unraid

                                A 2 Antworten Letzte Antwort
                                0
                                • crunchipC crunchip

                                  @Altersrentner ich sitz noch auf Arbeit😁

                                  A Offline
                                  A Offline
                                  Altersrentner
                                  schrieb am zuletzt editiert von
                                  #70

                                  @crunchip In der jetzigen Situation bin ich recht froh,
                                  meinen Pflichtteil seit sieben Jahren beendet zu haben.

                                  1 Antwort Letzte Antwort
                                  0
                                  • crunchipC crunchip

                                    @Altersrentner ich sitz noch auf Arbeit😁

                                    A Offline
                                    A Offline
                                    Altersrentner
                                    schrieb am zuletzt editiert von
                                    #71

                                    @crunchip Ich noch mal,
                                    Habe ein weiteres Problem lokalisiert.
                                    Wenn ich in der influxdb
                                    auth-enabled = true
                                    aktiviere, schaltet die Ampel des Adapters nicht mehr auf Grün.
                                    Habe alle 8 Positionen nacheinander getestet.
                                    Gibt es dafür eine Erklärung?
                                    Danke und
                                    Gute Nacht

                                    crunchipC 1 Antwort Letzte Antwort
                                    0
                                    • A Altersrentner

                                      @crunchip Ich noch mal,
                                      Habe ein weiteres Problem lokalisiert.
                                      Wenn ich in der influxdb
                                      auth-enabled = true
                                      aktiviere, schaltet die Ampel des Adapters nicht mehr auf Grün.
                                      Habe alle 8 Positionen nacheinander getestet.
                                      Gibt es dafür eine Erklärung?
                                      Danke und
                                      Gute Nacht

                                      crunchipC Abwesend
                                      crunchipC Abwesend
                                      crunchip
                                      Forum Testing Most Active
                                      schrieb am zuletzt editiert von crunchip
                                      #72

                                      @Altersrentner

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

                                      Ich war immer davon ausgegangen, das die config auch entfernt wurde.
                                      Habe dann alle Zeilen bis auf bind.... auskommentiert

                                      denke, das hängt damit zusammen
                                      in der influxdb.conf musst du eigentlich gar nichts ändern, zumindest nicht in deinem Fall
                                      meinst du den Teil [http]? der sollte so aussehen
                                      0cb2a6c8-ec59-4246-a0d4-a2f2697fc2b5-image.png

                                      umgestiegen von Proxmox auf Unraid

                                      A 1 Antwort Letzte Antwort
                                      0
                                      • crunchipC crunchip

                                        @Altersrentner

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

                                        Ich war immer davon ausgegangen, das die config auch entfernt wurde.
                                        Habe dann alle Zeilen bis auf bind.... auskommentiert

                                        denke, das hängt damit zusammen
                                        in der influxdb.conf musst du eigentlich gar nichts ändern, zumindest nicht in deinem Fall
                                        meinst du den Teil [http]? der sollte so aussehen
                                        0cb2a6c8-ec59-4246-a0d4-a2f2697fc2b5-image.png

                                        A Offline
                                        A Offline
                                        Altersrentner
                                        schrieb am zuletzt editiert von
                                        #73

                                        @crunchip
                                        Ja ich meine den http Bereich.
                                        Laut Beschreibungen sollten folgende Einträge
                                        kommentiert werden.

                                        [http]  
                                         enabled = true  
                                         bind-address = ":8086"  
                                         auth-enabled = true
                                         log-enabled = true  
                                         write-tracing = false  
                                         pprof-enabled = false  
                                         https-enabled = false  
                                         https-certificate = "/etc/ssl/influxdb.pem"  
                                        

                                        Ich habe alle außer

                                         auth-enabled = true
                                        

                                        kommentiert, weil dieser die Ampel blockiert.

                                        crunchipC 1 Antwort Letzte Antwort
                                        0
                                        • A Altersrentner

                                          @crunchip
                                          Ja ich meine den http Bereich.
                                          Laut Beschreibungen sollten folgende Einträge
                                          kommentiert werden.

                                          [http]  
                                           enabled = true  
                                           bind-address = ":8086"  
                                           auth-enabled = true
                                           log-enabled = true  
                                           write-tracing = false  
                                           pprof-enabled = false  
                                           https-enabled = false  
                                           https-certificate = "/etc/ssl/influxdb.pem"  
                                          

                                          Ich habe alle außer

                                           auth-enabled = true
                                          

                                          kommentiert, weil dieser die Ampel blockiert.

                                          crunchipC Abwesend
                                          crunchipC Abwesend
                                          crunchip
                                          Forum Testing Most Active
                                          schrieb am zuletzt editiert von crunchip
                                          #74

                                          @Altersrentner bei mir ist das so für [http]
                                          die 3 sind aktiv

                                          enabled = true
                                          bind-address = ":8086"
                                          pprof-enabled = true
                                          

                                          alles andere ist auskommentiert

                                          umgestiegen von Proxmox auf Unraid

                                          A 2 Antworten Letzte Antwort
                                          0
                                          Antworten
                                          • In einem neuen Thema antworten
                                          Anmelden zum Antworten
                                          • Älteste zuerst
                                          • Neuste zuerst
                                          • Meiste Stimmen


                                          Support us

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

                                          694

                                          Online

                                          32.4k

                                          Benutzer

                                          81.4k

                                          Themen

                                          1.3m

                                          Beiträge
                                          Community
                                          Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen | Einwilligungseinstellungen
                                          ioBroker Community 2014-2025
                                          logo
                                          • Anmelden

                                          • Du hast noch kein Konto? Registrieren

                                          • Anmelden oder registrieren, um zu suchen
                                          • Erster Beitrag
                                            Letzter Beitrag
                                          0
                                          • Home
                                          • Aktuell
                                          • Tags
                                          • Ungelesen 0
                                          • Kategorien
                                          • Unreplied
                                          • Beliebt
                                          • GitHub
                                          • Docu
                                          • Hilfe