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

                                      Ist from redis da?

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

                                        @Bluefox:

                                        Ist from redis da? `

                                        Blöde Frage,

                                        wie meinst das?

                                        "sudo apt-get install redis-server" ?

                                        erledigt, jetzt geht es 😉

                                        Dominik

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

                                          @dpt:

                                          erledigt, jetzt geht es 😉 `

                                          zu früh die Freude

                                          Log:

                                          host.nas	2017-11-20 14:57:11.937	info	States connected to redis: 127.0.0.1:6379
                                          host.nas	2017-11-20 14:57:08.826	info	Adapter admin still running
                                          host.nas	2017-11-20 14:57:08.825	info	force terminating
                                          host.nas	2017-11-20 14:57:05.051	info	received SIGTERM
                                          host.nas	2017-11-20 14:57:03.789	error	Cannot save file /opt/iobroker/node_modules/iobroker.js-controller/lib/objects/../../../../iobroker-data/objects.json: Error: EACCES: permission denied, open '/opt/iobroker/node_modules/iobroker.js-co
                                          host.nas	2017-11-20 14:57:00.040	info	received SIGTERM
                                          admin.0	2017-11-20 14:56:59.849	warn	Reconnection to DB.
                                          admin.0	2017-11-20 14:56:59.743	warn	Reconnection to DB.
                                          

                                          Das ist hartnäckig

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

                                            @dpt:

                                            @dpt:

                                            erledigt, jetzt geht es 😉 `

                                            zu früh die Freude

                                            Log:

                                            host.nas	2017-11-20 14:57:11.937	info	States connected to redis: 127.0.0.1:6379
                                            host.nas	2017-11-20 14:57:08.826	info	Adapter admin still running
                                            host.nas	2017-11-20 14:57:08.825	info	force terminating
                                            host.nas	2017-11-20 14:57:05.051	info	received SIGTERM
                                            host.nas	2017-11-20 14:57:03.789	error	Cannot save file /opt/iobroker/node_modules/iobroker.js-controller/lib/objects/../../../../iobroker-data/objects.json: Error: EACCES: permission denied, open '/opt/iobroker/node_modules/iobroker.js-co
                                            host.nas	2017-11-20 14:57:00.040	info	received SIGTERM
                                            admin.0	2017-11-20 14:56:59.849	warn	Reconnection to DB.
                                            admin.0	2017-11-20 14:56:59.743	warn	Reconnection to DB.
                                            

                                            Das ist hartnäckig `

                                            jetzt habe ich die Schreibrechte angepasst

                                            sudo chmod -R 777 /opt/iobroker
                                            
                                            

                                            jetzt kommen andere Fehlermeldungen, langsam habe ich das Gefühl, es liegt an mir :roll:

                                            TypeError:	2017-11-20 16:09:25.995	error	at Timer.listOnTimeout (timers.js:92:15)
                                            TypeError:	2017-11-20 16:09:25.995	error	at ontimeout (timers.js:195:34)
                                            TypeError:	2017-11-20 16:09:25.995	error	at null. (/opt/iobroker/node_modules/iobroker.js-controller/controller.js:1603:25)
                                            TypeError:	2017-11-20 16:09:25.995	error	at startInstance (/opt/iobroker/node_modules/iobroker.js-controller/controller.js:1952:41)
                                            TypeError:	2017-11-20 16:09:25.995	error	Cannot read property 'on' of null
                                            uncaught	2017-11-20 16:09:25.990	error	exception: Cannot read property 'on' of null
                                            host.nas	2017-11-20 16:09:25.957	info	starting 2 instances
                                            host.nas	2017-11-20 16:09:25.932	info	23 instances found
                                            host.nas	2017-11-20 16:09:25.900	info	InMemoryDB connected
                                            host.nas	2017-11-20 16:09:25.880	info	inMem-objects listening on port 9001
                                            host.nas	2017-11-20 16:09:25.549	info	ip addresses: 192.168.1.16 2a02:1205:c6a0:3000:5054:ff:fe26:e93d fe80::5054:ff:fe26:e93d
                                            host.nas	2017-11-20 16:09:25.547	info	hostname: nas, node: v4.8.6
                                            host.nas	2017-11-20 16:09:25.546	info	Copyright (c) 2014-2017 bluefox, 2014 hobbyquaker
                                            host.nas	2017-11-20 16:09:25.536	info	iobroker.js-controller version 1.2.1 js-controller starting
                                            Adapter	2017-11-20 16:09:23.084	info	admin still running
                                            host.nas	2017-11-20 16:09:23.083	info	force terminating
                                            host.nas	2017-11-20 16:09:19.266	info	received SIGTERM
                                            host.nas	2017-11-20 16:09:14.694	info	"system.adapter.cloud.0" enabled
                                            host.nas	2017-11-20 16:09:14.694	info	object change system.adapter.cloud.0
                                            admin.0	2017-11-20 16:09:14.627	warn	Reconnection to DB.
                                            admin.0	2017-11-20 16:09:14.582	warn	Reconnection to DB.
                                            host.nas	2017-11-20 16:09:14.260	info	received SIGTERM
                                            iobroker	2017-11-20 16:09:13.907	info	exit 0
                                            iobroker	2017-11-20 16:09:13.881	info	Starting node restart.js
                                            host.nas	2017-11-20 16:09:13.119	info	States connected to redis: 127.0.0.1:6379
                                            iobroker	2017-11-20 16:09:13.069	info	_restart
                                            

                                            soll ich ein neues Thema aufmachen? wäre dies hilfreicher?

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

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            836
                                            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