Skip to content
  • Recent
  • Tags
  • 0 Unread 0
  • Categories
  • Unreplied
  • Popular
  • 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

  • Default (No Skin)
  • No Skin
Collapse
Logo
  1. ioBroker Community Home
  2. Deutsch
  3. Off Topic
  4. InfluxDB
  5. InfluxDB installieren wie

NEWS

  • UPDATE 31.10.: Amazon Alexa - ioBroker Skill läuft aus ?
    apollon77A
    apollon77
    48
    3
    8.0k

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

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

InfluxDB installieren wie

Scheduled Pinned Locked Moved InfluxDB
48 Posts 3 Posters 4.8k Views 3 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • L Laser

    @mico nach welcher Anleitung genau hast Du influxDB installiert? Es gibt ja x fehlerhafte Anleitungen...Mit diesem Befehl kommen gleich Fehlermeldungen:

    wget -qO- https://repos.influxdata.com/influxdb.key | gpg --dearmor | 
    sudo tee /etc/apt/trusted.gpg.d/influxdb.gpg > /dev/null 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" | sudo tee /etc/apt/sources.list.d/influxdb.list > /dev/null 
    
    /etc/apt/sources.list.d $ wget -qO- https://repos.influxdata.com/influxdb.key | gpg --dearmor |
    sudo tee /etc/apt/trusted.gpg.d/influxdb.gpg > /dev/null 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" | sudo tee /etc/apt/sources.list.d/influxdb.list > /dev/null
    -bash: sc: command not found
    -bash: export: `deb [signed-by=/etc/apt/trusted.gpg.d/influxdb.gpg]
    https://repos.influxdata.com/debian
    stable': not a valid identifier
    
    
    Thomas BraunT Online
    Thomas BraunT Online
    Thomas Braun
    Most Active
    wrote on last edited by
    #11

    @laser

    Mach es so:

    sudo rm /etc/apt/sources.list.d/influ*
    
    wget -q https://repos.influxdata.com/influxdata-archive_compat.key
    
    echo '393e8779c89ac8d958f81f942f9ad7fb82a25e133faddaf92e15b16e6ac9ce4c influxdata-archive_compat.key' | sha256sum -c && cat influxdata-archive_compat.key | gpg --dearmor | sudo tee /usr/share/keyrings/influxdata-archive_compat.gpg > /dev/null
    
    echo 'deb [signed-by=/usr/share/keyrings/influxdata-archive_compat.gpg] https://repos.influxdata.com/debian stable main' | sudo tee /etc/apt/sources.list.d/influxdata.list
    
    rm influxdata-archive_compat.key
    

    Linux-Werkzeugkasten:
    https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
    NodeJS Fixer Skript:
    https://forum.iobroker.net/topic/68035/iob-node-fix-skript
    iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

    L 1 Reply Last reply
    0
    • Thomas BraunT Thomas Braun

      @laser

      Mach es so:

      sudo rm /etc/apt/sources.list.d/influ*
      
      wget -q https://repos.influxdata.com/influxdata-archive_compat.key
      
      echo '393e8779c89ac8d958f81f942f9ad7fb82a25e133faddaf92e15b16e6ac9ce4c influxdata-archive_compat.key' | sha256sum -c && cat influxdata-archive_compat.key | gpg --dearmor | sudo tee /usr/share/keyrings/influxdata-archive_compat.gpg > /dev/null
      
      echo 'deb [signed-by=/usr/share/keyrings/influxdata-archive_compat.gpg] https://repos.influxdata.com/debian stable main' | sudo tee /etc/apt/sources.list.d/influxdata.list
      
      rm influxdata-archive_compat.key
      
      L Offline
      L Offline
      Laser
      wrote on last edited by Laser
      #12

      @thomas-braun Danke, so funktioniert es bei mir nicht. Diese beiden echo Befehle einzeln oder zusammen ausführen? Habe Beides versucht, ohne Erfolg. In der influxdata.list steht jetzt folgendes:

      deb [signed-by=/usr/share/keyrings/influxdata-archive_compat.gpg] https://repos.influxdata.com/debian stable main
      
      

      und:

      /etc/apt/sources.list.d $ rm influxdata-archive_compat.key
      rm: cannot remove 'influxdata-archive_compat.key': No such file or directory
      
      

      stehe ich im falschen Verzeichnis? Ich gehe ganz zurück. Da funktioniert es.

      Thomas BraunT L 2 Replies Last reply
      0
      • L Laser

        @thomas-braun Danke, so funktioniert es bei mir nicht. Diese beiden echo Befehle einzeln oder zusammen ausführen? Habe Beides versucht, ohne Erfolg. In der influxdata.list steht jetzt folgendes:

        deb [signed-by=/usr/share/keyrings/influxdata-archive_compat.gpg] https://repos.influxdata.com/debian stable main
        
        

        und:

        /etc/apt/sources.list.d $ rm influxdata-archive_compat.key
        rm: cannot remove 'influxdata-archive_compat.key': No such file or directory
        
        

        stehe ich im falschen Verzeichnis? Ich gehe ganz zurück. Da funktioniert es.

        Thomas BraunT Online
        Thomas BraunT Online
        Thomas Braun
        Most Active
        wrote on last edited by
        #13

        @laser

        Die fünf Zeilen auch zeilenweise in dein Terminal kopieren.

        Linux-Werkzeugkasten:
        https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
        NodeJS Fixer Skript:
        https://forum.iobroker.net/topic/68035/iob-node-fix-skript
        iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

        1 Reply Last reply
        0
        • L Laser

          @thomas-braun Danke, so funktioniert es bei mir nicht. Diese beiden echo Befehle einzeln oder zusammen ausführen? Habe Beides versucht, ohne Erfolg. In der influxdata.list steht jetzt folgendes:

          deb [signed-by=/usr/share/keyrings/influxdata-archive_compat.gpg] https://repos.influxdata.com/debian stable main
          
          

          und:

          /etc/apt/sources.list.d $ rm influxdata-archive_compat.key
          rm: cannot remove 'influxdata-archive_compat.key': No such file or directory
          
          

          stehe ich im falschen Verzeichnis? Ich gehe ganz zurück. Da funktioniert es.

          L Offline
          L Offline
          Laser
          wrote on last edited by
          #14

          @Thomas Braun
          Bei dieser Zeile kommt:

          /etc/apt/sources.list.d $ echo '393e8779c89ac8d958f81f942f9ad7fb82a25e133faddaf92e15b16e6ac9ce4c influxdata-archive_compat.key' | sha256sum -c && cat influxdata-archive_compat.key | gpg --dearmor | sudo tee /usr/share/keyrings/influxdata-archive_compat.gpg > /dev/null
          sha256sum: influxdata-archive_compat.key: No such file or directory
          influxdata-archive_compat.key: FAILED open or read
          sha256sum: WARNING: 1 listed file could not be read
          
          
          Thomas BraunT 1 Reply Last reply
          0
          • L Laser

            @Thomas Braun
            Bei dieser Zeile kommt:

            /etc/apt/sources.list.d $ echo '393e8779c89ac8d958f81f942f9ad7fb82a25e133faddaf92e15b16e6ac9ce4c influxdata-archive_compat.key' | sha256sum -c && cat influxdata-archive_compat.key | gpg --dearmor | sudo tee /usr/share/keyrings/influxdata-archive_compat.gpg > /dev/null
            sha256sum: influxdata-archive_compat.key: No such file or directory
            influxdata-archive_compat.key: FAILED open or read
            sha256sum: WARNING: 1 listed file could not be read
            
            
            Thomas BraunT Online
            Thomas BraunT Online
            Thomas Braun
            Most Active
            wrote on last edited by Thomas Braun
            #15

            @laser

            Keine Ahnung was du da machst...
            Stell dich in dein /home und nicht in /etc/apt/irgendwas herumspuken.

            Bei mir läuft das ohne weiteres durch:

            echad@chet:~ $ sudo rm /etc/apt/sources.list.d/influ*
            echad@chet:~ $ wget -q https://repos.influxdata.com/influxdata-archive_compat.key
            echad@chet:~ $ echo '393e8779c89ac8d958f81f942f9ad7fb82a25e133faddaf92e15b16e6ac9ce4c influxdata-archive_compat.key' | sha256sum -c && cat influxdata-archive_compat.key | gpg --dearmor | sudo tee /usr/share/keyrings/influxdata-archive_compat.gpg > /dev/null
            influxdata-archive_compat.key: OK
            echad@chet:~ $ echo 'deb [signed-by=/usr/share/keyrings/influxdata-archive_compat.gpg] https://repos.influxdata.com/debian stable main' | sudo tee /etc/apt/sources.list.d/influxdata.list
            deb [signed-by=/usr/share/keyrings/influxdata-archive_compat.gpg] https://repos.influxdata.com/debian stable main
            echad@chet:~ $ rm influxdata-archive_compat.key
            echad@chet:~ $ 
            
            

            Edit: Klar, du darfst als user nicht in /etc/apt herumschreiben. Deswegen funktioniert das auch nicht.
            Also per cd in dein eigenes Verzeichnis hüpfen.

            Linux-Werkzeugkasten:
            https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
            NodeJS Fixer Skript:
            https://forum.iobroker.net/topic/68035/iob-node-fix-skript
            iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

            L 1 Reply Last reply
            0
            • Thomas BraunT Thomas Braun

              @laser

              Keine Ahnung was du da machst...
              Stell dich in dein /home und nicht in /etc/apt/irgendwas herumspuken.

              Bei mir läuft das ohne weiteres durch:

              echad@chet:~ $ sudo rm /etc/apt/sources.list.d/influ*
              echad@chet:~ $ wget -q https://repos.influxdata.com/influxdata-archive_compat.key
              echad@chet:~ $ echo '393e8779c89ac8d958f81f942f9ad7fb82a25e133faddaf92e15b16e6ac9ce4c influxdata-archive_compat.key' | sha256sum -c && cat influxdata-archive_compat.key | gpg --dearmor | sudo tee /usr/share/keyrings/influxdata-archive_compat.gpg > /dev/null
              influxdata-archive_compat.key: OK
              echad@chet:~ $ echo 'deb [signed-by=/usr/share/keyrings/influxdata-archive_compat.gpg] https://repos.influxdata.com/debian stable main' | sudo tee /etc/apt/sources.list.d/influxdata.list
              deb [signed-by=/usr/share/keyrings/influxdata-archive_compat.gpg] https://repos.influxdata.com/debian stable main
              echad@chet:~ $ rm influxdata-archive_compat.key
              echad@chet:~ $ 
              
              

              Edit: Klar, du darfst als user nicht in /etc/apt herumschreiben. Deswegen funktioniert das auch nicht.
              Also per cd in dein eigenes Verzeichnis hüpfen.

              L Offline
              L Offline
              Laser
              wrote on last edited by Laser
              #16

              @thomas-braun ja, ich bin ganz zurückgegangen und da lassen sich diese 5 Zeilen fehlerfrei ausführen.
              versuche jetzt weiter:

              Zum Installieren von InfluxDB genügen zwei Befehle im Terminal. 
              1. wget -qO- https://repos.influxdata.com/influxdb.key | gpg --dearmor | 
              sudo tee /etc/apt/trusted.gpg.d/influxdb.gpg > /dev/null 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" | sudo tee /etc/apt/sources.list.d/influxdb.list > /dev/null
              

              aber:

              wget -qO- https://repos.influxdata.com/influxdb.key | gpg --dearmor |
              sudo tee /etc/apt/trusted.gpg.d/influxdb.gpg > /dev/null 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" | sudo tee /etc/apt/sources.list.d/influxdb.list > /dev/null
              -bash: sc: command not found
              -bash: export: `deb [signed-by=/etc/apt/trusted.gpg.d/influxdb.gpg]
              https://repos.influxdata.com/debian
              stable': not a valid identifier
              
              
              Thomas BraunT 1 Reply Last reply
              0
              • L Laser

                @thomas-braun ja, ich bin ganz zurückgegangen und da lassen sich diese 5 Zeilen fehlerfrei ausführen.
                versuche jetzt weiter:

                Zum Installieren von InfluxDB genügen zwei Befehle im Terminal. 
                1. wget -qO- https://repos.influxdata.com/influxdb.key | gpg --dearmor | 
                sudo tee /etc/apt/trusted.gpg.d/influxdb.gpg > /dev/null 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" | sudo tee /etc/apt/sources.list.d/influxdb.list > /dev/null
                

                aber:

                wget -qO- https://repos.influxdata.com/influxdb.key | gpg --dearmor |
                sudo tee /etc/apt/trusted.gpg.d/influxdb.gpg > /dev/null 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" | sudo tee /etc/apt/sources.list.d/influxdb.list > /dev/null
                -bash: sc: command not found
                -bash: export: `deb [signed-by=/etc/apt/trusted.gpg.d/influxdb.gpg]
                https://repos.influxdata.com/debian
                stable': not a valid identifier
                
                
                Thomas BraunT Online
                Thomas BraunT Online
                Thomas Braun
                Most Active
                wrote on last edited by
                #17

                @laser

                ???
                WAS tust du da?
                Den key hast du doch gerade mit meinen fünf Zeilen angelegt, jetzt ziehst du da wieder 'irgendwas' anderes rein.
                Kann ja nicht funktionieren, wenn du kreuz und quer irgendwas da reinklatschst.

                Noch mal meine fünf Zeilen. Und dann ist auch influx über den Paketmanager installierbar:

                sudo apt update
                apt policy influxdb2
                

                Linux-Werkzeugkasten:
                https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
                NodeJS Fixer Skript:
                https://forum.iobroker.net/topic/68035/iob-node-fix-skript
                iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

                L 1 Reply Last reply
                0
                • Thomas BraunT Thomas Braun

                  @laser

                  ???
                  WAS tust du da?
                  Den key hast du doch gerade mit meinen fünf Zeilen angelegt, jetzt ziehst du da wieder 'irgendwas' anderes rein.
                  Kann ja nicht funktionieren, wenn du kreuz und quer irgendwas da reinklatschst.

                  Noch mal meine fünf Zeilen. Und dann ist auch influx über den Paketmanager installierbar:

                  sudo apt update
                  apt policy influxdb2
                  
                  L Offline
                  L Offline
                  Laser
                  wrote on last edited by Laser
                  #18

                  @thomas-braun Habe ich gemacht (ne die 5 Zeilen).Ein Problem gibt es noch (Influxdb läßt sich auch nicht starten).

                  $ apt policy influxdb2
                  influxdb2:
                    Installed: 2.7.11-1
                    Candidate: 2.7.11-1
                    Version table:
                   *** 2.7.11-1 500
                          500 https://repos.influxdata.com/debian stable/main arm64 Packages
                          100 /var/lib/dpkg/status
                       2.7.10-1 500
                          500 https://repos.influxdata.com/debian stable/main arm64 Packages
                       2.7.9-1 500
                          500 https://repos.influxdata.com/debian stable/main arm64 Packages
                       2.7.8-1 500
                          500 https://repos.influxdata.com/debian stable/main arm64 Packages
                       2.7.7-1 500
                          500 https://repos.influxdata.com/debian stable/main arm64 Packages
                       2.7.6-1 500
                          500 https://repos.influxdata.com/debian stable/main arm64 Packages
                       2.7.5-1 500
                          500 https://repos.influxdata.com/debian stable/main arm64 Packages
                       2.7.4-1 500
                          500 https://repos.influxdata.com/debian stable/main arm64 Packages
                       2.7.3-1 500
                          500 https://repos.influxdata.com/debian stable/main arm64 Packages
                       2.7.1-1 500
                          500 https://repos.influxdata.com/debian stable/main arm64 Packages
                       2.7.0-1 500
                          500 https://repos.influxdata.com/debian stable/main arm64 Packages
                       2.6.1-1 500
                          500 https://repos.influxdata.com/debian stable/main arm64 Packages
                       2.6.0-1 500
                          500 https://repos.influxdata.com/debian stable/main arm64 Packages
                       2.5.1-1 500
                          500 https://repos.influxdata.com/debian stable/main arm64 Packages
                       2.4.0-1 500
                          500 https://repos.influxdata.com/debian stable/main arm64 Packages
                       2.3.0-1 500
                          500 https://repos.influxdata.com/debian stable/main arm64 Packages
                       2.2.0 500
                          500 https://repos.influxdata.com/debian stable/main arm64 Packages
                  N: Ignoring file 'export' in directory '/etc/apt/sources.list.d/' as it has no filename extension
                  
                  
                  Thomas BraunT 1 Reply Last reply
                  0
                  • L Laser

                    @thomas-braun Habe ich gemacht (ne die 5 Zeilen).Ein Problem gibt es noch (Influxdb läßt sich auch nicht starten).

                    $ apt policy influxdb2
                    influxdb2:
                      Installed: 2.7.11-1
                      Candidate: 2.7.11-1
                      Version table:
                     *** 2.7.11-1 500
                            500 https://repos.influxdata.com/debian stable/main arm64 Packages
                            100 /var/lib/dpkg/status
                         2.7.10-1 500
                            500 https://repos.influxdata.com/debian stable/main arm64 Packages
                         2.7.9-1 500
                            500 https://repos.influxdata.com/debian stable/main arm64 Packages
                         2.7.8-1 500
                            500 https://repos.influxdata.com/debian stable/main arm64 Packages
                         2.7.7-1 500
                            500 https://repos.influxdata.com/debian stable/main arm64 Packages
                         2.7.6-1 500
                            500 https://repos.influxdata.com/debian stable/main arm64 Packages
                         2.7.5-1 500
                            500 https://repos.influxdata.com/debian stable/main arm64 Packages
                         2.7.4-1 500
                            500 https://repos.influxdata.com/debian stable/main arm64 Packages
                         2.7.3-1 500
                            500 https://repos.influxdata.com/debian stable/main arm64 Packages
                         2.7.1-1 500
                            500 https://repos.influxdata.com/debian stable/main arm64 Packages
                         2.7.0-1 500
                            500 https://repos.influxdata.com/debian stable/main arm64 Packages
                         2.6.1-1 500
                            500 https://repos.influxdata.com/debian stable/main arm64 Packages
                         2.6.0-1 500
                            500 https://repos.influxdata.com/debian stable/main arm64 Packages
                         2.5.1-1 500
                            500 https://repos.influxdata.com/debian stable/main arm64 Packages
                         2.4.0-1 500
                            500 https://repos.influxdata.com/debian stable/main arm64 Packages
                         2.3.0-1 500
                            500 https://repos.influxdata.com/debian stable/main arm64 Packages
                         2.2.0 500
                            500 https://repos.influxdata.com/debian stable/main arm64 Packages
                    N: Ignoring file 'export' in directory '/etc/apt/sources.list.d/' as it has no filename extension
                    
                    
                    Thomas BraunT Online
                    Thomas BraunT Online
                    Thomas Braun
                    Most Active
                    wrote on last edited by
                    #19

                    @laser sagte in InfluxDB installieren wie:

                    /etc/apt/sources.list.d/
                    Da haste dir jetzt irgendwelchen Unfug in das Verzeichnis geballert.

                    ls -lh /etc/apt/sources.list.d/
                    

                    Linux-Werkzeugkasten:
                    https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
                    NodeJS Fixer Skript:
                    https://forum.iobroker.net/topic/68035/iob-node-fix-skript
                    iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

                    L 1 Reply Last reply
                    0
                    • Thomas BraunT Thomas Braun

                      @laser sagte in InfluxDB installieren wie:

                      /etc/apt/sources.list.d/
                      Da haste dir jetzt irgendwelchen Unfug in das Verzeichnis geballert.

                      ls -lh /etc/apt/sources.list.d/
                      
                      L Offline
                      L Offline
                      Laser
                      wrote on last edited by Laser
                      #20

                      @thomas-braun sagte in InfluxDB installieren wie:

                      ls -lh /etc/apt/sources.list.d/

                       ls -lh /etc/apt/sources.list.d/
                      total 20K
                      -rw-r--r-- 1 root root 2.8K Jan  1 14:53 export
                      -rw-r--r-- 1 root root   60 Nov 20  2023 grafana.list
                      -rw-r--r-- 1 root root  114 Jan  1 15:18 influxdata.list
                      -rw-r--r-- 1 root root  100 Oct 15 18:10 nodesource.list
                      -rw-r--r-- 1 root root  191 Oct 10  2023 raspi.list
                      
                      

                      in influxdata.list steht:

                      deb [signed-by=/usr/share/keyrings/influxdata-archive_compat.gpg] https://repos.influxdata.com/debian stable main
                      
                      
                      Thomas BraunT 1 Reply Last reply
                      0
                      • L Laser

                        @thomas-braun sagte in InfluxDB installieren wie:

                        ls -lh /etc/apt/sources.list.d/

                         ls -lh /etc/apt/sources.list.d/
                        total 20K
                        -rw-r--r-- 1 root root 2.8K Jan  1 14:53 export
                        -rw-r--r-- 1 root root   60 Nov 20  2023 grafana.list
                        -rw-r--r-- 1 root root  114 Jan  1 15:18 influxdata.list
                        -rw-r--r-- 1 root root  100 Oct 15 18:10 nodesource.list
                        -rw-r--r-- 1 root root  191 Oct 10  2023 raspi.list
                        
                        

                        in influxdata.list steht:

                        deb [signed-by=/usr/share/keyrings/influxdata-archive_compat.gpg] https://repos.influxdata.com/debian stable main
                        
                        
                        Thomas BraunT Online
                        Thomas BraunT Online
                        Thomas Braun
                        Most Active
                        wrote on last edited by
                        #21

                        @laser sagte in InfluxDB installieren wie:

                        /etc/apt/sources.list.d/

                        sudo rm /etc/apt/sources.list.d/export
                        

                        Und gewöhn dir bitte an, die Ein- und Ausgaben aus der Konsole VOLLSTÄNDIG zu posten.
                        Dann würde man nämlich eher sehen, mit welchem user du da in welchem Verzeichnis herumhampelst.

                        Linux-Werkzeugkasten:
                        https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
                        NodeJS Fixer Skript:
                        https://forum.iobroker.net/topic/68035/iob-node-fix-skript
                        iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

                        L 1 Reply Last reply
                        0
                        • Thomas BraunT Thomas Braun

                          @laser sagte in InfluxDB installieren wie:

                          /etc/apt/sources.list.d/

                          sudo rm /etc/apt/sources.list.d/export
                          

                          Und gewöhn dir bitte an, die Ein- und Ausgaben aus der Konsole VOLLSTÄNDIG zu posten.
                          Dann würde man nämlich eher sehen, mit welchem user du da in welchem Verzeichnis herumhampelst.

                          L Offline
                          L Offline
                          Laser
                          wrote on last edited by Laser
                          #22

                          @thomas-braun OK, mache ich. habe aus Datenschutzgründen meinen streng geheimen Usernamen weg gelassen.

                          otto@neuheizung:~ $  ls -lh /etc/apt/sources.list.d/
                          total 20K
                          -rw-r--r-- 1 root root 2.8K Jan  1 14:53 export
                          -rw-r--r-- 1 root root   60 Nov 20  2023 grafana.list
                          -rw-r--r-- 1 root root  114 Jan  1 15:18 influxdata.list
                          -rw-r--r-- 1 root root  100 Oct 15 18:10 nodesource.list
                          -rw-r--r-- 1 root root  191 Oct 10  2023 raspi.list
                          
                          

                          Jetzt:

                          
                          otto@neuheizung:~ $ ls -lh /etc/apt/sources.list.d/
                          total 16K
                          -rw-r--r-- 1 root root  60 Nov 20  2023 grafana.list
                          -rw-r--r-- 1 root root 114 Jan  1 15:18 influxdata.list
                          -rw-r--r-- 1 root root 100 Oct 15 18:10 nodesource.list
                          -rw-r--r-- 1 root root 191 Oct 10  2023 raspi.list
                          
                          
                          Thomas BraunT 1 Reply Last reply
                          0
                          • L Laser

                            @thomas-braun OK, mache ich. habe aus Datenschutzgründen meinen streng geheimen Usernamen weg gelassen.

                            otto@neuheizung:~ $  ls -lh /etc/apt/sources.list.d/
                            total 20K
                            -rw-r--r-- 1 root root 2.8K Jan  1 14:53 export
                            -rw-r--r-- 1 root root   60 Nov 20  2023 grafana.list
                            -rw-r--r-- 1 root root  114 Jan  1 15:18 influxdata.list
                            -rw-r--r-- 1 root root  100 Oct 15 18:10 nodesource.list
                            -rw-r--r-- 1 root root  191 Oct 10  2023 raspi.list
                            
                            

                            Jetzt:

                            
                            otto@neuheizung:~ $ ls -lh /etc/apt/sources.list.d/
                            total 16K
                            -rw-r--r-- 1 root root  60 Nov 20  2023 grafana.list
                            -rw-r--r-- 1 root root 114 Jan  1 15:18 influxdata.list
                            -rw-r--r-- 1 root root 100 Oct 15 18:10 nodesource.list
                            -rw-r--r-- 1 root root 191 Oct 10  2023 raspi.list
                            
                            
                            Thomas BraunT Online
                            Thomas BraunT Online
                            Thomas Braun
                            Most Active
                            wrote on last edited by
                            #23

                            @laser

                            Dann sollte das nun richtig funktionieren.

                            Linux-Werkzeugkasten:
                            https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
                            NodeJS Fixer Skript:
                            https://forum.iobroker.net/topic/68035/iob-node-fix-skript
                            iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

                            L 1 Reply Last reply
                            0
                            • Thomas BraunT Thomas Braun

                              @laser

                              Dann sollte das nun richtig funktionieren.

                              L Offline
                              L Offline
                              Laser
                              wrote on last edited by
                              #24

                              @thomas-braun eine Fehlermeldung kommt schon mal nicht mehr.

                              Thomas BraunT 1 Reply Last reply
                              0
                              • L Laser

                                @thomas-braun eine Fehlermeldung kommt schon mal nicht mehr.

                                Thomas BraunT Online
                                Thomas BraunT Online
                                Thomas Braun
                                Most Active
                                wrote on last edited by
                                #25

                                @laser

                                sudo apt update
                                

                                läuft sauber durch?

                                Linux-Werkzeugkasten:
                                https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
                                NodeJS Fixer Skript:
                                https://forum.iobroker.net/topic/68035/iob-node-fix-skript
                                iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

                                L 1 Reply Last reply
                                0
                                • Thomas BraunT Thomas Braun

                                  @laser

                                  sudo apt update
                                  

                                  läuft sauber durch?

                                  L Offline
                                  L Offline
                                  Laser
                                  wrote on last edited by Laser
                                  #26

                                  @thomas-braun sudo apt update und apt policy influxdb2 läuft durch, die influxdb läßt sich aber noch nicht starten. Muß ich noch mehr installieren? in meiner alten Anleitung stand noch:

                                   sudo apt-get install -y apt-transport-https
                                   sudo apt-get install -y software-properties-common wget
                                  
                                   evtl. zwischendurch "reboot"
                                  
                                  sudo apt install influxdb-client
                                  sudo service influxdb start
                                  sudo service influxdb status
                                  
                                  sudo systemctl unmask influxdb.service
                                  sudo systemctl start influxdb.service
                                  sudo systemctl enable influxdb.service
                                  
                                  Thomas BraunT 1 Reply Last reply
                                  0
                                  • L Laser

                                    @thomas-braun sudo apt update und apt policy influxdb2 läuft durch, die influxdb läßt sich aber noch nicht starten. Muß ich noch mehr installieren? in meiner alten Anleitung stand noch:

                                     sudo apt-get install -y apt-transport-https
                                     sudo apt-get install -y software-properties-common wget
                                    
                                     evtl. zwischendurch "reboot"
                                    
                                    sudo apt install influxdb-client
                                    sudo service influxdb start
                                    sudo service influxdb status
                                    
                                    sudo systemctl unmask influxdb.service
                                    sudo systemctl start influxdb.service
                                    sudo systemctl enable influxdb.service
                                    
                                    Thomas BraunT Online
                                    Thomas BraunT Online
                                    Thomas Braun
                                    Most Active
                                    wrote on last edited by
                                    #27

                                    @laser

                                    Ist doch installiert:

                                    influxdb2:
                                      Installed: 2.7.11-1
                                      Candidate: 2.7.11-1
                                    
                                    systemctl status influxdb*
                                    

                                    sagt?

                                    Linux-Werkzeugkasten:
                                    https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
                                    NodeJS Fixer Skript:
                                    https://forum.iobroker.net/topic/68035/iob-node-fix-skript
                                    iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

                                    L 1 Reply Last reply
                                    0
                                    • Thomas BraunT Thomas Braun

                                      @laser

                                      Ist doch installiert:

                                      influxdb2:
                                        Installed: 2.7.11-1
                                        Candidate: 2.7.11-1
                                      
                                      systemctl status influxdb*
                                      

                                      sagt?

                                      L Offline
                                      L Offline
                                      Laser
                                      wrote on last edited by Laser
                                      #28

                                      @thomas-braun sagte in InfluxDB installieren wie:

                                      systemctl status influxdb*

                                      otto@neuheizung:~ $ systemctl status influxdb*
                                      × influxdb.service - InfluxDB is an open-source, distributed, time series database
                                           Loaded: loaded (/lib/systemd/system/influxdb.service; enabled; preset: enabled)
                                           Active: failed (Result: exit-code) since Wed 2025-01-01 15:33:58 CET; 4min 27s ago
                                             Docs: https://docs.influxdata.com/influxdb/
                                          Process: 12396 ExecStart=/usr/lib/influxdb/scripts/influxd-systemd-start.sh (code=exited, status=127)
                                              CPU: 8ms
                                      
                                      Jan 01 15:33:58 neuheizung systemd[1]: influxdb.service: Scheduled restart job, restart counter is at 5.
                                      Jan 01 15:33:58 neuheizung systemd[1]: Stopped influxdb.service - InfluxDB is an open-source, distributed, time series databa>
                                      Jan 01 15:33:58 neuheizung systemd[1]: influxdb.service: Start request repeated too quickly.
                                      Jan 01 15:33:58 neuheizung systemd[1]: influxdb.service: Failed with result 'exit-code'.
                                      Jan 01 15:33:58 neuheizung systemd[1]: Failed to start influxdb.service - InfluxDB is an open-source, distributed, time serie>
                                      
                                      
                                      

                                      werde noch ein reboot machen. Hat aber nicht geholfen.

                                      
                                      otto@neuheizung:~ $ systemctl status influxdb*
                                      × influxdb.service - InfluxDB is an open-source, distributed, time series database
                                           Loaded: loaded (/lib/systemd/system/influxdb.service; enabled; preset: enabled)
                                           Active: failed (Result: exit-code) since Wed 2025-01-01 15:42:56 CET; 5s ago
                                             Docs: https://docs.influxdata.com/influxdb/
                                          Process: 799 ExecStart=/usr/lib/influxdb/scripts/influxd-systemd-start.sh (code=exited, status=127)
                                              CPU: 7ms
                                      
                                      Jan 01 15:42:56 neuheizung systemd[1]: influxdb.service: Scheduled restart job, restart counter is at 5.
                                      Jan 01 15:42:56 neuheizung systemd[1]: Stopped influxdb.service - InfluxDB is an open-source, distributed, time series database.
                                      Jan 01 15:42:56 neuheizung systemd[1]: influxdb.service: Start request repeated too quickly.
                                      Jan 01 15:42:56 neuheizung systemd[1]: influxdb.service: Failed with result 'exit-code'.
                                      Jan 01 15:42:56 neuheizung systemd[1]: Failed to start influxdb.service - InfluxDB is an open-source, distributed, time series database.
                                      otto@neuheizung:~ $ sudo service influxdb start
                                      Job for influxdb.service failed because the control process exited with error code.
                                      See "systemctl status influxdb.service" and "journalctl -xeu influxdb.service" for details.
                                      
                                      

                                      da fehlt noch was...

                                      otto@neuheizung:~ $ journalctl -xeu influxdb.service
                                      ░░ Subject: A stop job for unit influxdb.service has finished
                                      ░░ Defined-By: systemd
                                      ░░ Support: https://www.debian.org/support
                                      ░░
                                      ░░ A stop job for unit influxdb.service has finished.
                                      ░░
                                      ░░ The job identifier is 1512 and the job result is done.
                                      Jan 01 15:51:25 neuheizung systemd[1]: influxdb.service: Start request repeated too quickly.
                                      Jan 01 15:51:25 neuheizung systemd[1]: influxdb.service: Failed with result 'exit-code'.
                                      ░░ Subject: Unit failed
                                      ░░ Defined-By: systemd
                                      ░░ Support: https://www.debian.org/support
                                      ░░
                                      ░░ The unit influxdb.service has entered the 'failed' state with result 'exit-code'.
                                      Jan 01 15:51:25 neuheizung systemd[1]: Failed to start influxdb.service - InfluxDB is an open-source, distributed, time series database.
                                      ░░ Subject: A start job for unit influxdb.service has failed
                                      ░░ Defined-By: systemd
                                      ░░ Support: https://www.debian.org/support
                                      ░░
                                      ░░ A start job for unit influxdb.service has finished with a failure.
                                      ░░
                                      ░░ The job identifier is 1512 and the job result is failed.
                                      
                                      
                                      Thomas BraunT 1 Reply Last reply
                                      0
                                      • L Laser

                                        @thomas-braun sagte in InfluxDB installieren wie:

                                        systemctl status influxdb*

                                        otto@neuheizung:~ $ systemctl status influxdb*
                                        × influxdb.service - InfluxDB is an open-source, distributed, time series database
                                             Loaded: loaded (/lib/systemd/system/influxdb.service; enabled; preset: enabled)
                                             Active: failed (Result: exit-code) since Wed 2025-01-01 15:33:58 CET; 4min 27s ago
                                               Docs: https://docs.influxdata.com/influxdb/
                                            Process: 12396 ExecStart=/usr/lib/influxdb/scripts/influxd-systemd-start.sh (code=exited, status=127)
                                                CPU: 8ms
                                        
                                        Jan 01 15:33:58 neuheizung systemd[1]: influxdb.service: Scheduled restart job, restart counter is at 5.
                                        Jan 01 15:33:58 neuheizung systemd[1]: Stopped influxdb.service - InfluxDB is an open-source, distributed, time series databa>
                                        Jan 01 15:33:58 neuheizung systemd[1]: influxdb.service: Start request repeated too quickly.
                                        Jan 01 15:33:58 neuheizung systemd[1]: influxdb.service: Failed with result 'exit-code'.
                                        Jan 01 15:33:58 neuheizung systemd[1]: Failed to start influxdb.service - InfluxDB is an open-source, distributed, time serie>
                                        
                                        
                                        

                                        werde noch ein reboot machen. Hat aber nicht geholfen.

                                        
                                        otto@neuheizung:~ $ systemctl status influxdb*
                                        × influxdb.service - InfluxDB is an open-source, distributed, time series database
                                             Loaded: loaded (/lib/systemd/system/influxdb.service; enabled; preset: enabled)
                                             Active: failed (Result: exit-code) since Wed 2025-01-01 15:42:56 CET; 5s ago
                                               Docs: https://docs.influxdata.com/influxdb/
                                            Process: 799 ExecStart=/usr/lib/influxdb/scripts/influxd-systemd-start.sh (code=exited, status=127)
                                                CPU: 7ms
                                        
                                        Jan 01 15:42:56 neuheizung systemd[1]: influxdb.service: Scheduled restart job, restart counter is at 5.
                                        Jan 01 15:42:56 neuheizung systemd[1]: Stopped influxdb.service - InfluxDB is an open-source, distributed, time series database.
                                        Jan 01 15:42:56 neuheizung systemd[1]: influxdb.service: Start request repeated too quickly.
                                        Jan 01 15:42:56 neuheizung systemd[1]: influxdb.service: Failed with result 'exit-code'.
                                        Jan 01 15:42:56 neuheizung systemd[1]: Failed to start influxdb.service - InfluxDB is an open-source, distributed, time series database.
                                        otto@neuheizung:~ $ sudo service influxdb start
                                        Job for influxdb.service failed because the control process exited with error code.
                                        See "systemctl status influxdb.service" and "journalctl -xeu influxdb.service" for details.
                                        
                                        

                                        da fehlt noch was...

                                        otto@neuheizung:~ $ journalctl -xeu influxdb.service
                                        ░░ Subject: A stop job for unit influxdb.service has finished
                                        ░░ Defined-By: systemd
                                        ░░ Support: https://www.debian.org/support
                                        ░░
                                        ░░ A stop job for unit influxdb.service has finished.
                                        ░░
                                        ░░ The job identifier is 1512 and the job result is done.
                                        Jan 01 15:51:25 neuheizung systemd[1]: influxdb.service: Start request repeated too quickly.
                                        Jan 01 15:51:25 neuheizung systemd[1]: influxdb.service: Failed with result 'exit-code'.
                                        ░░ Subject: Unit failed
                                        ░░ Defined-By: systemd
                                        ░░ Support: https://www.debian.org/support
                                        ░░
                                        ░░ The unit influxdb.service has entered the 'failed' state with result 'exit-code'.
                                        Jan 01 15:51:25 neuheizung systemd[1]: Failed to start influxdb.service - InfluxDB is an open-source, distributed, time series database.
                                        ░░ Subject: A start job for unit influxdb.service has failed
                                        ░░ Defined-By: systemd
                                        ░░ Support: https://www.debian.org/support
                                        ░░
                                        ░░ A start job for unit influxdb.service has finished with a failure.
                                        ░░
                                        ░░ The job identifier is 1512 and the job result is failed.
                                        
                                        
                                        Thomas BraunT Online
                                        Thomas BraunT Online
                                        Thomas Braun
                                        Most Active
                                        wrote on last edited by
                                        #29

                                        @laser

                                        Lt. offizieller Anleitung war es das:

                                        If InfluxDB was installed as a systemd service, systemd manages the influxd daemon and no further action is required.

                                        Was du da nun unterdessen noch nebenher anders gemacht hast weißt nur du.

                                        Linux-Werkzeugkasten:
                                        https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
                                        NodeJS Fixer Skript:
                                        https://forum.iobroker.net/topic/68035/iob-node-fix-skript
                                        iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

                                        L 1 Reply Last reply
                                        0
                                        • Thomas BraunT Thomas Braun

                                          @laser

                                          Lt. offizieller Anleitung war es das:

                                          If InfluxDB was installed as a systemd service, systemd manages the influxd daemon and no further action is required.

                                          Was du da nun unterdessen noch nebenher anders gemacht hast weißt nur du.

                                          L Offline
                                          L Offline
                                          Laser
                                          wrote on last edited by Laser
                                          #30

                                          @thomas-braun Ich habe versucht, influxdb zu deinstallieren und wieder neu zu installieren. Die Daten waren mir erst mal egal. Von der letzten Installation vor 1 Jahr weiß ich noch schwach, daß z.B. ein influx-CLI gebraucht wird. Ist das nicht so? Wie das geht, habe ich mir nicht aufgeschrieben.

                                          Thomas BraunT 1 Reply Last reply
                                          0
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          Support us

                                          ioBroker
                                          Community Adapters
                                          Donate

                                          630

                                          Online

                                          32.4k

                                          Users

                                          81.4k

                                          Topics

                                          1.3m

                                          Posts
                                          Community
                                          Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
                                          ioBroker Community 2014-2025
                                          logo
                                          • Login

                                          • Don't have an account? Register

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • Recent
                                          • Tags
                                          • Unread 0
                                          • Categories
                                          • Unreplied
                                          • Popular
                                          • GitHub
                                          • Docu
                                          • Hilfe