FHEM über web nicht mehr erreichtbar nach Update

Begonnen von Nemo0815, 10 September 2016, 12:51:15

Vorheriges Thema - Nächstes Thema

Nemo0815

hallo zusammen,

ich weiss ja nicht ob ich hier richtig bin, abe seit dem Update heute ist FHEM bei mir (auf Raspi 3) nicht mehr über den Webbrowser erreichbtar (weder übers normale WEB noch über TabletUI oder sonstiges).

FHEM selbst scheint zu laufen, zumidnest kann ich im Log ablesen dass sich beim neustart über Konsole was tut, allerdings ist ein Fehler im Log sichtbar der vermutlich für das Problem der erreichbarkeit verantwortklich ist (ganz am Ende):

2016.09.10 12:42:30 3: VCONTROL opened VCONTROL device /dev/serial/by-id/usb-Silicon_Labs_CP2102_USB_to_UART_Bridge_Controller_0001-if00-port0
2016.09.10 12:42:30 3: VCONTROL: Initialization
2016.09.10 12:42:31 3: Opening HausstromZaehler device /dev/ttyAMA0
2016.09.10 12:42:31 3: Setting HausstromZaehler serial parameters to 9600,8,N,1
2016.09.10 12:42:31 3: HausstromZaehler device opened
2016.09.10 12:42:31 3: TABLETUI: new ext defined infix:ftui/: dir:./www/tablet:
2016.09.10 12:42:31 3: Registering HTTPSRV TABLETUI for URL /ftui   and assigned link ftui/ ...
2016.09.10 12:42:31 1: PERL WARNING: keys on reference is experimental at ./FHEM/98_THINKINGCLEANER.pm line 433, <$fh> line 983.
2016.09.10 12:42:31 1: PERL WARNING: keys on reference is experimental at ./FHEM/98_THINKINGCLEANER.pm line 436, <$fh> line 983.
2016.09.10 12:42:31 1: Registering THINKINGCLEANER WebHook myRoomba
2016.09.10 12:42:31 3: myRoomba: Defined with URL http://192.168.178.48 and interval 60
2016.09.10 12:42:32 3: define LEDLeiste: can't reach (IO::Socket::INET: Bad hostname 'WifiLightLED2')
2016.09.10 12:42:32 3: SISPM using "/usr/bin/sispmctl" as parameter to open(); trying ...
2016.09.10 12:42:32 3: SISPM_GetCurrentConfig: Using "/usr/bin/sispmctl" as parameter to open(); trying ...
2016.09.10 12:42:32 3: SISPM_GetCurrentConfig: Found SISPM device number 0 (sispmctl v3)
2016.09.10 12:42:32 3: SISPM_GetCurrentConfig: SISPM device number 0 is USB device 012 (sispmctl v3)
2016.09.10 12:42:32 3: SISPM_GetCurrentConfig: Device number 0 has serial 01:00:48:94:a7 (sispmctl v3)
2016.09.10 12:42:32 3: SISPM_GetCurrentConfig: Initial read done
2016.09.10 12:42:32 3: SISPM GetCurrentConfing done
2016.09.10 12:42:32 3: SISPM setting callback timer
2016.09.10 12:42:32 3: SISPM initialized
2016.09.10 12:42:32 1: Including ./log/fhem.save
2016.09.10 12:42:32 3: WARNING: unsupported character in reading Zählerstand-Bezug-Total (not A-Za-z/\d_\.-), notify the SMLUSB module maintainer.
2016.09.10 12:42:32 3: WARNING: unsupported character in reading Zählerstand-Lieferung-Total (not A-Za-z/\d_\.-), notify the SMLUSB module maintainer.
2016.09.10 12:42:32 3: WARNING: unsupported character in reading Zählerstand-Tarif-1-Bezug (not A-Za-z/\d_\.-), notify the SMLUSB module maintainer.
2016.09.10 12:42:32 3: WARNING: unsupported character in reading Zählerstand-Tarif-1-Lieferung (not A-Za-z/\d_\.-), notify the SMLUSB module maintainer.
2016.09.10 12:42:32 3: WARNING: unsupported character in reading Zählerstand-Tarif-2-Bezug (not A-Za-z/\d_\.-), notify the SMLUSB module maintainer.
2016.09.10 12:42:32 3: WARNING: unsupported character in reading Zählerstand-Tarif-2-Lieferung (not A-Za-z/\d_\.-), notify the SMLUSB module maintainer.
2016.09.10 12:42:32 3: WARNING: unsupported character in reading Einschaltungen_Primärquelle (not A-Za-z/\d_\.-), notify the VCONTROL module maintainer.
2016.09.10 12:42:32 3: WARNING: unsupported character in reading Einschaltungen_Sekundärquelle (not A-Za-z/\d_\.-), notify the VCONTROL module maintainer.
Bad arg length for Socket::pack_sockaddr_in, length is 0, should be 4 at /usr/lib/arm-linux-gnueabihf/perl5/5.20/Socket.pm line 833.

Nemo0815

Habe gerade gesehen, dass es hier https://forum.fhem.de/index.php/topic,53406.0.html schonmal das gleiche Problem gab, scheinbar wieder ein Bug im httputils.pm...


rudolfkoenig

Das möchte ich bitte nachgewiesen haben, bevor man solche Anschuldigungen in die Welt setzt.

Ich wuerde als naechstes attr global stacktrace in fhem.cfg vorne einfügen, FHEM neu starten, und das Log hier anhängen

Nemo0815

Bitteschön

2016.09.10 18:23:13 1: PERL WARNING: Bareword found where operator expected at ./FHEM/99_perfmon.pm line 4, near ""stylesheet" type"
2016.09.10 18:23:13 1: PERL WARNING:    (Missing operator before type?)
2016.09.10 18:23:13 1: PERL WARNING: Bareword found where operator expected at ./FHEM/99_perfmon.pm line 4, near ""text/css" href"
2016.09.10 18:23:13 1: PERL WARNING:    (Missing operator before href?)
2016.09.10 18:23:13 1: reload: Error:Modul 99_perfmon deactivated:
Unterminated <> operator at ./FHEM/99_perfmon.pm line 9.

2016.09.10 18:23:13 1: Including fhem.cfg
2016.09.10 18:23:13 1: PERL WARNING: Bareword found where operator expected at ./FHEM/99_perfmon.pm line 4, near ""stylesheet" type"
2016.09.10 18:23:13 3: stacktrace:
2016.09.10 18:23:13 3:     main::__ANON__                      called by ./FHEM/99_perfmon.pm (4)
2016.09.10 18:23:13 3:     (eval)                              called by fhem.pl (2258)
2016.09.10 18:23:13 3:     (eval)                              called by fhem.pl (2257)
2016.09.10 18:23:13 3:     main::CommandReload                 called by fhem.pl (2438)
2016.09.10 18:23:13 3:     main::GlobalAttr                    called by fhem.pl (3213)
2016.09.10 18:23:13 3:     main::CallFn                        called by fhem.pl (2573)
2016.09.10 18:23:13 3:     main::CommandAttr                   called by fhem.pl (1082)
2016.09.10 18:23:13 3:     main::AnalyzeCommand                called by fhem.pl (952)
2016.09.10 18:23:13 3:     main::AnalyzeCommandChain           called by fhem.pl (1215)
2016.09.10 18:23:13 3:     main::CommandInclude                called by fhem.pl (516)
2016.09.10 18:23:13 1: PERL WARNING:    (Missing operator before type?)
2016.09.10 18:23:13 3: stacktrace:
2016.09.10 18:23:13 3:     main::__ANON__                      called by ./FHEM/99_perfmon.pm (4)
2016.09.10 18:23:13 3:     (eval)                              called by fhem.pl (2258)
2016.09.10 18:23:13 3:     (eval)                              called by fhem.pl (2257)
2016.09.10 18:23:13 3:     main::CommandReload                 called by fhem.pl (2438)
2016.09.10 18:23:13 3:     main::GlobalAttr                    called by fhem.pl (3213)
2016.09.10 18:23:13 3:     main::CallFn                        called by fhem.pl (2573)
2016.09.10 18:23:13 3:     main::CommandAttr                   called by fhem.pl (1082)
2016.09.10 18:23:13 3:     main::AnalyzeCommand                called by fhem.pl (952)
2016.09.10 18:23:13 3:     main::AnalyzeCommandChain           called by fhem.pl (1215)
2016.09.10 18:23:13 3:     main::CommandInclude                called by fhem.pl (516)
2016.09.10 18:23:13 1: PERL WARNING: Bareword found where operator expected at ./FHEM/99_perfmon.pm line 4, near ""text/css" href"
2016.09.10 18:23:13 3: stacktrace:
2016.09.10 18:23:13 3:     main::__ANON__                      called by ./FHEM/99_perfmon.pm (4)
2016.09.10 18:23:13 3:     (eval)                              called by fhem.pl (2258)
2016.09.10 18:23:13 3:     (eval)                              called by fhem.pl (2257)
2016.09.10 18:23:13 3:     main::CommandReload                 called by fhem.pl (2438)
2016.09.10 18:23:13 3:     main::GlobalAttr                    called by fhem.pl (3213)
2016.09.10 18:23:13 3:     main::CallFn                        called by fhem.pl (2573)
2016.09.10 18:23:13 3:     main::CommandAttr                   called by fhem.pl (1082)
2016.09.10 18:23:13 3:     main::AnalyzeCommand                called by fhem.pl (952)
2016.09.10 18:23:13 3:     main::AnalyzeCommandChain           called by fhem.pl (1215)
2016.09.10 18:23:13 3:     main::CommandInclude                called by fhem.pl (516)
2016.09.10 18:23:13 1: PERL WARNING:    (Missing operator before href?)
2016.09.10 18:23:13 3: stacktrace:
2016.09.10 18:23:13 3:     main::__ANON__                      called by ./FHEM/99_perfmon.pm (4)
2016.09.10 18:23:13 3:     (eval)                              called by fhem.pl (2258)
2016.09.10 18:23:13 3:     (eval)                              called by fhem.pl (2257)
2016.09.10 18:23:13 3:     main::CommandReload                 called by fhem.pl (2438)
2016.09.10 18:23:13 3:     main::GlobalAttr                    called by fhem.pl (3213)
2016.09.10 18:23:13 3:     main::CallFn                        called by fhem.pl (2573)
2016.09.10 18:23:13 3:     main::CommandAttr                   called by fhem.pl (1082)
2016.09.10 18:23:13 3:     main::AnalyzeCommand                called by fhem.pl (952)
2016.09.10 18:23:13 3:     main::AnalyzeCommandChain           called by fhem.pl (1215)
2016.09.10 18:23:13 3:     main::CommandInclude                called by fhem.pl (516)
2016.09.10 18:23:13 1: PERL WARNING: Bareword found where operator expected at ./FHEM/99_perfmon.pm line 4, near ""text/css" href"
2016.09.10 18:23:13 3: stacktrace:
2016.09.10 18:23:13 3:     main::__ANON__                      called by ./FHEM/99_perfmon.pm (4)
2016.09.10 18:23:13 3:     (eval)                              called by fhem.pl (2258)
2016.09.10 18:23:13 3:     (eval)                              called by fhem.pl (2257)
2016.09.10 18:23:13 3:     main::CommandReload                 called by fhem.pl (2438)
2016.09.10 18:23:13 3:     main::GlobalAttr                    called by fhem.pl (3213)
2016.09.10 18:23:13 3:     main::CallFn                        called by fhem.pl (2573)
2016.09.10 18:23:13 3:     main::CommandAttr                   called by fhem.pl (1082)
2016.09.10 18:23:13 3:     main::AnalyzeCommand                called by fhem.pl (952)
2016.09.10 18:23:13 3:     main::AnalyzeCommandChain           called by fhem.pl (1215)
2016.09.10 18:23:13 3:     main::CommandInclude                called by fhem.pl (516)
2016.09.10 18:23:13 1: PERL WARNING:    (Missing operator before href?)
2016.09.10 18:23:13 3: stacktrace:
2016.09.10 18:23:13 3:     main::__ANON__                      called by ./FHEM/99_perfmon.pm (4)
2016.09.10 18:23:13 3:     (eval)                              called by fhem.pl (2258)
2016.09.10 18:23:13 3:     (eval)                              called by fhem.pl (2257)
2016.09.10 18:23:13 3:     main::CommandReload                 called by fhem.pl (2438)
2016.09.10 18:23:13 3:     main::GlobalAttr                    called by fhem.pl (3213)
2016.09.10 18:23:13 3:     main::CallFn                        called by fhem.pl (2573)
2016.09.10 18:23:13 3:     main::CommandAttr                   called by fhem.pl (1082)
2016.09.10 18:23:13 3:     main::AnalyzeCommand                called by fhem.pl (952)
2016.09.10 18:23:13 3:     main::AnalyzeCommandChain           called by fhem.pl (1215)
2016.09.10 18:23:13 3:     main::CommandInclude                called by fhem.pl (516)
2016.09.10 18:23:13 1: reload: Error:Modul 99_perfmon deactivated:
Unterminated <> operator at ./FHEM/99_perfmon.pm line 9, <$fh> line 10.
...
2016.09.10 18:23:22 3: Registering HTTPSRV TABLETUI for URL /ftui   and assigned link ftui/ ...
2016.09.10 18:23:23 1: PERL WARNING: keys on reference is experimental at ./FHEM/98_THINKINGCLEANER.pm line 433, <$fh> line 983.
2016.09.10 18:23:23 3: stacktrace:
2016.09.10 18:23:23 3:     main::__ANON__                      called by ./FHEM/98_THINKINGCLEANER.pm (433)
2016.09.10 18:23:23 3:     (eval)                              called by fhem.pl (2258)
2016.09.10 18:23:23 3:     (eval)                              called by fhem.pl (2257)
2016.09.10 18:23:23 3:     main::CommandReload                 called by fhem.pl (1698)
2016.09.10 18:23:23 3:     main::LoadModule                    called by fhem.pl (1760)
2016.09.10 18:23:23 3:     main::CommandDefine                 called by fhem.pl (1082)
2016.09.10 18:23:23 3:     main::AnalyzeCommand                called by fhem.pl (952)
2016.09.10 18:23:23 3:     main::AnalyzeCommandChain           called by fhem.pl (1215)
2016.09.10 18:23:23 3:     main::CommandInclude                called by fhem.pl (516)
2016.09.10 18:23:23 1: PERL WARNING: keys on reference is experimental at ./FHEM/98_THINKINGCLEANER.pm line 436, <$fh> line 983.
2016.09.10 18:23:23 3: stacktrace:
2016.09.10 18:23:23 3:     main::__ANON__                      called by ./FHEM/98_THINKINGCLEANER.pm (436)
2016.09.10 18:23:23 3:     (eval)                              called by fhem.pl (2258)
2016.09.10 18:23:23 3:     (eval)                              called by fhem.pl (2257)
2016.09.10 18:23:23 3:     main::CommandReload                 called by fhem.pl (1698)
2016.09.10 18:23:23 3:     main::LoadModule                    called by fhem.pl (1760)
2016.09.10 18:23:23 3:     main::CommandDefine                 called by fhem.pl (1082)
2016.09.10 18:23:23 3:     main::AnalyzeCommand                called by fhem.pl (952)
2016.09.10 18:23:23 3:     main::AnalyzeCommandChain           called by fhem.pl (1215)
2016.09.10 18:23:23 3:     main::CommandInclude                called by fhem.pl (516)
2016.09.10 18:23:23 1: Registering THINKINGCLEANER WebHook myRoomba
2016.09.10 18:23:23 3: myRoomba: Defined with URL http://192.168.178.48 and interval 60
2016.09.10 18:23:23 3: define LEDLeiste: can't reach (IO::Socket::INET: Bad hostname 'WifiLightLED2')
2016.09.10 18:23:23 3: SISPM using "/usr/bin/sispmctl" as parameter to open(); trying ...
2016.09.10 18:23:23 3: SISPM_GetCurrentConfig: Using "/usr/bin/sispmctl" as parameter to open(); trying ...
2016.09.10 18:23:23 3: SISPM_GetCurrentConfig: Found SISPM device number 0 (sispmctl v3)
2016.09.10 18:23:23 3: SISPM_GetCurrentConfig: SISPM device number 0 is USB device 012 (sispmctl v3)
2016.09.10 18:23:23 3: SISPM_GetCurrentConfig: Device number 0 has serial 01:00:48:94:a7 (sispmctl v3)
2016.09.10 18:23:23 3: SISPM_GetCurrentConfig: Initial read done

2016.09.10 18:23:23 3: SISPM GetCurrentConfing done
2016.09.10 18:23:23 3: SISPM setting callback timer
2016.09.10 18:23:23 3: SISPM initialized
2016.09.10 18:23:24 1: Including ./log/fhem.save
2016.09.10 18:23:24 3: WARNING: unsupported character in reading Zählerstand-Bezug-Total (not A-Za-z/\d_\.-), notify the SMLUSB module maintainer.
2016.09.10 18:23:24 3: WARNING: unsupported character in reading Zählerstand-Lieferung-Total (not A-Za-z/\d_\.-), notify the SMLUSB module maintainer.
2016.09.10 18:23:24 3: WARNING: unsupported character in reading Zählerstand-Tarif-1-Bezug (not A-Za-z/\d_\.-), notify the SMLUSB module maintainer.
2016.09.10 18:23:24 3: WARNING: unsupported character in reading Zählerstand-Tarif-1-Lieferung (not A-Za-z/\d_\.-), notify the SMLUSB module maintainer.
2016.09.10 18:23:24 3: WARNING: unsupported character in reading Zählerstand-Tarif-2-Bezug (not A-Za-z/\d_\.-), notify the SMLUSB module maintainer.
2016.09.10 18:23:24 3: WARNING: unsupported character in reading Zählerstand-Tarif-2-Lieferung (not A-Za-z/\d_\.-), notify the SMLUSB module maintainer.
2016.09.10 18:23:25 3: WARNING: unsupported character in reading Einschaltungen_Primärquelle (not A-Za-z/\d_\.-), notify the VCONTROL module maintainer.
2016.09.10 18:23:25 3: WARNING: unsupported character in reading Einschaltungen_Sekundärquelle (not A-Za-z/\d_\.-), notify the VCONTROL module maintainer.
Bad arg length for Socket::pack_sockaddr_in, length is 0, should be 4 at /usr/lib/arm-linux-gnueabihf/perl5/5.20/Socket.pm line 833.


Benni

Das Modul SMLUSB erzeugt anscheinend Readings mit Umlauten Das ist eigentlich nicht (mehr) zulässig.
Könnte das u.U. das Problem auslösen (Ich weiß, es handelt sich lediglich um Warnings)?

Ansonsten würde ich mal den Start ohne das Statefile versuchen, denn das Problem tritt anscheinend erst beim/nach dem Laden des selbigen auf.

herrmannj

2016.09.10 18:23:13 1: PERL WARNING: Bareword found where operator expected at ./FHEM/99_perfmon.pm line 4, near ""stylesheet" type"
... da scheinen einige Fehler beim kopieren entstanden zu sein.

vg
joerg

Nemo0815

Zitat von: Benni am 10 September 2016, 18:38:03
Das Modul SMLUSB erzeugt anscheinend Readings mit Umlauten Das ist eigentlich nicht (mehr) zulässig.
Könnte das u.U. das Problem auslösen (Ich weiß, es handelt sich lediglich um Warnings)?

Ansonsten würde ich mal den Start ohne das Statefile versuchen, denn das Problem tritt anscheinend erst beim/nach dem Laden des selbigen auf.

Den SMLUSB Fehler habe ich schon einige Monate, denke nicht dass es daran liegt, aber danke für den Tip mit dem Statefile.