NEWS
UNSOLVED Probleme mit Tradfri Adapter
-
Ich versuche nun schon seit einigen Tagen den IKEA Tradfri Adapter zum Laufen zu bringen. Die Installation klappt ohne Probleme, auch die Konfiguration. Sobald der Adapter startet kommt im LOG:
info Restart adapter system.adapter.tradfri.0 because enabled error instance system.adapter.tradfri.0 terminated with code 7 (ADAPTER_ALREADY_RUNNING) error Caught by controller[1]: at process._fatalException (internal/bootstrap/node.js:497:27) error Caught by controller[1]: at process.emit (events.js:198:13) error Caught by controller[1]: at process.onUnhandledError (C:\Program Files\iobroker\TG24QA\node_modules\iobroker.tradfri\build\main.js:752:13) error Caught by controller[1]: TypeError: Cannot read property 'log' of undefined error Caught by controller[1]: error Caught by controller[1]: ^ error Caught by controller[1]: adapter.log.error("unhandled exception:" + getMessage(err)); error Caught by controller[1]: \main.js:752 error Caught by controller[0]: C:\Program Files\iobroker\TG24QA\node_modules\iobroker.tradfri\build info instance system.adapter.tradfri.0 started with pid 6816 info "system.adapter.tradfri.0" enabled
Eine deinstallation killt dann die komplette IOBroker instanz. Habe jetzt schon versuche eine komplett neu Instanz ohne irgendwelche anderen Adapter zu verwenden aber es ist immer dasselbe Problem.
Jemand eine Idee dazu?
Systemdata Bitte Ausfüllen Hardwaresystem: Windows Server 2019 Arbeitsspeicher: 4GB Festplattenart: HDD Betriebssystem: Windows Node-Version: 10.x.x Nodejs-Version: 10.17.0 NPM-Version: 6.11.3 Installationsart: Skript Image genutzt: Nein Ort/Name der Imagedatei: Link -
@mpfeiler sagte in Probleme mit Tradfri Adapter:
terminated with code 7
sollte inzwischen abgefangen werden
Bitte RasPi rebouten.
Da läuft der Tradfri-Prozess doppelt. Wurde wohl nicht korrekt beendet und ein zweites mal gestartet.Oder ganz sauber - den doppelten Prozess über putty killen
-
@Homoran : Nein das ist es leider nicht. Ist ein Windows System, wenn ich nach dem Tradfri Adapter Setup den Dienst neu starte war es das. Irgendwie crasht die Adapter installation die komplette iobroker instanz.
Deinstallation geht dann auch nicht mehr:
Error: Cannot find module 'core-util-is' at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15) at Function.Module._load (internal/modules/cjs/loader.js:562:25) at Module.require (internal/modules/cjs/loader.js:692:17) at require (internal/modules/cjs/helpers.js:25:18) at Object.<anonymous> (C:\Program Files\iobroker\TG24QA\node_modules\verror\lib\verror.js:9:19) 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) at Function.Module._load (internal/modules/cjs/loader.js:585:3)
-
@mpfeiler muss es sein. Das log ist da eindeutig.
Code 7 - Adapter is already runningwas sagt denn
top
(falls es das auf Windows auch gibt -
@Homoran : Leider nein, wie gesagt, allein die Installation des Adapters killt die komplette iobroker instanz. Ich habe das mit einer komplett neue Instanz getestet. Also Windows Installationspaket und dann den Tradfri Adapter.
Dannach funktioniert nichts mehr. Im Log kommt nur noch:
Error: Cannot find module 'core-util-is' at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15) at Function.Module._load (internal/modules/cjs/loader.js:562:25) at Module.require (internal/modules/cjs/loader.js:692:17) at require (internal/modules/cjs/helpers.js:25:18) at Object.<anonymous> (C:\Program Files\iobroker\TG24QA\node_modules\verror\lib\verror.js:9:19) 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) at Function.Module._load (internal/modules/cjs/loader.js:585:3)
-
@mpfeiler Sorry dann bin ich raus -mit Win kenne ich mich nicht aus
-
Genau der gleiche Fehler tritt bei mir auch auf. Gleiche Konfiguration, jedoch Windows 10 64 Bit. Gibt es inzwischen evtl. eine Lösung?
-
Bei mir hat sich das Problem inzwischen gelöst durch eine saubere Installation:
https://forum.iobroker.net/topic/33679/wie-bekomme-ich-eine-saubere-installation-unter-windows-hin/5