Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Off Topic
    4. InfluxDB
    5. Beim Installieren von influx CLI

    NEWS

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

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    Beim Installieren von influx CLI

    This topic has been deleted. Only users with topic management privileges can see it.
    • Thomas Braun
      Thomas Braun Most Active @Einstein2002 last edited by

      @einstein2002 sagte in Beim Installieren von influx CLI:

      Habe gesehen du hast eine neuere Debian drauf.

      Auf den Punkt wollte ich gerade hinweisen. Dein Ubuntu stirbt im July eh, man nimmt entweder deren LTS-Versionen oder gleich ein Debian stable für Server.

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

        @einstein2002 sagte in Beim Installieren von influx CLI:

        Was ist denn mit der CLI?

        Was meinst du?
        Falls du die influx clients meinst:

        apt policy influxdb-client influxdb2-cli
        
        E 1 Reply Last reply Reply Quote 0
        • E
          Einstein2002 @crunchip last edited by

          @crunchip sagte in Beim Installieren von influx CLI:

          @einstein2002 da musst du die repo list anlegen und dann kann man per Apt installieren. Influxdb und influx cli

          Das influx cli
          Das sind doch zwei unterschiedliche schritte oder??

          1 Reply Last reply Reply Quote 0
          • E
            Einstein2002 @Thomas Braun last edited by

            @thomas-braun
            Danke genau das meinte ich

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

              @einstein2002

              Wobei man auf die Versionen aufpassen muss.

              Ich glaube für version 1.6.7 ist es influxdb-client, bei der 1.8.10 ist es soweit ich weiß im Hauptprogramm mit drin und bei der influxdb2 nennt sich das Paket influxdb2-cli. Das muss jeweils auch zur eingesetzten Datenbank passen.

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

                @einstein2002 du kannst ja nicht einfach die v2 drüberbügeln, wenn du schon v1.x installiert hast
                Influx-cli gibt es erst mit der v2

                Ja, wenn du eh am Anfang bist, installiere ein frisches System und dann sauber installeren

                E 2 Replies Last reply Reply Quote 0
                • E
                  Einstein2002 @crunchip last edited by

                  @crunchip
                  Da bin ich gerade dabei
                  Ich fasse das mal alles soweit im Dokument zusammen und hoffe das es die richtige Reihenfolge hat.
                  Dauer aber noch etwas

                  1 Reply Last reply Reply Quote 0
                  • E
                    Einstein2002 @crunchip last edited by Einstein2002

                    @crunchip
                    Influx unter Proxmox im LXC erstellen:

                    1. Create CT
                    2. debian-11-standard_11.3-1_amd64.tar.zst als Image
                    3. Ich habe mal 2GB Ram und 3 Cores sowie 32GB HDD zugewiesen hoffe es reicht
                    4. Nach der Installation einen neuen USER mit root rechten angelegt
                    5. adduser maxmustermann und ein passwort vergeben
                    6. usermod -aG sudo maxmustermann
                    7. apt get update && atp get upgrade && apt get autoremove -y
                    8. noch als root eingeloggt weiter mit wget -qO- https://repos.influxdata.com/influxdb.key | gpg --dearmor > /etc/apt/trusted.gpg.d/influxdb.gpg

                    Es kommt eine Fehlermeldung, -bash: gpg: command not found

                    1. Mit apt-get install gpg wird dies installiert und es kann weiter gehen
                    2. export DISTRIB_ID=$(lsb_release -si); export DISTRIB_CODENAME=$(lsb_release -sc)
                      Es kommen diese zwei Fehler
                    3. -bash: lsb_release: command not found
                    4. -bash: lsb_release: command not found
                    5. apt-get install lsb-release behebt dieses und weiter
                    Thomas Braun crunchip 2 Replies Last reply Reply Quote 0
                    • Thomas Braun
                      Thomas Braun Most Active @Einstein2002 last edited by Thomas Braun

                      @einstein2002 sagte in Beim Installieren von influx CLI:

                      lsb_release

                      Bei Debian müsste dafür das Paket lsb-release installiert werden/sein.
                      Bei Ubuntu kann das ggf. anders heißen.

                      E 1 Reply Last reply Reply Quote 0
                      • E
                        Einstein2002 @Thomas Braun last edited by

                        @thomas-braun
                        genau das hatte gefehlt, hatte es aber gefunden
                        Hoffe ich bin noch richtig unterwegs

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

                          @einstein2002

                          Das sind halt die Stolpersteine, wenn man da mit einem LXC nur als Grundgerüst arbeitet. Das ist nur die Rohmasse, das muss noch geformt und mit Leben gefüllt werden.
                          U. a. auch deshalb halte ich das nicht für Linux-Einsteiger geeignet.

                          E 1 Reply Last reply Reply Quote 0
                          • E
                            Einstein2002 @Thomas Braun last edited by

                            @thomas-braun
                            Da gebe ich dir recht, nur warum schreibt das keiner mal in so einer Anleitung wie ich es gerade versuche zu schreiben??
                            Das müßte doch ganz vielen so gehen, ich erfinde das rad doch nicht neu!
                            Egal, ich versuche mich daran und wenn es zu einem Ergebnis führt dann hat es sich wenigstens gelohnt.
                            Das Blöde ist halt, es hat ja meist schon einer gehabt, aber das zu finden ist die größere Herausforderung.
                            So ich mach mal weiter.
                            Habe schon wieder eine hürde.
                            Hoffe ich kann anderen damit helfen.

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

                              @einstein2002 sagte in Beim Installieren von influx CLI:

                              Das müßte doch ganz vielen so gehen, ich erfinde das rad doch nicht neu!

                              Für Proxmox gibt es eine Anleitung in der iobroker-Dokumentation, soweit ich weiß.

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

                                @einstein2002

                                Übrigens kann man das influxdb-Repo ohne root shell so installieren:

                                sudo apt update
                                sudo apt install -y gnupg2 curl wget
                                wget -qO- https://repos.influxdata.com/influxdb.key | sudo apt-key add -
                                echo "deb https://repos.influxdata.com/debian $(lsb_release -cs) stable" | sudo tee /etc/apt/sources.list.d/influxdb.list
                                

                                (Jedenfalls bis 'bookworm' kommt, dann muss das wieder anders gemacht werden, weil apt-key dann nicht mehr verwendet werden kann)

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

                                  @einstein2002 deine Zeitzone haste vergessen anzupassen, muss man bei einem LXC extra machen, anders als bei einer VM, wird aber auch in der Doku darauf hingewiesen.

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

                                    @thomas-braun die hatte ich ihm schon verlinkt

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

                                      @crunchip sagte in Beim Installieren von influx CLI:

                                      @thomas-braun die hatte ich ihm schon verlinkt

                                      Ja, hatte ich gesehen... Aber @Einstein2002 wohl nicht.

                                      E 1 Reply Last reply Reply Quote 0
                                      • E
                                        Einstein2002 @Thomas Braun last edited by Einstein2002

                                        @thomas-braun
                                        ich suche, finde es aber nicht!!
                                        Oh man.... ich könnt ......

                                        Network Time Protocol (NTP)
                                        InfluxDB uses a host’s local time in UTC to assign timestamps to data and for coordination purposes. Use the Network Time Protocol (NTP) to synchronize time between hosts; if hosts' clocks aren’t synchronized with NTP, the timestamps on the data written to InfluxDB can be inaccurate.

                                        Das hier???

                                        Was sagt das aus??

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

                                          @einstein2002

                                          https://www.iobroker.net/#de/documentation/install/proxmox.md

                                          E 1 Reply Last reply Reply Quote 0
                                          • E
                                            Einstein2002 @Thomas Braun last edited by

                                            @thomas-braun
                                            Hab auf Berlin umgestellt

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

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            1.1k
                                            Online

                                            31.7k
                                            Users

                                            79.7k
                                            Topics

                                            1.3m
                                            Posts

                                            4
                                            78
                                            5445
                                            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