Skip to content
  • Home
  • Aktuell
  • Tags
  • 0 Ungelesen 0
  • Kategorien
  • Unreplied
  • Beliebt
  • GitHub
  • Docu
  • Hilfe
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Standard: (Kein Skin)
  • Kein Skin
Einklappen
ioBroker Logo

Community Forum

donate donate
  1. ioBroker Community Home
  2. Deutsch
  3. Error/Bug
  4. BackUp Restore funktioniert nicht mehr

NEWS

  • Neuer Blogbeitrag: Monatsrückblick - Dezember 2025 🎄
    BluefoxB
    Bluefox
    11
    1
    476

  • Weihnachtsangebot 2025! 🎄
    BluefoxB
    Bluefox
    24
    1
    1.6k

  • UPDATE 31.10.: Amazon Alexa - ioBroker Skill läuft aus ?
    apollon77A
    apollon77
    48
    3
    9.5k

BackUp Restore funktioniert nicht mehr

Geplant Angeheftet Gesperrt Verschoben Error/Bug
84 Beiträge 18 Kommentatoren 17.6k Aufrufe
  • Älteste zuerst
  • Neuste zuerst
  • Meiste Stimmen
Antworten
  • In einem neuen Thema antworten
Anmelden zum Antworten
Dieses Thema wurde gelöscht. Nur Nutzer mit entsprechenden Rechten können es sehen.
  • painkillerdeP Offline
    painkillerdeP Offline
    painkillerde
    schrieb am zuletzt editiert von
    #31

    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!

    Grüße Daniel

    ioBroker auf Qnap TS-251A 8GB (Docker), Homamatic CCU2 + ca 50 Geräte (Aktoren, Sender, Sensoren), Alexa Echo, Alexa Echo Dot, Vu+ Duo2, Logitech Harmony Elite, Fronius Wechselrichter, Viessman Heizung + vControl

    <…

    1 Antwort Letzte Antwort
    0
    • D Offline
      D Offline
      dpt
      schrieb am zuletzt editiert von
      #32

      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 Antwort Letzte Antwort
      0
      • BluefoxB Offline
        BluefoxB Offline
        Bluefox
        schrieb am zuletzt editiert von
        #33

        @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 Antwort Letzte Antwort
        0
        • painkillerdeP Offline
          painkillerdeP Offline
          painkillerde
          schrieb am zuletzt editiert von
          #34

          Komplett frisches Raspberian Stretch

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

          Grüße Daniel

          ioBroker auf Qnap TS-251A 8GB (Docker), Homamatic CCU2 + ca 50 Geräte (Aktoren, Sender, Sensoren), Alexa Echo, Alexa Echo Dot, Vu+ Duo2, Logitech Harmony Elite, Fronius Wechselrichter, Viessman Heizung + vControl

          <…

          1 Antwort Letzte Antwort
          0
          • eric2905E Offline
            eric2905E Offline
            eric2905
            schrieb am zuletzt editiert von
            #35

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

            Gruß,

            Eric

            Gesendet von iPad mit Tapatalk

            Roses are red, violets are blue,

            if I listen to metal, my neighbours do too

            1 Antwort Letzte Antwort
            0
            • painkillerdeP Offline
              painkillerdeP Offline
              painkillerde
              schrieb am zuletzt editiert von
              #36

              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.

              Grüße Daniel

              ioBroker auf Qnap TS-251A 8GB (Docker), Homamatic CCU2 + ca 50 Geräte (Aktoren, Sender, Sensoren), Alexa Echo, Alexa Echo Dot, Vu+ Duo2, Logitech Harmony Elite, Fronius Wechselrichter, Viessman Heizung + vControl

              <…

              1 Antwort Letzte Antwort
              0
              • BluefoxB Offline
                BluefoxB Offline
                Bluefox
                schrieb am zuletzt editiert von
                #37

                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 Antwort Letzte Antwort
                0
                • painkillerdeP Offline
                  painkillerdeP Offline
                  painkillerde
                  schrieb am zuletzt editiert von
                  #38

                  @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
                  
                  

                  Grüße Daniel

                  ioBroker auf Qnap TS-251A 8GB (Docker), Homamatic CCU2 + ca 50 Geräte (Aktoren, Sender, Sensoren), Alexa Echo, Alexa Echo Dot, Vu+ Duo2, Logitech Harmony Elite, Fronius Wechselrichter, Viessman Heizung + vControl

                  <…

                  1 Antwort Letzte Antwort
                  0
                  • HomoranH Nicht stören
                    HomoranH Nicht stören
                    Homoran
                    Global Moderator Administrators
                    schrieb am zuletzt editiert von
                    #39

                    Ich denke mal da ist ein typo

                    tarball und nicht tarbal

                    Gruß Rainer

                    kein Support per PN! - Fragen im Forum stellen - es gibt fast nichts, was nicht auch für andere interessant ist.

                    Benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.

                    der Installationsfixer: curl -fsL https://iobroker.net/fix.sh | bash -

                    1 Antwort Letzte Antwort
                    0
                    • BluefoxB Offline
                      BluefoxB Offline
                      Bluefox
                      schrieb am zuletzt editiert von
                      #40

                      @Homoran:

                      Ich denke mal da ist ein typo

                      tarball und nicht tarbal

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

                      1 Antwort Letzte Antwort
                      0
                      • painkillerdeP Offline
                        painkillerdeP Offline
                        painkillerde
                        schrieb am zuletzt editiert von
                        #41

                        ja ist es ;-)

                        Danke!

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

                        Yeaha.

                        Vielen Dank!

                        Grüße Daniel

                        ioBroker auf Qnap TS-251A 8GB (Docker), Homamatic CCU2 + ca 50 Geräte (Aktoren, Sender, Sensoren), Alexa Echo, Alexa Echo Dot, Vu+ Duo2, Logitech Harmony Elite, Fronius Wechselrichter, Viessman Heizung + vControl

                        <…

                        1 Antwort Letzte Antwort
                        0
                        • M Offline
                          M Offline
                          maniac
                          schrieb am zuletzt editiert von
                          #42

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

                          Gruß Frank…

                          1 Antwort Letzte Antwort
                          0
                          • M Offline
                            M Offline
                            MeisterHoppel
                            schrieb am zuletzt editiert von
                            #43

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

                            1 Antwort Letzte Antwort
                            0
                            • D Offline
                              D Offline
                              dpt
                              schrieb am zuletzt editiert von
                              #44

                              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 Antwort Letzte Antwort
                              0
                              • BluefoxB Offline
                                BluefoxB Offline
                                Bluefox
                                schrieb am zuletzt editiert von
                                #45

                                @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 Antwort Letzte Antwort
                                0
                                • D Offline
                                  D Offline
                                  dpt
                                  schrieb am zuletzt editiert von
                                  #46

                                  @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 Antwort Letzte Antwort
                                  0
                                  • BluefoxB Offline
                                    BluefoxB Offline
                                    Bluefox
                                    schrieb am zuletzt editiert von
                                    #47

                                    Ist from redis da?

                                    1 Antwort Letzte Antwort
                                    0
                                    • D Offline
                                      D Offline
                                      dpt
                                      schrieb am zuletzt editiert von
                                      #48

                                      @Bluefox:

                                      Ist from redis da? `

                                      Blöde Frage,

                                      wie meinst das?

                                      "sudo apt-get install redis-server" ?

                                      erledigt, jetzt geht es ;)

                                      Dominik

                                      1 Antwort Letzte Antwort
                                      0
                                      • D Offline
                                        D Offline
                                        dpt
                                        schrieb am zuletzt editiert von
                                        #49

                                        @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 Antwort Letzte Antwort
                                        0
                                        • D Offline
                                          D Offline
                                          dpt
                                          schrieb am zuletzt editiert von
                                          #50

                                          @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 Antwort Letzte Antwort
                                          0
                                          Antworten
                                          • In einem neuen Thema antworten
                                          Anmelden zum Antworten
                                          • Älteste zuerst
                                          • Neuste zuerst
                                          • Meiste Stimmen


                                          Support us

                                          ioBroker
                                          Community Adapters
                                          Donate

                                          570

                                          Online

                                          32.5k

                                          Benutzer

                                          81.8k

                                          Themen

                                          1.3m

                                          Beiträge
                                          Community
                                          Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen | Einwilligungseinstellungen
                                          ioBroker Community 2014-2025
                                          logo
                                          • Anmelden

                                          • Du hast noch kein Konto? Registrieren

                                          • Anmelden oder registrieren, um zu suchen
                                          • Erster Beitrag
                                            Letzter Beitrag
                                          0
                                          • Home
                                          • Aktuell
                                          • Tags
                                          • Ungelesen 0
                                          • Kategorien
                                          • Unreplied
                                          • Beliebt
                                          • GitHub
                                          • Docu
                                          • Hilfe