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

donate donate
  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.7k

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

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

[ Geklärt ] Problem bei Influx Installation

Geplant Angeheftet Gesperrt Verschoben ioBroker Allgemein
influxdb
178 Beiträge 12 Kommentatoren 34.2k 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.
  • Basti97B Basti97

    nachdem ich influx eingeben habe kommt ein >
    bei mir. Was muss ich bei dieser Meldung machen?

    ERR: error parsing query: found Mira, expected SELECT, DELETE, SHOW, CREATE, DROP, EXPLAIN, GRANT, REVOKE, ALTER, SET, KILL at line 1, char 1
    Warning: It is possible this error is due to not setting a database.
    Please set a database with the command "use <database>".
    > database
    
    

    Folgende Anleitung habe ich genutzt
    https://www.verdrahtet.info/2020/02/14/installation-von-influxdb-grafana-inkl-verbindung-zu-iobroker/
    `
    und bin bis zum Anbschnitt influxdb gekommen

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

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

    Please set a database

    Das macht die InfluxDb Instanz automatisch für dich, wenn du die Datenbank einträgst und die Instanz gestartet hast
    Dann brauchst du nicht uber die Influx CLI extra eine Datenbank anlegen.

    umgestiegen von Proxmox auf Unraid

    Basti97B 1 Antwort Letzte Antwort
    0
    • crunchipC crunchip

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

      Please set a database

      Das macht die InfluxDb Instanz automatisch für dich, wenn du die Datenbank einträgst und die Instanz gestartet hast
      Dann brauchst du nicht uber die Influx CLI extra eine Datenbank anlegen.

      Basti97B Offline
      Basti97B Offline
      Basti97
      Most Active
      schrieb am zuletzt editiert von
      #170

      @crunchip Danke für deine Hilfe jetzt funktioniert es. Die Anleitungen im Internet verwirren sehr.

      Iobroker läuft als VM auf Proxmoxserver x folgende Hersteller im Einsatz Sonoff, Gosund, Siemens x Aofo über Tasmota x Zigbee x das Smarthome wächst und wächst

      1 Antwort Letzte Antwort
      0
      • A Altersrentner

        @crunchip Guten Morgen und einen schönen Feiertag;
        Bin jetzt damit beschäftigt Grafana einzurichten.
        Aber auch hier ist alles anders wie normal.
        Es beginnt schon mit der Eingabe der Settings
        Grafana_1.PNG
        Grafana verbindet sich nur wenn unter Access "BROWSER" ausgewählt ist.
        Habe viel gesucht und überall nur Verbindung über Server gefunden.
        Deshalb die Frage ist Browser OK oder eher nicht.

        Nach diesem Video habe ich dann meine Datenpunkte konfiguriert und überprüft.
        https://www.youtube.com/watch?v=VXfpds4Rtqc&t=4072s
        Alles prima..

        In den Dashboard Einstellungen sollten dann die in influxdb geloggten Daten
        unter dem Reiter "select measurement" erscheinen. Das Feld bleibt aber leer.
        Grafana_2.PNG
        Wie kann ich prüfen, ob besagte date überhaupt in der influxdb auftauchen.
        Z. B. mit einem Befehl im Terminal.

        Ich bin doch noch etwas weiter gekommen.:blush:

        Connected to http://localhost:8086 version 1.8.3
        InfluxDB shell version: 1.8.3
        > show databases
        name: databases
        name
        ----
        _internal
        iobroker
        > use iobroker
        Using database iobroker
        > show measurements
        name: measurements
        name
        ----
        influxdb.0.info.connection
        mihome.0.devices.magnet_158d00020910b2.state
        mihome.0.devices.magnet_158d00020b5d12.state
        mihome.0.devices.magnet_158d00020b5d69.state
        mihome.0.devices.magnet_158d0003e72274.state
        mihome.0.devices.magnet_158d0003e741ac.state
        mihome.0.devices.magnet_158d0003e74624.state
        mihome.0.devices.magnet_158d0003e746aa.state
        mihome.0.devices.magnet_158d0003e747f7.state
        mihome.0.devices.weather_v1_158d00023213f6.humidity
        mihome.0.devices.weather_v1_158d00023213f6.temperature
        mihome.0.devices.weather_v1_158d000232801d.humidity
        mihome.0.devices.weather_v1_158d000232801d.temperature
        mihome.0.devices.weather_v1_158d0002329079.humidity
        mihome.0.devices.weather_v1_158d0002329079.temperature
        mihome.0.devices.weather_v1_158d00023290a8.humidity
        mihome.0.devices.weather_v1_158d00023290a8.temperature
        mihome.0.devices.weather_v1_158d00023290e8.humidity
        mihome.0.devices.weather_v1_158d00023290e8.temperature
        mihome.0.devices.weather_v1_158d00024906fa.humidity
        mihome.0.devices.weather_v1_158d00024906fa.temperature
        mihome.0.devices.weather_v1_158d00036b52b9.humidity
        mihome.0.devices.weather_v1_158d00036b52b9.temperature
        mihome.0.devices.weather_v1_158d00036b53b3.humidity
        mihome.0.devices.weather_v1_158d00036b53b3.temperature
        mihome.0.devices.weather_v1_158d00036b53ce.humidity
        mihome.0.devices.weather_v1_158d00036b53ce.temperature
        mihome.0.devices.weather_v1_158d00036bd6ea.humidity
        mihome.0.devices.weather_v1_158d00036bd6ea.temperature
        mihome.0.devices.weather_v1_158d00036bd78e.humidity
        mihome.0.devices.weather_v1_158d00036bd78e.temperature
        > show series
        key
        ---
        influxdb.0.info.connection
        mihome.0.devices.magnet_158d00020910b2.state
        mihome.0.devices.magnet_158d00020b5d12.state
        mihome.0.devices.magnet_158d00020b5d69.state
        mihome.0.devices.magnet_158d0003e72274.state
        mihome.0.devices.magnet_158d0003e741ac.state
        mihome.0.devices.magnet_158d0003e74624.state
        mihome.0.devices.magnet_158d0003e746aa.state
        mihome.0.devices.magnet_158d0003e747f7.state
        mihome.0.devices.weather_v1_158d00023213f6.humidity
        mihome.0.devices.weather_v1_158d00023213f6.temperature
        mihome.0.devices.weather_v1_158d000232801d.humidity
        mihome.0.devices.weather_v1_158d000232801d.temperature
        mihome.0.devices.weather_v1_158d0002329079.humidity
        mihome.0.devices.weather_v1_158d0002329079.temperature
        mihome.0.devices.weather_v1_158d00023290a8.humidity
        mihome.0.devices.weather_v1_158d00023290a8.temperature
        mihome.0.devices.weather_v1_158d00023290e8.humidity
        mihome.0.devices.weather_v1_158d00023290e8.temperature
        mihome.0.devices.weather_v1_158d00024906fa.humidity
        mihome.0.devices.weather_v1_158d00024906fa.temperature
        mihome.0.devices.weather_v1_158d00036b52b9.humidity
        mihome.0.devices.weather_v1_158d00036b52b9.temperature
        mihome.0.devices.weather_v1_158d00036b53b3.humidity
        mihome.0.devices.weather_v1_158d00036b53b3.temperature
        mihome.0.devices.weather_v1_158d00036b53ce.humidity
        mihome.0.devices.weather_v1_158d00036b53ce.temperature
        mihome.0.devices.weather_v1_158d00036bd6ea.humidity
        mihome.0.devices.weather_v1_158d00036bd6ea.temperature
        mihome.0.devices.weather_v1_158d00036bd78e.humidity
        mihome.0.devices.weather_v1_158d00036bd78e.temperature
        > > Das Initallisieren des Grafana Server:
        ERR: error parsing query: found >, expected SELECT, DELETE, SHOW, CREATE, DROP, EXPLAIN, GRANT, REVOKE, ALTER, SET, KILL at line 1, char 1
        > show tag keys
        > show field keys
        name: influxdb.0.info.connection
        fieldKey fieldType
        -------- ---------
        ack      boolean
        from     string
        q        float
        value    string
        
        name: mihome.0.devices.magnet_158d00020910b2.state
        fieldKey fieldType
        -------- ---------
        ack      boolean
        from     string
        q        float
        value    boolean
        
        name: mihome.0.devices.magnet_158d00020b5d12.state
        fieldKey fieldType
        -------- ---------
        ack      boolean
        from     string
        q        float
        value    boolean
        
        name: mihome.0.devices.magnet_158d00020b5d69.state
        fieldKey fieldType
        -------- ---------
        ack      boolean
        from     string
        q        float
        value    boolean
        
        name: mihome.0.devices.magnet_158d0003e72274.state
        fieldKey fieldType
        -------- ---------
        ack      boolean
        from     string
        q        float
        value    boolean
        
        name: mihome.0.devices.magnet_158d0003e741ac.state
        fieldKey fieldType
        -------- ---------
        ack      boolean
        from     string
        q        float
        value    boolean
        
        name: mihome.0.devices.magnet_158d0003e74624.state
        fieldKey fieldType
        -------- ---------
        ack      boolean
        from     string
        q        float
        value    boolean
        
        name: mihome.0.devices.magnet_158d0003e746aa.state
        fieldKey fieldType
        -------- ---------
        ack      boolean
        from     string
        q        float
        value    boolean
        
        name: mihome.0.devices.magnet_158d0003e747f7.state
        fieldKey fieldType
        -------- ---------
        ack      boolean
        from     string
        q        float
        value    boolean
        
        name: mihome.0.devices.weather_v1_158d00023213f6.humidity
        fieldKey fieldType
        -------- ---------
        ack      boolean
        from     string
        q        float
        value    float
        
        name: mihome.0.devices.weather_v1_158d00023213f6.temperature
        fieldKey fieldType
        -------- ---------
        ack      boolean
        from     string
        q        float
        value    float
        
        name: mihome.0.devices.weather_v1_158d000232801d.humidity
        fieldKey fieldType
        -------- ---------
        ack      boolean
        from     string
        q        float
        value    float
        
        name: mihome.0.devices.weather_v1_158d000232801d.temperature
        fieldKey fieldType
        -------- ---------
        ack      boolean
        from     string
        q        float
        value    float
        
        name: mihome.0.devices.weather_v1_158d0002329079.humidity
        fieldKey fieldType
        -------- ---------
        ack      boolean
        from     string
        q        float
        value    float
        
        name: mihome.0.devices.weather_v1_158d0002329079.temperature
        fieldKey fieldType
        -------- ---------
        ack      boolean
        from     string
        q        float
        value    float
        
        name: mihome.0.devices.weather_v1_158d00023290a8.humidity
        fieldKey fieldType
        -------- ---------
        ack      boolean
        from     string
        q        float
        value    float
        
        name: mihome.0.devices.weather_v1_158d00023290a8.temperature
        fieldKey fieldType
        -------- ---------
        ack      boolean
        from     string
        q        float
        value    float
        
        name: mihome.0.devices.weather_v1_158d00023290e8.humidity
        fieldKey fieldType
        -------- ---------
        ack      boolean
        from     string
        q        float
        value    float
        
        name: mihome.0.devices.weather_v1_158d00023290e8.temperature
        fieldKey fieldType
        -------- ---------
        ack      boolean
        from     string
        q        float
        value    float
        
        name: mihome.0.devices.weather_v1_158d00024906fa.humidity
        fieldKey fieldType
        -------- ---------
        ack      boolean
        from     string
        q        float
        value    float
        
        name: mihome.0.devices.weather_v1_158d00024906fa.temperature
        fieldKey fieldType
        -------- ---------
        ack      boolean
        from     string
        q        float
        value    float
        
        name: mihome.0.devices.weather_v1_158d00036b52b9.humidity
        fieldKey fieldType
        -------- ---------
        ack      boolean
        from     string
        q        float
        value    float
        
        name: mihome.0.devices.weather_v1_158d00036b52b9.temperature
        fieldKey fieldType
        -------- ---------
        ack      boolean
        from     string
        q        float
        value    float
        
        name: mihome.0.devices.weather_v1_158d00036b53b3.humidity
        fieldKey fieldType
        -------- ---------
        ack      boolean
        from     string
        q        float
        value    float
        
        name: mihome.0.devices.weather_v1_158d00036b53b3.temperature
        fieldKey fieldType
        -------- ---------
        ack      boolean
        from     string
        q        float
        value    float
        
        name: mihome.0.devices.weather_v1_158d00036b53ce.humidity
        fieldKey fieldType
        -------- ---------
        ack      boolean
        from     string
        q        float
        value    float
        
        name: mihome.0.devices.weather_v1_158d00036b53ce.temperature
        fieldKey fieldType
        -------- ---------
        ack      boolean
        from     string
        q        float
        value    float
        
        name: mihome.0.devices.weather_v1_158d00036bd6ea.humidity
        fieldKey fieldType
        -------- ---------
        ack      boolean
        from     string
        q        float
        value    float
        
        name: mihome.0.devices.weather_v1_158d00036bd6ea.temperature
        fieldKey fieldType
        -------- ---------
        ack      boolean
        from     string
        q        float
        value    float
        
        name: mihome.0.devices.weather_v1_158d00036bd78e.humidity
        fieldKey fieldType
        -------- ---------
        ack      boolean
        from     string
        q        float
        value    float
        
        name: mihome.0.devices.weather_v1_158d00036bd78e.temperature
        fieldKey fieldType
        -------- ---------
        ack      boolean
        from     string
        q        float
        value    float
        >
        
        

        Ist soweit alles richtig?

        Soweit erst mal zum aktuellen Stand.
        Freundliche Grüße
        Michael

        B Offline
        B Offline
        benziman
        schrieb am zuletzt editiert von benziman
        #171

        @altersrentner said in [[ Geklärt ] Problem bei Influx Installation](/post

        Hi, ich muss den Post mal aufnehmen da ich an dieser Stelle mit der DB scheitere!

        Connected to http://localhost:8086 version 1.8.3
        InfluxDB shell version: 1.8.3
        > show databases
        name: databases
        name
        ----
        _internal
        iobroker
        > use iobroker
        Using database iobroker
        

        Da mein Startwert für meinen Wasserverbrauch in Grafana viel zu hoch ist, wollte ich diesen einen Wert aus der InfluxDB löschen. Allerdings bekomme ich bei show databases nur:
        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>".

        und wenn ich die Datenbank auswähle die ich ja erstellt habe und die auch Daten für Grafana bereitstellt erahtle ich:
        ERR: unable to parse authentication credentials
        DB does not exist!

        jemand eine Idee was ich falsch mache?

        crunchipC 1 Antwort Letzte Antwort
        0
        • B benziman

          @altersrentner said in [[ Geklärt ] Problem bei Influx Installation](/post

          Hi, ich muss den Post mal aufnehmen da ich an dieser Stelle mit der DB scheitere!

          Connected to http://localhost:8086 version 1.8.3
          InfluxDB shell version: 1.8.3
          > show databases
          name: databases
          name
          ----
          _internal
          iobroker
          > use iobroker
          Using database iobroker
          

          Da mein Startwert für meinen Wasserverbrauch in Grafana viel zu hoch ist, wollte ich diesen einen Wert aus der InfluxDB löschen. Allerdings bekomme ich bei show databases nur:
          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>".

          und wenn ich die Datenbank auswähle die ich ja erstellt habe und die auch Daten für Grafana bereitstellt erahtle ich:
          ERR: unable to parse authentication credentials
          DB does not exist!

          jemand eine Idee was ich falsch mache?

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

          @benziman welche Version?
          Was wo und wie gibst du denn ein?

          umgestiegen von Proxmox auf Unraid

          B 1 Antwort Letzte Antwort
          0
          • crunchipC crunchip

            @benziman welche Version?
            Was wo und wie gibst du denn ein?

            B Offline
            B Offline
            benziman
            schrieb am zuletzt editiert von
            #173

            @crunchip

            ich bin auf der VM wo influx isntalliert ist und gebe dort influx ein, danach show database oder use iobroker (die DB wird aktuell von Grafana abgefragt)

            crunchipC 1 Antwort Letzte Antwort
            0
            • B benziman

              @crunchip

              ich bin auf der VM wo influx isntalliert ist und gebe dort influx ein, danach show database oder use iobroker (die DB wird aktuell von Grafana abgefragt)

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

              @benziman da ich immer noch nicht sehe, was wo und wie du eingibst, kann ich auch nicht weiter helfen
              seh dir mal olgendes an https://www.smarthome-tricks.de/software-iobroker/1-2-grafana-installation-von-influxdb-und-integration-in-iobroker/ Punkt 2

              umgestiegen von Proxmox auf Unraid

              B 1 Antwort Letzte Antwort
              0
              • crunchipC crunchip

                @benziman da ich immer noch nicht sehe, was wo und wie du eingibst, kann ich auch nicht weiter helfen
                seh dir mal olgendes an https://www.smarthome-tricks.de/software-iobroker/1-2-grafana-installation-von-influxdb-und-integration-in-iobroker/ Punkt 2

                B Offline
                B Offline
                benziman
                schrieb am zuletzt editiert von benziman
                #175

                @crunchip

                ich bin auf einem LSC Container mit Debian 20.0.4 LTS (Proxmox) mit root eingeloggt.
                0cec69d6-6463-4ec3-9f65-94a155c6c4b0-grafik.png

                Datenbank und User wurden mit folgenden Befehlen erstellt
                influx.jpg

                Grafana nutzt die DB mit aktuellen Werten:

                4dd27270-978a-4ce0-bd5a-373e1aad3d98-grafik.png

                Edit: hat sich erledigt. habe nach dem influx Befehl noch "auth" eigegeben und mich dann authentifiziert. Dann wird auch die DB angezeigt.
                Danke

                1 Antwort Letzte Antwort
                0
                • crunchipC crunchip

                  @Altersrentner so kommen wir nicht weiter, da is der Wurm drin und kann dir ehrlich gesagt, nicht sagen, wo der Fehler liegt.
                  Ne Möglichkeit dann doch nochmal influx zu entfernen und frisch installieren.

                  sudo apt-get autoremove influxdb
                  

                  danach nochmal eine installation anstoßen, bezieht sich auf ubuntu

                  wget -qO- https://repos.influxdata.com/influxdb.key | sudo apt-key add -
                  source /etc/lsb-release
                  echo "deb https://repos.influxdata.com/${DISTRIB_ID,,} ${DISTRIB_CODENAME} stable" | sudo tee /etc/apt/sources.list.d/influxdb.list
                  
                  sudo apt-get update && sudo apt-get install influxdb
                  sudo systemctl unmask influxdb.service
                  sudo systemctl start influxdb
                  

                  für debian

                  wget -qO- https://repos.influxdata.com/influxdb.key | sudo apt-key add -
                  source /etc/os-release
                  echo "deb https://repos.influxdata.com/debian $(lsb_release -cs) stable" | sudo tee /etc/apt/sources.list.d/influxdb.list
                  sudo apt-get update && sudo apt-get install influxdb
                  sudo systemctl enable influxdb
                  sudo systemctl start influxdb
                  

                  wenn fertig, prüfen ob der Dienst läuft

                  sudo systemctl status influxdb
                  
                  DuffyD Online
                  DuffyD Online
                  Duffy
                  schrieb am zuletzt editiert von
                  #176

                  @crunchip

                  Kurze Frage, gilt der Befehl auch noch für Influxdb2?

                  sudo apt-get autoremove influxdb
                  
                  

                  Viele Grüße

                  Nix besonderes; iob auf Respberry pi 4 (8GB) mit 32 GB SSD
                  Node.js: v22.21.0
                  NPM: 10.9.4
                  js-controller 7.0.7
                  Linux: Trixie

                  crunchipC 1 Antwort Letzte Antwort
                  0
                  • DuffyD Duffy

                    @crunchip

                    Kurze Frage, gilt der Befehl auch noch für Influxdb2?

                    sudo apt-get autoremove influxdb
                    
                    

                    Viele Grüße

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

                    @duffy

                    sudo service influxdb stop
                    sudo apt remove influxdb
                    sudo apt remove influxdb-client
                    sudo apt remove influxdb2
                    sudo apt autoclean && sudo apt autoremove
                    

                    oder

                    sudo apt-get autoremove --purge influxdb2
                    

                    umgestiegen von Proxmox auf Unraid

                    DuffyD 1 Antwort Letzte Antwort
                    0
                    • crunchipC crunchip

                      @duffy

                      sudo service influxdb stop
                      sudo apt remove influxdb
                      sudo apt remove influxdb-client
                      sudo apt remove influxdb2
                      sudo apt autoclean && sudo apt autoremove
                      

                      oder

                      sudo apt-get autoremove --purge influxdb2
                      
                      DuffyD Online
                      DuffyD Online
                      Duffy
                      schrieb am zuletzt editiert von Duffy
                      #178

                      @crunchip

                      Vielen Dank.

                      Nix besonderes; iob auf Respberry pi 4 (8GB) mit 32 GB SSD
                      Node.js: v22.21.0
                      NPM: 10.9.4
                      js-controller 7.0.7
                      Linux: Trixie

                      K 1 Antwort 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

                      848

                      Online

                      32.4k

                      Benutzer

                      81.5k

                      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