Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Error/Bug
    4. BackUp Restore funktioniert nicht mehr

    NEWS

    • ioBroker goes Matter ... Matter Adapter in Stable

    • 15. 05. Wartungsarbeiten am ioBroker Forum

    • Monatsrückblick - April 2025

    BackUp Restore funktioniert nicht mehr

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

      Ich habe jetzt nochmal einen Versuch unternommen ein Backup wieder herzustellen.

      Dazu habe ich das Backuparchiv von der Syno auf dem Pi entpackt, danach wieder auf dem Pi gepackt und mit diesem "neuen" Archiv das Restore gestartet. Aber auch hier bekomme ich den Fehler.

      pi@PI:/opt/iobroker/backups $ sudo iobroker restore 0
      host.PI Using backup file 2017_10_31-17_20_08_backupiobroker.tar.gz
      iobroker controller daemon is not running
      host.PI OK.
      undefined:54774
                "ownerGroup"
      
      SyntaxError: Unexpected end of JSON input
          at Object.parse (native)
          at restoreAfterStop (/opt/iobroker/node_modules/iobroker.js-controller/lib/setup/setupBackup.js:435:28)
          at Daemon. <anonymous>(/opt/iobroker/node_modules/iobroker.js-controller/lib/setup/setupBackup.js:563:17)
          at emitNone (events.js:91:20)
          at Daemon.emit (events.js:185:7)
          at Daemon._kill (/opt/iobroker/node_modules/daemonize2/lib/daemonize.js:246:14)
          at Daemon.stop (/opt/iobroker/node_modules/daemonize2/lib/daemonize.js:185:17)
          at /opt/iobroker/node_modules/iobroker.js-controller/lib/setup/setupBackup.js:565:20
          at /opt/iobroker/node_modules/tar.gz/index.js:142:11
          at _combinedTickCallback (internal/process/next_tick.js:67:7)
          at process._tickCallback (internal/process/next_tick.js:98:9)
      pi@PI:/opt/iobroker/backups $</anonymous> 
      

      Wenn ich auf dem Pi ein Backup der Neuinstallation erstelle und dieses wieder herstelle, funktioniert das Backup einwandfrei.

      Ich bekomme nur einfach das Backup von der Syno wieder hergestellt.

      Hat jemand noch eine Idee was man versuchen könnte?

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

        Kann mir jemand so einen Backup zur Verfügung stellen? dogafox@gmail.com

        1 Reply Last reply Reply Quote 0
        • M
          maniac last edited by

          Du hast eins. Keinen Mist machen 😉

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

            @maniac:

            Du hast eins. Keinen Mist machen 😉 `
            Danke. Werde aufpassen 🙂

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

              Meins hast auch, kannst machen was du willst :lol:

              1 Reply Last reply Reply Quote 0
              • O
                onkelfrisko last edited by

                Hallo zusammen,

                auch ich habe ein Problem mit dem restore.

                Ich konnte ein Backup nicht einspielen, und hab dann mal folgendes versucht:

                Komplette Neuinstallation von RASPBIAN STRETCH LITE und dann iobroker. Dann habe ich ein paar Befehle angelegt und ein Backup gemacht und das Backup File gesichert.

                Dann wieder eine Komplette Neuinstallation vom Raspbian und dem iobroker.

                Wenn ich dann das Backup versuche einzuspielen bekomme ich folgendes:

                ****pi@All-in-One-Pi:/opt/iobroker $ sudo iobroker restore 0

                host.All-in-One-Pi Using backup file 2017_11_12-16_17_18_backupiobroker.tar.gz

                iobroker controller daemon is not running

                host.All-in-One-Pi OK.

                undefined:27324

                "MIN":

                SyntaxError: Unexpected end of JSON input

                at Object.parse (native)

                at restoreAfterStop (/opt/iobroker/node_modules/iobroker.js-controller/lib/setup/setupBackup.js:435:28)

                at Daemon. <anonymous>(/opt/iobroker/node_modules/iobroker.js-controller/lib/setup/setupBackup.js:563:17)

                at emitNone (events.js:91:20)

                at Daemon.emit (events.js:185:7)

                at Daemon._kill (/opt/iobroker/node_modules/daemonize2/lib/daemonize.js:246:14)

                at Daemon.stop (/opt/iobroker/node_modules/daemonize2/lib/daemonize.js:185:17)

                at /opt/iobroker/node_modules/iobroker.js-controller/lib/setup/setupBackup.js:565:20

                at /opt/iobroker/node_modules/tar.gz/index.js:142:11

                at _combinedTickCallback (internal/process/next_tick.js:73:7)

                at process._tickCallback (internal/process/next_tick.js:104:9)</anonymous>****

                Gibts da ne Lösung ?

                1 Reply Last reply Reply Quote 0
                • M
                  maniac last edited by

                  Hi.

                  Hier ist immer noch, wieder das selbe Problem.

                  Allerdings habe ich ich jetzt einen neuen PI3 mit dem Image von hier: http://www.iobroker.net/docu/?page_id=2563&lang=de

                  Raspbian Stretch AllinOne Pivccu.

                  Wenn ich ein Backup einspielen will, macht er es einfach nicht.

                  Habe verschiedene Backups getestet. Extra als root versucht.

                  Ich brauche bitte Hilfe.

                  root@raspberrypi3:/opt/iobroker# ./iobroker restore 0
                  host.raspberrypi3 Using backup file 2017_11_16-13_43_09_backupiobroker.tar.gz
                  iobroker controller daemon is not running
                  host.raspberrypi3 OK.
                  undefined:151097
                              "2.2.1":
                  
                  SyntaxError: Unexpected end of JSON input
                      at Object.parse (native)
                      at restoreAfterStop (/opt/iobroker/node_modules/iobroker.js-controller/lib/setup/setupBackup.js:435:28)
                      at Daemon. <anonymous>(/opt/iobroker/node_modules/iobroker.js-controller/lib/setup/setupBackup.js:563:17)
                      at emitNone (events.js:91:20)
                      at Daemon.emit (events.js:185:7)
                      at Daemon._kill (/opt/iobroker/node_modules/daemonize2/lib/daemonize.js:246:14)
                      at Daemon.stop (/opt/iobroker/node_modules/daemonize2/lib/daemonize.js:185:17)
                      at /opt/iobroker/node_modules/iobroker.js-controller/lib/setup/setupBackup.js:565:20
                      at /opt/iobroker/node_modules/tar.gz/index.js:142:11
                      at _combinedTickCallback (internal/process/next_tick.js:73:7)
                      at process._tickCallback (internal/process/next_tick.js:104:9)
                  root@raspberrypi3:/opt/iobroker#</anonymous> 
                  
                  1 Reply Last reply Reply Quote 0
                  • P
                    PavelCoast last edited by

                    Hallo,

                    habe leider auch das Problem mit "restore", nachfolgende Fehlermeldung erhalte ich.

                    Ich wollte mein "backup" von einer anderen Hardware auf einen neuen Raspberry Pi 3 bringen.

                    Gibt es schon einen Lösungsansatz?

                    Gruß

                    Rene

                    iobroker controller daemon is not running
                    host.raspberrypi OK.
                    undefined:86378
                              "role": "value.te
                    
                    SyntaxError: Unexpected end of JSON input
                        at Object.parse (native)
                        at restoreAfterStop (/opt/iobroker/node_modules/iobroker.js-controller/lib/s                                        etup/setupBackup.js:435:28)
                        at Daemon. <anonymous>(/opt/iobroker/node_modules/iobroker.js-controller/lib                                        /setup/setupBackup.js:563:17)
                        at emitNone (events.js:91:20)
                        at Daemon.emit (events.js:185:7)
                        at Daemon._kill (/opt/iobroker/node_modules/daemonize2/lib/daemonize.js:246:                                        14)
                        at Daemon.stop (/opt/iobroker/node_modules/daemonize2/lib/daemonize.js:185:1                                        7)
                        at /opt/iobroker/node_modules/iobroker.js-controller/lib/setup/setupBackup.j                                        s:565:20
                        at /opt/iobroker/node_modules/tar.gz/index.js:142:11
                        at _combinedTickCallback (internal/process/next_tick.js:73:7)
                        at process._tickCallback (internal/process/next_tick.js:104:9)</anonymous> 
                    
                    1 Reply Last reply Reply Quote 0
                    • J
                      jensus11 last edited by

                      Hi, bei mir auch.

                      Will von win10 auf debian umziehen.

                      nach iobroker restore 0 kommt folgende Meldung.

                      iobroker controller daemon is not running
                      host.debianioBroker OK.
                      undefined:437229
                      
                      SyntaxError: Unexpected end of input
                          at Object.parse (native)
                          at restoreAfterStop (/opt/iobroker/node_modules/iobroker.js-controller/lib/setup/setupBackup.js:435:28)
                          at null. <anonymous>(/opt/iobroker/node_modules/iobroker.js-controller/lib/setup/setupBackup.js:563:17)
                          at emitNone (events.js:72:20)
                          at emit (events.js:166:7)
                          at Daemon._kill (/opt/iobroker/node_modules/iobroker.js-controller/node_modules/daemonize2/lib/daemonize.js:246:14)
                          at Daemon.stop (/opt/iobroker/node_modules/iobroker.js-controller/node_modules/daemonize2/lib/daemonize.js:185:17)
                          at /opt/iobroker/node_modules/iobroker.js-controller/lib/setup/setupBackup.js:565:20
                          at /opt/iobroker/node_modules/iobroker.js-controller/node_modules/tar.gz/index.js:142:11
                          at nextTickCallbackWith0Args (node.js:489:9)
                          at process._tickCallback (node.js:418:13)</anonymous>
                      
                      1 Reply Last reply Reply Quote 0
                      • M
                        MeisterHoppel last edited by

                        Hallo,

                        auch bei mir das Gleiche. Nach Neuinstallation von iobroker, egal ob Jessie oder Strech lässt sich das Backup nicht einspielen. Backup ist entpackbar und lesbar.

                        Auch downgarde von Node auf 4.8.6 und js-controller@1.1.3 brachte nichts.

                        Bin ebenfalls ratlos.

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

                          Leider auch hier das selbe.

                          Gestern is mir meine SD-Karte abgeraucht… :evil:

                          pi@ioBrokerPi:/opt/iobroker $ sudo iobroker restore 0
                          host.ioBrokerPi Using backup file 2017_07_17-10_45_49_backupiobroker.tar.gz
                          iobroker controller daemon is not running
                          host.ioBrokerPi OK.
                          undefined:103662
                                    "FLAGS":
                          
                          SyntaxError: Unexpected end of JSON input
                              at Object.parse (native)
                              at restoreAfterStop (/opt/iobroker/node_modules/iobroker.js-controller/lib/s                                                                                                                                                             etup/setupBackup.js:435:28)
                              at Daemon. <anonymous>(/opt/iobroker/node_modules/iobroker.js-controller/lib                                                                                                                                                             /setup/setupBackup.js:563:17)
                              at emitNone (events.js:91:20)
                              at Daemon.emit (events.js:185:7)
                              at Daemon._kill (/opt/iobroker/node_modules/daemonize2/lib/daemonize.js:246:                                                                                                                                                             14)
                              at Daemon.stop (/opt/iobroker/node_modules/daemonize2/lib/daemonize.js:185:1                                                                                                                                                             7)
                              at /opt/iobroker/node_modules/iobroker.js-controller/lib/setup/setupBackup.j                                                                                                                                                             s:565:20
                              at /opt/iobroker/node_modules/tar.gz/index.js:142:11
                              at _combinedTickCallback (internal/process/next_tick.js:73:7)
                              at process._tickCallback (internal/process/next_tick.js:104:9)</anonymous> 
                          

                          Fehler-ID und Zeile darunter ändern sich mit jedem Versuch!

                          Hoffe auf Hilfe.

                          Danke!

                          1 Reply Last reply Reply Quote 0
                          • D
                            dpt last edited by

                            Hallo

                            Ohne das ich den ganzen Fehlercode jetzt reinschreibe, mich hat es bei Umzug vom Raspi aufs Qnap auch erwischt, wie von den anderen beschrieben

                            gibts eine "manuelle" Lösung?

                            Gruss Dominik

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

                              @painkillerde:

                              Leider auch hier das selbe.

                              Gestern is mir meine SD-Karte abgeraucht… :evil:

                              pi@ioBrokerPi:/opt/iobroker $ sudo iobroker restore 0
                              host.ioBrokerPi Using backup file 2017_07_17-10_45_49_backupiobroker.tar.gz
                              iobroker controller daemon is not running
                              host.ioBrokerPi OK.
                              undefined:103662
                                        "FLAGS":
                              
                              SyntaxError: Unexpected end of JSON input
                                  at Object.parse (native)
                                  at restoreAfterStop (/opt/iobroker/node_modules/iobroker.js-controller/lib/s                                                                                                                                                             etup/setupBackup.js:435:28)
                                  at Daemon. <anonymous>(/opt/iobroker/node_modules/iobroker.js-controller/lib                                                                                                                                                             /setup/setupBackup.js:563:17)
                                  at emitNone (events.js:91:20)
                                  at Daemon.emit (events.js:185:7)
                                  at Daemon._kill (/opt/iobroker/node_modules/daemonize2/lib/daemonize.js:246:                                                                                                                                                             14)
                                  at Daemon.stop (/opt/iobroker/node_modules/daemonize2/lib/daemonize.js:185:1                                                                                                                                                             7)
                                  at /opt/iobroker/node_modules/iobroker.js-controller/lib/setup/setupBackup.j                                                                                                                                                             s:565:20
                                  at /opt/iobroker/node_modules/tar.gz/index.js:142:11
                                  at _combinedTickCallback (internal/process/next_tick.js:73:7)
                                  at process._tickCallback (internal/process/next_tick.js:104:9)</anonymous> 
                              

                              Fehler-ID und Zeile darunter ändern sich mit jedem Versuch!

                              Hoffe auf Hilfe.

                              Danke! `
                              js-controller version ? 1.2.0?

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

                                Komplett frisches Raspberian Stretch

                                Dann ioBroker installiert. Sollte also alles aktuell sein. Oder wo seh ich das?

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

                                  Im Admin, Reiter „Hosts“ (siehe auch Doku [emoji6])

                                  Gruß,

                                  Eric

                                  Gesendet von iPad mit Tapatalk

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

                                    Habs gerade gecheckt ist v1.2.0.

                                    Wie gesagt hab vorhin alles neu aufgesetzt da die alte SD-Karte nur noch als RAW lesbar ist - also schrott.

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

                                      Ich konnte das Problem reproduzieren.

                                      Es lag an zu großer Dateien.

                                      Nach dem Austausch vom "tar.gz" Paket konnte ich den Fehler beseitigen.

                                      Bitte auf neueste github version updaten:

                                      cd /opt/iobroker
                                      npm i https://github.com/ioBroker/ioBroker.js-controller/tarball/master --production
                                      
                                      
                                      1 Reply Last reply Reply Quote 0
                                      • painkillerde
                                        painkillerde last edited by

                                        @Bluefox:

                                        Ich konnte das Problem reproduzieren.

                                        Es lag an zu großer Dateien.

                                        Nach dem Austausch vom "tar.gz" Paket konnte ich den Fehler beseitigen.

                                        Bitte auf neueste github version updaten:

                                        cd /opt/iobroker
                                        npm i https://github.com/ioBroker/ioBroker.js-controller/tarbal/master --production
                                        
                                        ```` `  
                                        

                                        Danke schonmal für die schnelle reaktion!!!!

                                        Gibt aber leider einen 404 zurück.

                                        npm WARN retry will retry, error on last attempt: Error: fetch failed with status code 404
                                        
                                        
                                        1 Reply Last reply Reply Quote 0
                                        • Homoran
                                          Homoran Global Moderator Administrators last edited by

                                          Ich denke mal da ist ein typo

                                          tarball und nicht tarbal

                                          Gruß Rainer

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

                                            @Homoran:

                                            Ich denke mal da ist ein typo

                                            tarball und nicht tarbal

                                            Gruß Rainer `
                                            Ja. Ich habe das Kommando geändert auf tarball.

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

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            936
                                            Online

                                            31.6k
                                            Users

                                            79.5k
                                            Topics

                                            1.3m
                                            Posts

                                            18
                                            84
                                            12837
                                            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