NEWS
SOLVED gelöst - ZWave Adapter lässt sich nicht installieren
-
|Hardwaresystem:| Raspi 4|
|Arbeitsspeicher:| 4GB |
|Festplattenart:| SD-Karte (Boot) + USB-Stick (/)
|Nodejs-Version:| 10.20.0 |
|NPM-Version:| 6.14,4|
|Installationsart:| Skript + Manuell |Hallo zusammen,
ich versuche jetzt schon mehrere Stunden, den ZWave-Adapter über das Webinterface und per ssh zu installieren:npm i iobroker.zwave bzw. npm install iobroker.zwave --unsafe-perm
Als Fehlermeldung bekomme ich jedesmal folgendes:
npm i iobroker.zwave > openzwave-shared@1.6.2 preinstall /opt/iobroker/node_modules/openzwave-shared > node lib/install-ozw.js > iobroker.zwave@2.0.0 preinstall /opt/iobroker/node_modules/iobroker.zwave > node lib/preinstall.js ---> find /tmp -name 'OZWException.h' 2>/dev/null ---> Error: Command failed: find /tmp -name 'OZWException.h' 2>/dev/null ---> find /usr/include/ -name 'OZWException.h' 2>/dev/null ---> find /usr/local/include/ -name 'OZWException.h' 2>/dev/null ---> find /usr/lib -name 'libopenzwave.so' 2>/dev/null ---> find /usr/local/lib -name 'libopenzwave.so' 2>/dev/null ---> find /usr/local/etc/ -name 'zwcfg.xsd' 2>/dev/null ---> find /etc/ -name 'zwcfg.xsd' 2>/dev/null ---> Error: Command failed: find /etc/ -name 'zwcfg.xsd' 2>/dev/null ---> find /usr/local/etc/ -name 'manufacturer_specific.xml' 2>/dev/null ---> find /etc/ -name 'manufacturer_specific.xml' 2>/dev/null ---> Error: Command failed: find /etc/ -name 'manufacturer_specific.xml' 2>/dev/null ---> sudo apt-get install libudev-dev -y ---> curl --connect-timeout 5 --retry 3 -L -O http://old.openzwave.com/downloads/openzwave-1.6.989.zip % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 13.1M 100 13.1M 0 0 4971k 0 0:00:02 0:00:02 --:--:-- 4969k ---> unzip -o openzwave-1.6.989.zip && rm openzwave-1.6.989.zip ---> cd openzwave-1.6.989 && make && sudo make install /opt/iobroker/node_modules/iobroker.zwave/openzwave-1.6.989/cpp/build/support.mk:50: git update-index returned: fatal: Kein Git-Repository (oder irgendeines der Elternverzeichnisse): .git /opt/iobroker/node_modules/iobroker.zwave/openzwave-1.6.989/cpp/build/support.mk:55: git update-index returned: fatal: Kein Git-Repository (oder irgendeines der Elternverzeichnisse): .git /opt/iobroker/node_modules/iobroker.zwave/openzwave-1.6.989/cpp/build/support.mk:58: git describe returned an empty result, setting GITVERSION to VERSION_MAJ.VERSION_MIN.-1 and VERSION_REV to 0 /opt/iobroker/node_modules/iobroker.zwave/openzwave-1.6.989/cpp/build/support.mk:50: git update-index returned: fatal: Kein Git-Repository (oder irgendeines der Elternverzeichnisse): .git /opt/iobroker/node_modules/iobroker.zwave/openzwave-1.6.989/cpp/build/support.mk:55: git update-index returned: fatal: Kein Git-Repository (oder irgendeines der Elternverzeichnisse): .git /opt/iobroker/node_modules/iobroker.zwave/openzwave-1.6.989/cpp/build/support.mk:58: git describe returned an empty result, setting GITVERSION to VERSION_MAJ.VERSION_MIN.-1 and VERSION_REV to 0 <built-in>: internal compiler error: Ungültiger Maschinenbefehl 0xb6b5c11f ??? ../sysdeps/unix/sysv/linux/arm/sigrestorer.S:64 Please submit a full bug report, with preprocessed source if appropriate. Please include the complete backtrace with any bug report. See <file:///usr/share/doc/gcc-8/README.Bugs> for instructions. make[1]: *** [/opt/iobroker/node_modules/iobroker.zwave/openzwave-1.6.989/cpp/build/support.mk:164: /opt/iobroker/node_modules/iobroker.zwave/openzwave-1.6.989/.lib/tinystr.o] Fehler 1 make: *** [Makefile:23: all] Fehler 2 ---> Error: Command failed: cd openzwave-1.6.989 && make && sudo make install /opt/iobroker/node_modules/iobroker.zwave/openzwave-1.6.989/cpp/build/support.mk:50: git update-index returned: fatal: Kein Git-Repository (oder irgendeines der Elternverzeichnisse): .git /opt/iobroker/node_modules/iobroker.zwave/openzwave-1.6.989/cpp/build/support.mk:55: git update-index returned: fatal: Kein Git-Repository (oder irgendeines der Elternverzeichnisse): .git /opt/iobroker/node_modules/iobroker.zwave/openzwave-1.6.989/cpp/build/support.mk:58: git describe returned an empty result, setting GITVERSION to VERSION_MAJ.VERSION_MIN.-1 and VERSION_REV to 0 /opt/iobroker/node_modules/iobroker.zwave/openzwave-1.6.989/cpp/build/support.mk:50: git update-index returned: fatal: Kein Git-Repository (oder irgendeines der Elternverzeichnisse): .git /opt/iobroker/node_modules/iobroker.zwave/openzwave-1.6.989/cpp/build/support.mk:55: git update-index returned: fatal: Kein Git-Repository (oder irgendeines der Elternverzeichnisse): .git /opt/iobroker/node_modules/iobroker.zwave/openzwave-1.6.989/cpp/build/support.mk:58: git describe returned an empty result, setting GITVERSION to VERSION_MAJ.VERSION_MIN.-1 and VERSION_REV to 0 <built-in>: internal compiler error: Ungültiger Maschinenbefehl 0xb6b5c11f ??? ../sysdeps/unix/sysv/linux/arm/sigrestorer.S:64 Please submit a full bug report, with preprocessed source if appropriate. Please include the complete backtrace with any bug report. See <file:///usr/share/doc/gcc-8/README.Bugs> for instructions. make[1]: *** [/opt/iobroker/node_modules/iobroker.zwave/openzwave-1.6.989/cpp/build/support.mk:164: /opt/iobroker/node_modules/iobroker.zwave/openzwave-1.6.989/.lib/tinystr.o] Fehler 1 make: *** [Makefile:23: all] Fehler 2 /opt/iobroker/node_modules/iobroker.zwave/lib/preinstall.js:16 if (!suppressException) throw e; ^ Error: Command failed: cd openzwave-1.6.989 && make && sudo make install /opt/iobroker/node_modules/iobroker.zwave/openzwave-1.6.989/cpp/build/support.mk:50: git update-index returned: fatal: Kein Git-Repository (oder irgendeines der Elternverzeichnisse): .git /opt/iobroker/node_modules/iobroker.zwave/openzwave-1.6.989/cpp/build/support.mk:55: git update-index returned: fatal: Kein Git-Repository (oder irgendeines der Elternverzeichnisse): .git /opt/iobroker/node_modules/iobroker.zwave/openzwave-1.6.989/cpp/build/support.mk:58: git describe returned an empty result, setting GITVERSION to VERSION_MAJ.VERSION_MIN.-1 and VERSION_REV to 0 /opt/iobroker/node_modules/iobroker.zwave/openzwave-1.6.989/cpp/build/support.mk:50: git update-index returned: fatal: Kein Git-Repository (oder irgendeines der Elternverzeichnisse): .git /opt/iobroker/node_modules/iobroker.zwave/openzwave-1.6.989/cpp/build/support.mk:55: git update-index returned: fatal: Kein Git-Repository (oder irgendeines der Elternverzeichnisse): .git /opt/iobroker/node_modules/iobroker.zwave/openzwave-1.6.989/cpp/build/support.mk:58: git describe returned an empty result, setting GITVERSION to VERSION_MAJ.VERSION_MIN.-1 and VERSION_REV to 0 <built-in>: internal compiler error: Ungültiger Maschinenbefehl 0xb6b5c11f ??? ../sysdeps/unix/sysv/linux/arm/sigrestorer.S:64 Please submit a full bug report, with preprocessed source if appropriate. Please include the complete backtrace with any bug report. See <file:///usr/share/doc/gcc-8/README.Bugs> for instructions. make[1]: *** [/opt/iobroker/node_modules/iobroker.zwave/openzwave-1.6.989/cpp/build/support.mk:164: /opt/iobroker/node_modules/iobroker.zwave/openzwave-1.6.989/.lib/tinystr.o] Fehler 1 make: *** [Makefile:23: all] Fehler 2 at checkExecSyncError (child_process.js:629:11) at Object.execSync (child_process.js:666:13) at doScript (/opt/iobroker/node_modules/iobroker.zwave/lib/preinstall.js:13:15) at installOpenZwaveFromSource (/opt/iobroker/node_modules/iobroker.zwave/lib/preinstall.js:146:3) at installOpenZwave (/opt/iobroker/node_modules/iobroker.zwave/lib/preinstall.js:139:3) at Object.<anonymous> (/opt/iobroker/node_modules/iobroker.zwave/lib/preinstall.js:27:7) at Module._compile (internal/modules/cjs/loader.js:778:30) at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10) at Module.load (internal/modules/cjs/loader.js:653:32) at tryModuleLoad (internal/modules/cjs/loader.js:593:12) npm WARN optional SKIPPING OPTIONAL DEPENDENCY: osx-temperature-sensor@^1.0.4 (node_modules/iobroker.info/node_modules/osx-temperature-sensor): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for osx-temperature-sensor@1.0.5: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm"}) npm WARN ajv-keywords@2.1.1 requires a peer of ajv@^5.0.0 but none is installed. You must install peer dependencies yourself. npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@2.1.2 (node_modules/fsevents): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.1.2: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm"}) npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! iobroker.zwave@2.0.0 preinstall: `node lib/preinstall.js` npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the iobroker.zwave@2.0.0 preinstall 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! /home/pi/.npm/_logs/2020-04-11T21_29_21_006Z-debug.log
Ich hab auch schon iobroker via apt-get update/upgrade aktualisieren lassen und den iobroker - Fixer laufen lassen -> Keine Änderung.
Die o.a. Fehlermeldung deutet auf ein Problem im git-Repo hin, daher hab ich das Projekt auch heruntergeladen und aus dem /tmp-Verzeichnis versucht zu installieren
npm install /tmp/ioBroker.zwave-master/ --unsafe-perm
Keine Änderung.
Scheinbar tritt das Problem mit dem ZWave-Adapter öfter auf - ich habe aber in den vielen Threads keine passende Lösung gefunden.
Habt ihr eine Idee?Danke & Grüße
Frank -
Habe es gelöst...
backup erstellt,
iobroker-image neu geflasht,
backup zurückgespielt,
zwave-adapter installiert,
fertig....