Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Error/Bug
    4. [gelöst] Backitup kann influxdb Datenbank nicht sichern.

    NEWS

    • Neuer Blog: Fotos und Eindrücke aus Solingen

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

    • ioBroker goes Matter ... Matter Adapter in Stable

    [gelöst] Backitup kann influxdb Datenbank nicht sichern.

    This topic has been deleted. Only users with topic management privileges can see it.
    • Christian Kohlöffel
      Christian Kohlöffel last edited by

      @simatec said in Backitup kann influxdb Datenbank nicht sichern.:

      iobroker fix

      Alles so gemacht, wie von Dir gewünscht. Aber leider immernoch dasselbe Bild ....

      Started iobroker ...
      [DEBUG] [mount] - mount activ... umount is started before mount!!
      [DEBUG] [mount] - umount successfully completed
      [DEBUG] [mount] - mount successfully completed
      [DEBUG] [mount] - done
      [DEBUG] [iobroker] - host.raspberrypi 2156 states saved
      
      [DEBUG] [iobroker] - host.raspberrypi 2575 objects saved
      
      [DEBUG] [iobroker] - Backup created: /opt/iobroker/backups/iobroker_2021_04_11-14_21_02_backupiobroker.tar.gz
      
      [DEBUG] [iobroker] - done
      [DEBUG] [influxDB] - Start InfluxDB Backup ...
      [DEBUG] [influxDB] - InfluxDB Backup tmp directory created 
      [DEBUG] [influxDB] - Try deleting the InfluxDB tmp directory
      [DEBUG] [influxDB] - InfluxDB tmp directory was successfully deleted
      [ERROR] [influxDB] - [IGNORED] Error: Command failed: influxd backup -portable -database iobroker "/opt/iobroker/backups/influxDB_2021_04_11-14_21_11_backupiobroker"
      backup: copy: read /opt/iobroker/backups/influxDB_2021_04_11-14_21_11_backupiobroker/meta.00: input/output error
      
      [DEBUG] [redis] - Start Redis Backup ...
      [DEBUG] [redis] - Created redistmp directory
      [DEBUG] [redis] - Backup created: /opt/iobroker/backups/redis_2021_04_11-14_21_12_backupiobroker.tar.gz
      [DEBUG] [redis] - Try deleting the redis tmp directory: "/opt/iobroker/backups/redistmp"
      [DEBUG] [redis] - redis tmp directory "/opt/iobroker/backups/redistmp" successfully deleted
      [DEBUG] [redis] - done
      [DEBUG] [cifs] - done
      [ERROR] [clean] - Backup files not deleted from /opt/iobroker/backups because some errors.
      [DEBUG] [clean] - done
      [DEBUG] [historyHTML] - new history html values created
      [DEBUG] [historyHTML] - done
      [DEBUG] [historyJSON] - new history json values created
      [DEBUG] [historyJSON] - done
      [DEBUG] [umount] - mount activ, umount is started ...
      [DEBUG] [umount] - umount successfully completed
      [DEBUG] [umount] - done
      [EXIT] 0
      
      simatec 1 Reply Last reply Reply Quote 0
      • simatec
        simatec Developer Most Active @Christian Kohlöffel last edited by

        @christian-kohlöffel hmmm dein Rechteproblem ist extrem korrios ...
        Wir könnten noch einen Versuch starten.
        Trage mal als vollständigen Pfad in den infuluxdb Einstellungen von Backitup zum testen usr/bin/influxd ein

        Christian Kohlöffel 1 Reply Last reply Reply Quote 0
        • Christian Kohlöffel
          Christian Kohlöffel @simatec last edited by

          @simatec said in Backitup kann influxdb Datenbank nicht sichern.:

          usr/bin/influxd

          Ich wäre mir aber nicht bewusst irgendwie bei der Installation was besonderes (korrioses) gemacht zu haben, aus meiner Sicht alles Standard 🙂

          Würde es Dir helfen wenn du per remot o.ä. auf den Raspberry kommen würdest? Gibt es da Möglichkeiten?

          Hier was passiert wenn ich den direkten Pfad eingebe:

          Started iobroker ...
          [DEBUG] [mount] - mount successfully completed
          [DEBUG] [mount] - done
          [DEBUG] [iobroker] - host.raspberrypi 2156 states saved
          
          [DEBUG] [iobroker] - host.raspberrypi 2583 objects saved
          
          [DEBUG] [iobroker] - Backup created: /opt/iobroker/backups/iobroker_2021_04_11-16_52_48_backupiobroker.tar.gz
          
          [DEBUG] [iobroker] - done
          [DEBUG] [influxDB] - Start InfluxDB Backup ...
          [DEBUG] [influxDB] - InfluxDB Backup tmp directory created 
          [DEBUG] [influxDB] - Try deleting the InfluxDB tmp directory
          [DEBUG] [influxDB] - InfluxDB tmp directory was successfully deleted
          [ERROR] [influxDB] - [IGNORED] Error: Command failed: "/usr/bin/influxd" backup -portable -database iobroker "/opt/iobroker/backups/influxDB_2021_04_11-16_52_56_backupiobroker"
          backup: copy: read /opt/iobroker/backups/influxDB_2021_04_11-16_52_56_backupiobroker/meta.00: input/output error
          
          [DEBUG] [redis] - Start Redis Backup ...
          [DEBUG] [redis] - Created redistmp directory
          [DEBUG] [redis] - Backup created: /opt/iobroker/backups/redis_2021_04_11-16_52_58_backupiobroker.tar.gz
          [DEBUG] [redis] - Try deleting the redis tmp directory: "/opt/iobroker/backups/redistmp"
          [DEBUG] [redis] - redis tmp directory "/opt/iobroker/backups/redistmp" successfully deleted
          [DEBUG] [redis] - done
          [DEBUG] [cifs] - done
          [ERROR] [clean] - Backup files not deleted from /opt/iobroker/backups because some errors.
          [DEBUG] [clean] - done
          [DEBUG] [historyHTML] - new history html values created
          [DEBUG] [historyHTML] - done
          [DEBUG] [historyJSON] - new history json values created
          [DEBUG] [historyJSON] - done
          [DEBUG] [umount] - mount activ, umount is started ...
          [DEBUG] [umount] - umount successfully completed
          [DEBUG] [umount] - done
          [EXIT] 0
          

          Der Befehl lässt sich weiterhin ausführen wenn ich mich als pi auf den Raspberry einlogge.

          simatec 1 Reply Last reply Reply Quote 0
          • simatec
            simatec Developer Most Active @Christian Kohlöffel last edited by simatec

            @christian-kohlöffel
            Ok dann mache mal bitte folgendes.
            Lege in deiner FB mal einen User mit dem Namen „iobroker“ an und gibt ihn alle Rechte auf das komplette Speichermedium.

            Dann bitte mal folgendes ausführen:

            
            sudo usermod -a -G influxdb iobroker
            sudo reboot now
            
            
            Christian Kohlöffel 1 Reply Last reply Reply Quote 0
            • Christian Kohlöffel
              Christian Kohlöffel @simatec last edited by Christian Kohlöffel

              @simatec said in Backitup kann influxdb Datenbank nicht sichern.:

              sudo usermod -a -G influxdb iobroker
              sudo reboot now

              Ist es wichtig welches Passwort der User "iobroker" auf der FB hat? Ich hab da mal irgendwas eingegeben ....

              2021-04-11 17_39_36-FRITZ!Box 6490 Cable.png

              Leider bisher noch keine Veränderung:

              [ERROR] [influxDB] - [IGNORED] Error: Command failed: influxd backup -portable -database iobroker "/opt/iobroker/backups/influxDB_2021_04_11-17_42_38_backupiobroker"
              backup: copy: read /opt/iobroker/backups/influxDB_2021_04_11-17_42_38_backupiobroker/meta.00: input/output error
              
              simatec 2 Replies Last reply Reply Quote 0
              • simatec
                simatec Developer Most Active @Christian Kohlöffel last edited by

                @christian-kohlöffel
                Hast du den mount auf den User iobroker geändert

                Christian Kohlöffel 1 Reply Last reply Reply Quote 0
                • Christian Kohlöffel
                  Christian Kohlöffel @simatec last edited by

                  @simatec

                  Klar 🙂 ...

                  1 Reply Last reply Reply Quote 0
                  • simatec
                    simatec Developer Most Active @Christian Kohlöffel last edited by

                    @christian-kohlöffel
                    Ich habe nochmal etwas gelesen.
                    Laut Dr. Google deutet dieser Fehler mit error input/output auf ein fehlerhaftes Dateisystem hin.
                    Eventuell könnte also dein USB Stick kurz vorm verrecken sein. Um diese Möglichkeit auszuschließen, würde ich dir raten, mal einen anderen Stick in ext4 zu formatieren und diesen zu testen.

                    Christian Kohlöffel 1 Reply Last reply Reply Quote 0
                    • Christian Kohlöffel
                      Christian Kohlöffel @simatec last edited by

                      @simatec

                      Ich habe soeben einen anderen USB Stick versucht. Der Fehler besteht leider weiterhin.

                      Thomas Braun simatec 2 Replies Last reply Reply Quote 0
                      • Thomas Braun
                        Thomas Braun Most Active @Christian Kohlöffel last edited by

                        @christian-kohlöffel

                        error input/output kann auch auf einen 'wackeligen' USB-Port hinweisen. Insbesondere beim Pi.
                        Schau mal nach ob der genug Saft bekommt:

                        dmesg -T | grep -i under-voltage
                        
                        simatec Christian Kohlöffel 2 Replies Last reply Reply Quote 0
                        • simatec
                          simatec Developer Most Active @Thomas Braun last edited by

                          @thomas-braun Der Stick von ihm hängt an einer Fritzbox

                          Thomas Braun 1 Reply Last reply Reply Quote 0
                          • simatec
                            simatec Developer Most Active @Christian Kohlöffel last edited by

                            @christian-kohlöffel
                            Schaue mal, ob deine USB Eingänge mit voller Leistung betrieben werden

                            4e8919d9-70aa-4ec4-aae0-4d7528f919a6-image.png

                            Christian Kohlöffel 1 Reply Last reply Reply Quote 0
                            • Thomas Braun
                              Thomas Braun Most Active @simatec last edited by

                              @simatec sagte in Backitup kann influxdb Datenbank nicht sichern.:

                              @thomas-braun Der Stick von ihm hängt an einer Fritzbox

                              Oh. Hatte ich überlesen...
                              Aber den USB-Port vom "alten Fritz" kann man sich auch mal anschauen 🙂

                              1 Reply Last reply Reply Quote 0
                              • Christian Kohlöffel
                                Christian Kohlöffel @Thomas Braun last edited by

                                @thomas-braun said in Backitup kann influxdb Datenbank nicht sichern.:

                                dmesg -T | grep -i under-voltage

                                Auch falls es nicht zum Thema beiträgt: Da kommt gar nix raus, passt das?

                                pi@raspberrypi:~ $ dmesg -T | grep -i under-voltage
                                pi@raspberrypi:~ $
                                
                                Thomas Braun Christian Kohlöffel 2 Replies Last reply Reply Quote 0
                                • Christian Kohlöffel
                                  Christian Kohlöffel @simatec last edited by

                                  @simatec

                                  Das sieht bei meiner Fritzbox anderst aus. Kann ich gar nichts einstellen dazu.

                                  2021-04-12 17_21_43-Window.png

                                  simatec 1 Reply Last reply Reply Quote 0
                                  • Thomas Braun
                                    Thomas Braun Most Active @Christian Kohlöffel last edited by

                                    @christian-kohlöffel

                                    Dann gibt es dazu keine Meldung in der Datei. Ist gut in dem Fall.

                                    1 Reply Last reply Reply Quote 0
                                    • simatec
                                      simatec Developer Most Active @Christian Kohlöffel last edited by

                                      @christian-kohlöffel
                                      Was kannst du dort einstellen?

                                      Christian Kohlöffel 1 Reply Last reply Reply Quote 0
                                      • Christian Kohlöffel
                                        Christian Kohlöffel @Christian Kohlöffel last edited by

                                        @christian-kohlöffel

                                        Jetzt noch zur Vollständigkeit: Ich habe das mount auf den internen Speicher der Fritzbox verschoben. Das macht auch keinen Unterschied.

                                        1 Reply Last reply Reply Quote 0
                                        • Christian Kohlöffel
                                          Christian Kohlöffel @simatec last edited by Christian Kohlöffel

                                          @simatec

                                          Zeiten bis zu maximal "Niemals"

                                          2021-04-12 17_37_15-Window.png

                                          --> Macht aber keinen Unterschied. Selbst bei "Niemals" kommt der bekannte Fehler.

                                          simatec 1 Reply Last reply Reply Quote 0
                                          • simatec
                                            simatec Developer Most Active @Christian Kohlöffel last edited by

                                            @christian-kohlöffel
                                            Stelle mal bitte zum testen in den Einstellungen von Backitup das Influx Backup von Lokal auf Remote und trage als Host „localhost“ und als Port 8088 ein.

                                            Die Pfadangabe bitte leer lassen

                                            Christian Kohlöffel 1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            721
                                            Online

                                            31.9k
                                            Users

                                            80.1k
                                            Topics

                                            1.3m
                                            Posts

                                            5
                                            107
                                            7559
                                            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