NEWS
HM RPC lässt sich nicht Instalieren
-
Hey,
Ich habe gerade das Porblem, dass sich mein HM RPC nicht mehr auf grün stellt.
Hab weng herumprobiert und dachte, okey installier ich den Adapter mal neu.
Nun kann ich diesen nicht mehr Installieren und bekomme folgende Fehlermeldung:
Fertig mit Fehler: reading io-package.json Error: ENOENT: no such file or directory, open '/opt/iobroker/node_modules/iobroker.hm-rpc/io-package.json'
kann damit leider nicht viel anfangen
-
Habe nun vom Git probiert zu Instalieren, nun ging es.
Jedoch bleibt mein Problem bestehen, der Adapter bleibt Rot.
Im log bekomme ich folgende Fehlermeldungen:
! hm-rpc.0 2018-03-03 21:48:40.380 debug redis pmessage io.hm-rpc.0.* io.hm-rpc.0.info.connection
! {"val":false,"ack":true,"ts":1520110120372,"q":0,"from":"system.adapter.hm-rpc.0","lc":1520109130128}
! ````
hm-rpc.0 2018-03-03 21:48:40.348 error at Socket.onpacket (/opt/iobroker/node_modules/socket.io-client/lib/socket.js:236:12)
hm-rpc.0 2018-03-03 21:48:40.348 error at Socket.onack (/opt/iobroker/node_modules/socket.io-client/lib/socket.js:312:9)
hm-rpc.0 2018-03-03 21:48:40.348 error at Socket. (/opt/iobroker/node_modules/iobroker.js-controller/lib/adapter.js:710:25)
hm-rpc.0 2018-03-03 21:48:40.348 error at initAdapter (/opt/iobroker/node_modules/iobroker.js-controller/lib/adapter.js:4658:62)
hm-rpc.0 2018-03-03 21:48:40.348 error at Object.ready (/opt/iobroker/node_modules/iobroker.hm-rpc/hm-rpc.js:361:9)
hm-rpc.0 2018-03-03 21:48:40.348 error at main (/opt/iobroker/node_modules/iobroker.hm-rpc/hm-rpc.js:582:15)
hm-rpc.0 2018-03-03 21:48:40.348 error at require (internal/module.js:20:19)
hm-rpc.0 2018-03-03 21:48:40.348 error at Module.require (module.js:497:17)
hm-rpc.0 2018-03-03 21:48:40.348 error at Function.Module._load (module.js:417:25)
hm-rpc.0 2018-03-03 21:48:40.348 error at Function.Module._resolveFilename (module.js:469:15)
hm-rpc.0 2018-03-03 21:48:40.348 error Error: Cannot find module 'binrpc'
hm-rpc.0 2018-03-03 21:48:40.347 error uncaught exception: Cannot find module 'binrpc'
hm-rpc.0 2018-03-03 21:48:40.305 info starting. Version 1.6.0 in /opt/iobroker/node_modules/iobroker.hm-rpc, node: v6.10.0
hm-rpc.0 2018-03-03 21:48:40.244 info States connected to redis: 127.0.0.1:6379
hm-rpc.0 2018-03-03 21:48:40.233 debug statesDB connected
hm-rpc.0 2018-03-03 21:48:40.181 debug objectDB connectedMOD-Edit by, eric2905; Bei Logs immer Code- und ggf. Spoiler-Tags verwenden
-
Log von der Installation bitte. Da fehlt ein Modul
-
Entschuldige, wenn ich blöd fragen muss, aber wie mach ich den log von der Instalation? Meinst du wenn ich den Adapter instaliere?
-
So nochmal gelöscht, Instaliert… doch diesmal ging es mit Git nicht aber dafür über die Adapter Oberfläche :?:
Als log nach der Instalation:
! ````
$ ./iobrowker add hm-rpc
host.ioBroker-RasPi create instance hm-rpc
host.ioBroker-RasPi object hm-rpc.0.info.connection created
host.ioBroker-RasPi object hm-rpc.0.info created
host.ioBroker-RasPi object hm-rpc.0.updated created
host.ioBroker-RasPi object system.adapter.hm-rpc.0.outputCount created
host.ioBroker-RasPi object system.adapter.hm-rpc.0.inputCount created
host.ioBroker-RasPi object system.adapter.hm-rpc.0.uptime created
host.ioBroker-RasPi object system.adapter.hm-rpc.0.memRss created
host.ioBroker-RasPi object system.adapter.hm-rpc.0.memHeapTotal created
host.ioBroker-RasPi object system.adapter.hm-rpc.0.memHeapUsed created
host.ioBroker-RasPi object system.adapter.hm-rpc.0.connected created
host.ioBroker-RasPi object system.adapter.hm-rpc.0.alive created
host.ioBroker-RasPi object system.adapter.hm-rpc.0 created
process exited with code 0MOD-Edit by eric2905; Tags verwenden
-
Hab nun mal die Versionen hin und her geändert.
Nun sieht es beim Instalieren der aktuellen version so aus:
! ````
$ ./iobroker upgrade hm-rpc
Update hm-rpc from @1.5.1 to @1.6.0
npm install iobroker.hm-rpc@1.6.0 --production --prefix "/opt/iobroker" (System call)
npmWARN optional SKIPPING OPTIONAL DEPENDENCY: xpc-connection@0.1.4 (node_modules/xpc-connection):npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for xpc-connection@0.1.4: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm"})
! ERROR: Cannot find io-package.json in /opt/iobroker/node_modules/iobroker.hm-rpc
ERROR: process exited with code 10findet der Adapter ein verzeichnis nicht? :/ MOD-Edit by eric2905; Tags verwenden