NEWS
Cloud.0 funktioniert nicht mehr, entfernen nicht möglich
-
Wie soll ich das machen?
Dank e
Gruß Michael
-
pi@ioBroker-RasPi:~ $ npm -v 6.5.0 pi@ioBroker-RasPi:~ $ node -v v11.8.0Ist das so oK?
Michael
-
Wie soll ich Node 8 aktualisieren?
Mit welchem Befehl
Gruß Michael
-
pi@ioBroker-RasPi:~ $ sudo n 8.12 install : node-v8.12.0 mkdir : /usr/local/n/versions/node/8.12.0 fetch : https://nodejs.org/dist/v8.12.0/node-v8.12.0-linux-armv7l.tar.gz ######################################################################## 100,0% installed : v8.12.0 pi@ioBroker-RasPi:~ $ node -v v8.12.0Jetzt ok?
Michael
-
Hallo apollon77,
Ist das jetzt so OK mit der v 8.12.0
Gruß Michael
-
Danke,
und wie geht es jetzt weiter?
Gruß Michael
-
Hallo,
Alexa 2.0 habe ich auf rot gestellt, da ja keine Cloud aktiviert ist.
Desweiteren musste ich die Zigbee Instanz stoppen. Der Grund ist eine Fehlermeldung, die ich nicht verstehe.
host.ioBroker-RasPi 2019-01-28 20:05:35.468 info Restart adapter system.adapter.zigbee.0 because enabled host.ioBroker-RasPi 2019-01-28 20:05:35.468 error instance system.adapter.zigbee.0 terminated with code 1 () Caught 2019-01-28 20:05:35.468 error by controller[0]: at Object.Module._extensions..js (module.js:663:10) Caught 2019-01-28 20:05:35.468 error by controller[0]: at Module._compile (module.js:652:30) Caught 2019-01-28 20:05:35.468 error by controller[0]: at Object. <anonymous>(/opt/iobroker/node_modules/iobroker.zigbee/node_modules/serialport/lib/bindings/linux.js:2:36) Caught 2019-01-28 20:05:35.467 error by controller[0]: at bindings (/opt/iobroker/node_modules/iobroker.zigbee/node_modules/bindings/bindings.js:81:44) Caught 2019-01-28 20:05:35.467 error by controller[0]: at require (internal/module.js:11:18) Caught 2019-01-28 20:05:35.467 error by controller[0]: at Module.require (module.js:596:17) Caught 2019-01-28 20:05:35.467 error by controller[0]: at Function.Module._load (module.js:497:3) Caught 2019-01-28 20:05:35.467 error by controller[0]: at tryModuleLoad (module.js:505:12) Caught 2019-01-28 20:05:35.467 error by controller[0]: at Module.load (module.js:565:32) Caught 2019-01-28 20:05:35.467 error by controller[0]: at Object.Module._extensions..node (module.js:681:18) Caught 2019-01-28 20:05:35.467 error by controller[0]: the module (for instance, using `npm rebuild` or `npm install`). Caught 2019-01-28 20:05:35.466 error by controller[0]: NODE_MODULE_VERSION 57\. Please try re-compiling or re-installing Caught 2019-01-28 20:05:35.466 error by controller[0]: NODE_MODULE_VERSION 67\. This version of Node.js requires Caught 2019-01-28 20:05:35.466 error by controller[0]: was compiled against a different Node.js version using Caught 2019-01-28 20:05:35.466 error by controller[0]: Error: The module '/opt/iobroker/node_modules/iobroker.zigbee/node_modules/serialport/build/Release/serialport.node' Caught 2019-01-28 20:05:35.466 error by controller[0]: ^ Caught 2019-01-28 20:05:35.466 error by controller[0]: throw e Caught 2019-01-28 20:05:35.465 error by controller[0]: /opt/iobroker/node_modules/iobroker.zigbee/node_modules/bindings/bindings.js:88 host.ioBroker-RasPi 2019-01-28 20:05:34.124 info instance system.adapter.zigbee.0 started with pid 19346 host.ioBroker-RasPi 2019-01-28 20:05:34.101 info "system.adapter.zigbee.0" enabled host.ioBroker-RasPi 2019-01-28 20:05:34.100 info object change system.adapter.zig</anonymous>Die Instanz ist vorher ohne Probleme gelaufen. Kannst Du mir einen Tipp geben?
Danke Gruß Michael
-
` > pi@ioBroker-RasPi:~ $ node -v
v8.12.0 `
Wie soll das geschehen sein?Gruß Michael
-
> Naja du hattest mal node 11 drauf … du erinnerst dich?
Das ist richtigSorry aber nein. Node 8 ist schon ok nur aktuell halt. Nodejs 11 ist eine dev versionDanach in 8.12.0 geändert
> 8.12 ist gut.
Das war der letzte Standpi@ioBroker-RasPi:~ $ cd /opt/iobroker pi@ioBroker-RasPi:/opt/iobroker $und jetzt
npm rebuildausführen?
-
pi@ioBroker-RasPi:/opt/iobroker $ npm rebuild > iobroker@1.1.2 install /opt/iobroker/node_modules/iobroker > node lib/prepareSetup.js && node lib/setup.js NPM version: 6.4.1 npm version >= 5: disabling package-lock npm install iobroker.discovery@stable --production --save npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.7 (node_modules/fsevents): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.7: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm"}) + iobroker.discovery@1.2.4 removed 208 packages, updated 1 package and audited 6316 packages in 81.826s found 70 vulnerabilities (51 low, 3 moderate, 16 high) run `npm audit fix` to fix them, or `npm audit` for details packet folder is: /opt/iobroker/node_modules/iobroker.discovery | exists: true npm install iobroker.admin@stable --production --save npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.7 (node_modules/fsevents): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.7: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm"}) + iobroker.admin@3.5.10 removed 163 packages and updated 1 package in 74.857s packet folder is: /opt/iobroker/node_modules/iobroker.admin | exists: true npm install iobroker.js-controller@stable --production --save > iobroker.js-controller@1.4.2 preinstall /opt/iobroker/node_modules/iobroker.js-controller > node lib/preinstall_check.js NPM version: 6.4.1 npm version >= 5: disabling package-lock > ursa-optional@0.9.10 install /opt/iobroker/node_modules/ursa-optional > node rebuild.js Killed packet folder is: /opt/iobroker/node_modules/iobroker.js-controller | exists: true Write "./iobroker start" to start the ioBroker Cannot set permissions of /opt/iobroker/node_modules/iobroker.js-controller/iobroker You can still manually copy Cannot create file /usr/bin/iobroker!. Non critical ----------------------------------------------------- You can manually copy file into /usr/bin/. Just write: sudo cp /opt/iobroker/node_modules/iobroker/install/iobroker /usr/bin/ sudo chmod 777 /usr/bin/iobroker ----------------------------------------------------- Cannot copy file to /etc/init.d/iobroker.sh: Error: EACCES: permission denied, open '/etc/init.d/iobroker.sh' ----------------------------------------------------- You can manually copy file and install autostart: sudo cp /opt/iobroker/node_modules/iobroker/install/linux/iobroker.sh /etc/init.d/ sudo chmod 777 /etc/init.d/iobroker.sh sudo bash /opt/iobroker/node_modules/iobroker/install/linux/install.sh ----------------------------------------------------- or just start "sudo bash /opt/iobroker/install.sh" ----------------------------------------------------- npm ERR! path /opt/iobroker/node_modules/iobroker.admin/node_modules/body-parser/package.json npm ERR! code ENOENT npm ERR! errno -2 npm ERR! syscall open npm ERR! enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modules/iobroker.admin/node_modules/body-parser/package.json' npm ERR! enoent This is related to npm not being able to find a file. npm ERR! enoent npm ERR! A complete log of this run can be found in: npm ERR! /home/pi/.npm/_logs/2019-01-28T20_28_52_758Z-debug.log pi@ioBroker-RasPi:/opt/iobroker $Hier sind aber jetzt einige Fehler??
-
leider nicht
host.ioBroker-RasPi 2019-01-28 21:44:17.799 info Restart adapter system.adapter.zigbee.0 because enabled host.ioBroker-RasPi 2019-01-28 21:44:17.799 error instance system.adapter.zigbee.0 terminated with code 1 () Caught 2019-01-28 21:44:17.799 error by controller[0]: at Object.Module._extensions..js (module.js:663:10) Caught 2019-01-28 21:44:17.799 error by controller[0]: at Module._compile (module.js:652:30) Caught 2019-01-28 21:44:17.799 error by controller[0]: at Object. <anonymous>(/opt/iobroker/node_modules/iobroker.zigbee/node_modules/serialport/lib/bindings/linux.js:2:36) Caught 2019-01-28 21:44:17.799 error by controller[0]: at bindings (/opt/iobroker/node_modules/iobroker.zigbee/node_modules/bindings/bindings.js:81:44) Caught 2019-01-28 21:44:17.799 error by controller[0]: at require (internal/module.js:11:18) Caught 2019-01-28 21:44:17.799 error by controller[0]: at Module.require (module.js:596:17) Caught 2019-01-28 21:44:17.798 error by controller[0]: at Function.Module._load (module.js:497:3) Caught 2019-01-28 21:44:17.798 error by controller[0]: at tryModuleLoad (module.js:505:12) Caught 2019-01-28 21:44:17.798 error by controller[0]: at Module.load (module.js:565:32) Caught 2019-01-28 21:44:17.798 error by controller[0]: at Object.Module._extensions..node (module.js:681:18) Caught 2019-01-28 21:44:17.798 error by controller[0]: the module (for instance, using `npm rebuild` or `npm install`). Caught 2019-01-28 21:44:17.798 error by controller[0]: NODE_MODULE_VERSION 57\. Please try re-compiling or re-installing Caught 2019-01-28 21:44:17.798 error by controller[0]: NODE_MODULE_VERSION 67\. This version of Node.js requires Caught 2019-01-28 21:44:17.798 error by controller[0]: was compiled against a different Node.js version using Caught 2019-01-28 21:44:17.797 error by controller[0]: Error: The module '/opt/iobroker/node_modules/iobroker.zigbee/node_modules/serialport/build/Release/serialport.node' Caught 2019-01-28 21:44:17.797 error by controller[0]: ^ Caught 2019-01-28 21:44:17.797 error by controller[0]: throw e Caught 2019-01-28 21:44:17.797 error by controller[0]: /opt/iobroker/node_modules/iobroker.zigbee/node_modules/bindings/bindings.js:88 host.ioBroker-RasPi 2019-01-28 21:44:16.590 info instance system.adapter.zigbee.0 started with pid 24800 host.ioBroker-RasPi 2019-01-28 21:44:16.544 info object change system.adapter.zigbee.0 host.ioBroker-RasPi 2019-01-28 21:40:06.951 info instance system.adapter.dwd.0 terminated with code 0 (OK)</anonymous>