kein Zugriff über WebUI nach dem heutigen Update

Begonnen von ramses, 15 Juni 2019, 19:35:42

Vorheriges Thema - Nächstes Thema

ramses

wieder einmal ein verunglücktes Update...

nach dem Update habe ich folgende Zeilen bekommen (weiss nicht ob das mit dem Problem zu tun hat, wahrscheinlich nicht):
2019.06.15 11:48:50.547 1: *** EN FHEM/52_I2C_HDC1008.pm: =end html: there are too many
2019.06.15 11:48:50.548 1: *** EN FHEM/46_PW_Circle.pm: =end html: there are too many
2019.06.15 11:48:50.549 1: *** EN FHEM/46_PW_Scan.pm: =end html: there are too many
2019.06.15 11:48:50.552 1: *** EN FHEM/46_PW_Sense.pm: =end html: there are too many
2019.06.15 11:48:50.553 1: *** EN FHEM/46_PW_Switch.pm: =end html: there are too many
2019.06.15 11:48:50.554 1: *** EN FHEM/45_Plugwise.pm: =end html: there are too many
2019.06.15 11:48:50.554 1: *** EN FHEM/72_TA_CMI_JSON.pm: =end html: there are too many
2019.06.15 11:48:50.557 1: *** EN FHEM/10_UNIRoll.pm: =end html: missing
2019.06.15 11:48:50.558 1: *** DE FHEM/52_I2C_HDC1008.pm: =end html_DE: missing
2019.06.15 11:48:50.559 1: *** DE FHEM/45_Plugwise.pm: =end html_DE: missing
2019.06.15 11:48:50.560 1: *** DE FHEM/44_S7_AWrite.pm: =end html_DE: missing
2019.06.15 11:48:50.563 1: *** DE FHEM/72_TA_CMI_JSON.pm: =end html_DE: missing


nach dem reboot funktioniert FHEM ganz normal bis auf dem Web Zugriff. Kein einziger Port ist erreichbar.
SSH OK

habe versucht mal zu debuggen, nachdem die log File auf STDOUT umgeleitet habe, mit:

perl /opt/fhem/fhem.pl /opt/fhem/fhem.cfg.dbg

und bekomme aber folgende Fehler:
perl /opt/fhem/fhem.pl /opt/fhem/fhem.cfg.dbg
2019.06.15 19:32:52 3: modpath must point to a directory where the FHEM subdir is
Can't locate RTypes.pm in @INC (you may need to install the RTypes module) (@INC contains: . /etc/perl /usr/local/lib/arm-linux-gnueabihf/perl/5.20.2 /usr/local/share/perl/5.20.2 /usr/lib/arm-linux-gnueabihf/perl5/5.20 /usr/share/perl5 /usr/lib/arm-linux-gnueabihf/perl/5.20 /usr/share/perl/5.20 /usr/local/lib/site_perl) at /opt/fhem/fhem.pl line 591.


RTypes.pm ist aber im FHEM Verzeichnis...
wie kann ich das reparieren? bzw. woran kann das liegen...Danke!

bartman121

Das debuggen musst du zwingend in /opt/fhem machen, sonst stimmen die Pfade nicht.

Also
cd /opt/fhem
Danach das debuggen starten.

ramses

ok, gestartet.
jetzt kann FHEM kein einziger Logfile öffnen:
ZB

2019.06.15 20:41:05.882 1: define FileLog_Heizung_Bad FileLog ./log/Heizung_Bad-%Y.log Heizung_Bad: Can't open ./log/Heizung_Bad-2019.log: Keine Berechtigung


und kennt auch die Logfile devices nicht mehr:
ZB

Please define FileLog_Fenster_Buero first


sonst nichts Verdächtiges...Ports werden geöffnet, Server started with

ist Featurelevel 5.9 normal?

2019.06.15 20:41:16.553 0: Featurelevel: 5.9
2019.06.15 20:41:16.553 0: Server started with 252 defined entities (fhem.pl:19485/2019-05-29 perl:5.020002 os:linux user:pi pid:1732)



amenomade

#3
2019.06.15 11:48:50.547 1: *** EN FHEM/52_I2C_HDC1008.pm: =end html: there are too many
2019.06.15 11:48:50.548 1: *** EN FHEM/46_PW_Circle.pm: =end html: there are too many

Es ist nur wichtig für die CommandRef ("help <Modul>" in Fhem). Ich weiss nicht, ob das wirklich Fhem stört.

Zitatjetzt kann FHEM kein einziger Logfile öffnen:
Unter welchem User wird nw. Fhem gestartet? Und mit welchem Befehl?
Was hast Du in logdir Attribute?
Pi 3B, Alexa, CUL868+Selbstbau 1/2λ-Dipol-Antenne, USB Optolink / Vitotronic, Debmatic und HM / HmIP Komponenten, Rademacher Duofern Jalousien, Fritz!Dect Thermostaten, Proteus

ramses

sorry war paar Tage weg...

ZitatUnter welchem User wird nw. Fhem gestartet? Und mit welchem Befehl?
user ist fhem und gehört der Gruppe dialout.
gestartet wird fhem (ich schätze, das fragst du) - kopiert aus /opt/init.d/fhem

perl fhem.pl fhem.cfg

ZitatWas hast Du in logdir Attribute?
attr global logfile ./log/fhem-%Y-%m.log


fhem hat ja ein Backup vor dem Update gemacht und unter /opt/fhem/restoredir/update/DatumdesUpdates gespeichert.
könnte ich das wiederherstellen? Wie soll ich vorgehen, sodass die Besitzer und Rechte dieser wiederhergestellten Daten passen (User fhem/Gruppe dialout)?

was ich auch ausprobiert habe (FTP und SSH funktionieren), fhem manuell mit folgenden Befehl zu starten und in den debug cfg das logging auf die Konsole umzuleiten
su fhem perl fhem.pl fhem.cfg.dbg
um mehr zu sehen was beim Hochfahren passiert, jedoch verlangt das OS ein PW für fhem, was ich aber nicht habe, bzw. erinnere mich nicht eins gesetzt zu haben...

EDIT:
weitere Recherche haben ergeben, dass fhem per default eh kein PW hat, da es kein echter User ist, oder?

Platz ist genug auf der SD und auch keine Prozesse auf 100%...ich weiss echt nicht weiter...


amenomade

Mach bitte, wenn fhem gestartet ist (nicht manuell sondern durch autostart)
ps -feww |grep fhem
und
ls -la /opt/fhem/log
Pi 3B, Alexa, CUL868+Selbstbau 1/2λ-Dipol-Antenne, USB Optolink / Vitotronic, Debmatic und HM / HmIP Komponenten, Rademacher Duofern Jalousien, Fritz!Dect Thermostaten, Proteus

ramses

Zitatps -feww |grep fhem


pi@raspberrypi:~ $ ps -feww |grep fhem
fhem      4047     1  1 Jun16 ?        01:43:24 perl fhem.pl fhem.cfg
pi       30497 30483  0 15:18 pts/0    00:00:00 grep --color=auto fhem



Zitatls -la /opt/fhem/log


pi@raspberrypi:~ $ ls -la /opt/fhem/log
insgesamt 1592748
drwxrwxrwx  2 fhem dialout     20480 Jun  1 00:00 .
drwxrwxrwx 11 fhem dialout      4096 Jun 15 19:12 ..
-rw-r--r--  1 fhem dialout         0 Aug 27  2018 CUL_TX_0-2018.log
-rw-r--r--  1 fhem dialout    236966 Jun 15 21:38 eventTypes.txt
-rw-r--r--  1 fhem dialout    137206 Dez 23  2017 Fenster_Abstellraum-2017.log
-rw-r--r--  1 fhem dialout    158872 Dez 22  2018 Fenster_Abstellraum-2018.log
-rw-r--r--  1 fhem dialout     72578 Jun 22 18:07 Fenster_Abstellraum-2019.log
-rw-r--r--  1 fhem dialout   2667155 Dez 31  2017 Fenster_S1-2017.log
-rw-r--r--  1 fhem dialout   5607043 Dez 31 23:48 Fenster_S1-2018.log
-rw-r--r--  1 fhem dialout   1273588 Jun 16 14:45 Fenster_S1-2019.log
-rw-r--r--  1 fhem dialout   2813416 Dez 31  2017 Fenster_Bad-2017.log
-rw-r--r--  1 fhem dialout   5131673 Dez 31 23:07 Fenster_Bad-2018.log
-rw-r--r--  1 fhem dialout   2260060 Jun 23 14:53 Fenster_Bad-2019.log
-rw-r--r--  1 fhem dialout   2045349 Dez 31  2017 Fenster_Buero-2017.log
-rw-r--r--  1 fhem dialout   4111160 Dez 31 23:05 Fenster_Buero-2018.log
-rw-r--r--  1 fhem dialout   1410866 Jun 23 14:27 Fenster_Buero-2019.log
-rw-r--r--  1 fhem dialout   3410268 Dez 31  2017 Fenster_Kueche-2017.log
-rw-r--r--  1 fhem dialout   6337129 Dez 31 23:33 Fenster_Kueche-2018.log
-rw-r--r--  1 fhem dialout   2360744 Jun 23 14:54 Fenster_Kueche-2019.log
-rw-r--r--  1 fhem dialout   2247170 Dez 31  2017 Fenster_S2-2017.log
-rw-r--r--  1 fhem dialout   4897785 Dez 20  2018 Fenster_S2-2018.log
-rw-r--r--  1 fhem dialout   1609137 Jun 23 14:33 Fenster_S2-2019.log
-rw-r--r--  1 fhem dialout   3502055 Dez 31  2017 Fenster_Schlafzimmer-2017.log
-rw-r--r--  1 fhem dialout   5550145 Dez 31 23:49 Fenster_Schlafzimmer-2018.log
-rw-r--r--  1 fhem dialout   1834303 Jun 23 14:51 Fenster_Schlafzimmer-2019.log
-rw-r--r--  1 fhem dialout     15185 Dez 23  2017 Fenster_Sofa-2017.log
-rw-r--r--  1 fhem dialout     27129 Dez 12  2018 Fenster_Sofa-2018.log
-rw-r--r--  1 fhem dialout     16850 Jun 17 15:55 Fenster_Sofa-2019.log
-rw-r--r--  1 fhem dialout   2224888 Mär 31  2017 fhem-2017-03.log
-rw-r--r--  1 fhem dialout   2078120 Apr 30  2017 fhem-2017-04.log
-rw-r--r--  1 fhem dialout    544191 Mai 31  2017 fhem-2017-05.log
-rw-r--r--  1 fhem dialout    626285 Jun 30  2017 fhem-2017-06.log
-rw-r--r--  1 fhem dialout    305167 Jul 31  2017 fhem-2017-07.log
-rw-r--r--  1 fhem dialout    341973 Aug 31  2017 fhem-2017-08.log
-rw-r--r--  1 fhem dialout    726723 Sep 30  2017 fhem-2017-09.log
-rw-r--r--  1 fhem dialout    866323 Okt 31  2017 fhem-2017-10.log
-rw-r--r--  1 fhem dialout   1330273 Nov 30  2017 fhem-2017-11.log
-rw-r--r--  1 fhem dialout   2381856 Dez 31  2017 fhem-2017-12.log
-rw-r--r--  1 fhem dialout   2417951 Jän 31  2018 fhem-2018-01.log
-rw-r--r--  1 fhem dialout   7263172 Feb 28  2018 fhem-2018-02.log
-rw-r--r--  1 fhem dialout   6812234 Mär 31  2018 fhem-2018-03.log
-rw-r--r--  1 fhem dialout   1282937 Apr 30  2018 fhem-2018-04.log
-rw-r--r--  1 fhem dialout   1240685 Mai 31  2018 fhem-2018-05.log
-rw-r--r--  1 fhem dialout   2846664 Jun 30  2018 fhem-2018-06.log
-rw-r--r--  1 fhem dialout   3011367 Jul 31  2018 fhem-2018-07.log
-rw-r--r--  1 fhem dialout   2748628 Aug 31  2018 fhem-2018-08.log
-rw-r--r--  1 fhem dialout   3084051 Sep 30  2018 fhem-2018-09.log
-rw-r--r--  1 fhem dialout   9586374 Okt 31  2018 fhem-2018-10.log
-rw-r--r--  1 fhem dialout  10532872 Nov 30  2018 fhem-2018-11.log
-rw-r--r--  1 fhem dialout   2482883 Dez 31 23:39 fhem-2018-12.log
-rw-r--r--  1 fhem dialout    456341 Jän 31 23:29 fhem-2019-01.log
-rw-r--r--  1 fhem dialout   2032422 Feb 28 23:35 fhem-2019-02.log
-rw-r--r--  1 fhem dialout    343477 Mär 31 23:45 fhem-2019-03.log
-rw-r--r--  1 fhem dialout    317416 Apr 30 23:31 fhem-2019-04.log
-rw-r--r--  1 fhem dialout    221869 Mai 31 23:52 fhem-2019-05.log
-rw-r--r--  1 fhem dialout   3567796 Jun 23 14:55 fhem-2019-06.log
-rw-r--r--  1 fhem dialout    268219 Jun 15 21:38 fhem.save
-rw-r--r--  1 fhem dialout  48208627 Dez 31  2017 Heizung_S1-2017.log
-rw-r--r--  1 fhem dialout  58593116 Dez 31 23:58 Heizung_S1-2018.log
-rw-r--r--  1 fhem dialout  27890930 Jun 23 15:20 Heizung_S1-2019.log
-rw-r--r--  1 fhem dialout  48206301 Dez 31  2017 Heizung_Bad-2017.log
-rw-r--r--  1 fhem dialout  58469765 Dez 31 23:58 Heizung_Bad-2018.log
-rw-r--r--  1 fhem dialout  27807240 Jun 23 15:19 Heizung_Bad-2019.log
-rw-r--r--  1 fhem dialout  50314004 Dez 31  2017 Heizung_Buero-2017.log
-rw-r--r--  1 fhem dialout  61484584 Dez 31 23:57 Heizung_Buero-2018.log
-rw-r--r--  1 fhem dialout  29268859 Jun 23 15:19 Heizung_Buero-2019.log
-rw-r--r--  1 fhem dialout  50337450 Dez 31  2017 Heizung_S2-2017.log
-rw-r--r--  1 fhem dialout  61395346 Dez 31 23:57 Heizung_S2-2018.log
-rw-r--r--  1 fhem dialout  29188819 Jun 23 15:20 Heizung_S2-2019.log
-rw-r--r--  1 fhem dialout  57292571 Dez 31  2017 Heizung_Schlafzimmer-2017.log
-rw-r--r--  1 fhem dialout  69535371 Dez 31 23:58 Heizung_Schlafzimmer-2018.log
-rw-r--r--  1 fhem dialout  33053809 Jun 23 15:20 Heizung_Schlafzimmer-2019.log
-rw-r--r--  1 fhem dialout  49700624 Dez 31  2017 Heizung_Sofa-2017.log
-rw-r--r--  1 fhem dialout  60315795 Dez 31 23:57 Heizung_Sofa-2018.log
-rw-r--r--  1 fhem dialout  28758794 Jun 23 15:19 Heizung_Sofa-2019.log
-rw-r--r--  1 fhem dialout  52793464 Dez 31  2017 Heizung_Terasse-2017.log
-rw-r--r--  1 fhem dialout  64022422 Dez 31 23:57 Heizung_Terasse-2018.log
-rw-r--r--  1 fhem dialout  30472813 Jun 23 15:21 Heizung_Terasse-2019.log
-rw-r--r--  1 fhem dialout         0 Mär  1  2018 HM_42BA15-2018.log
-rw-r--r--  1 fhem dialout         0 Jän  1 00:00 HM_42BA15-2019.log
-rw-r--r--  1 fhem dialout         0 Mär  1  2018 HM_43C905-2018.log
-rw-r--r--  1 fhem dialout      5099 Mai 25 16:27 HM_43C905-2019.log
-rw-r--r--  1 fhem dialout         0 Mär  1  2018 HM_48C965-2018.log
-rw-r--r--  1 fhem dialout         0 Jän  1 00:00 HM_48C965-2019.log
-rw-r--r--  1 fhem dialout         0 Mär  1  2018 HM_49CC0E-2018.log
-rw-r--r--  1 fhem dialout         0 Jän  1 00:00 HM_49CC0E-2019.log
-rw-r--r--  1 fhem dialout         0 Mär  1  2018 HM_4C9ED7-2018.log
-rw-r--r--  1 fhem dialout         0 Jän  1 00:00 HM_4C9ED7-2019.log
-rw-r--r--  1 fhem dialout         0 Mär  1  2018 HM_4CE96A-2018.log
-rw-r--r--  1 fhem dialout         0 Jän  1 00:00 HM_4CE96A-2019.log
-rw-r--r--  1 fhem dialout         0 Mär  1  2018 HM_4CE9A3-2018.log
-rw-r--r--  1 fhem dialout         0 Jän  1 00:00 HM_4CE9A3-2019.log
-rw-r--r--  1 fhem dialout   3078030 Dez 31 23:30 HM_4E4BBF-2018.log
-rw-r--r--  1 fhem dialout    728617 Feb 17 16:31 HM_4E4BBF-2019.log
-rw-r--r--  1 fhem dialout   2089360 Dez 31 23:58 HM_4E4BC5-2018.log
-rw-r--r--  1 fhem dialout    284439 Feb 17 16:56 HM_4E4BC5-2019.log
-rw-r--r--  1 fhem dialout         0 Mär  1  2018 HM_4E4F1A-2018.log
-rw-r--r--  1 fhem dialout         0 Jän  1 00:00 HM_4E4F1A-2019.log
-rw-r--r--  1 fhem dialout         0 Mär  1  2018 HM_4E4F22-2018.log
-rw-r--r--  1 fhem dialout         0 Jän  1 00:00 HM_4E4F22-2019.log
-rw-r--r--  1 fhem dialout         0 Mär  1  2018 IT_0F0000FF0F-2018.log
-rw-r--r--  1 fhem dialout         0 Jän  1 00:00 IT_0F0000FF0F-2019.log
-rw-r--r--  1 fhem dialout        37 Mai  2  2018 IT_0F000F000F-2018.log
-rw-r--r--  1 fhem dialout         0 Jän  1 00:00 IT_0F000F000F-2019.log
-rw-r--r--  1 fhem dialout         0 Mär  1  2018 IT_0F00FF000F-2018.log
-rw-r--r--  1 fhem dialout         0 Jän  1 00:00 IT_0F00FF000F-2019.log
-rw-r--r--  1 fhem dialout    204148 Dez 28  2017 Lampe_Esstisch-2017.log
-rw-r--r--  1 fhem dialout     68653 Dez 21  2018 Lampe_Esstisch-2018.log
-rw-r--r--  1 fhem dialout     32559 Jun 22 21:33 Lampe_Esstisch-2019.log
-rw-r--r--  1 fhem dialout     25718 Dez 28  2017 Licht_Bad-2017.log
-rw-r--r--  1 fhem dialout    212638 Dez 21  2018 Licht_Bad-2018.log
-rw-r--r--  1 fhem dialout    105218 Jun 22 22:46 Licht_Bad-2019.log
-rw-r--r--  1 fhem dialout     29763 Dez 21  2017 Licht_Gang-2017.log
-rw-r--r--  1 fhem dialout    154423 Dez 21  2018 Licht_GangOG-2018.log
-rw-r--r--  1 fhem dialout     64356 Jun 18 19:59 Licht_GangOG-2019.log
-rw-r--r--  1 fhem dialout   1308077 Dez 22  2017 Licht_WC_unten-2017.log
-rw-r--r--  1 fhem dialout   1816394 Dez 21  2018 Licht_WC_unten-2018.log
-rw-r--r--  1 fhem dialout   1113235 Jun 23 14:59 Licht_WC_unten-2019.log
-rw-r--r--  1 fhem dialout    105431 Aug 26  2018 Prologue_145-2018.log
-rw-r--r--  1 fhem dialout     81315 Dez 31  2017 RM_S1-2017.log
-rw-r--r--  1 fhem dialout     96542 Dez 31 12:09 RM_S1-2018.log
-rw-r--r--  1 fhem dialout     45394 Jun 23 03:26 RM_S1-2019.log
-rw-r--r--  1 fhem dialout     48647 Dez 31  2017 RM_Buero-2017.log
-rw-r--r--  1 fhem dialout     99883 Dez 31 12:31 RM_Buero-2018.log
-rw-r--r--  1 fhem dialout     47704 Jun 22 23:45 RM_Buero-2019.log
-rw-r--r--  1 fhem dialout     55929 Dez 31  2017 RM_Eingang-2017.log
-rw-r--r--  1 fhem dialout    106133 Dez 31 16:38 RM_Eingang-2018.log
-rw-r--r--  1 fhem dialout     50115 Jun 23 14:41 RM_Eingang-2019.log
-rw-r--r--  1 fhem dialout         0 Dez 13  2017 RM_Kueche-2017.log
-rw-r--r--  1 fhem dialout         0 Jän  1  2018 RM_Kueche-2018.log
-rw-r--r--  1 fhem dialout         0 Jän  1 00:00 RM_Kueche-2019.log
-rw-r--r--  1 fhem dialout     84958 Dez 31  2017 RM_S2-2017.log
-rw-r--r--  1 fhem dialout    101232 Dez 31 22:30 RM_S2-2018.log
-rw-r--r--  1 fhem dialout     48006 Jun 22 23:58 RM_S2-2019.log
-rw-r--r--  1 fhem dialout     99400 Dez 31  2017 RM_Schlafzimmer-2017.log
-rw-r--r--  1 fhem dialout    119130 Dez 31 17:07 RM_Schlafzimmer-2018.log
-rw-r--r--  1 fhem dialout     56286 Jun 23 05:41 RM_Schlafzimmer-2019.log
-rw-r--r--  1 fhem dialout      4996 Aug  4  2017 RM_VR_Erdgeschoss-2017.log
-rw-r--r--  1 fhem dialout         0 Jän  1  2018 RM_VR_Erdgeschoss-2018.log
-rw-r--r--  1 fhem dialout         0 Jän  1 00:00 RM_VR_Erdgeschoss-2019.log
-rw-r--r--  1 fhem dialout     54783 Dez 31  2017 RM_VR_Wohnzimmer-2017.log
-rw-r--r--  1 fhem dialout    121349 Dez 31 07:37 RM_VR_Wohnzimmer-2018.log
-rw-r--r--  1 fhem dialout     57475 Jun 23 11:24 RM_VR_Wohnzimmer-2019.log
-rw-r--r--  1 fhem dialout     95139 Dez 31  2017 RM_Wohnzimmer-2017.log
-rw-r--r--  1 fhem dialout    114664 Dez 31 07:08 RM_Wohnzimmer-2018.log
-rw-r--r--  1 fhem dialout     55247 Jun 23 08:43 RM_Wohnzimmer-2019.log
-rw-r--r--  1 fhem dialout      5023 Mär 13  2018 SD_WS07_TH_1-2018.log
-rw-r--r--  1 fhem dialout   4668915 Dez 22  2017 TCM21...._38-2017.log
-rw-r--r--  1 fhem dialout     13396 Feb 24  2018 TCM21...._38-2018.log
-rw-r--r--  1 fhem dialout      5706 Mär  3  2018 TCM21...._94-2018.log
-rw-r--r--  1 fhem dialout         0 Mär  1  2018 TCM97..._123-2018.log
-rw-r--r--  1 fhem dialout         0 Mär  1  2018 TCM97..._90-2018.log
-rw-r--r--  1 fhem dialout         0 Mär  1  2018 TCM97..._91-2018.log
-rw-r--r--  1 fhem dialout   1400695 Dez 23  2017 Tuere_Terasse-2017.log
-rw-r--r--  1 fhem dialout   1274704 Dez 26 19:34 Tuere_Terasse-2018.log
-rw-r--r--  1 fhem dialout    860120 Jun 23 13:06 Tuere_Terasse-2019.log
-rw-r--r--  1 fhem dialout         0 Dez 13  2017 Tuer_Terasse-2017.log
-rw-r--r--  1 fhem dialout         0 Jän  1  2018 Tuer_Terasse-2018.log
-rw-r--r--  1 fhem dialout         0 Jän  1 00:00 Tuer_Terasse-2019.log
-rw-r--r--  1 fhem dialout         0 Mär 24  2018 Type1_94-2018.log
-rw-r--r--  1 fhem dialout      1581 Jun 20 17:41 W044_100-2019.log
-rw-r--r--  1 fhem dialout 128209332 Dez 31  2017 Waschmaschine-2017.log
-rw-r--r--  1 fhem dialout 187261662 Dez 31 23:58 Waschmaschine-2018.log
-rw-r--r--  1 fhem dialout 100145811 Jun 23 15:21 Waschmaschine-2019.log
-rw-r--r--  1 fhem dialout     18186 Dez 31  2017 Weihnachtsbeleuchtung-2017.log
-rw-r--r--  1 fhem dialout     39929 Dez 31 22:29 Weihnachtsbeleuchtung-2018.log
-rw-r--r--  1 fhem dialout     11038 Jun 21 22:32 Weihnachtsbeleuchtung-2019.log
-rw-r--r--  1 fhem dialout    237041 Dez 31  2017 wt_Schlafzimmer-2017.log
-rw-r--r--  1 fhem dialout   3071225 Dez 31 23:23 wt_Schlafzimmer-2018.log
-rw-r--r--  1 fhem dialout   1392620 Jun 23 13:58 wt_Schlafzimmer-2019.log
-rw-r--r--  1 fhem dialout    185052 Dez 22  2017 WZ_6f_Schalter-2017.log
-rw-r--r--  1 fhem dialout    443612 Dez 21  2018 WZ_6f_Schalter-2018.log
-rw-r--r--  1 fhem dialout    239132 Jun 22 22:35 WZ_6f_Schalter-2019.log
-rw-r--r--  1 fhem dialout    172258 Dez 31  2017 ZWave_Node_10.1-2017.log
-rw-r--r--  1 fhem dialout   1112623 Dez 31 23:44 ZWave_Node_10.1-2018.log
-rw-r--r--  1 fhem dialout    475392 Jun 23 14:39 ZWave_Node_10.1-2019.log
-rw-r--r--  1 fhem dialout        55 Apr  6  2018 ZWave_Node_18.2-2018.log
-rw-r--r--  1 fhem dialout        76 Jän 23 12:01 ZWave_Node_18.2-2019.log
-rw-r--r--  1 fhem dialout         0 Nov 17  2018 ZWave_Node_20.1-2018.log
-rw-r--r--  1 fhem dialout         0 Jän  1 00:00 ZWave_Node_20.1-2019.log
-rw-r--r--  1 fhem dialout         0 Jul 11  2018 ZWave_Node_20.2-2018.log
-rw-r--r--  1 fhem dialout         0 Jän  1 00:00 ZWave_Node_20.2-2019.log
-rw-r--r--  1 fhem dialout         0 Mär 22  2018 ZWave_Node_22.10-2018.log
-rw-r--r--  1 fhem dialout       211 Nov 27  2018 ZWave_Node_22.18-2018.log
-rw-r--r--  1 fhem dialout         0 Jän  1 00:00 ZWave_Node_22.18-2019.log
-rw-r--r--  1 fhem dialout       209 Okt 10  2018 ZWave_Node_22.3-2018.log
-rw-r--r--  1 fhem dialout       176 Jun 21 15:04 ZWave_Node_22.3-2019.log
-rw-r--r--  1 fhem dialout        77 Jän 17 14:31 ZWave_Node_22.33-2019.log
-rw-r--r--  1 fhem dialout        56 Okt  9  2018 ZWave_Node_22.34-2018.log
-rw-r--r--  1 fhem dialout         0 Jän  1 00:00 ZWave_Node_22.34-2019.log
-rw-r--r--  1 fhem dialout         0 Okt 30  2018 ZWave_Node_22.5-2018.log
-rw-r--r--  1 fhem dialout         0 Jän  1 00:00 ZWave_Node_22.5-2019.log
-rw-r--r--  1 fhem dialout       119 Okt 26  2018 ZWave_Node_22.6-2018.log
-rw-r--r--  1 fhem dialout        79 Jän 25 17:08 ZWave_Node_22.6-2019.log
-rw-r--r--  1 fhem dialout         0 Mär 31  2018 ZWave_Node_22.65-2018.log
-rw-r--r--  1 fhem dialout       130 Jän 27 02:31 ZWave_Node_22.65-2019.log
-rw-r--r--  1 fhem dialout        98 Okt  4  2018 ZWave_Node_22.66-2018.log
-rw-r--r--  1 fhem dialout        53 Mai 26 03:30 ZWave_Node_22.66-2019.log
-rw-r--r--  1 fhem dialout         0 Jun  4  2018 ZWave_Node_23.1-2018.log
-rw-r--r--  1 fhem dialout       276 Mai 26 20:30 ZWave_Node_23.1-2019.log
-rw-r--r--  1 fhem dialout         0 Okt 31  2018 ZWave_Node_23.2-2018.log
-rw-r--r--  1 fhem dialout        52 Jun 14 01:51 ZWave_Node_23.2-2019.log
-rw-r--r--  1 fhem dialout        49 Jun  8  2018 ZWave_Node_6.1-2018.log
-rw-r--r--  1 fhem dialout        78 Feb 17 23:30 ZWave_Node_6.1-2019.log
-rw-r--r--  1 fhem dialout         0 Okt 30  2018 ZWave_Node_6.17-2018.log
-rw-r--r--  1 fhem dialout         0 Jän  1 00:00 ZWave_Node_6.17-2019.log
-rw-r--r--  1 fhem dialout         0 Mai 26 07:30 ZWave_Node_6.2-2019.log
-rw-r--r--  1 fhem dialout         0 Mär  1  2018 ZWave_Node_8.1-2018.log
-rw-r--r--  1 fhem dialout         0 Jän  1 00:00 ZWave_Node_8.1-2019.log
-rw-r--r--  1 fhem dialout         0 Jän  1  2018 ZWave_SENSOR_MULTILEVEL_11.03-2018.log
-rw-r--r--  1 fhem dialout         0 Jän  1 00:00 ZWave_SENSOR_MULTILEVEL_11.03-2019.log
-rw-r--r--  1 fhem dialout         0 Jän  1  2018 ZWave_SENSOR_NOTIFICATION_11.02-2018.log
-rw-r--r--  1 fhem dialout         0 Jän  1 00:00 ZWave_SENSOR_NOTIFICATION_11.02-2019.log
-rw-r--r--  1 fhem dialout     93033 Aug  6  2017 ZWave_SENSOR_NOTIFICATION_5-2017.log
-rw-r--r--  1 fhem dialout         0 Jän  1  2018 ZWave_SENSOR_NOTIFICATION_5-2018.log
-rw-r--r--  1 fhem dialout         0 Jän  1 00:00 ZWave_SENSOR_NOTIFICATION_5-2019.log
-rw-r--r--  1 fhem dialout      3407 Nov  4  2017 ZWave_SWITCH_BINARY_10.01-2017.log
-rw-r--r--  1 fhem dialout         0 Jän  1  2018 ZWave_SWITCH_BINARY_10.01-2018.log
-rw-r--r--  1 fhem dialout         0 Jän  1 00:00 ZWave_SWITCH_BINARY_10.01-2019.log
-rw-r--r--  1 fhem dialout       215 Dez  2  2017 ZWave_SWITCH_BINARY_11.01-2017.log
-rw-r--r--  1 fhem dialout       198 Mär 13  2018 ZWave_SWITCH_BINARY_11.01-2018.log
-rw-r--r--  1 fhem dialout         0 Jän  1 00:00 ZWave_SWITCH_BINARY_11.01-2019.log
-rw-r--r--  1 fhem dialout     20180 Dez 12  2018 ZWave_SWITCH_BINARY_22-2018.log
-rw-r--r--  1 fhem dialout      2618 Mai 31 10:54 ZWave_SWITCH_BINARY_22-2019.log
-rw-r--r--  1 fhem dialout       297 Jul 23  2018 ZWave_SWITCH_BINARY_24.01-2018.log
-rw-r--r--  1 fhem dialout         0 Jän  1 00:00 ZWave_SWITCH_BINARY_24.01-2019.log
-rw-r--r--  1 fhem dialout       198 Jul 23  2018 ZWave_SWITCH_BINARY_24.02-2018.log
-rw-r--r--  1 fhem dialout         0 Jän  1 00:00 ZWave_SWITCH_BINARY_24.02-2019.log
-rw-r--r--  1 fhem dialout    549957 Dez 31 23:31 ZWave_SWITCH_BINARY_24-2018.log
-rw-r--r--  1 fhem dialout    568203 Jun 23 14:40 ZWave_SWITCH_BINARY_24-2019.log
-rw-r--r--  1 fhem dialout         0 Jul 23  2018 ZWave_SWITCH_BINARY_25.02-2018.log
-rw-r--r--  1 fhem dialout         0 Jän  1 00:00 ZWave_SWITCH_BINARY_25.02-2019.log
-rw-r--r--  1 fhem dialout     74202 Dez 20  2018 ZWave_SWITCH_BINARY_25-2018.log
-rw-r--r--  1 fhem dialout     47183 Jun 10 01:32 ZWave_SWITCH_BINARY_25-2019.log
-rw-r--r--  1 fhem dialout     42392 Dez 13  2017 zw_BS_Bad-2017.log
-rw-r--r--  1 fhem dialout         0 Jän  1  2018 zw_BS_Bad-2018.log
-rw-r--r--  1 fhem dialout         0 Jän  1 00:00 zw_BS_Bad-2019.log
-rw-r--r--  1 fhem dialout   1560299 Dez 31  2017 zw_CAMpower-2017.log
-rw-r--r--  1 fhem dialout  10594994 Dez 31 23:59 zw_CAMpower-2018.log
-rw-r--r--  1 fhem dialout   2622177 Jun 23 15:15 zw_CAMpower-2019.log
-rw-r--r--  1 fhem dialout    446848 Dez 25 15:30 zw_Licht_AbstellRaumEG-2018.log
-rw-r--r--  1 fhem dialout    240349 Jun 22 18:21 zw_Licht_AbstellRaumEG-2019.log
-rw-r--r--  1 fhem dialout      9066 Dez 28  2017 zw_Licht_Kueche-2017.log
-rw-r--r--  1 fhem dialout      8295 Dez 20  2018 zw_Licht_Kueche-2018.log
-rw-r--r--  1 fhem dialout      5681 Jun 20 19:39 zw_Licht_Kueche-2019.log
-rw-r--r--  1 fhem dialout    191768 Dez 31  2017 zw_Licht_KuecheAP-2017.log
-rw-r--r--  1 fhem dialout   1233482 Dez 31 23:53 zw_Licht_KuecheAP-2018.log
-rw-r--r--  1 fhem dialout    543220 Jun 23 14:35 zw_Licht_KuecheAP-2019.log
-rw-r--r--  1 fhem dialout    229811 Dez 31  2017 zw_Licht_Sofa-2017.log
-rw-r--r--  1 fhem dialout   1099871 Dez 31 23:40 zw_Licht_Sofa-2018.log
-rw-r--r--  1 fhem dialout    725441 Jun 23 15:03 zw_Licht_Sofa-2019.log
-rw-r--r--  1 fhem dialout    281533 Dez 31  2017 zw_Licht_Sofa3er-2017.log
-rw-r--r--  1 fhem dialout   1444316 Dez 31 23:34 zw_Licht_Sofa3er-2018.log
-rw-r--r--  1 fhem dialout    664045 Jun 23 15:11 zw_Licht_Sofa3er-2019.log
-rw-r--r--  1 fhem dialout     71948 Dez 31  2017 zw_Licht_TV-2017.log
-rw-r--r--  1 fhem dialout    654177 Dez 30  2017 zw_Licht_VR_EG-2017.log
-rw-r--r--  1 fhem dialout   8582193 Dez 28 15:10 zw_Licht_VR_EG-2018.log
-rw-r--r--  1 fhem dialout   1617373 Jun 21 12:32 zw_Licht_VR_EG-2019.log
-rw-r--r--  1 fhem dialout    294502 Dez 21  2018 zw_Licht_Werkzeug-2018.log
-rw-r--r--  1 fhem dialout    150277 Jun 22 21:30 zw_Licht_Werkzeug-2019.log
-rw-r--r--  1 fhem dialout   1348454 Dez 31  2017 zw_ms_Wohnzimmer-2017.log
-rw-r--r--  1 fhem dialout   2426978 Dez 31 23:54 zw_ms_Wohnzimmer-2018.log
-rw-r--r--  1 fhem dialout    740850 Mai  1 17:05 zw_ms_Wohnzimmer-2019.log
-rw-r--r--  1 fhem dialout      5765 Dez 20  2017 zw_PanicButton-2017.log
-rw-r--r--  1 fhem dialout      6633 Mär 24  2018 zw_PanicButton-2018.log
-rw-r--r--  1 fhem dialout      1189 Jun 18 08:25 zw_PanicButton-2019.log
-rw-r--r--  1 fhem dialout     25006 Jun 22 21:40 zw_Postkastl-2019.log
-rw-r--r--  1 fhem dialout    141225 Dez 31  2017 zw_PS3-2017.log
-rw-r--r--  1 fhem dialout    857453 Dez 21  2018 zw_PS3-2018.log
-rw-r--r--  1 fhem dialout    427258 Jun 23 14:45 zw_PS3-2019.log
-rw-r--r--  1 fhem dialout     45720 Jul  9  2018 zw_RM_Gang_Oben-2018.log
-rw-r--r--  1 fhem dialout     41098 Jun 23 12:53 zw_RM_Gang_oben-2019.log
-rw-r--r--  1 fhem dialout        94 Mär  5 17:29 zw_RM_Gang_Oben_defekt-2019.log
-rw-r--r--  1 fhem dialout   3992784 Dez 31 23:48 zw_Router-2018.log
-rw-r--r--  1 fhem dialout   1132543 Jun 23 15:05 zw_Router-2019.log
-rw-r--r--  1 fhem dialout   2308655 Dez 21  2018 zw_SAT-2018.log
-rw-r--r--  1 fhem dialout    852843 Jun 23 15:17 zw_SAT-2019.log
-rw-r--r--  1 fhem dialout      3292 Dez 23  2017 zw_Sirene1-2017.log
-rw-r--r--  1 fhem dialout       542 Jul 23  2018 zw_Sirene1-2018.log
-rw-r--r--  1 fhem dialout       242 Jun 19 06:00 zw_Sirene1-2019.log
-rw-r--r--  1 fhem dialout      4312 Dez 23  2017 zw_Sirene2-2017.log
-rw-r--r--  1 fhem dialout      1544 Nov 30  2018 zw_Sirene2-2018.log
-rw-r--r--  1 fhem dialout       150 Jun 19 06:00 zw_Sirene2-2019.log
-rw-r--r--  1 fhem dialout      2415 Dez 23  2017 zw_Sirene3-2017.log
-rw-r--r--  1 fhem dialout      1769 Jul 23  2018 zw_Sirene3-2018.log
-rw-r--r--  1 fhem dialout       704 Jun 19 06:00 zw_Sirene3-2019.log
-rw-r--r--  1 fhem dialout   1214391 Dez 31  2017 zw_TV-2017.log
-rw-r--r--  1 fhem dialout   5820924 Dez 21  2018 zw_TV-2018.log
-rw-r--r--  1 fhem dialout    531198 Jun 23 15:19 zw_TV-2019.log
-rw-r--r--  1 fhem dialout     27094 Dez 21  2018 zw_TV_Licht-2018.log
-rw-r--r--  1 fhem dialout     13805 Jun 22 22:35 zw_TV_Licht-2019.log
-rw-r--r--  1 fhem dialout     16875 Dez 23  2017 zw_wz_RGBLampe-2017.log
-rw-r--r--  1 fhem dialout      6629 Dez 12  2018 zw_wz_RGBLampe-2018.log
-rw-r--r--  1 fhem dialout      1721 Apr 25 20:56 zw_wz_RGBLampe-2019.log

amenomade

Zitatund kennt auch die Logfile devices nicht mehr:
ZB


Please define FileLog_Fenster_Buero first

Der schreibt aber doch in der Log:
-rw-r--r--  1 fhem dialout   1410866 Jun 23 14:27 Fenster_Buero-2019.log

Hast Du immer noch keinen Zugriff auf der Weboberfläsche? Dann sag mal was in
-rw-r--r--  1 fhem dialout   3567796 Jun 23 14:55 fhem-2019-06.log
steht, kurz nachdem Du versucht hast dich anzumelden.
Pi 3B, Alexa, CUL868+Selbstbau 1/2λ-Dipol-Antenne, USB Optolink / Vitotronic, Debmatic und HM / HmIP Komponenten, Rademacher Duofern Jalousien, Fritz!Dect Thermostaten, Proteus

ramses

Webzugriff funkt. nach wie vor leider nicht.

fhem hat die log files nicht mehr erkannt, wenn ich fhem über SSH manuell unter dem User pi gestartet habe, aber das ist ja ein Zugriff Problem da pi und fhem unterschiedliche User sind... scheint normal zu sein, oder?

im Browser bekommen ich einen Timeout und im genannten log File steht nichts über den Zugriff auf der Weboberfläche.
Was erwartest du im Logfile, wenn jemand über den Browser zugreift?

amenomade

#9
Zitat von: ramses am 23 Juni 2019, 17:32:26

fhem hat die log files nicht mehr erkannt, wenn ich fhem über SSH manuell unter dem User pi gestartet habe, aber das ist ja ein Zugriff Problem da pi und fhem unterschiedliche User sind... scheint normal zu sein, oder?
Ja, das ist normal.

Zitat von: ramses am 23 Juni 2019, 17:32:26
Was erwartest du im Logfile, wenn jemand über den Browser zugreift?
Z.B., dass der Zugrif verweigert wurde.

Bist Du schon durch diese Anleitung gegangen? https://wiki.fhem.de/wiki/FHEM_startet_nicht_-_Tipps_zur_Fehlersuche

Kannst Du Fhem erreichen, wenn Du folgendes machst:
1. Den Dienst stoppen (sudo service fhem stop, oder sudo /etc/init.d/fhem stop, abhängig von deiner Konfiguration
2. cd /opt/fhem
3. perl fhem.pl -d fhem.cfg (oder configDB, abhängig von deiner Konfig)
Pi 3B, Alexa, CUL868+Selbstbau 1/2λ-Dipol-Antenne, USB Optolink / Vitotronic, Debmatic und HM / HmIP Komponenten, Rademacher Duofern Jalousien, Fritz!Dect Thermostaten, Proteus

ramses

bevor ich diese 3 Schritte mache, nur eine Frage.

mir ist gerade folgendes aufgefallen:

pi@raspberrypi:~ $ ls -l /opt/fhem/fhem.cfg
-rw-rw-r-- 1 fhem pi 114936 Jun 15 11:43 /opt/fhem/fhem.cfg
pi@raspberrypi:~ $ ls -l /opt/fhem/restoreDir/update/2019-06-15/fhem.cfg
-rw-r--r-- 1 fhem dialout 114936 Jun 15 11:47 /opt/fhem/restoreDir/update/2019-06-15/fhem.cfg


die erste fhem.cfg ist klaro die aktuelle und die 2te die aus dem backup.
die aus dem backup hat aber andere permissions und Usergruppe und scheint logischer
Ich habe das sicher nicht geändert...

amenomade

Wenn Du mal fhem.cfg manuell editiert hast (z.B. über WinSCP oder putty/ssh), dann kann es sein, dass beim Speichern die Berechtigungen geändert wurden.

Auf jeden Fall, mach
sudo chown fhem:dialout /opt/fhem/fhem.cfg
Pi 3B, Alexa, CUL868+Selbstbau 1/2λ-Dipol-Antenne, USB Optolink / Vitotronic, Debmatic und HM / HmIP Komponenten, Rademacher Duofern Jalousien, Fritz!Dect Thermostaten, Proteus

ramses

gelöst!
ich habe die Gruppe und Permissions wiederhergestellt, kann aber nicht sagen, ob das mit schuld war.
dann ist mir aufgefallen, dass "Warten auf TLS Handshake..." im Browser links unten angezeigt wurde und nach einer Zeit kam der Timeout.

ich habe (obwohl vor dem Update https verwendet habe) fhem OHNE https aufgerufen und die Authentifizierung wurde verlangt.
Über die GUI dann im fhem.cfg https ausgeschaltet, reboot, https eingeschaltet, funktioniert alles wieder.
pfff, einige Stunden für Nichts...

kommt öfters vor dass https sich dermaßen verschluckt, dass auch nach Reboot nicht mehr funktioniert?

ich verstehe es auf jeden Fall nicht, aber wenn das mal passiert, sofort ohne https ausprobieren... ;-)