NEWS
Radar läuft nach Update auf JS2.2.7 & Node10 nicht
-
Hi Leute, hab vor zwei Tagen auf JS 2.2.7 und Node 10 geupdatet und seit dem läuft leider der Radar Adapter nicht mehr. Er wird kurz grün, dann springt er wieder auf rot. Hat einer ne Idee? Hatte Radar Version 1.2.0 im Einsatz, die hab ich jetzt erstmal deinstalliert und die 1.0.9 versucht, aber leider läuft die auch nicht mehr.
Log:
host.All-in-One-Tinker 2020-01-15 12:47:35.168 info Restart adapter system.adapter.radar2.0 because enabled host.All-in-One-Tinker 2020-01-15 12:47:35.168 info instance system.adapter.radar2.0 terminated with code 0 (NO_ERROR) host.All-in-One-Tinker 2020-01-15 12:47:35.167 error Caught by controller[0]: port: 67 } host.All-in-One-Tinker 2020-01-15 12:47:35.167 error Caught by controller[0]: address: '0.0.0.0', host.All-in-One-Tinker 2020-01-15 12:47:35.167 error Caught by controller[0]: syscall: 'bind', host.All-in-One-Tinker 2020-01-15 12:47:35.167 error Caught by controller[0]: code: 'EACCES', host.All-in-One-Tinker 2020-01-15 12:47:35.167 error Caught by controller[0]: errno: 'EACCES', host.All-in-One-Tinker 2020-01-15 12:47:35.167 error Caught by controller[0]: at process._tickCallback (internal/process/next_tick.js:63:19) host.All-in-One-Tinker 2020-01-15 12:47:35.166 error Caught by controller[0]: at state.handle.lookup (dgram.js:242:18) host.All-in-One-Tinker 2020-01-15 12:47:35.166 error Caught by controller[0]: { Error: bind EACCES 0.0.0.0:67 mihome-vacuum.0 2020-01-15 12:47:35.121 debug (2734) Receive <<< {"result":[{"msg_ver":2,"msg_seq":3282,"state":8,"battery":100,"clean_time":1288,"clean_area":22305000,"error_code":0,"map_present":1,"in_cleaning":0,"in_returning":0,"in_fresh_sta mihome-vacuum.0 2020-01-15 12:47:35.115 debug (2734) sendMsgRaw >>> 2131005000000000047097c35e1efbd7a7c006289fbbb8f124c9b2ef27cd3940584c916a0e31756393f4a1fa4adccb2344d1ab1b90b57f2933a719b1bcf7c22ab48a18f094f24db58c302bb0fb79f33e mihome-vacuum.0 2020-01-15 12:47:35.114 debug (2734) sendMsg >>> {"id":411,"method":"get_status"} mihome-vacuum.0 2020-01-15 12:47:35.113 debug (2734) Timestamp: 5e1efbd7 mihome-vacuum.0 2020-01-15 12:47:35.113 debug (2734) lastid{"get_status":411,"get_consumable":407,"get_clean_summary":408,"get_clean_record":26,"X_send_command":0,"miIO.info":406,"get_sound_volume":409,"get_carpet_mode":410} mihome-vacuum.0 2020-01-15 12:47:35.112 debug (2734) requesting params every: 10 Sec radar2.0 2020-01-15 12:47:34.929 info (19124) Adapter disconnected and stopped with dostop(false) and callback(true) radar2.0 2020-01-15 12:47:34.928 error at process._tickCallback (internal/process/next_tick.js:63:19) radar2.0 2020-01-15 12:47:34.928 error at state.handle.lookup (dgram.js:242:18) radar2.0 2020-01-15 12:47:34.928 error (19124) Error: bind EACCES 0.0.0.0:67 radar2.0 2020-01-15 12:47:34.927 error (19124) uncaught exception: bind EACCES 0.0.0.0:67 radar2.0 2020-01-15 12:47:34.759 info (19124) net-ping not available! Will try to use normal ping! radar2.0 2020-01-15 12:47:34.731 info (19124) radar2 initialization started... radar2.0 2020-01-15 12:47:34.545 info (19124) starting. Version 1.0.9 in /opt/iobroker/node_modules/iobroker.radar2, node: v10.18.1 host.All-in-One-Tinker 2020-01-15 12:47:32.374 info instance system.adapter.radar2.0 started with pid 19124
-
Das sollte helfen.
sudo setcap cap_net_admin,cap_net_raw,cap_net_bind_service=+eip $(eval readlink -f `which arp-scan`) sudo setcap cap_net_admin,cap_net_raw,cap_net_bind_service=+eip $(eval readlink -f `which node`) sudo setcap cap_net_admin,cap_net_raw,cap_net_bind_service=+eip $(eval readlink -f `which arp`) sudo setcap cap_net_admin,cap_net_raw,cap_net_bind_service=+eip $(eval readlink -f `which hcitool`) sudo setcap cap_net_admin,cap_net_raw,cap_net_bind_service=+eip $(eval readlink -f `which hciconfig`) sudo setcap cap_net_admin,cap_net_raw,cap_net_bind_service=+eip $(eval readlink -f `which l2ping`)
-
@JohGre sagte in Radar läuft nach Update auf JS2.2.7 & Node10 nicht:
sudo setcap cap_net_admin,cap_net_raw,cap_net_bind_service=+eip $(eval readlink -f
which l2ping
)Vielen vielen Dank JohGre, tatsächlich geht es jetzt wieder
-
Ich habe seit dem Update auch Probleme mit dem ioGo Adapter. Da kommt das hier, gibt es da auch so eine Lösung zufällig?
host.All-in-One-Tinker 2020-01-15 14:31:11.524 info Restart adapter system.adapter.iogo.0 because enabled host.All-in-One-Tinker 2020-01-15 14:31:11.524 error instance system.adapter.iogo.0 terminated with code 1 (JS_CONTROLLER_STOPPED) host.All-in-One-Tinker 2020-01-15 14:31:11.523 error Caught by controller[0]: at Module._compile (internal/modules/cjs/loader.js:778:30) host.All-in-One-Tinker 2020-01-15 14:31:11.523 error Caught by controller[0]: at Object.<anonymous> (/opt/iobroker/node_modules/grpc/src/client_interceptors.js:144:12) host.All-in-One-Tinker 2020-01-15 14:31:11.523 error Caught by controller[0]: at require (internal/modules/cjs/helpers.js:25:18) host.All-in-One-Tinker 2020-01-15 14:31:11.523 error Caught by controller[0]: at Module.require (internal/modules/cjs/loader.js:692:17) host.All-in-One-Tinker 2020-01-15 14:31:11.522 error Caught by controller[0]: at Function.Module._load (internal/modules/cjs/loader.js:585:3) host.All-in-One-Tinker 2020-01-15 14:31:11.522 error Caught by controller[0]: at tryModuleLoad (internal/modules/cjs/loader.js:593:12) host.All-in-One-Tinker 2020-01-15 14:31:11.522 error Caught by controller[0]: at Module.load (internal/modules/cjs/loader.js:653:32) host.All-in-One-Tinker 2020-01-15 14:31:11.521 error Caught by controller[0]: at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10) host.All-in-One-Tinker 2020-01-15 14:31:11.521 error Caught by controller[0]: at Module._compile (internal/modules/cjs/loader.js:778:30) host.All-in-One-Tinker 2020-01-15 14:31:11.521 error Caught by controller[0]: at Object.<anonymous> (/opt/iobroker/node_modules/grpc/src/grpc_extension.js:53:17) host.All-in-One-Tinker 2020-01-15 14:31:11.520 error Caught by controller[0]: Original error: Cannot find module '/opt/iobroker/node_modules/grpc/src/node/extension_binary/node-v64-linux-arm-glibc/grpc_node.node' host.All-in-One-Tinker 2020-01-15 14:31:11.520 error Caught by controller[0]: This problem can often be fixed by running "npm rebuild" on the current system host.All-in-One-Tinker 2020-01-15 14:31:11.520 error Caught by controller[0]: Found: [node-v57-linux-arm-glibc] host.All-in-One-Tinker 2020-01-15 14:31:11.520 error Caught by controller[0]: Expected directory: node-v64-linux-arm-glibc host.All-in-One-Tinker 2020-01-15 14:31:11.519 error Caught by controller[0]: Error: Failed to load gRPC binary module because it was not installed for the current system host.All-in-One-Tinker 2020-01-15 14:31:11.519 error Caught by controller[0]: ^ host.All-in-One-Tinker 2020-01-15 14:31:11.519 error Caught by controller[0]: throw error; host.All-in-One-Tinker 2020-01-15 14:31:11.518 error Caught by controller[0]: /opt/iobroker/node_modules/grpc/src/grpc_extension.js:55 host.All-in-One-Tinker 2020-01-15 14:31:10.582 info instance system.adapter.iogo.0 started with pid 10871 host.All-in-One-Tinker 2020-01-15 14:31:10.549 info "system.adapter.iogo.0" enabled
-
@smarti2015 Bitte bei jedem Node.js-Update anschließend
iobroker fix
ausführen, um die Berechtigungen wieder gerade zu biegen. Macht im Endeffekt das gleiche wie die Befehle oben plus ein paar Dinge mehr.Original error: Cannot find module '/opt/iobroker/node_modules/grpc/src/node/extension_binary/node-v64-linux-arm-glibc/grpc_node.node'
This problem can often be fixed by running "npm rebuild" on the current systemHast du das mal ausprobiert?
cd /opt/iobroker/node_modules/grpc npm rebuild
-
Ah danke probiere ich gleich mal aus mit dem Fix
Gebe iobroker fix ein aber dann will er noch ne Option dazu haben kann das sein? Wie genau lautet der Befehl?Bei dem npm rebuild kommt das hier:
│ │ New patch version of npm available! 6.13.4 → 6.13.6 │ │ Changelog: https://github.com/npm/cli/releases/tag/v6.13.6 │ │ Run npm install -g npm to update! │ │
Soll ich das machen?
-
@JohGre sagte in Radar läuft nach Update auf JS2.2.7 & Node10 nicht:
Das sollte helfen.
Danke, das hat auch mir geholfen.
-
@smarti2015 sagte in Radar läuft nach Update auf JS2.2.7 & Node10 nicht:
Gebe iobroker fix ein aber dann will er noch ne Option dazu haben kann das sein?
Welche denn ?
Ansonsten geht auch die "alte" Variante:
curl -fsL https://iobroker.net/fix.sh | bash -