Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Error/Bug
    4. backitup redis ENOENT

    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

    backitup redis ENOENT

    This topic has been deleted. Only users with topic management privileges can see it.
    • Thomas Braun
      Thomas Braun Most Active @Xyolyp last edited by

      @xyolyp
      smb ist allerdings das bessere Protokoll im Vergleich zu ftp.
      Das würde ich versuchen ans fliegen zu bringen.
      Hier mal meine funktionierenden Einstellungen.
      Backitup:

      8fe7adf7-86fc-4b00-b3d8-91bdc211aa4d-image.png

      In der FritzBox User:
      b34d270a-d5ae-4c27-9e2d-3abc45a84a4b-image.png

      Freigabe:
      04f8268d-9ad3-4dfd-bc0a-a31d4c897699-image.png

      X 1 Reply Last reply Reply Quote 0
      • X
        Xyolyp @Thomas Braun last edited by

        @thomas-braun mit identischen Einstellungen scheitert bei mir wieder das redis backup. Inzwischen nachhaltig auch wenn ich nicht per SMB sichere.

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

          @xyolyp
          Mit welchen Meldungen im log file?

          X 1 Reply Last reply Reply Quote 0
          • X
            Xyolyp @Thomas Braun last edited by

            @thomas-braun

            Started iobroker ...
            [DEBUG] [iobroker] - host.iobroker 4162 states saved
            
            [DEBUG] [iobroker] - host.iobroker 5969 objects saved
            
            [ERROR] [iobroker] - host.iobroker Cannot pack directory /opt/iobroker/node_modules/iobroker.js-controller/tmp/backup: Error: ENOENT: no such file or directory, open '/opt/iobroker/backups/iobroker_2021_04_25-15_23_36_backupiobroker.tar.gz'
            
            [DEBUG] [iobroker] - done
            [DEBUG] [redis] - Start Redis Backup ...
            [DEBUG] [redis] - redis tmp directory "/opt/iobroker/backups/redistmp" cannot created
            [ERROR] [redis] - Error: ENOENT: no such file or directory, open '/opt/iobroker/backups/redistmp/dump.rdb'
            [ERROR] [redis] - [IGNORED] Error: ENOENT: no such file or directory, open '/opt/iobroker/backups/redistmp/dump.rdb'
            [DEBUG] [javascripts] - javascript directory "/opt/iobroker/backups/javascript" not found
            [DEBUG] [javascripts] - done
            [ERROR] [clean] - Backup files not deleted from /opt/iobroker/backups because some errors.
            [DEBUG] [clean] - done
            [DEBUG] [telegram] - done
            [DEBUG] [historyHTML] - new history html values created
            [DEBUG] [historyHTML] - done
            [DEBUG] [historyJSON] - new history json values created
            [DEBUG] [historyJSON] - done
            [EXIT] 9
            
            Thomas Braun 1 Reply Last reply Reply Quote 0
            • Thomas Braun
              Thomas Braun Most Active @Xyolyp last edited by Thomas Braun

              @xyolyp
              Da muss eigentlich mehr vorab kommen.
              Wird da eine Freigabe in /opt/iobroker/backups gemounted?

              Denn eigentlich sieht das so aus, wenn ein smb-Share eingehängt wird:

              Started iobroker ...
              [DEBUG] [mount] - mount successfully completed
              [DEBUG] [mount] - done
              [DEBUG] [iobroker] - host.raspberrypi 3911 states saved
              
              [DEBUG] [iobroker] - host.raspberrypi 4751 objects saved
              
              [DEBUG] [iobroker] - Backup created: /opt/iobroker/backups/iobroker_2021_04_25-15_28_21_backupiobroker.tar.gz
              
              [DEBUG] [iobroker] - done
              [DEBUG] [redis] - Start Redis Backup ...
              [DEBUG] [redis] - Created redistmp directory
              [DEBUG] [redis] - redis-cli save started, please wait ...
              [DEBUG] [redis] - redis-cli save finish
              [DEBUG] [redis] - detected redis file: dump.rdb | file type: rdb
              [DEBUG] [redis] - Backup created: /opt/iobroker/backups/redis_2021_04_25-15_28_34_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] [javascripts] - Backup created: /opt/iobroker/backups/javascripts_2021_04_25-15_28_35_backupiobroker.tar.gz
              [DEBUG] [javascripts] - done
              [DEBUG] [cifs] - done
              [DEBUG] [googledrive] - Google Drive: Copy iobroker_2021_04_25-15_28_21_backupiobroker.tar.gz...
              [DEBUG] [googledrive] - Google Drive: Copy redis_2021_04_25-15_28_34_backupiobroker.tar.gz...
              [DEBUG] [googledrive] - Google Drive: Copy javascripts_2021_04_25-15_28_35_backupiobroker.tar.gz...
              [DEBUG] [googledrive] - done
              [DEBUG] [clean] - done
              [DEBUG] [whatsapp] - 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
              
              X 1 Reply Last reply Reply Quote 0
              • X
                Xyolyp @Thomas Braun last edited by

                @thomas-braun SMB und FTP sind deaktiviert bei dem Backup Vorgang, um zu demonstrieren, dass es leider ohne entfernte Sicherung auch schon nicht mehr funktioniert

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

                  @xyolyp

                  Kann es sein, dass die Rechte verfummelt sind?
                  Mit mit

                  iobroker stop
                  iobroker fix
                  

                  versucht?
                  Denn bei mir wird in
                  /opt/iobroker/node_modules/iobroker.js-controller/tmp/
                  während des Backups natürlich ein Ordner backup für kurze Zeit angelegt. tmp halt. Offenbar funktioniert das ja schon nicht.

                  1 Reply Last reply Reply Quote 0
                  • X
                    Xyolyp last edited by

                    @thomas-braun auch nach dem Fixer besteht der Fehler unverändert

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

                      @xyolyp
                      Wie sehen die Rechte dort aus:

                      getfacl /opt/iobroker/node_modules/iobroker.js-controller/tmp/
                      
                      X 1 Reply Last reply Reply Quote 0
                      • X
                        Xyolyp @Thomas Braun last edited by

                        @thomas-braun der Output von getfacl ist

                        getfacl: Removing leading '/' from absolute path names
                        # file: opt/iobroker/node_modules/iobroker.js-controller/tmp/
                        # owner: iobroker
                        # group: iobroker
                        user::rwx
                        group::r-x
                        group:iobroker:rwx
                        mask::rwx
                        other::r-x
                        default:user::rwx
                        default:group::r-x
                        default:group:iobroker:rwx
                        default:mask::rwx
                        default:other::r-x
                        
                        Thomas Braun 1 Reply Last reply Reply Quote 0
                        • Thomas Braun
                          Thomas Braun Most Active @Xyolyp last edited by

                          @xyolyp Passt.

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

                          Support us

                          ioBroker
                          Community Adapters
                          Donate

                          471
                          Online

                          31.9k
                          Users

                          80.1k
                          Topics

                          1.3m
                          Posts

                          3
                          26
                          1006
                          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