Fhem Crash nach Update

Begonnen von justcallmeal, 18 November 2019, 11:03:47

Vorheriges Thema - Nächstes Thema

justcallmeal

Hallo zusammen,
gestern habe ich mal wieder ein Fhem-update gemacht, was dazu geführt hat, dass beim Drücken einer Homatic Fernbedienung das Fhem System crasht.
Wenn ich dann mit ssh den Raspi neu boote geht's wieder. Solange bis ich wieder die Fernbedienung benutze.

Die Fernbedienung löst ein LongRelease aus, danach gibt's viele nachfolgend aufgeführte Fehlereintäge im Log:

2019.11.18 08:57:12 1: PERL WARNING: Use of uninitialized value $name in concatenation (.) or string at ./FHEM/50_TelegramBot.pm line 2218.
2019.11.18 08:57:12 1: PERL WARNING: Use of uninitialized value $name in concatenation (.) or string at ./FHEM/50_TelegramBot.pm line 2227.
2019.11.18 08:57:12 1: PERL WARNING: Use of uninitialized value $name in concatenation (.) or string at ./FHEM/50_TelegramBot.pm line 2183.
2019.11.18 08:57:12 1: PERL WARNING: Use of uninitialized value $name in concatenation (.) or string at ./FHEM/50_TelegramBot.pm line 2175.
2019.11.18 08:57:12 1: PERL WARNING: Use of uninitialized value $name in concatenation (.) or string at ./FHEM/50_TelegramBot.pm line 2169.
2019.11.18 08:57:12 1: PERL WARNING: Use of uninitialized value $name in concatenation (.) or string at ./FHEM/50_TelegramBot.pm line 2242.
2019.11.18 08:57:12 1: PERL WARNING: Use of uninitialized value $name in concatenation (.) or string at ./FHEM/50_TelegramBot.pm line 2359.
2019.11.18 08:57:12 1: ERROR: empty name in readingsBeginUpdate
2019.11.18 08:57:12 1: stacktrace:
2019.11.18 08:57:12 1:     main::readingsBeginUpdate           called by ./FHEM/50_TelegramBot.pm (2397)
2019.11.18 08:57:12 1:     main::TelegramBot_Callback          called by FHEM/HttpUtils.pm (634)
2019.11.18 08:57:12 1:     main::__ANON__                      called by fhem.pl (751)
2019.11.18 08:57:12 1: PERL WARNING: Use of uninitialized value $name in concatenation (.) or string at fhem.pl line 4772.
2019.11.18 08:57:12 1: readingsUpdate(,sentMsgResult,SUCCESS) missed to call readingsBeginUpdate first.
2019.11.18 08:57:12 1: stacktrace:
2019.11.18 08:57:12 1:     main::readingsBulkUpdate            called by ./FHEM/50_TelegramBot.pm (2398)
2019.11.18 08:57:12 1:     main::TelegramBot_Callback          called by FHEM/HttpUtils.pm (634)
2019.11.18 08:57:12 1:     main::__ANON__                      called by fhem.pl (751)
2019.11.18 08:57:12 1: readingsUpdate(,sentMsgId,15881) missed to call readingsBeginUpdate first.
2019.11.18 08:57:12 1: stacktrace:
2019.11.18 08:57:12 1:     main::readingsBulkUpdate            called by ./FHEM/50_TelegramBot.pm (2399)
2019.11.18 08:57:12 1:     main::TelegramBot_Callback          called by FHEM/HttpUtils.pm (634)
2019.11.18 08:57:12 1:     main::__ANON__                      called by fhem.pl (751)
2019.11.18 08:57:12 1: readingsUpdate(,sentMsgPeerId,) missed to call readingsBeginUpdate first.
2019.11.18 08:57:12 1: stacktrace:
2019.11.18 08:57:12 1:     main::readingsBulkUpdate            called by ./FHEM/50_TelegramBot.pm (2400)
2019.11.18 08:57:12 1:     main::TelegramBot_Callback          called by FHEM/HttpUtils.pm (634)
2019.11.18 08:57:12 1:     main::__ANON__                      called by fhem.pl (751)
2019.11.18 08:57:12 1: PERL WARNING: Use of uninitialized value $d in hash element at fhem.pl line 4525.
2019.11.18 08:57:12 1: PERL WARNING: Use of uninitialized value $dev in hash element at fhem.pl line 3626.
Can't use an undefined value as an ARRAY reference at ./FHEM/50_TelegramBot.pm line 2403.
2019.11.18 10:32:24 1: reload: Error:Modul 99_myUtilsTemplate deactivated:


Kann jemand hierbei helfen?

VG,
al
HM-Sen-DB-PCB, HM-Sec-SCo, HM-MOD-Re-8, HM-SEC-SC-2, HM-Sen-MDIR-O, HM-LC-Sw1PBU-FM, HM-LC-RGBW-WM, HM-ES-PMSw1-SM, HM-LC-Sw1-DR, div. Shellies u.v.m.

sledge

Naja - was wird denn ausgelöst beim Druck auf die Fernbedienung? Hier sieht es auf den allerersten Blick so aus als hätte TelegramBot ein Problem?
FHEM: debian Intel-NUC / 25 x MAX!, 15 x HM-bidcos, MQTT, 3 x 1wire, 20 x Shelly, 20 x Tasmota, 12 x Yeelight, Opentherm-GW, Espeasy, alexa-fhem, kodi, unifi, musiccast, ...

rudolfkoenig

Das Problem liegt vmtl. im Modul Telegrambot, und laut https://fhem.de/MAINTAINER.txt sollten Probleme, die dieses Modul betreffen, im Forumsbereich "Unterstuetzende Dienste" gemeldet werden.
Bitte da ein neues Thema oeffnen, und TelegramBot im Betreff erwaehnen.
Verschieben des Themas geht zwar auch (siehe Knopf unten links), das kriegt aber der Maintainer nicht mit, falls er sich auf Emailbenachrichtigung verlaesst.

justcallmeal

#3
Ja, Ihr habt natürlich Recht: das Drücken der Fernbedienung ist nicht das Problem, sondern nachgeschaltete Telegrambot-Aktionen.
Danke, ich werde das Problem in "Unterstützende Dienste" neu aufmachen.

VG,
al
HM-Sen-DB-PCB, HM-Sec-SCo, HM-MOD-Re-8, HM-SEC-SC-2, HM-Sen-MDIR-O, HM-LC-Sw1PBU-FM, HM-LC-RGBW-WM, HM-ES-PMSw1-SM, HM-LC-Sw1-DR, div. Shellies u.v.m.