Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. Influxdb Fehler bei und nach Installation

    NEWS

    • Neuer Blog: Fotos und Eindrücke aus Solingen

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

    • ioBroker goes Matter ... Matter Adapter in Stable

    Influxdb Fehler bei und nach Installation

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

      Hallo zusammen,
      leider musste ich meinen RaspberryPi komplett neu aufsetzten....
      Habe dazu Raspberry Pi OS Lite Release date: March 4th 2021 Kernel version: 5.10 installiert und mit apt-get update und apt-get full-upgrade aktualisiert.
      Das funktioniert auch alles tadellos!

      Im nächsten Schritt möchte ich Influxdb installieren.
      Ich habe das Repository aktualisiert mit:

      wget -qO- https://repos.influxdata.com/influxdb.key | sudo apt-key add -
      echo "deb https://repos.influxdata.com/debian buster stable" | sudo tee /etc/apt/sources.list.d/influxdb.list
      

      Dies wird auch mit ok
      und
      deb https://repos.influxdata.com/debian buster stable
      bestätigt.
      Dann:

      sudo apt-get update
      

      Hier kommt dann eine Fehlermeldung:
      Err:3 https://repos.influxdata.com/debian buster InRelease The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 684A14CF2582E0C5

      Danach kann ich zwar die Influxdb Installation fortsetzen und auch den Dienst starten

      sudo apt install -y influxdb
      sudo systemctl enable --now influxdb
      

      und bekomme folgenden Status:

      systemctl status influxdb
      
      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 2021-05-04 16:34:12 CEST; 1min 12s ago
           Docs: man:influxd(1)
       Main PID: 1343 (influxd)
          Tasks: 13 (limit: 4915)
         CGroup: /system.slice/influxdb.service
                 └─1343 /usr/bin/influxd -config /etc/influxdb/influxdb.conf
      
      May 04 16:34:12 raspberrypi influxd[1343]: ts=2021-05-04T14:34:12.743524Z lvl=info msg="Registered
      May 04 16:34:12 raspberrypi influxd[1343]: ts=2021-05-04T14:34:12.743592Z lvl=info msg="Starting pr
      May 04 16:34:12 raspberrypi influxd[1343]: ts=2021-05-04T14:34:12.743632Z lvl=info msg="Starting sn
      May 04 16:34:12 raspberrypi influxd[1343]: ts=2021-05-04T14:34:12.743654Z lvl=info msg="Starting co
      May 04 16:34:12 raspberrypi influxd[1343]: ts=2021-05-04T14:34:12.743691Z lvl=info msg="Starting HT
      May 04 16:34:12 raspberrypi influxd[1343]: ts=2021-05-04T14:34:12.743713Z lvl=info msg="opened HTTP
      May 04 16:34:12 raspberrypi influxd[1343]: ts=2021-05-04T14:34:12.743989Z lvl=info msg="Listening o
      May 04 16:34:12 raspberrypi influxd[1343]: ts=2021-05-04T14:34:12.744064Z lvl=info msg="Starting re
      May 04 16:34:12 raspberrypi influxd[1343]: ts=2021-05-04T14:34:12.744209Z lvl=info msg="Listening f
      May 04 16:34:12 raspberrypi influxd[1343]: ts=2021-05-04T14:34:12.744686Z lvl=info msg="Storing sta
      

      Wenn ich aber jetzt versuche die Influxdb Konsole zu starten, um eine DB anzulegen, erhalte ich folgende Fehlermeldung:

      influx
      -bash: influx: command not found
      

      Ich habe so ziemlich alles versucht, was ich zu diesem Problem im Web, Youtube und Foren finden konnte, ich lande aber immer beim gleichen Ergebnis!

      Ich würde mich sehr freuen, wenn jemand Rat weiß.

      Vielen Dank
      Andreas

      Thomas Braun crunchip 2 Replies Last reply Reply Quote 0
      • Thomas Braun
        Thomas Braun Most Active @afiebig last edited by

        @afiebig sagte in Influxdb Fehler bei und nach Installation:

        Das Kommando lautet soweit ich weiß auch nicht influx sondern influxdb
        Mit der bash completion kannst du sowas aber auch elegant ausprobieren.

        A crunchip 2 Replies Last reply Reply Quote 0
        • A
          afiebig @Thomas Braun last edited by

          @thomas-braun
          influxdb oder auch sudo influxdb führt auch zur Fehlermeldung: command not found!?

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

            @thomas-braun influx ist schon richtig, damit wird die CLI gestartet
            war da nicht was beim Pi?
            @afiebig

            sudo systemctl unmask influxdb.service
            sudo systemctl start influxdb.service
            sudo systemctl enable influxdb.service
            influx
            

            unabhänging davon, wenn du eine Influx Instanz startest und dort deine Daten(datenbank) eingibst, wird diese automatisch angelegt.

            @afiebig sagte in Influxdb Fehler bei und nach Installation:

            influxdb oder auch sudo influxdb führt auch zur Fehlermeldung

            influxd
            
            Thomas Braun A 2 Replies Last reply Reply Quote 0
            • crunchip
              crunchip Forum Testing Most Active @afiebig last edited by crunchip

              @afiebig sagte in Influxdb Fehler bei und nach Installation:

              wget -qO- https://repos.influxdata.com/influxdb.key | sudo apt-key add -

              fehlt da nicht was?

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

                @crunchip sagte in Influxdb Fehler bei und nach Installation:

                influx ist schon richtig, damit wird die CLI gestartet

                Oh, stimmt.
                Das kommt davon, wenn man mitredet, aber keine Ahnung hat... 😉

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

                  @crunchip
                  Ich habe jetzt das Ganze noch einmal wiederholt und das Repository aus der "normalen" Raspberry PI Os" Installation genutzt.

                  Installation war damit auch fehlerfrei und es ist die Version InfluxDB v1.6.4 installiert.

                  Dienst nach Deinen Anmerkung, umask etc., auch gestartet und rebootet.

                  Leider findet er das CLI Kommando influx immer noch nicht???

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

                    Hallo zusammen,

                    ich habe unter https://computingforgeeks.com/install-influxdb-on-debian-10-buster-linux/
                    eine Anleitung gefunden, mit der ich die aktuelle influxdb 1.8 installieren konnte.
                    Auch das CLI funktioniert jetzt....
                    Mein Problem hat sich somit gelöst.
                    Vielen Dank trotzdem für Eure Hilfe
                    Anderas

                    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

                    633
                    Online

                    31.7k
                    Users

                    79.8k
                    Topics

                    1.3m
                    Posts

                    3
                    8
                    2725
                    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