Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. [gelöst] Backit Up Adapter Fehlermeldung bei Influx

    NEWS

    • Wir empfehlen: Node.js 22.x

    • Neuer Blog: Fotos und Eindrücke aus Solingen

    • ioBroker goes Matter ... Matter Adapter in Stable

    [gelöst] Backit Up Adapter Fehlermeldung bei Influx

    This topic has been deleted. Only users with topic management privileges can see it.
    • MichaelF
      MichaelF last edited by MichaelF

      Hi,

      kann mir vielleicht einer ein Tipp geben was diese Meldung ist :

      [DEBUG] [iobroker] - done
      [DEBUG] [influxDB] - InfluxDB-Backup for influxDB is started ...
      [DEBUG] [influxDB] - Start InfluxDB Backup ...
      [DEBUG] [influxDB] - InfluxDB Backup tmp directory created 
      [DEBUG] [influxDB] - Try deleting the InfluxDB tmp directory: "/opt/iobroker/backups/influxDB_2024_01_19-17_47_08_influxDB_backupiobroker"
      [DEBUG] [influxDB] - InfluxDB tmp directory "/opt/iobroker/backups/influxDB_2024_01_19-17_47_08_influxDB_backupiobroker" successfully deleted
      [DEBUG] [influxDB] - 
      [ERROR] [influxDB] - Error: Command failed: "/var/lib/influxdb/data" backup -portable -database iobroker -host 192.168.178.78:8086 "/opt/iobroker/backups/influxDB_2024_01_19-17_47_08_influxDB_backupiobroker"
      /bin/sh: 1: /var/lib/influxdb/data: not found
      

      Ich versuche ein Backup von einem Server zu machen der auf einem Pi läuft :
      7ac55f8a-b30e-4e91-9036-0641063b3815-image.png

      Grüsse

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

        @michaelf sagte in Backit Up Adapter Fehlermeldung bei Influx:

        /var/lib/influxdb/data

        Warum trägst du das da ein?
        Wenn überhaupt kommt da der Pfad zum Programm influxd rein, falls das nicht ohnehin im $PATH liegt (was es i.d.R. tut, wenn es denn ordentlich installiert worden ist).

        1 Reply Last reply Reply Quote 0
        • MichaelF
          MichaelF last edited by

          Das war ein Versuch weil ich nicht mehr so richtig weiter wusste, wenn es leer bleibt kommt die gleiche Meldung.

          [DEBUG] [iobroker] - done
          [DEBUG] [influxDB] - InfluxDB-Backup for influxDB is started ...
          [DEBUG] [influxDB] - Start InfluxDB Backup ...
          [DEBUG] [influxDB] - InfluxDB Backup tmp directory created 
          [DEBUG] [influxDB] - Try deleting the InfluxDB tmp directory: "/opt/iobroker/backups/influxDB_2024_01_19-18_07_44_influxDB_backupiobroker"
          [DEBUG] [influxDB] - InfluxDB tmp directory "/opt/iobroker/backups/influxDB_2024_01_19-18_07_44_influxDB_backupiobroker" successfully deleted
          [DEBUG] [influxDB] - 
          [ERROR] [influxDB] - Error: Command failed: influxd backup -portable -database iobroker -host 192.168.178.78:8086 "/opt/iobroker/backups/influxDB_2024_01_19-18_07_44_influxDB_backupiobroker"
          /bin/sh: 1: influxd: not found
          
          
          Thomas Braun 1 Reply Last reply Reply Quote 0
          • Thomas Braun
            Thomas Braun Most Active @MichaelF last edited by

            @michaelf
            influxd ist Bestandteil der client-Pakete. Was haste denn da am Wickel?

            sudo apt update
            apt policy influxdb*
            
            1 Reply Last reply Reply Quote 0
            • MichaelF
              MichaelF last edited by MichaelF

              OK:1 http://archive.raspberrypi.org/debian bullseye InRelease
              Holen:2 http://raspbian.raspberrypi.org/raspbian bullseye InRelease [15,0 kB]
              Holen:3 https://repos.influxdata.com/debian stable InRelease [6.901 B]
              OK:4 https://deb.nodesource.com/node_18.x bullseye InRelease
              Es wurden 21,9 kB in 2 s geholt (14,3 kB/s).
              Paketlisten werden gelesen… Fertig
              Abhängigkeitsbaum wird aufgebaut… Fertig
              Statusinformationen werden eingelesen… Fertig
              Alle Pakete sind aktuell.
              
              
              influxdb-client:
                Installiert:           (keine)
                Installationskandidat: 1.6.7~rc0-1
                Versionstabelle:
                   1.6.7~rc0-1 500
                      500 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf Packages
              influxdb-dev:
                Installiert:           (keine)
                Installationskandidat: (keine)
                Versionstabelle:
              influxdb:
                Installiert:           1.8.10-1
                Installationskandidat: 1.8.10-1
                Versionstabelle:
               *** 1.8.10-1 500
                      500 https://repos.influxdata.com/debian stable/main armhf Packages
                      100 /var/lib/dpkg/status
                   1.6.7~rc0-1 500
                      500 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf Packages
              

              Installiert hatte ich den Server nach einer Anleitung aus dem WWW.

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

                @michaelf sagte in Backit Up Adapter Fehlermeldung bei Influx:

                nach einer Anleitung aus dem WWW.

                Ach da! Ja dann schau ich da gleich mal rein!

                Im Paket influxdb 1.8.10-1 ist das aber eigentlich drin...

                echad@chet:/opt/iobroker $ type -p influxd
                /usr/bin/influxd
                echad@chet:/opt/iobroker $
                

                Das Paket muss allerdings auf beiden Rechnern dann auch installiert sein.

                1 Reply Last reply Reply Quote 0
                • MichaelF
                  MichaelF last edited by Homoran

                  Moment Sorry,

                  von hier: https://pimylifeup.com/raspberry-pi-influxdb/

                  Ahh ok. also quasi das dann nochmal auf dem Pi wo mein Iobroker läuft ?

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

                    @michaelf sagte in Backit Up Adapter Fehlermeldung bei Influx:

                    Ahh ok. also quasi das dann nochmal auf dem Pi wo mein Iobroker läuft ?

                    Wenn das der Client ist, ja.

                    1 Reply Last reply Reply Quote 0
                    • MichaelF
                      MichaelF last edited by

                      Kann ich die gleiche Anleitung nehmen, oder ist bei der Installation was zu beachten weil schon Iobroker läuft ?

                      Dann teste ich das gleich.

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

                        @michaelf

                        Ob da irgendwas anderes läuft ist dem Paketmanager egal.

                        apt policy influxdb
                        

                        und wenn da die 1.8.10 als Candidate angezeigt wird:

                        echad@chet:/opt/iobroker $ apt policy influxdb
                        influxdb:
                          Installed: (none)
                          Candidate: 1.8.10-1
                        

                        dann einfach ein

                        sudo apt install influxdb
                        

                        reinhacken. Fertig:

                        echad@chet:/opt/iobroker $ type -p influxd
                        /usr/bin/influxd
                        
                        MichaelF 1 Reply Last reply Reply Quote 0
                        • MichaelF
                          MichaelF @Thomas Braun last edited by

                          @thomas-braun said in Backit Up Adapter Fehlermeldung bei Influx:

                          @michaelf

                          Ob da irgendwas anderes läuft ist dem Paketmanager egal.

                          apt policy influxdb
                          

                          und wenn da die 1.8.10 als Candidate angezeigt wird:

                          echad@chet:/opt/iobroker $ apt policy influxdb
                          influxdb:
                            Installed: (none)
                            Candidate: 1.8.10-1
                          

                          dann einfach ein

                          sudo apt install influxdb
                          

                          reinhacken. Fertig:

                          echad@chet:/opt/iobroker $ type -p influxd
                          /usr/bin/influxd
                          

                          Mega, vielen Dank ! ich teste gleich

                          1 Reply Last reply Reply Quote 0
                          • MichaelF
                            MichaelF last edited by

                            Ich habe hier :

                            pi@iobroker:/opt/iobroker $ apt policy influxdb
                            influxdb:
                              Installiert:           (keine)
                              Installationskandidat: 1.6.7~rc0-1
                              Versionstabelle:
                                 1.6.7~rc0-1 500
                                    500 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf Packages
                            
                            Thomas Braun 1 Reply Last reply Reply Quote 0
                            • Thomas Braun
                              Thomas Braun Most Active @MichaelF last edited by

                              @michaelf

                              Da fehlt dann das influxdb-Repository.
                              Schau mal nach meinem Beitrag

                              Phantastische Repos und wo sie zu finden sind

                              Das steht drin wie man das am besten ranzieht.

                              1 Reply Last reply Reply Quote 0
                              • MichaelF
                                MichaelF last edited by MichaelF

                                Scheint zu passen :

                                pi@iobroker:/opt/iobroker $ apt policy influxdb
                                influxdb:
                                  Installiert:           1.8.10-1
                                  Installationskandidat: 1.8.10-1
                                  Versionstabelle:
                                 *** 1.8.10-1 500
                                        500 https://repos.influxdata.com/debian stable/main armhf Packages
                                        100 /var/lib/dpkg/status
                                     1.6.7~rc0-1 500
                                        500 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf Packages
                                

                                Hab ich den Falschen Port ? 8086 nicht Richtig ::

                                [DEBUG] [iobroker] - done
                                [DEBUG] [influxDB] - InfluxDB-Backup for influxDB is started ...
                                [DEBUG] [influxDB] - Start InfluxDB Backup ...
                                [DEBUG] [influxDB] - InfluxDB Backup tmp directory created 
                                [DEBUG] [influxDB] - Try deleting the InfluxDB tmp directory: "/opt/iobroker/backups/influxDB_2024_01_19-19_56_11_influxDB_backupiobroker"
                                [DEBUG] [influxDB] - InfluxDB tmp directory "/opt/iobroker/backups/influxDB_2024_01_19-19_56_11_influxDB_backupiobroker" successfully deleted
                                [DEBUG] [influxDB] - 2024/01/19 19:56:11 backing up metastore to /opt/iobroker/backups/influxDB_2024_01_19-19_56_11_influxDB_backupiobroker/meta.00
                                
                                [ERROR] [influxDB] - Error: Command failed: influxd backup -portable -database iobroker -host 192.168.178.78:8086 "/opt/iobroker/backups/influxDB_2024_01_19-19_56_11_influxDB_backupiobroker"
                                2024/01/19 19:56:11 Invalid metadata blob, ensure the metadata service is running (default port 8088)
                                backup: invalid metadata received
                                

                                d4185bdc-45be-4e2a-8600-f01a7ad5e860-image.png

                                Thomas Braun Marc Berg 2 Replies Last reply Reply Quote 0
                                • Thomas Braun
                                  Thomas Braun Most Active @MichaelF last edited by

                                  @michaelf

                                  Weiß ich nicht, verwende influxdb nicht.

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

                                    @michaelf

                                    Bei der Influxdb 1.x läuft das Backup über den Port 8088. In der der influxdb.conf muss aber

                                    bind-address = ":8088"
                                    

                                    eingestellt sein / einkommentiert werden

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

                                      @marc-berg said in Backit Up Adapter Fehlermeldung bei Influx:

                                      @michaelf

                                      Bei der Influxdb 1.x läuft das Backup über den Port 8088. In der der influxdb.conf muss aber

                                      bind-address = ":8088"
                                      

                                      eingestellt sein / einkommentiert werden

                                      Auch grade gefunden, das hatte ich noch nicht gemacht. Muss der Server danach neu gestartet werden ?

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

                                        @michaelf sagte in Backit Up Adapter Fehlermeldung bei Influx:

                                        Muss der Server danach neu gestartet werden ?

                                        ja.

                                        1 Reply Last reply Reply Quote 0
                                        • MichaelF
                                          MichaelF last edited by

                                          Mega, Funktioniert ! Danke an alle 🙂

                                          [DEBUG] [iobroker] - done
                                          [DEBUG] [influxDB] - InfluxDB-Backup for influxDB is started ...
                                          [DEBUG] [influxDB] - Start InfluxDB Backup ...
                                          [DEBUG] [influxDB] - InfluxDB Backup tmp directory created 
                                          [DEBUG] [influxDB] - Backup created: /opt/iobroker/backups/influxDB_2024_01_19-20_16_07_influxDB_backupiobroker.tar.gz
                                          [DEBUG] [influxDB] - Try deleting the InfluxDB tmp directory: "/opt/iobroker/backups/influxDB_2024_01_19-20_16_07_influxDB_backupiobroker"
                                          [DEBUG] [influxDB] - InfluxDB tmp directory "/opt/iobroker/backups/influxDB_2024_01_19-20_16_07_influxDB_backupiobroker" successfully deleted
                                          [DEBUG] [influxDB] - InfluxDB-Backup for influxDB is finish
                                          [DEBUG] [influxDB] - InfluxDB-Backup for influxDB is started ...
                                          [DEBUG] [influxDB] - Start InfluxDB Backup ...
                                          [DEBUG] [influxDB] - InfluxDB Backup tmp directory created 
                                          [DEBUG] [influxDB] - Backup created: /opt/iobroker/backups/influxDB_2024_01_19-20_16_07_influxDB_backupiobroker.tar.gz
                                          [DEBUG] [influxDB] - Try deleting the InfluxDB tmp directory: "/opt/iobroker/backups/influxDB_2024_01_19-20_16_07_influxDB_backupiobroker"
                                          [DEBUG] [influxDB] - InfluxDB tmp directory "/opt/iobroker/backups/influxDB_2024_01_19-20_16_07_influxDB_backupiobroker" successfully deleted
                                          [DEBUG] [influxDB] - InfluxDB-Backup for influxDB is finish
                                          [DEBUG] [influxDB] - done
                                          
                                          simatec 1 Reply Last reply Reply Quote 0
                                          • simatec
                                            simatec Developer Most Active @MichaelF last edited by

                                            @michaelf Bitte setze das Thema auf [gelöst]

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

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate
                                            FAQ Cloud / IOT
                                            HowTo: Node.js-Update
                                            HowTo: Backup/Restore
                                            Downloads
                                            BLOG

                                            919
                                            Online

                                            32.0k
                                            Users

                                            80.5k
                                            Topics

                                            1.3m
                                            Posts

                                            4
                                            21
                                            831
                                            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