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 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
                  • E
                    Einstein2002 @Thomas Braun last edited by

                    @thomas-braun Nun habe ich das problem

                    root@Influxdb2:~# apt policy influxdb2
                    N: Unable to locate package influxdb2
                    root@Influxdb2:~# 
                    

                    wobei ich ```
                    root@Influxdb2:~# apt policy influxdb influxdb2
                    durch
                    root@Influxdb2:~# apt policy influxdb2
                    ersetzt habe

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

                      @einstein2002

                      Repo angelegt?

                      apt update
                      

                      gemacht?

                      Als user anmelden! Nicht als root!

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

                        @thomas-braun sagte in Beim Installieren von influx CLI:

                        @einstein2002

                        Ja, als erstes einen user anlegen. Dem dann sudo-Rechte verpassen,

                        Und unter Linux/Debian installiert man so gut wie nie direkt Programme, man nutzt seinen Paketmanager dafür.
                        Falls aktuellere Versionen von influxdb verwendet werden sollen als 'von Haus aus' dem Debian Release beiliegen muss/sollte man eine Softwarequelle/Repository anlegen.

                        Für influxdb so:

                        https://docs.influxdata.com/influxdb/v1.8/introduction/install/

                        wget -qO- https://repos.influxdata.com/influxdb.key | gpg --dearmor > /etc/apt/trusted.gpg.d/influxdb.gpg
                        export DISTRIB_ID=$(lsb_release -si); export DISTRIB_CODENAME=$(lsb_release -sc)
                        echo "deb [signed-by=/etc/apt/trusted.gpg.d/influxdb.gpg] https://repos.influxdata.com/${DISTRIB_ID,,} ${DISTRIB_CODENAME} stable" > /etc/apt/sources.list.d/influxdb.list
                        

                        (Wobei das nicht als user funktioniert, mach das ausnahmsweise mal als root. Ich muss das mal umbauen, dass es auch als user funktioniert.)

                        Ich denke NICHT als USER

                        Hast Du doch vorhin geschrieben.

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

                          @einstein2002

                          Ich hatte dann die 'non-root' Version noch gepostet:

                          Ü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
                          
                          E 3 Replies Last reply Reply Quote 0
                          • E
                            Einstein2002 @Thomas Braun last edited by

                            @thomas-braun sagte in Beim Installieren von influx CLI:

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

                            Ich gelobe Besserung!!

                            Was sagt das aus? Kann ich da einfach weitermachen?

                            michael@Influxdb2:~$ wget -qO- https://repos.influxdata.com/influxdb.key | sudo apt-key add -
                            Warning: apt-key is deprecated. Manage keyring files in trusted.gpg.d instead (see apt-key(8)).
                            OK
                            michael@Influxdb2:~$ 
                            
                            crunchip 1 Reply Last reply Reply Quote 0
                            • crunchip
                              crunchip Forum Testing Most Active @Einstein2002 last edited by

                              @einstein2002 ja

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

                                @thomas-braun sagte in Beim Installieren von influx CLI:

                                echo 'deb https://repos.influxdata.com/debian $(lsb_release -cs) stable' | sudo tee /etc/apt/sources.list.d/influxdb.list

                                Das habe ich jetzt soweit alles gemacht, nun steh ich wieder auf dem Schlauch.
                                Hatte noch etwas mit den SUDO rechten zu kämpfen, war auch kein sudo installiert. Wie geht es jetzt weiter? Nee Idee?

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

                                  @einstein2002

                                  Kommt jetzt bei

                                  sudo apt update
                                  apt policy influxdb influxdb2
                                  

                                  was um die Ecke?

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

                                    @thomas-braun sagte in Beim Installieren von influx CLI:

                                    @einstein2002

                                    Ich hatte dann die 'non-root' Version noch gepostet:

                                    Ü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
                                    

                                    Sorry das hier meinte ich

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

                                      @thomas-braun sagte in Beim Installieren von influx CLI:

                                      apt policy influxdb influxdb2

                                      Das sieht so aus

                                      michael@Influxdb2:~$ sudo apt update
                                      Hit:1 http://ftp.debian.org/debian bullseye InRelease
                                      Hit:2 http://security.debian.org bullseye-security InRelease                       
                                      Hit:3 http://ftp.debian.org/debian bullseye-updates InRelease                                       
                                      Ign:4 https://repos.influxdata.com/debian $(lsb_release InRelease                                   
                                      Err:5 https://repos.influxdata.com/debian $(lsb_release Release
                                        404  Not Found [IP: 2600:9000:21f3:e000:7:7790:e740:93a1 443]
                                      Reading package lists... Done
                                      E: The repository 'https://repos.influxdata.com/debian $(lsb_release Release' does not have a Release file.
                                      N: Updating from such a repository can't be done securely, and is therefore disabled by default.
                                      N: See apt-secure(8) manpage for repository creation and user configuration details.
                                      michael@Influxdb2:~$ apt policy influxdb influxdb2
                                      influxdb:
                                        Installed: (none)
                                        Candidate: 1.6.7~rc0-1+b5
                                        Version table:
                                           1.6.7~rc0-1+b5 500
                                              500 http://ftp.debian.org/debian bullseye/main amd64 Packages
                                      N: Unable to locate package influxdb2
                                      michael@Influxdb2:~$ 
                                      
                                      
                                      Thomas Braun 1 Reply Last reply Reply Quote 0
                                      • Thomas Braun
                                        Thomas Braun Most Active @Einstein2002 last edited by

                                        @einstein2002

                                        Hm. Dann ist in meinen Kommandozeilen noch ein Fehler drin.
                                        Muss ich mir später nochmal anschauen.
                                        In der Datei /etc/apt/sources.list.d/influxdb.list
                                        muss $(lsb_release Release durch bullseye ersetz werden.

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

                                          @thomas-braun
                                          Okay, meinst Du es klappt heute noch??
                                          Gibst Du Bescheid, bitte.

                                          Dankeschön jetzt schon einmal, ist echt sehr gut was Ihr,Du hier macht.

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

                                            @thomas-braun
                                            Könnte es das sein:

                                            https://repos.influxdata.com/debian/dists/bullseye/stable/binary-amd64/
                                            

                                            Zumindest sehe ich dann die Dateien
                                            Aber er läuft ins leere wenn ich apt update mache

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

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            913
                                            Online

                                            31.7k
                                            Users

                                            79.7k
                                            Topics

                                            1.3m
                                            Posts

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