NEWS
Cloud.0 funktioniert nicht mehr, entfernen nicht möglich
-
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> -
Hier das log
-
Die Zigbee Instanz läuft wieder.
zigbee.0 2019-01-28 22:41:35.319 info (0x00158d00023213f6): WSDCGQ11LM - Xiaomi Aqara temperature, humidity and pressure sensor (EndDevice) zigbee.0 2019-01-28 22:41:35.318 info (0x00158d0002329079): WSDCGQ11LM - Xiaomi Aqara temperature, humidity and pressure sensor (EndDevice) zigbee.0 2019-01-28 22:41:35.314 info (0x00158d00024906fa): WSDCGQ11LM - Xiaomi Aqara temperature, humidity and pressure sensor (EndDevice) zigbee.0 2019-01-28 22:41:35.301 info zigbee-shepherd ready. version: 2.6.3 rev 20180815 zigbee.0 2019-01-28 22:41:35.288 info zigbee-shepherd started! zigbee.0 2019-01-28 22:41:34.480 info Start on port: /dev/serial/by-id/usb-Texas_Instruments_TI_CC2531_USB_CDC___0X00124B0012013B01-if00 with panID 6754 channel 11 zigbee.0 2019-01-28 22:41:34.461 info starting. Version 0.7.7 in /opt/iobroker/node_modules/iobroker.zigbee, node: v8.11.3 zigbee.0 2019-01-28 22:41:34.287 info States connected to redis: 127.0.0.1:6379 host.ioBroker-RasPi 2019-01-28 22:41:32.441 info instance system.adapter.zigbee.0 started with pid 27981 host.ioBroker-RasPi 2019-01-28 22:41:32.420 info object change system.adapter.zigbee.0 host.ioBroker-RasPi 2019-01-28 22:40:58.510 info instance system.adapter.zigbee.0 terminated with code 0 (OK) Caught 2019-01-28 22:40:58.509 error by controller[1]: Mon, 28 Jan 2019 21:40:58 GMT cc-znp:SREQ --> ZDO:mgmtPermitJoinReq, { addrmode: 15, dstaddr: 65532, duration: 0, tcsignificance: 0 } Caught 2019-01-28 22:40:58.509 error by controller[1]: 2019-01-28T21:40:58.453Z zigbee-shepherd:request REQ --> ZDO:mgmtPermitJoinReq Caught 2019-01-28 22:40:58.509 error by controller[1]: 2019-01-28T21:40:58.447Z zigbee-shepherd zigbee-shepherd is stopping. zigbee.0 2019-01-28 22:40:58.469 info terminating host.ioBroker-RasPi 2019-01-28 22:40:58.441 info stopInstance system.adapter.zigbee.0 killing pid 27926 host.ioBroker-RasPi 2019-01-28 22:40:58.440 info stopInstance system.adapter.zigbee.0Danke!
Werde den Zustand bis morgen beobachten.
Gruß Michael
-
Hallo apollon77,
Die Zigbee Instanz ist jetzt seit gestern ohne Abbruch durchgelaufen.
Es gibt zwar noch im Log einige gelb oder orange gekennzeichnete Eintragungen,
aber ich gehe mal davon aus , das das keine bedrohlichen Fehler sind.
Nun möchte ich natürlich Alexa wieder zuschalten. Dafür benötige ich aber eine Cloud.
Nur welche? Free Clouds soll es ja nicht mehr geben oder irre ich mich in dieser Hinsicht.
Gruß Michael