NEWS
UNSOLVED (Adapter already running) ?? wieso
-
Hallo,
das passiert immer öfter. Ich logge mich im Admin ein "reserve Proxy" und wundere mich das auf einmal alle Instanzen Rot sind .. Telegram schickt mir auch Start Nachricht .. im Log:
(Adapter already running)Wieso?? Hab keine Idee irgendwas stimmt da doch nicht ?
LOG:
javascript.0 2019-05-21 19:42:46.428 error Cannot install npm packet: Block javascript.0 2019-05-21 19:42:46.428 error Cannot install Block: 1 javascript.0 2019-05-21 19:42:46.412 error npm ERR! A complete log of this run can be found in: npm ERR! /home/iobroker/.npm/_logs/2019-05-21T17_42_46_075Z-debug.log javascript.0 2019-05-21 19:42:46.411 error javascript.0 2019-05-21 19:42:46.075 error ERR! 404 Not Found: Block@latest javascript.0 2019-05-21 19:42:46.074 error npm javascript.0 2019-05-21 19:42:46.072 error ERR! code E404 javascript.0 2019-05-21 19:42:46.071 error npm javascript.0 2019-05-21 19:42:42.619 error Cannot install Block: 1 javascript.0 2019-05-21 19:42:42.570 error ERR! A complete log of this run can be found in: npm ERR! /home/iobroker/.npm/_logs/2019-05-21T17_42_42_380Z-debug.log javascript.0 2019-05-21 19:42:42.568 error javascript.0 2019-05-21 19:42:42.562 error npm javascript.0 2019-05-21 19:42:42.561 error javascript.0 2019-05-21 19:42:42.380 error npm ERR! 404 Not Found: Block@latest javascript.0 2019-05-21 19:42:42.379 error ERR! code E404 javascript.0 2019-05-21 19:42:42.376 error npm javascript.0 2019-05-21 19:42:38.474 error Cannot install Block: 1 javascript.0 2019-05-21 19:42:38.452 error npm ERR! A complete log of this run can be found in: npm ERR! /home/iobroker/.npm/_logs/2019-05-21T17_42_37_588Z-debug.log javascript.0 2019-05-21 19:42:38.450 error javascript.0 2019-05-21 19:42:37.588 error npm ERR! code E404 npm ERR! 404 Not Found: Block@latest cloud.0 2019-05-21 19:42:15.567 error Cloud says: timeout alexa2.0 2019-05-21 19:42:09.740 warn Device-type:AKPGW064GI9HE (MICROPHONE,SUPPORTS_CONNECTED_HOME_CLOUD_ONLY,VOLUME_SETTING,SUPPORTS_SOFTWARE_VERSION,ALLOW_LOG_UPLOAD,PERSISTENT_CONNECTION,CHANGE_NAME,ARTHUR_TARGET,ACTIVE_AFTER_FRO, alexa2.0 2019-05-21 19:42:09.740 warn Disabling some commands for device because of unknown type. Report to developer as GitHub issue with details for device. Please grab full next line pot. from logfile on disk if cutted host.iobroker 2019-05-21 19:41:18.038 error instance system.adapter.history.0 terminated with code 7 (Adapter already running) host.iobroker 2019-05-21 19:41:18.025 error instance system.adapter.alexa2.0 terminated with code 7 (Adapter already running) host.iobroker 2019-05-21 19:41:18.012 error instance system.adapter.cloud.0 terminated with code 7 (Adapter already running) host.iobroker 2019-05-21 19:41:17.997 error instance system.adapter.telegram.0 terminated with code 7 (Adapter already running) host.iobroker 2019-05-21 19:41:17.907 error instance system.adapter.web.0 terminated with code 7 (Adapter already running) host.iobroker 2019-05-21 19:41:17.895 error instance system.adapter.javascript.0 terminated with code 7 (Adapter already running) host.iobroker 2019-05-21 19:41:17.882 error instance system.adapter.yeelight-2.0 terminated with code 7 (Adapter already running) host.iobroker 2019-05-21 19:41:17.865 error instance system.adapter.shelly.0 terminated with code 7 (Adapter already running) host.iobroker 2019-05-21 19:41:17.808 error instance system.adapter.enigma2.0 terminated with code 7 (Adapter already running) host.iobroker 2019-05-21 19:41:17.790 error instance system.adapter.deconz.0 terminated with code 7 (Adapter already running) yeelight-2.0 2019-05-21 19:41:17.423 error already running telegram.0 2019-05-21 19:41:17.391 error already running javascript.0 2019-05-21 19:41:17.400 error already running alexa2.0 2019-05-21 19:41:17.398 error already running shelly.0 2019-05-21 19:41:17.390 error already running web.0 2019-05-21 19:41:17.385 error already running cloud.0 2019-05-21 19:41:17.384 error already running history.0 2019-05-21 19:41:17.375 error already running deconz.0 2019-05-21 19:41:17.349 warn Reconnection to DB. enigma2.0 2019-05-21 19:41:17.294 warn Reconnection to DB. alexa2.0 2019-05-21 19:41:17.309 warn Reconnection to DB. telegram.0 2019-05-21 19:41:17.305 warn Reconnection to DB. shelly.0 2019-05-21 19:41:17.311 warn Reconnection to DB. web.0 2019-05-21 19:41:17.299 warn Reconnection to DB. yeelight-2.0 2019-05-21 19:41:17.304 warn Reconnection to DB. yeelight-2.0 2019-05-21 19:41:17.301 warn Reconnection to DB.
-
@ChrisXY
Warum kann ich mit den (nicht vorhandenen) Informationen nicht sagen.Durch irgendeine Ursache wurde versucht ein (?) Adapter erneut zu starten, der in Wirklichkeit gar nicht (vollständig) beendet wurde.
Dann kommt es zu dem Error code 7, der zu einem ständigen pingpong der Instanz(en) führt und somit meist eine Bedienbarkeit erschwert, insbesondere wenn es der Admin ist.
Um welche(n) Adapter handelt es sich?
Abhilfe
Über sie Konsole die doppelt laufenden Prozesse herausbekommen und killen, anschließend einmal neu starten.Pragmatisch
Reboot des Raspi -
ja dann den Docker auch neu starten. Es sind ALLE Adapter betroffen. Log hab ich angehangen
Das ganze passiert auch öfter mal -
@ChrisXY sagte in (Adapter already running) ?? wieso:
Cannot install npm packet: Block
Da hast du schon mindestens ein Problem. Dürfte ein Packet sein das du in der JS config eingetragen hast.
-
Danke auf jedenfall nicht bewusst selbst gemacht. Es war nur "BLOCK" drin wo auch immer das herkommt. Ist das nicht für das Blockly ? Habs mal rausgenommen
-
@ChrisXY sagte in (Adapter already running) ?? wieso:
Log hab ich angehangen
Aber erst 4 Minuten später,
Dann bitte für alle Leser mit EDIT kennzeichnen.Leider geht da die ursache auch nicht daraus hervor
-
@ChrisXY
Gibt es sonst noch Infos?
Von Docker war bisher keine Rede.Alle sind es nicht, der admin kommt nicht vor.
Mach mal den output von
iobroker list instances
-
@Homoran said in (Adapter already running) ?? wieso:
iobroker list instances
Also hab Docker jetzt mal neu gestartet.
bash: warning: setlocale: LC_ALL: cannot change locale (de_DE) root@iobroker:/opt/iobroker# iobroker list instances /bin/bash: warning: setlocale: LC_ALL: cannot change locale (de_DE) system.adapter.admin.0 : admin - enabled, port: 8081, bind: 0.0.0.0, run as: admin system.adapter.alexa2.0 : alexa2 - enabled system.adapter.cloud.0 : cloud - enabled system.adapter.deconz.0 : deconz - enabled, port: 187 system.adapter.discovery.0 : discovery - disabled system.adapter.enigma2.0 : enigma2 - enabled system.adapter.fhem.0 : fhem - enabled, port: 7073 system.adapter.history.0 : history - enabled system.adapter.javascript.0 : javascript - enabled system.adapter.mqtt.0 : mqtt - disabled, port: 1883 system.adapter.paw.0 : paw - disabled, port: 8898 system.adapter.radar2.0 : radar2 - disabled system.adapter.ring.0 : ring - enabled system.adapter.shelly.0 : shelly - enabled system.adapter.sonoff.0 : sonoff - disabled, port: 1883, bind: 0.0.0.0 system.adapter.telegram.0 : telegram - enabled, port: 8443, bind: 0.0.0.0 system.adapter.tr-064.0 : tr-064 - enabled system.adapter.unifi.0 : unifi - disabled system.adapter.upnp.0 : upnp - disabled system.adapter.vis-history.0 : vis-history - enabled system.adapter.vis.0 : vis - enabled system.adapter.web.0 : web - enabled, port: 8082, bind: 0.0.0.0, run as: admin system.adapter.yeelight-2.0 : yeelight-2 - enabled
-
@Homoran said in (Adapter already running) ?? wieso:
@ChrisXY
Gibt es sonst noch Infos?
Von Docker war bisher keine Rede.Alle sind es nicht, der admin kommt nicht vor.
Mach mal den output von
iobroker list instances
hmm nu ist es abgestürzt admin is auch weg und per root Konsole kommt nichts mehr:
root@iobroker:/opt/iobroker# sudo iobroker list instances /bin/bash: warning: setlocale: LC_ALL: cannot change locale (de_DE) sudo: unable to execute /usr/bin/node: Operation not permitted root@iobroker:/opt/iobroker# iobroker list instances /bin/bash: warning: setlocale: LC_ALL: cannot change locale (de_DE) sudo: unable to execute /usr/bin/node: Operation not permitted root@iobroker:/opt/iobroker#
Edit nach paar Minuten ist Admin wieder da.. aber das list geht immer noch nicht
-
@ChrisXY von sudo hat auch keiner was gesagt.
-
hi, ja aber schau mal ich hab beides versucht
Ich glaub aber das liegt an DOCKER/Diskstation. Volume Auslastung ist 100%
-
@ChrisXY sagte in (Adapter already running) ?? wieso:
nach paar Minuten ist Admin wieder da..
So eine Aktion in einem unbeobachteten Augenblick kann zu dem error code 7 geführt haben.
Gilt also dringend herauszufinden was da los war/ist.
-
also ich bin drauf und dran iobroker nochmal neu aufzusetzen .. Hab noch nichts wichtiges. Ist irgendwie schon das 3. mal das es "kaputt" gegangen ist. Irgendwas war immer. Habe immer noch Adapter über das Admin Installiert.
Komisch Komisch. Diskstation VOLUME hab ich nu im Griff das liegt am FHEM Docker und ich weiss auch woran
Vielleicht war es der Grund.. Aktuell startet seit 10 Minuten der iobroker Docker auch komisch.. iobroker ist noch nicht da das startscript läuft nur -
Status es ganz neu aufgesetzt und läufft super. Auch kein Backup eingespielt