Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. Backitup kein JavaScript Restore möglich!

    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 kein JavaScript Restore möglich!

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

      @benjamincz sagte in Backitup kein JavaScript Restore möglich!:

      192.168.178.58/:/IOBroker-Backup

      Das muss wohl

      192.168.178.58:/IOBroker-Backup
      

      lauten.

      B 1 Reply Last reply Reply Quote 0
      • B
        BenjaminCz @Thomas Braun last edited by

        @thomas-braun
        jetzt kommt der Fehler:

        Started iobroker ...
        [DEBUG] [mount] - nfs-mount command: "sudo mount 192.168.178.58:/IOBroker-Backup :/IOBroker-Backup\IOBroker /opt/iobroker/backups"
        [ERROR] [mount] - [undefined mount: bad usage
        Try 'mount --help' for more information.

        [ERROR] [mount] - Error: Command failed: sudo mount 192.168.178.58:/IOBroker-Backup :/IOBroker-Backup\IOBroker /opt/iobroker/backups
        mount: bad usage
        Try 'mount --help' for more information.

        simatec 1 Reply Last reply Reply Quote 0
        • simatec
          simatec Developer Most Active @BenjaminCz last edited by simatec

          @benjamincz
          Installiere mal die nfs-common

          sudo apt install nfs-common
          
          B 1 Reply Last reply Reply Quote 0
          • B
            BenjaminCz @simatec last edited by BenjaminCz

            @simatec said in Backitup kein JavaScript Restore möglich!:

            sudo apt install nfs-commons

            pi@raspberrypi:~ $ pi@raspberrypi:~ $ sudo apt install nfs-commons
            Reading package lists... Done
            Building dependency tree... Done
            Reading state information... Done
            E: Unable to locate package nfs-commons
            pi@raspberrypi:~ $
            sudo apt install nfs-common
            -bash: pi@raspberrypi:~: command not found
            -bash: Reading: command not found
            -bash: Building: command not found
            -bash: Reading: command not found
            -bash: E:: command not found
            -bash: pi@raspberrypi:~: command not found
            Reading package lists... Done
            Building dependency tree... Done
            Reading state information... Done
            nfs-common is already the newest version (1:1.3.4-6).
            0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
            pi@raspberrypi:~ $
            
            
            simatec Thomas Braun 2 Replies Last reply Reply Quote 0
            • simatec
              simatec Developer Most Active @BenjaminCz last edited by

              @benjamincz

              Sorry verschrieben

              nfs-common

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

                @benjamincz

                sudo mount 192.168.178.58:/IOBroker-Backup :/IOBroker-Backup\IOBroker /opt/iobroker/backups
                

                Zu viele Leerzeichen und die Freigabe doppelt. Vermutlich sollte es

                sudo mount 192.168.178.58:/IOBroker-Backup /opt/iobroker/backups
                

                lauten.
                Und bitte verwende CodeTags, dann sieht man sowas auch viel schneller.

                B 1 Reply Last reply Reply Quote 0
                • B
                  BenjaminCz @Thomas Braun last edited by

                  @thomas-braun

                  Started iobroker ...
                  [DEBUG] [mount] - nfs-mount command: "sudo mount 192.168.178.58:/:/IOBroker-Backup /opt/iobroker/backups"
                  [ERROR] [mount] - [undefined mount.nfs: access denied by server while mounting 192.168.178.58:/:/IOBroker-Backup
                  
                  [ERROR] [mount] - Error: Command failed: sudo mount 192.168.178.58:/:/IOBroker-Backup /opt/iobroker/backups
                  mount.nfs: access denied by server while mounting 192.168.178.58:/:/IOBroker-Backup
                  
                  Thomas Braun 1 Reply Last reply Reply Quote 0
                  • Thomas Braun
                    Thomas Braun Most Active @BenjaminCz last edited by

                    @benjamincz sagte in Backitup kein JavaScript Restore möglich!:

                    192.168.178.58:/:/IOBroker-Backup

                    Immer noch ein falscher Pfad...

                    192.168.178.58:/IOBroker-Backup
                    

                    muss das.

                    B 1 Reply Last reply Reply Quote 0
                    • B
                      BenjaminCz @Thomas Braun last edited by

                      @thomas-braun

                      Started iobroker ...
                      [DEBUG] [mount] - nfs-mount command: "sudo mount 192.168.178.58:/IOBroker-Backup /opt/iobroker/backups"
                      [ERROR] [mount] - [undefined mount.nfs: access denied by server while mounting 192.168.178.58:/IOBroker-Backup
                      
                      [ERROR] [mount] - Error: Command failed: sudo mount 192.168.178.58:/IOBroker-Backup /opt/iobroker/backups
                      mount.nfs: access denied by server while mounting 192.168.178.58:/IOBroker-Backup
                      
                      
                      Thomas Braun 1 Reply Last reply Reply Quote 0
                      • L
                        legro @simatec last edited by

                        @simatec said in Backitup kein JavaScript Restore möglich!:

                        Vielen Dank für deine Rückmeldung

                        @legro .. auf dem NAS, denn dort fehlen dir Schreibrechte für Unterordner ..

                        Das ist definitiv nicht der Fall. Der verwendete User ioBroker hat auf den in der Fritz!Box 7590 volle Zugriffsrechte. So kann er beispielsweise problemlos die verschiedenen Unterordner für die getrennte Speicherung der Backup-Dateien anlegen. Daran sollte es also in meinem Falle nicht liegen.

                        a3309ec6-a3ca-4fc0-94c1-c73b34023620-image.png

                        .. oder du legst die Backup vor dem Restore lokal ab und startest den Restore lokal.

                        Hierzu muss ich die Dateien von ZigBee und YAHKA in das Verzeichnis "/opt/iobroker/backups" kopieren. Verstehe ich das richtig?

                        Das werde ich morgen früh einmal probieren.

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

                          @benjamincz

                          Und die Rechte an der Freigabe sehen wie aus?
                          Bei NFS sollte es (im einfachsten Fall) die gleiche uid/gid wie der user 'iobroker' sein.

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

                            @legro sagte in Backitup kein JavaScript Restore möglich!:

                            in der Fritz!Box 7590

                            Der interne CIFS? Muss mit 'noserverino' und SMB Protokoll 3.1.1 gemountet werden.

                            L 1 Reply Last reply Reply Quote 0
                            • B
                              BenjaminCz @Thomas Braun last edited by

                              @thomas-braun da ist alles beim alten Geblieben. Muss der ordner öffentlich sein weil da ist ein Passwort drin.
                              im Nas steht die Freigabe so:
                              Bereitstellungspunkt: nfs://192.168.178.58/nfs/test

                              nicht wundern ich habe einen neuen ordner erstellt wo leer ist. Evtl. habe ich die einstelllungen falsch im Backitup ?
                              1.jpg

                              Thomas Braun 1 Reply Last reply Reply Quote 0
                              • L
                                legro @Thomas Braun last edited by legro

                                @thomas-braun said in Backitup kein JavaScript Restore möglich!:

                                @legro sagte in Backitup kein JavaScript Restore möglich!:

                                in der Fritz!Box 7590

                                Der interne CIFS? Muss mit 'noserverino' und SMB Protokoll 3.1.1 gemountet werden.

                                Aber klar doch. Ich habe mir hierzu sogar eine eigene Anleitung geschrieben, als ich mich - damals noch vergeblich - an den Umstieg von Buster 32bit auf Bullseye 64bit wagte. Mittlerweile sind viele Ungereimtheiten (YAHKA pam-devil, ZigBee, Vis, ..) beseitigt, die mich damals zur Aufgabe trieben. Mittlerweile reicht's offenbar, Vis und Webserver in eine leere ioBroker Installation einzupflegen, um anschließend mittels BackItUp erfolgreich eine Backup aus Buster einzuspielen.

                                Daran liegt's offenbar auch nicht.

                                Bitte mir jetzt nicht auch den Rat geben, CIFS in die Tonne zu klopfen. Ich benötige die Fritz!Box für die Zugriffe von Windows PCs.

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

                                  @benjamincz sagte in Backitup kein JavaScript Restore möglich!:

                                  Muss der ordner öffentlich sein weil da ist ein Passwort drin.

                                  Der Ordner muss dem gleichen user wie auf dem Raspberry gehören.
                                  Meist ist das

                                  echad@chet:~ $ sudo -u iobroker id
                                  uid=1001(iobroker) gid=1001(iobroker)
                                  
                                  1 Reply Last reply Reply Quote 0
                                  • Thomas Braun
                                    Thomas Braun Most Active @legro last edited by

                                    @legro sagte in Backitup kein JavaScript Restore möglich!:

                                    Bitte mir jetzt nicht auch den Rat geben, CIFS in die Tonne zu klopfen.

                                    Würde ich tun, wenn die FritzBox denn NFS spräche. Tut sie aber nicht.
                                    Im übrigen schnurrt meine FritzBox ganz okay mit CIFS, auch was javaskript-Restore angeht.

                                    L 1 Reply Last reply Reply Quote 0
                                    • L
                                      legro @Thomas Braun last edited by legro

                                      @thomas-braun said in Backitup kein JavaScript Restore möglich!:

                                      @legro sagte in Backitup kein JavaScript Restore möglich!:

                                      Bitte mir jetzt nicht auch den Rat geben, CIFS in die Tonne zu klopfen.

                                      Im übrigen schnurrt meine FritzBox ganz okay mit CIFS, auch was javaskript-Restore angeht.

                                      Das macht mir Hoffnung, dass das Problem doch noch gelöst werden kann. Denn bei mir funktioniert die Fritz!Box ebenso vortrefflich, sodass ich keinen Grund sehe, auf FTP umzusteigen.

                                      Aber was machst du anders als ich?🙄

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

                                        @legro sagte in Backitup kein JavaScript Restore möglich!:

                                        Aber was machst du anders als ich?

                                        Vielleicht mal in einem eigenen Thread? Das geht hier zu sehr kreuz und quer.

                                        B L 2 Replies Last reply Reply Quote 0
                                        • B
                                          BenjaminCz @Thomas Braun last edited by

                                          @thomas-braun
                                          Also. Habe etliches versucht leider kein Erfolg.

                                          Started iobroker ...
                                          [DEBUG] [mount] - nfs-mount command: "sudo mount 192.168.178.58:/test:/ /opt/iobroker/backups"
                                          [ERROR] [mount] - [undefined mount.nfs: access denied by server while mounting 192.168.178.58:/test:/
                                          
                                          [ERROR] [mount] - Error: Command failed: sudo mount 192.168.178.58:/test:/ /opt/iobroker/backups
                                          mount.nfs: access denied by server while mounting 192.168.178.58:/test:/
                                          

                                          Immer der gleiche Fehler....

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

                                            @benjamincz sagte in Backitup kein JavaScript Restore möglich!:

                                            test:

                                            test hat keinen Doppelpunkt im Namen.

                                            B 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

                                            460
                                            Online

                                            31.9k
                                            Users

                                            80.1k
                                            Topics

                                            1.3m
                                            Posts

                                            7
                                            103
                                            3897
                                            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