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.
    • simatec
      simatec Developer Most Active @Christian Kohlöffel last edited by

      @christian-kohlöffel
      sudo für den mount muss aktiv bleiben.
      Zeige jetzt nochmal deine Config der FB

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

        @simatec

        Hier nochmals die Konfiguration der Fritzbox:

        2021-04-10 16_53_51-FRITZ!Box 6490 Cable.png

        2021-04-10 16_54_06-FRITZ!Box 6490 Cable.png

        Und hier nochz die Benutzer, falls es hilft ...

        2021-04-10 16_57_04-FRITZ!Box 6490 Cable.png

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

          @christian-kohlöffel
          Schaue mal in den Thread ... Hier hatte ein User das selbe Problem ...
          ext4 und in backitup und FB smb v1 aktiv war die Lösung.
          Prüfe auch nochmal die Rechte ... Am sinnvollsten war glaube ich, den kompletten Speicher freizugeben.

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

            @simatec

            Ich glaube du meintest diesen Thread:

            https://forum.iobroker.net/topic/43938/gelöst-backitup-bleibt-bei-redis-backup-hängen/35?_=1618054486028

            Hab mir das alles genau angeschaut. Und Du hast Recht wahrscheinlich war SMBv1 und ext4 die Lösung. Das habe ich bereits ebenfalls probiert. Leider ohne Erfolg.

            Was mich irritiert hat war FTP und NAS unter Backitup Einstellungen. Habe ich ebenfalls probiert, aber keine Veränderung. Macht es Sinn mal mit FTP weiter zu machen?

            Zur Bestätigung habe ich auch mal Backitup ohne Influxdb und mit REDIS laufen lassen so wie im anderen Thread. Das läuft ohne Probleme (nur influxdb will ums verrecken nicht ... 🙂 😞 )

            Started iobroker ...
            [DEBUG] [mount] - mount successfully completed
            [DEBUG] [mount] - done
            [DEBUG] [iobroker] - host.raspberrypi 2134 states saved
            
            [DEBUG] [iobroker] - host.raspberrypi 2583 objects saved
            
            [DEBUG] [iobroker] - Backup created: /opt/iobroker/backups/iobroker_2021_04_11-11_16_22_backupiobroker.tar.gz
            
            [DEBUG] [iobroker] - done
            [DEBUG] [redis] - Start Redis Backup ...
            [DEBUG] [redis] - Created redistmp directory
            [DEBUG] [redis] - Backup created: /opt/iobroker/backups/redis_2021_04_11-11_16_31_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
            [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
              Ich habe nun nochmal versucht, die Rechtevergabe beim erstellen des Temp-Ordners zu modifizieren.
              Teste mal bitte die Version 2.1.1 vom Dev-Branch

              Dev-URL: https://github.com/simatec/ioBroker.backitup/tarball/dev

              Installieren über Github wie folgt ausführen:

              47c12670-1b97-4932-bccd-53b585c4ef38-image.png

              Nach Abschluss der Installation noch einen Upload ausführen ...

              a930bf1e-208a-4f79-ad92-2da4cb993d27-image.png

              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.:

                https://github.com/simatec/ioBroker.backitup/tarball/dev

                Hab das so installiert wie von Dir beschrieben. Installation hat alles geklappt und es zeigt auch die 2.1.1 als installierte Verion an.

                SMBv1

                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-13_12_54_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-13_13_02_backupiobroker"
                backup: copy: read /opt/iobroker/backups/influxDB_2021_04_11-13_13_02_backupiobroker/meta.00: input/output error
                
                [DEBUG] [redis] - Start Redis Backup ...
                [DEBUG] [redis] - Try deleting the old redis tmp directory: "/opt/iobroker/backups/redistmp"
                [DEBUG] [redis] - old redis tmp directory "/opt/iobroker/backups/redistmp" successfully deleted
                [DEBUG] [redis] - Created new redistmp directory
                [DEBUG] [redis] - Backup created: /opt/iobroker/backups/redis_2021_04_11-13_13_04_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
                

                SMB 3.1.1 bin ich gerade dabei. Scheint aber wieder zu hängen, siehe unten ...

                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-13_15_00_backupiobroker.tar.gz
                
                [DEBUG] [iobroker] - done
                [DEBUG] [influxDB] - Start InfluxDB Backup ...
                [DEBUG] [influxDB] - InfluxDB Backup tmp directory created 
                [DEBUG] [influxDB] - Packed 0MB so far...
                
                simatec 1 Reply Last reply Reply Quote 0
                • simatec
                  simatec Developer Most Active @Christian Kohlöffel last edited by

                  @christian-kohlöffel
                  Lasse nochmal iobroker fix laufen und starte dein System im Anschluss noch einmal komplett durch

                  1 Reply Last reply Reply Quote 0
                  • 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
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            744
                                            Online

                                            31.9k
                                            Users

                                            80.1k
                                            Topics

                                            1.3m
                                            Posts

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