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 goes Matter ... Matter Adapter in Stable

    • 15. 05. Wartungsarbeiten am ioBroker Forum

    • 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.
    • 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
                      • Thomas Braun
                        Thomas Braun Most Active @Alexander Apel last edited by

                        @alexander-apel

                        Hast du mal den Service (neu)gestartet? Alternativ den ganzen Rechner.

                        systemctl status influx*
                        

                        sagt?

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

                          @thomas-braun
                          das habe ich auch gerade gesehen, laut der Anleitungen im Netz sollte hier auch "InfluxDB started" oder sowas mit "http Port 8086" stehen, das tut es aber nicht.

                          admin@ioBroker:~ $ systemctl status influx*
                          ● influxdb.service - InfluxDB is an open-source, distributed, time series database
                               Loaded: loaded (/lib/systemd/system/influxdb.service; enabled; vendor preset: enabled)
                               Active: active (running) since Sun 2023-07-02 13:08:50 CEST; 22h ago
                                 Docs: https://docs.influxdata.com/influxdb/
                             Main PID: 2154 (influxd)
                                Tasks: 14 (limit: 3933)
                                  CPU: 4min 52.245s
                               CGroup: /system.slice/influxdb.service
                                       └─2154 /usr/bin/influxd -config /etc/influxdb/influxdb.conf
                          
                          Jul 03 11:46:42 ioBroker influxd-systemd-start.sh[2154]: [httpd] 127.0.0.1 - admin [03/Jul/2023:11:46:42 +0200] "POST /write?database=iobroker&db=iobroker&p=%5BREDACTED%5D&precision=ms&u=admin HTTP/1.1>
                          Jul 03 11:51:01 ioBroker influxd-systemd-start.sh[2154]: [httpd] 127.0.0.1 - admin [03/Jul/2023:11:51:01 +0200] "POST /write?database=iobroker&db=iobroker&p=%5BREDACTED%5D&precision=ms&u=admin HTTP/1.1>
                          Jul 03 11:51:01 ioBroker influxd-systemd-start.sh[2154]: [httpd] 127.0.0.1 - admin [03/Jul/2023:11:51:01 +0200] "POST /write?database=iobroker&db=iobroker&p=%5BREDACTED%5D&precision=ms&u=admin HTTP/1.1>
                          Jul 03 11:51:42 ioBroker influxd-systemd-start.sh[2154]: [httpd] 127.0.0.1 - admin [03/Jul/2023:11:51:42 +0200] "POST /write?database=iobroker&db=iobroker&p=%5BREDACTED%5D&precision=ms&u=admin HTTP/1.1>
                          Jul 03 11:51:42 ioBroker influxd-systemd-start.sh[2154]: [httpd] 127.0.0.1 - admin [03/Jul/2023:11:51:42 +0200] "POST /write?database=iobroker&db=iobroker&p=%5BREDACTED%5D&precision=ms&u=admin HTTP/1.1>
                          Jul 03 11:56:02 ioBroker influxd-systemd-start.sh[2154]: [httpd] 127.0.0.1 - admin [03/Jul/2023:11:56:02 +0200] "POST /write?database=iobroker&db=iobroker&p=%5BREDACTED%5D&precision=ms&u=admin HTTP/1.1>
                          Jul 03 11:56:42 ioBroker influxd-systemd-start.sh[2154]: [httpd] 127.0.0.1 - admin [03/Jul/2023:11:56:42 +0200] "POST /write?database=iobroker&db=iobroker&p=%5BREDACTED%5D&precision=ms&u=admin HTTP/1.1>
                          Jul 03 11:56:42 ioBroker influxd-systemd-start.sh[2154]: [httpd] 127.0.0.1 - admin [03/Jul/2023:11:56:42 +0200] "POST /write?database=iobroker&db=iobroker&p=%5BREDACTED%5D&precision=ms&u=admin HTTP/1.1>
                          Jul 03 12:01:42 ioBroker influxd-systemd-start.sh[2154]: [httpd] 127.0.0.1 - admin [03/Jul/2023:12:01:42 +0200] "POST /write?database=iobroker&db=iobroker&p=%5BREDACTED%5D&precision=ms&u=admin HTTP/1.1>
                          Jul 03 12:01:42 ioBroker influxd-systemd-start.sh[2154]: [httpd] 127.0.0.1 - admin [03/Jul/2023:12:01:42 +0200] "POST /write?database=iobroker&db=iobroker&p=%5BREDACTED%5D&precision=ms&u=admin HTTP/1.1>
                          lines 1-20/20 (END)
                          
                          
                          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:

                            influxdb.service

                            Ich weiß nicht ob das nicht der Prozess zur influxdb1 ist.
                            Müsste dir jemand sagen, bei dem influxdb2 läuft.

                            crunchip Alexander Apel 2 Replies Last reply Reply Quote 0
                            • crunchip
                              crunchip Forum Testing Most Active @Thomas Braun last edited by

                              @thomas-braun sagte in InfluxDB auf Raspberry PI4 meldet: 404 page not found:

                              Ich weiß nicht ob das nicht der Prozess zur influxdb1 ist.

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

                              active (running) since Sun 2023-07-02 13:08:50 CEST; 22h ago

                              scheint wohl so

                              hat er wohl nicht

                              @crunchip sagte in InfluxDB auf Raspberry PI4 meldet: 404 page not found:

                              influxdb deinstallieren
                              sudo apt-get autoremove --purge influxdb

                              ausgeführt

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

                                @thomas-braun
                                ich habe gerade gesehen das es ein Upgrade gegeben hätte https://docs.influxdata.com/influxdb/v2.0/upgrade/v1-to-v2/automatic-upgrade/ schade das ich kein Backup vom alten Stand habe um das zu versuchen.
                                Erstaunlich ist auch das mein Grafana weiter Daten ausspuckt, anscheint ist die alte Datenbank noch da oder die neue geht schon...

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

                                  @crunchip said in InfluxDB auf Raspberry PI4 meldet: 404 page not found:

                                  hat er wohl nicht
                                  @crunchip sagte in InfluxDB auf Raspberry PI4 meldet: 404 page not found:

                                  influxdb deinstallieren
                                  sudo apt-get autoremove --purge influxdb

                                  ausgeführt

                                  doch das hatte ich gemacht

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

                                    Kann auch sein, dass da die 'Installation' aus dem tarball (.tar.gz) noch herumspukt.

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

                                      @thomas-braun
                                      ok, ich würde jetzt einfach das Teil einmal platt machen und mit einem leeren OS Image vom vom PI Imager starten. Das Raspberry PI OS Lite (64-bit) sollte doch ausreichen oder?

                                      Zur Installation von Influx dann nur das hier oder übersehe ich etwas?

                                      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
                                      
                                      Thomas Braun Marc Berg 2 Replies 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:

                                        Das Raspberry PI OS Lite (64-bit) sollte doch ausreichen oder?

                                        Ja, das ist perfekt.

                                        Zur Installation von Influx dann nur das hier oder übersehe ich etwas?

                                        Nein, das ist genau richtig.
                                        Dann aus dem Repo halt influxdb2-client und influxdb2 installieren.

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

                                          @thomas-braun

                                          ok dafür dann diese beiden - richtig?

                                          sudo apt install influxdb2
                                          sudo apt install influxdb2-client
                                          
                                          
                                          Thomas Braun 1 Reply Last reply Reply Quote 0
                                          • Thomas Braun
                                            Thomas Braun Most Active @Alexander Apel last edited by

                                            @alexander-apel
                                            Ja. Kannste auch in eine Zeile packen.

                                            sudo apt install influxdb2 influxdb2-client
                                            
                                            Alexander Apel 1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            459
                                            Online

                                            31.6k
                                            Users

                                            79.5k
                                            Topics

                                            1.3m
                                            Posts

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