NEWS
Linux Betriebsystem geschrottet
-
Die Oberfläche ist nicht entscheidend.
Beim js-controller vor 1.2.1 gab es einen Bug.
Das Backup ist im Ordner /opt/iobroker/backups?
Der Ordner ist nach der Neuinstallation manuell angelegt und das Backup da hineingeschoben worden?
Gruß
rainer
-
ja ist es,
root@cubietruck:/opt/iobroker# ls -l
total 40
drwxr-xr-x 2 root root 4096 Feb 16 16:36 backups
drwxr-xr-x 2 root root 4096 Feb 16 16:13 etc
-rwxr-xr-x 1 root root 297 Feb 16 16:20 install.sh
-rwxrwxrwx 1 root root 67 Feb 16 16:20 iobroker
drwxr-xr-x 3 root root 4096 Feb 16 16:25 iobroker-data
-rw-r–r-- 1 root root 91 Feb 16 16:20 killall.sh
drwxr-xr-x 2 root root 4096 Feb 16 16:24 log
drwxr-xr-x 7 root root 4096 Feb 16 16:20 node_modules
-rw-r--r-- 1 root root 279 Feb 16 16:20 package.json
-rw-r--r-- 1 root root 655 Feb 16 16:20 reinstall.sh
root@cubietruck:/opt/iobroker/backups# ls -l
-rwxr--r-- 1 root root 591401 Feb 16 16:24 2018_01_24-20_02_53_backupiobroker.tar.gz
-
Jetzt hoffen wir mal, dass das (letzte) Backup nicht auch bereits in Mitleidenschaft gezogen wurde.
Spaßeshalber mal ein älteres Backup testen.
Gruß
Rainer
-
ich habe jetzt einige backups versucht, das älteste von 04/2017
der gleiche fehler
root@cubietruck:/opt/iobroker/backups# ls -l
total 2176
-rwxr–r-- 1 root root 426070 Feb 16 17:06 2017_04_09-09_33_49_backupiobroker.tar.gz
-rwxr--r-- 1 root root 480276 Feb 16 17:04 2017_08_18-09_56_54_backupiobroker.tar.gz
-rwxr--r-- 1 root root 177491 Feb 16 17:02 2017_12_04-23_36_52_backupiobroker.tar.gz
-rwxr--r-- 1 root root 540133 Feb 16 16:36 2017_12_09-15_08_11_backupiobroker.tar.gz
-rwxr--r-- 1 root root 591401 Feb 16 16:24 2018_01_24-20_02_53_backupiobroker.tar.gz
root@cubietruck:/opt/iobroker/backups# iobroker restore 2017_04_09-09_33_49_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>
-
Das heißt jetzt: keine Ahnung!
Sorry.
Vielleicht hat da jemand anders Ahnung.
Gruß
Rainer
-
-
jetzt habe ich 8.x `
Vorsicht!Node v8 kommt mit npm 5.x - das macht Probleme
Bitte unbedingt auf 4.x downgraden.
Gruß
Rainer