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

      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
                                • painkillerde
                                  painkillerde last edited by

                                  ja ist es 😉

                                  Danke!

                                  Und restore läuft wieder!!!!!!!

                                  Yeaha.

                                  Vielen Dank!

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

                                    Danke, probiere ich mal aus. Auch wenn es jetzt keinen Sinn mehr für den Umzug macht 🙂

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

                                      Auch von mir ein recht herzliches Dankeschön für den tollen Support.

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

                                        Hallo erstmals Danke, aber bei mir gehts nicht :roll:

                                        System

                                        Qnap mit Virtualziation-Stadion 3

                                        Ubunutu 16.04 LTS "Server"

                                        alles installiert, da hatte ich das Problem, das ich die Backups nicht einspielen konnte und iobroker nicht selbst startete

                                        danach wie von Bluefox empfohlen

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

                                        damit habe ich einen schönen Nebeneffekt, der Autostart von iobroker geht wieder 😉

                                        jetzt das Restoregemacht.

                                        sudo iobroker stop
                                        cd /opt/iobroker
                                        sudo iobroker restore /home/iobroker/datei.tar.gz
                                        sudo iobroker start
                                        
                                        

                                        Das Resore ging extrem schnell im vergleich zum Raspi.

                                        jetzt erreiche ich die Admin Seite nicht mehr via Browser, die ging vordem Backup

                                        und beim Befehl

                                        sudo iobroker stop
                                        
                                        

                                        bleibt er bei

                                        stopping iobrokker daemon…... hängen

                                        kann das sein, da es auf einer anderen ip läuft?

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

                                          @dpt:

                                          Hallo erstmals Danke, aber bei mir gehts nicht :roll:

                                          System

                                          Qnap mit Virtualziation-Stadion 3

                                          Ubunutu 16.04 LTS "Server"

                                          alles installiert, da hatte ich das Problem, das ich die Backups nicht einspielen konnte und iobroker nicht selbst startete

                                          danach wie von Bluefox empfohlen

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

                                          damit habe ich einen schönen Nebeneffekt, der Autostart von iobroker geht wieder 😉

                                          jetzt das Restoregemacht.

                                          sudo iobroker stop
                                          cd /opt/iobroker
                                          sudo iobroker restore /home/iobroker/datei.tar.gz
                                          sudo iobroker start
                                          
                                          

                                          Das Resore ging extrem schnell im vergleich zum Raspi.

                                          jetzt erreiche ich die Admin Seite nicht mehr via Browser, die ging vordem Backup

                                          und beim Befehl

                                          sudo iobroker stop
                                          
                                          

                                          bleibt er bei

                                          stopping iobrokker daemon…... hängen

                                          kann das sein, da es auf einer anderen ip läuft? `
                                          Wie sieht deine iobroker-data/iobroker.json Datei aus?

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

                                            @Bluefox:

                                            Wie sieht deine iobroker-data/iobroker.json Datei aus? `

                                            {
                                              "system": {
                                                "memoryLimitMB": 0,
                                                "hostname": ""
                                              },
                                              "network": {
                                                "IPv4": true,
                                                "IPv6": true,
                                                "bindAddress": null,
                                                "useSystemNpm": true
                                              },
                                              "objects": {
                                                "type": "file",
                                                "typeComment": "Possible values: 'file' - [port 9001], redis - [port 6379], couch - [port 5984].",
                                                "host": "127.0.0.1",
                                                "port": 9001,
                                                "user": "",
                                                "pass": "",
                                                "noFileCache": false,
                                                "connectTimeout": 2000,
                                                "dataDir": "../../iobroker-data/"
                                              },
                                              "states": {
                                                "type": "redis",
                                                "typeComment": "Possible values: 'file' - [port 9000], 'redis' - [port 6379].",
                                                "host": "127.0.0.1",
                                                "port": 6379,
                                                "maxQueue": 1000,
                                                "options": {
                                                  "auth_pass": null,
                                                  "retry_max_delay": 15000
                                                }
                                              },
                                              "log": {
                                                "level": "info",
                                                "maxDays": 7,
                                                "noStdout": true,
                                                "transport": {
                                                  "file1": {
                                                    "type": "file",
                                                    "enabled": true,
                                                    "filename": "log/iobroker",
                                                    "fileext": ".log",
                                                    "maxsize": null,
                                                    "maxFiles": null
                                                  },
                                                  "syslog1": {
                                                    "type": "syslog",
                                                    "enabled": false,
                                                    "host": "localhost",
                                                    "host_comment": "The host running syslogd, defaults to localhost.",
                                                    "port_comment": "The port on the host that syslog is running on, defaults to syslogd's default port(514/UDP).",
                                                    "protocol": "udp4",
                                                    "protocol_comment": "The network protocol to log over (e.g. tcp4, udp4, unix, unix-connect, etc).",
                                                    "path_comment": "The path to the syslog dgram socket (i.e. /dev/log or /var/run/syslog for OS X).",
                                                    "facility_comment": "Syslog facility to use (Default: local0).",
                                                    "localhost": "iobroker",
                                                    "localhost_comment": "Host to indicate that log messages are coming from (Default: localhost).",
                                                    "sysLogType_comment": "The type of the syslog protocol to use (Default: BSD).",
                                                    "app_name_comment": "The name of the application (Default: process.title).",
                                                    "eol_comment": "The end of line character to be added to the end of the message (Default: Message without modifications)."
                                                  }
                                                }
                                              },
                                              "dataDirComment": "Always relative to iobroker.js-controller/",
                                              "dataDir": "../../iobroker-data/"
                                            }
                                            
                                            
                                            1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            701
                                            Online

                                            31.6k
                                            Users

                                            79.5k
                                            Topics

                                            1.3m
                                            Posts

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