NEWS
yahka Homekit adapter installation schlägt fehl.
-
Hallo ioBroker Community,
zuerst möchte ich darauf hinweisen das ich gerade erst angefangen habe mich mit dem Thema Heimautomatisierung zu beschäftigen.
Ich nutze das docker image buanet/iobroker:beta innerhalb einer Ubuntu 14.04.6 Server Installation.
Ich konnte bereits meine Homematic Heizungssteuerung erfolgreich einrichten.
Jetzt würde ich gerne eine Homekit Anbindung realsieren. Hier habe ich aber leider das Problem das sich der yahka Adapter nicht installieren lässt. Die folgende Log Ausgabe erscheint bei Installation der 0.7.1 Version. Ich habe allerdings auch bereits versucht den aktuellsten Adapter (V0.9.2) von GitHub zu installieren.ioBroker erzeugt folgende log Ausgabe:
$ ./iobroker add yahka --host iobroker NPM version: 6.4.1 npm install iobroker.yahka --production --save --prefix "/opt/iobroker" (System call) gyp WARN EACCES user "root" does not have permission to access the dev dir "/root/.node-gyp/8.15.1" gyp WARN EACCES attempting to reinstall using temporary dev dir "/tmp/.node-gyp" gyp ERR! configure error gyp ERR! stack Error: EACCES: permission denied, mkdir '/opt/iobroker/node_modules/curve25519-n/build' gyp ERR! System Linux 4.4.0-143-generic gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"gyp ERR! cwd /opt/iobroker/node_modules/curve25519-ngyp ERR! node -v v8.15.1gyp ERR! node-gyp -v v3.8.0gyp ERR! not ok npm ERR! code ELIFECYCLEnpm ERR! errno 1 npm ERR! curve25519-n@1.4.0 install: `node-gyp rebuild` npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the curve25519-n@1.4.0 install script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above. npm ERR! A complete log of this run can be found in:npm ERR! /root/.npm/_logs/2019-03-31T10_02_26_084Z-debug.log host.iobroker install adapter yahka NPM version: 6.4.1 npm install iobroker.yahka --production --save --prefix "/opt/iobroker" (System call) gyp WARN EACCES user "root" does not have permission to access the dev dir "/root/.node-gyp/8.15.1" gyp WARN EACCES attempting to reinstall using temporary dev dir "/tmp/.node-gyp" gyp ERR! configure error gyp ERR! stack Error: EACCES: permission denied, mkdir '/opt/iobroker/node_modules/curve25519-n/build' gyp ERR! System Linux 4.4.0-143-generic gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"gyp ERR! cwd /opt/iobroker/node_modules/curve25519-n gyp ERR! node -v v8.15.1gyp ERR! node-gyp -v v3.8.0 gyp ERR! not ok npm ERR! code ELIFECYCLEnpm ERR! errno 1 npm ERR! curve25519-n@1.4.0 install: `node-gyp rebuild`npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the curve25519-n@1.4.0 install script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above. npm ERR! A complete log of this run can be found in:npm ERR! /root/.npm/_logs/2019-03-31T10_02_32_410Z-debug.log host.iobroker install adapter yahka NPM version: 6.4.1 npm install iobroker.yahka --production --save --prefix "/opt/iobroker" (System call) gyp WARN EACCES user "root" does not have permission to access the dev dir "/root/.node-gyp/8.15.1" gyp WARN EACCES attempting to reinstall using temporary dev dir "/tmp/.node-gyp" gyp ERR! configure error gyp ERR! stack Error: EACCES: permission denied, mkdir '/opt/iobroker/node_modules/curve25519-n/build'gyp ERR! System Linux 4.4.0-143-genericgyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"gyp ERR! cwd /opt/iobroker/node_modules/curve25519-n gyp ERR! node -v v8.15.1 gyp ERR! node-gyp -v v3.8.0gyp ERR! not ok npm ERR! code ELIFECYCLEnpm ERR! errno 1 npm ERR! curve25519-n@1.4.0 install: `node-gyp rebuild` npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the curve25519-n@1.4.0 install script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above. npm ERR! A complete log of this run can be found in: npm ERR! /root/.npm/_logs/2019-03-31T10_02_38_784Z-debug.log host.iobroker install adapter yahka ERROR: host.iobroker Cannot install yahka ERROR: process exited with code 13
Das ganze habe ich auch nochmals in einer frischen Umgebung getestet. Also das volume das nach /opt/iobroker gemountet wird geleert.
Beim Ersteller des Docker images habe ich bereits einen issue erstellt:
[https://github.com/buanet/docker-iobroker/issues/20#issue-427380264](link url)Ich hoffe es kann mir jemand weiterhelfen. Dafür schon mal vielen Dank im voraus.
Gruß
Jack