Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Off Topic
    4. InfluxDB
    5. InfluxDB auf Raspberry PI4 meldet: 404 page not found

    NEWS

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

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    InfluxDB auf Raspberry PI4 meldet: 404 page not found

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

      @homoran

      Wobei du bzgl. des OS / Releases Recht hast. apt würde auch Versionen für 'stretch' anzeigen, wenn man denn ein solches Repo aktiv hätte.

      1 Reply Last reply Reply Quote 0
      • Alexander Apel
        Alexander Apel @Thomas Braun last edited by Alexander Apel

        @thomas-braun
        so, den "falschen" Eintrag habe ich entfernt und auch influxdb2 installiert

        influxdb2:
          Installed: 2.7.1-1
          Candidate: 2.7.1-1
          Version table:
         *** 2.7.1-1 500
                500 https://repos.influxdata.com/debian bullseye/stable arm64 Packages
                100 /var/lib/dpkg/status
             2.7.0-1 500
                500 https://repos.influxdata.com/debian bullseye/stable arm64 Packages
             2.6.1-1 500
                500 https://repos.influxdata.com/debian bullseye/stable arm64 Packages
             2.6.0-1 500
                500 https://repos.influxdata.com/debian bullseye/stable arm64 Packages
             2.5.1-1 500
                500 https://repos.influxdata.com/debian bullseye/stable arm64 Packages
             2.4.0-1 500
                500 https://repos.influxdata.com/debian bullseye/stable arm64 Packages
             2.3.0-1 500
                500 https://repos.influxdata.com/debian bullseye/stable arm64 Packages
             2.2.0 500
                500 https://repos.influxdata.com/debian bullseye/stable arm64 Packages
        
        

        Laut dem Link (https://docs.influxdata.com/influxdb/v2.2/install/?t=CLI+Setup) soll ich jetzt influx setup ausführen aber das geht nicht. Was muss ich jetzt tun?

         sudo influx setup
        Error: failed to check if already set up: 404 Not Found
        
        
        Thomas Braun 1 Reply Last reply Reply Quote 0
        • Thomas Braun
          Thomas Braun Most Active @Alexander Apel last edited by

          @alexander-apel
          NICHT mit sudo.
          sudo wird nur an hohen Feiertagen verwendet.

          Ansonsten kann ich dir da nicht weiterhelfen, hab influxdb2 nicht im Einsatz.

          Alexander Apel 1 Reply Last reply Reply Quote 0
          • Alexander Apel
            Alexander Apel @Thomas Braun last edited by

            @thomas-braun
            ohne sudo kommt die gleiche Meldung

            influx setup
            Error: failed to check if already set up: 404 Not Found
            
            

            Jemand anders eine idee, weil jetzt geht garnichts mehr 😊

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

              @alexander-apel dazu muss doch noch die influx CLI installiert werden

              Alexander Apel 1 Reply Last reply Reply Quote 0
              • Alexander Apel
                Alexander Apel @crunchip last edited by Alexander Apel

                @crunchip das habe ich bereits
                Installiert nach https://docs.influxdata.com/influxdb/v2.2/tools/influx-cli/?t=Linux
                und eine Config habe ich auch bereits angelegt

                admin@ioBroker:~ $ influx config
                Active  Name            URL                     Org
                        localconfig     http://localhost:8086   iobroker
                admin@ioBroker:~ $ influx setup
                Error: failed to check if already set up: 404 Not Found
                
                

                aber dennoch kommt immer 404 wenn ich das Setup starten will, egal ob über das Terminal oder über die WebUI

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

                  @alexander-apel

                  apt policy influx*
                  

                  sagt?

                  Alexander Apel 1 Reply Last reply Reply Quote 0
                  • Alexander Apel
                    Alexander Apel @Thomas Braun last edited by

                    @thomas-braun
                    nichts guten 😞

                    admin@ioBroker:~ $ apt policy influx*
                    N: Unable to locate package influxdata-archive_compat.key
                    N: Unable to locate package influxdb2-client-2.2.1-linux-arm64
                    N: Couldn't find any package by glob 'influxdb2-client-2.2.1-linux-arm64'
                    N: Unable to locate package influxdb2-client-2.2.1-linux-arm64.tar.gz
                    N: Couldn't find any package by glob 'influxdb2-client-2.2.1-linux-arm64.tar.gz'
                    N: Unable to locate package influxdb.key
                    N: Couldn't find any package by glob 'influxdb.key'
                    N: Unable to locate package influxdb.key.1
                    N: Couldn't find any package by glob 'influxdb.key.1'
                    
                    
                    Thomas Braun 1 Reply Last reply Reply Quote 0
                    • Thomas Braun
                      Thomas Braun Most Active @Alexander Apel last edited by

                      @alexander-apel

                      rm influxd*
                      sudo apt update
                      apt policy influx*
                      

                      Hast du versucht den client über den tarball zu installieren? Macht man nicht, man verwendet IMMER seinen Paketmanager für Software-Installationen. Dafür ist der nämlich da.

                      Alexander Apel 1 Reply Last reply Reply Quote 0
                      • Alexander Apel
                        Alexander Apel @Thomas Braun last edited by

                        @thomas-braun
                        ich habe keine Ahnung was tarball ist ist, ich habe mich an die Anleitung von influx data gehalten.
                        Irgendwie hat da auch was funktioniert weil die Version 2.2.1 ist wohl installiert

                        influx version
                        Influx CLI 2.2.1 (git: 31ac783) build_date: 2021-11-09T21:24:22Z
                        

                        aber wahrscheinlich sind diese letzten Fehler hier das Problem warum es nicht weiter geht...

                        admin@ioBroker:~ $ rm influxd*
                        rm: cannot remove 'influxdb2-client-2.2.1-linux-arm64': Is a directory
                        admin@ioBroker:~ $ sudo apt update
                        Hit:1 http://security.debian.org/debian-security bullseye-security InRelease
                        Hit:2 http://deb.debian.org/debian bullseye InRelease
                        Get:3 http://deb.debian.org/debian bullseye-updates InRelease [44.1 kB]
                        Hit:4 http://archive.raspberrypi.org/debian bullseye InRelease
                        Hit:5 https://packages.grafana.com/oss/deb stable InRelease
                        Get:6 https://repos.influxdata.com/debian stable InRelease [6,892 B]
                        Hit:7 https://deb.nodesource.com/node_18.x bullseye InRelease
                        Hit:8 https://repos.influxdata.com/debian bullseye InRelease
                        Err:6 https://repos.influxdata.com/debian stable InRelease
                          The following signatures couldn't be verified because the public key is not available: NO_PUBKEY D8FF8E1F7DF8B07E
                        Reading package lists... Done
                        W: GPG error: https://repos.influxdata.com/debian stable InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY D8FF8E1F7DF8B07E
                        E: The repository 'https://repos.influxdata.com/debian stable InRelease' is not signed.
                        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.
                        admin@ioBroker:~ $ apt policy influx*
                        N: Unable to locate package influxdb2-client-2.2.1-linux-arm64
                        N: Couldn't find any package by glob 'influxdb2-client-2.2.1-linux-arm64'
                        
                        
                        Thomas Braun 1 Reply Last reply Reply Quote 0
                        • Thomas Braun
                          Thomas Braun Most Active @Alexander Apel last edited by

                          @alexander-apel sagte in InfluxDB auf Raspberry PI4 meldet: 404 page not found:

                          ich habe mich an die Anleitung von influx data gehalten

                          Die ist so allgemein gehalten, die ist für deine Situation 'falsch'.

                          rm -rf influxd*
                          sudo rm /etc/apt/source.list.d/infl*
                          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
                          sudo apt update
                          
                          Alexander Apel 1 Reply Last reply Reply Quote 0
                          • Alexander Apel
                            Alexander Apel @Thomas Braun last edited by Alexander Apel

                            @thomas-braun
                            ja wie gesagt, das sind meine "ersten Schritt" und ich habe keine Ahnung was ich hier tue und es tut mir auch voll leid das ich euch so dumme Fragen stellen muss 😞
                            jetzt kam dieser Fehler

                            sudo rm /etc/apt/source.list.d/infl*
                            rm: cannot remove '/etc/apt/source.list.d/infl*': No such file or directory
                            
                            

                            aber der Rest ging durch und die policy sieht jetzt so aus

                            apt policy influx*
                            influxdb2-cli:
                              Installed: 2.7.3-1
                              Candidate: 2.7.3-1
                              Version table:
                             *** 2.7.3-1 500
                                    500 https://repos.influxdata.com/debian stable/main arm64 Packages
                                    500 https://repos.influxdata.com/debian bullseye/stable arm64 Packages
                                    100 /var/lib/dpkg/status
                                 2.7.1-2 500
                                    500 https://repos.influxdata.com/debian stable/main arm64 Packages
                                    500 https://repos.influxdata.com/debian bullseye/stable arm64 Packages
                                 2.6.1 500
                                    500 https://repos.influxdata.com/debian stable/main arm64 Packages
                                    500 https://repos.influxdata.com/debian bullseye/stable arm64 Packages
                                 2.6.0 500
                                    500 https://repos.influxdata.com/debian stable/main arm64 Packages
                                    500 https://repos.influxdata.com/debian bullseye/stable arm64 Packages
                                 2.5.0 500
                                    500 https://repos.influxdata.com/debian stable/main arm64 Packages
                                    500 https://repos.influxdata.com/debian bullseye/stable arm64 Packages
                                 2.4.0 500
                                    500 https://repos.influxdata.com/debian stable/main arm64 Packages
                                    500 https://repos.influxdata.com/debian bullseye/stable arm64 Packages
                                 2.3.0 500
                                    500 https://repos.influxdata.com/debian stable/main arm64 Packages
                                    500 https://repos.influxdata.com/debian bullseye/stable arm64 Packages
                            influxdb-client:
                              Installed: (none)
                              Candidate: 1.6.7~rc0-1+b5
                              Version table:
                                 1.6.7~rc0-1+b5 500
                                    500 http://deb.debian.org/debian bullseye/main arm64 Packages
                            influxdb-dev:
                              Installed: (none)
                              Candidate: (none)
                              Version table:
                            influxdb2-client:
                              Installed: (none)
                              Candidate: 2.7.1-1
                              Version table:
                                 2.7.1-1 500
                                    500 https://repos.influxdata.com/debian stable/main arm64 Packages
                                    500 https://repos.influxdata.com/debian bullseye/stable arm64 Packages
                            influxdb:
                              Installed: (none)
                              Candidate: 1.8.10-1
                              Version table:
                                 1.8.10-1 500
                                    500 https://repos.influxdata.com/debian stable/main arm64 Packages
                                    500 https://repos.influxdata.com/debian bullseye/stable arm64 Packages
                                 1.6.7~rc0-1+b5 500
                                    500 http://deb.debian.org/debian bullseye/main arm64 Packages
                            influxdb2:
                              Installed: 2.7.1-1
                              Candidate: 2.7.1-1
                              Version table:
                             *** 2.7.1-1 500
                                    500 https://repos.influxdata.com/debian stable/main arm64 Packages
                                    500 https://repos.influxdata.com/debian bullseye/stable arm64 Packages
                                    100 /var/lib/dpkg/status
                                 2.7.0-1 500
                                    500 https://repos.influxdata.com/debian stable/main arm64 Packages
                                    500 https://repos.influxdata.com/debian bullseye/stable arm64 Packages
                                 2.6.1-1 500
                                    500 https://repos.influxdata.com/debian stable/main arm64 Packages
                                    500 https://repos.influxdata.com/debian bullseye/stable arm64 Packages
                                 2.6.0-1 500
                                    500 https://repos.influxdata.com/debian stable/main arm64 Packages
                                    500 https://repos.influxdata.com/debian bullseye/stable arm64 Packages
                                 2.5.1-1 500
                                    500 https://repos.influxdata.com/debian stable/main arm64 Packages
                                    500 https://repos.influxdata.com/debian bullseye/stable arm64 Packages
                                 2.4.0-1 500
                                    500 https://repos.influxdata.com/debian stable/main arm64 Packages
                                    500 https://repos.influxdata.com/debian bullseye/stable arm64 Packages
                                 2.3.0-1 500
                                    500 https://repos.influxdata.com/debian stable/main arm64 Packages
                                    500 https://repos.influxdata.com/debian bullseye/stable arm64 Packages
                                 2.2.0 500
                                    500 https://repos.influxdata.com/debian stable/main arm64 Packages
                                    500 https://repos.influxdata.com/debian bullseye/stable arm64 Packages
                            
                            

                            *edit: Das Setup geht immer noch nicht - wieder oder besser immer noch 404 not Found

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

                              @alexander-apel sagte in InfluxDB auf Raspberry PI4 meldet: 404 page not found:

                              influxdb2-cli

                              sudo apt remove influxdb2-cli
                              sudo apt install influxdb2-client
                              

                              Und du hast eine Doublette irgendwo.
                              Schau per

                              grep -rn '/etc/apt/' -e 'influx'
                              

                              nach in welcher Datei das ist. Dann die Zeile, die nicht bullseye enthält löschen.

                              Alexander Apel 1 Reply Last reply Reply Quote 0
                              • Alexander Apel
                                Alexander Apel @Thomas Braun last edited by

                                @thomas-braun
                                habe den falschen Part auskommentiert

                                 grep -rn '/etc/apt/' -e 'influx'
                                grep: /etc/apt/trusted.gpg~: binary file matches
                                grep: /etc/apt/trusted.gpg: binary file matches
                                /etc/apt/sources.list.d/influxdata.list:1:#deb [signed-by=/usr/share/keyrings/influxdata-archive_compat.gpg] https://repos.influxdata.com/debian stable main
                                /etc/apt/sources.list.d/influxdb.list:1:deb https://repos.influxdata.com/debian bullseye stable
                                grep: /etc/apt/trusted.gpg.d/influxdata-archive_compat.gpg: binary file matches
                                grep: /etc/apt/trusted.gpg.d/influxdb.gpg: binary file matches
                                
                                

                                und neuinstalliert, aber nach wie vor...

                                admin@ioBroker:~ $ influx ping
                                OK
                                admin@ioBroker:~ $ influx version
                                Influx CLI 2.2.1 (git: 31ac783) build_date: 2021-11-09T21:24:22Z
                                admin@ioBroker:~ $ influx setup
                                Error: failed to check if already set up: 404 Not Found
                                
                                
                                Thomas Braun 1 Reply Last reply Reply Quote 0
                                • Thomas Braun
                                  Thomas Braun Most Active @Alexander Apel last edited by

                                  @alexander-apel sagte in InfluxDB auf Raspberry PI4 meldet: 404 page not found:

                                  Okay, Kommando zurück.
                                  Mach die influxdata.list wieder aktiv, dafür löschst du

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

                                  und

                                  sudo rm /etc/apt/trusted.gpg.d/influx*
                                  
                                  sudo apt update
                                  
                                  Alexander Apel 1 Reply Last reply Reply Quote 0
                                  • Alexander Apel
                                    Alexander Apel @Thomas Braun last edited by Alexander Apel

                                    @thomas-braun alles erledigt, aber gleiches Ergebnis. Aber die policy sieht jetzt schonmal besser aus 🙂

                                    admin@ioBroker:~ $ influx ping
                                    OK
                                    admin@ioBroker:~ $ influx version
                                    Influx CLI 2.2.1 (git: 31ac783) build_date: 2021-11-09T21:24:22Z
                                    admin@ioBroker:~ $ influx setup
                                    Error: failed to check if already set up: 404 Not Found
                                    admin@ioBroker:~ $ apt policy influx*
                                    influxdb2-cli:
                                      Installed: (none)
                                      Candidate: (none)
                                      Version table:
                                    influxdb-client:
                                      Installed: (none)
                                      Candidate: 1.6.7~rc0-1+b5
                                      Version table:
                                         1.6.7~rc0-1+b5 500
                                            500 http://deb.debian.org/debian bullseye/main arm64 Packages
                                    influxdb-dev:
                                      Installed: (none)
                                      Candidate: (none)
                                      Version table:
                                    influxdb2-client:
                                      Installed: 2.7.1-1
                                      Candidate: 2.7.1-1
                                      Version table:
                                     *** 2.7.1-1 100
                                            100 /var/lib/dpkg/status
                                    influxdb:
                                      Installed: (none)
                                      Candidate: 1.6.7~rc0-1+b5
                                      Version table:
                                         1.6.7~rc0-1+b5 500
                                            500 http://deb.debian.org/debian bullseye/main arm64 Packages
                                    influxdb2:
                                      Installed: 2.7.1-1
                                      Candidate: 2.7.1-1
                                      Version table:
                                     *** 2.7.1-1 100
                                            100 /var/lib/dpkg/status
                                    
                                    

                                    oder sehe ich das richtig das die CLI jetzt fehlt?

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

                                      @alexander-apel sagte in InfluxDB auf Raspberry PI4 meldet: 404 page not found:

                                      oder sehe ich das richtig das die CLI jetzt fehlt?

                                      Nein, dir fehlt aber eine aktive Quelle dafür. Nimm das Kommentarzeichen aus der /etc/apt/sources.list.d/influxdata.list wieder raus.

                                      Dann

                                      sudo apt update
                                      
                                      Alexander Apel 1 Reply Last reply Reply Quote 0
                                      • Alexander Apel
                                        Alexander Apel @Thomas Braun last edited by

                                        @thomas-braun
                                        ok aber installed steht none

                                        admin@ioBroker:~ $ apt policy influx*
                                        influxdb2-cli:
                                          Installed: (none)
                                          Candidate: 2.7.3-1
                                          Version table:
                                             2.7.3-1 500
                                                500 https://repos.influxdata.com/debian stable/main arm64 Packages
                                             2.7.1-2 500
                                                500 https://repos.influxdata.com/debian stable/main arm64 Packages
                                             2.6.1 500
                                                500 https://repos.influxdata.com/debian stable/main arm64 Packages
                                             2.6.0 500
                                                500 https://repos.influxdata.com/debian stable/main arm64 Packages
                                             2.5.0 500
                                                500 https://repos.influxdata.com/debian stable/main arm64 Packages
                                             2.4.0 500
                                                500 https://repos.influxdata.com/debian stable/main arm64 Packages
                                             2.3.0 500
                                                500 https://repos.influxdata.com/debian stable/main arm64 Packages
                                        influxdb-client:
                                          Installed: (none)
                                          Candidate: 1.6.7~rc0-1+b5
                                          Version table:
                                             1.6.7~rc0-1+b5 500
                                                500 http://deb.debian.org/debian bullseye/main arm64 Packages
                                        influxdb-dev:
                                          Installed: (none)
                                          Candidate: (none)
                                          Version table:
                                        influxdb2-client:
                                          Installed: 2.7.1-1
                                          Candidate: 2.7.1-1
                                          Version table:
                                         *** 2.7.1-1 500
                                                500 https://repos.influxdata.com/debian stable/main arm64 Packages
                                                100 /var/lib/dpkg/status
                                        influxdb:
                                          Installed: (none)
                                          Candidate: 1.8.10-1
                                          Version table:
                                             1.8.10-1 500
                                                500 https://repos.influxdata.com/debian stable/main arm64 Packages
                                             1.6.7~rc0-1+b5 500
                                                500 http://deb.debian.org/debian bullseye/main arm64 Packages
                                        influxdb2:
                                          Installed: 2.7.1-1
                                          Candidate: 2.7.1-1
                                          Version table:
                                         *** 2.7.1-1 500
                                                500 https://repos.influxdata.com/debian stable/main arm64 Packages
                                                100 /var/lib/dpkg/status
                                             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
                                        
                                        
                                        Thomas Braun 1 Reply Last reply Reply Quote 0
                                        • Thomas Braun
                                          Thomas Braun Most Active @Alexander Apel last edited by

                                          @alexander-apel sagte in InfluxDB auf Raspberry PI4 meldet: 404 page not found:
                                          Du möchtest influxdb2-client statt influxdb2-cli installiert haben. Hast du auch:

                                          influxdb2-client:
                                          
                                            Installed: 2.7.1-1
                                          
                                            Candidate: 2.7.1-1
                                          
                                          Alexander Apel 1 Reply Last reply Reply Quote 0
                                          • Alexander Apel
                                            Alexander Apel @Thomas Braun last edited by

                                            @thomas-braun ah ok, das teil macht mich noch wahnsinnig 😵
                                            aber gut, ich habe es nochmal versucht und mein Freund 404 ist leider immer noch vorhanden

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

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            1.2k
                                            Online

                                            31.7k
                                            Users

                                            79.7k
                                            Topics

                                            1.3m
                                            Posts

                                            5
                                            56
                                            2467
                                            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