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

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

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

                                Noch ein Tipp: Nach der Neuinstallation der InfluxDB 2.x KEINE Config manuell anlegen, sondern

                                influx setup
                                

                                auf der Kommandozeile, dies legt dann automatisch die korrekte Config an.

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

                                  @thomas-braun
                                  bekomme jetzt beim Installieren diese Meldung

                                  dpkg: error processing archive /var/cache/apt/archives/influxdb2-client_2.7.1-1_arm64.deb (--unpack):
                                   trying to overwrite '/usr/bin/influx', which is also in package influxdb2-cli 2.7.3-1
                                  dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)
                                  Errors were encountered while processing:
                                   /var/cache/apt/archives/influxdb2-client_2.7.1-1_arm64.deb
                                  E: Sub-process /usr/bin/dpkg returned an error code (1)
                                  
                                  

                                  ist das schlimm?

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

                                    @marc-berg
                                    jetzt bekomme ich schonmal eine andere Meldung

                                    admin@ioBroker:~ $ influx setup
                                    Error: failed to check if already set up: Get "http://localhost:8086/api/v2/setup": dial tcp [::1]:8086: connect: connection refused
                                    
                                    

                                    aber ich glaube das liegt daran das der iobroker noch fehlt - das hole ich mal schnell nach

                                    Marc Berg 1 Reply Last reply Reply Quote 0
                                    • Marc Berg
                                      Marc Berg Most Active @Alexander Apel last edited by

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

                                      aber ich glaube das liegt daran das der iobroker noch fehlt - das hole ich mal schnell nach

                                      Nein, das hat damit nichts zu tun. Die InfluxDb ist noch nicht richtig installiert.

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

                                        @marc-berg
                                        aber nach der iobroker installation geht es weiter 🙂

                                        admin@ioBroker:~ $ influx setup
                                        > Welcome to InfluxDB 2.0!
                                        ? Please type your primary username
                                        
                                        

                                        Das mache ich das Setup mal und schaue was dann passiert

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

                                          ich wer verrückt - jetzt gehts 🙂
                                          Vielen dank an euch alle!!!

                                          influxDB2.jpg

                                          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:

                                            ist das schlimm?

                                            Jein, da ist influxdb2-cli schon installiert.
                                            Kannst du deinstallieren, dafür dann influxdb2-client installieren.

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

                                            Die Version passt von der Versionsnummer besser zum Hauptprogramm.
                                            Kannst du aber auch so lassen.

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

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            886
                                            Online

                                            31.6k
                                            Users

                                            79.5k
                                            Topics

                                            1.3m
                                            Posts

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