NEWS
Adapter läuft doppelt/parallel bei Cloud Zugriff
-
Hi,
wenn ich mich über die Cloud auf dem Admin einlogge, werden dann für die Adapter separat nochmal gestartet ?
Hab grade text2command über iobroker.pro aufgerufen und sämtliche Befehle die ich hinterlegt habe wurden nicht angezeigt. Ich hab dann 4 neue eingetragen. Jetzt funktionieren die anderen Befehle nicht mehr wenn ich sie über Telegram ansteuer. Da kommt nur "Verstehe xyz nicht".
Im log steht mehrfach:
host.ioB-RasPi 2019-01-30 09:48:48.129 info instance system.adapter.text2command.0 terminated with code null ()
host.ioB-RasPi 2019-01-30 09:48:48.129 warn instance system.adapter.text2command.0 terminated due to SIGTERM
Schau jetzt lokal drauf und alle "alten" Befehle sind weg und nur noch die da, die ich heute morgen eingetragen habe.
Nutzung über iot Adapter 0.3.0, Eigene Optionen ist deaktiviert
Würde gerne verstehen was da "falsch" läuft und wo meine Befehle alle hin sind.
ciao
Martin
-
Hi,
hab jetzt alle Befehle neu eingerichtet. Bekomme jetzt immer die Meldung "Kenne xyz nicht" und dann wird der Befehl doch ausgeführt.
Bei einem Neustart von ioBroker kommen auch immer diese zwei Zeilen. Irgendwie als würde der Adapter doppelt gestartet werden obwohl nur eine Instanz angelegt ist.
host.ioB-RasPi 2019-01-31 20:52:41.973 error instance system.adapter.text2command.0 terminated with code 7 (Adapter already running)
host.ioB-RasPi 2019-01-31 20:52:40.703 info instance system.adapter.text2command.0 started with pid 2814
Jetzt grade noch im Log gesehen, das reinste Adapter Massaker
text2command.0 2019-01-31 21:01:05.937 info starting. Version 1.2.4 in /opt/iobroker/node_modules/iobroker.text2command, node: v8.12.0 host.ioB-RasPi 2019-01-31 21:01:04.724 info instance system.adapter.text2command.0 started with pid 754 host.ioB-RasPi 2019-01-31 21:01:02.211 info instance system.adapter.text2command.0 terminated with code null () host.ioB-RasPi 2019-01-31 21:01:02.210 warn instance system.adapter.text2command.0 terminated due to SIGTERM host.ioB-RasPi 2019-01-31 21:01:02.193 info stopInstance system.adapter.text2command.0 killing pid 749 host.ioB-RasPi 2019-01-31 21:01:02.193 info stopInstance system.adapter.text2command.0 host.ioB-RasPi 2019-01-31 21:01:02.193 info object change system.adapter.text2command.0 host.ioB-RasPi 2019-01-31 21:01:02.169 info instance system.adapter.text2command.0 started with pid 749 host.ioB-RasPi 2019-01-31 21:01:00.203 info instance system.adapter.text2command.0 terminated with code 0 (OK) host.ioB-RasPi 2019-01-31 21:00:59.658 info stopInstance system.adapter.text2command.0 killing pid 739 host.ioB-RasPi 2019-01-31 21:00:59.658 info stopInstance system.adapter.text2command.0 host.ioB-RasPi 2019-01-31 21:00:59.657 info object change system.adapter.text2command.0 text2command.0 2019-01-31 21:00:58.943 info starting. Version 1.2.4 in /opt/iobroker/node_modules/iobroker.text2command, node: v8.12.0 host.ioB-RasPi 2019-01-31 21:00:57.702 info instance system.adapter.text2command.0 started with pid 739 host.ioB-RasPi 2019-01-31 21:00:57.701 info object change system.adapter.text2command.0 host.ioB-RasPi 2019-01-31 21:00:56.623 info instance system.adapter.text2command.0 terminated with code null () host.ioB-RasPi 2019-01-31 21:00:56.622 warn instance system.adapter.text2command.0 terminated due to SIGTERM host.ioB-RasPi 2019-01-31 21:00:56.607 info stopInstance system.adapter.text2command.0 killing pid 733 host.ioB-RasPi 2019-01-31 21:00:56.606 info stopInstance system.adapter.text2command.0 host.ioB-RasPi 2019-01-31 21:00:56.603 info object change system.adapter.text2command.0 host.ioB-RasPi 2019-01-31 21:00:56.112 info instance system.adapter.text2command.0 started with pid 733 host.ioB-RasPi 2019-01-31 21:00:53.509 info instance system.adapter.text2command.0 terminated with code null () host.ioB-RasPi 2019-01-31 21:00:53.508 warn instance system.adapter.text2command.0 terminated due to SIGTERM host.ioB-RasPi 2019-01-31 21:00:53.494 info stopInstance system.adapter.text2command.0 killing pid 727 host.ioB-RasPi 2019-01-31 21:00:53.494 info stopInstance system.adapter.text2command.0 host.ioB-RasPi 2019-01-31 21:00:53.493 info object change system.adapter.text2command.0 host.ioB-RasPi 2019-01-31 21:00:52.539 info instance system.adapter.text2command.0 started with pid 727 host.ioB-RasPi 2019-01-31 21:00:52.538 info object change system.adapter.text2command.0 host.ioB-RasPi 2019-01-31 21:00:51.188 info instance system.adapter.text2command.0 terminated with code 0 (OK) host.ioB-RasPi 2019-01-31 21:00:50.647 info stopInstance system.adapter.text2command.0 killing pid 717 host.ioB-RasPi 2019-01-31 21:00:50.646 info stopInstance system.adapter.text2command.0 host.ioB-RasPi 2019-01-31 21:00:50.645 info object change system.adapter.text2command.0 text2command.0 2019-01-31 21:00:47.594 info starting. Version 1.2.4 in /opt/iobroker/node_modules/iobroker.text2command, node: v8.12.0 host.ioB-RasPi 2019-01-31 21:00:46.352 info instance system.adapter.text2command.0 started with pid 717 host.ioB-RasPi 2019-01-31 21:00:44.392 info instance system.adapter.text2command.0 terminated with code 0 (OK) host.ioB-RasPi 2019-01-31 21:00:43.842 info stopInstance system.adapter.text2command.0 killing pid 655 host.ioB-RasPi 2019-01-31 21:00:43.842 info stopInstance system.adapter.text2command.0 host.ioB-RasPi 2019-01-31 21:00:43.841 info object change system.adapter.text2command.0 -
Es kann sehr gut sein das Du einen Bug in text2command gefunden hast was Cloud angeht. Leg bei text2command im GitHub bitte mal ein Issue an.
Das der Adapter bei einer Änderung der Regeln neu startet ist normal, Der Fehler 7 an sich nicht weil dann ist eins Hängengeblieben.
-
Hiermit erledigt: https://github.com/ioBroker/ioBroker.te … /issues/40