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.
    • crunchip
      crunchip Forum Testing Most Active @Basti97 last edited by 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.

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

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

        1 Reply Last reply Reply Quote 0
        • B
          benziman @Altersrentner last edited by 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?

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

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

            B 1 Reply Last reply Reply Quote 0
            • B
              benziman @crunchip last edited by

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

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

                @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 1 Reply Last reply Reply Quote 0
                • B
                  benziman @crunchip last edited by benziman

                  @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 Reply Last reply Reply Quote 0
                  • Duffy
                    Duffy @crunchip last edited by

                    @crunchip

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

                    sudo apt-get autoremove influxdb
                    
                    

                    Viele Grüße

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

                      @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
                      
                      Duffy 1 Reply Last reply Reply Quote 0
                      • Duffy
                        Duffy @crunchip last edited by Duffy

                        @crunchip

                        Vielen Dank.

                        K 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.1k
                        Online

                        31.7k
                        Users

                        79.7k
                        Topics

                        1.3m
                        Posts

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