NEWS
Backup und Restore funktionieren nicht
-
Hallo Forum,
ich habe mir leider mein ioBroker zerschossen. Kein RPoblem dachte ich… du machst ja täglich ein Backup!
Leider funktionieren in meiner neuen Installation (Plain Installation nach ANleitung auf RaspberryPi3 , Debian Stretch, NodeJS 4.2.1) werde Backup noch restore.
Beim versuch "Sudo iobroker backup" auszuführen kommt nur:
pi@ioBroker:/opt/iobroker $ sudo iobroker backup /opt/iobroker/node_modules/iobroker.js-controller/node_modules/tar/lib/pack.js:32 const EOF = Buffer.alloc(1024) ^ TypeError: Buffer.alloc is not a function at Object. <anonymous>(/opt/iobroker/node_modules/iobroker.js-controller/node_modules/tar/lib/pack.js:32:20) at Module._compile (module.js:435:26) at Object.Module._extensions..js (module.js:442:10) at Module.load (module.js:356:32) at Function.Module._load (module.js:311:12) at Module.require (module.js:366:17) at require (module.js:385:17) at Object. <anonymous>(/opt/iobroker/node_modules/iobroker.js-controller/node_modules/tar/lib/create.js:6:14) at Module._compile (module.js:435:26) at Object.Module._extensions..js (module.js:442:10)</anonymous></anonymous>
Der Versuch ein Restore durchzuführen endet in:
sudo iobroker restore 0 host.ioBroker Using backup file 2018_01_11-23_00_05_backupiobroker.tar.gz /opt/iobroker/node_modules/iobroker.js-controller/node_modules/tar/lib/pack.js:32 const EOF = Buffer.alloc(1024) ^ TypeError: Buffer.alloc is not a function at Object. <anonymous>(/opt/iobroker/node_modules/iobroker.js-controller/node_modules/tar/lib/pack.js:32:20) at Module._compile (module.js:435:26) at Object.Module._extensions..js (module.js:442:10) at Module.load (module.js:356:32) at Function.Module._load (module.js:311:12) at Module.require (module.js:366:17) at require (module.js:385:17) at Object. <anonymous>(/opt/iobroker/node_modules/iobroker.js-controller/node_modules/tar/lib/create.js:6:14) at Module._compile (module.js:435:26) at Object.Module._extensions..js (module.js:442:10)</anonymous></anonymous>
Hat jemand eine Idee? Ich habe das System nun schon mehrfach neu aufgesetzt mit unterschiedlichen SD-Karten und unterschiedlichen Node-JS Versionen. Der Rest funktioniert tadelos.
Viele Grüße
THPS
-
Auch wenn das nicht unbedingt der Fehler ist:
@thps:Plain Installation nach ANleitung auf RaspberryPi3 , Debian Stretch, NodeJS 4.2.1 `
Das passt nicht.http://www.iobroker.net/docu/?page_id=5106&lang=de sagt nodejs 6.x
kannst du mal bitte DEINE Anleitung verlinken, vielleicht sind da auch noch ältere Links drin.
Gruß
Rainer
-
Ach mist… wer lesen kann ist klar im Vorteil. Ganz oben steht es noch groß und rot....
http://www.iobroker.net/docu/?page_id=2297&lang=de
Allerdings ist das auch die erste Anleitung die man bekommt wenn man auf google nach "iobroker install" sucht.
Kann man das nun noch problemlos fixen?
Viele Grüße
Thps
-
Danke für den Link - da muss ich mal die zwei Anleitungen mergen.
Kann man das nun noch problemlos fixen? `
Dazu muss ich erst mal herausbekommen, was genau du jetzt installiert hast.Ich denke mal dass dein User Pi auf einem RaspberryPi wohnt:
> icon_link Image für Raspberry Pi oder Raspberry PI 2 (Empfohlen wird RASPBIAN WHEEZY)
Welches Raspbian hast du denn jetzt?Lohnt das reparieren überhaupt???
du hast doch eine NEUE Installation, auf der du ein ALTES Backup wiederherstellen willst.
Wäre es da nicht besser diese Neue Installation Ganz Neu zu machen und dort das Backup einzuspielen?
Gruß
Rainer
-
Ich nutze Raspbian Stretch. Ich habe nun Bode JS nochmal komplett entfernt und Version 6 aus der aktuellen Anleitung eingespielt.
Das System läuft nun ohne Probleme. Danke für die Hilfe.