alexreinert/debmatic

debmatic WebUI nicht erreichbar / www.debmatic.de down?

Opened this issue · 1 comments

Hallo,

ich nutze debmatic schon eine ganze Weile, aber im Moment zickt debmatic: lässt sich nicht neustarten und die Weboberfläche ist nicht da, obwohl debmatic läuft und per HomeAssistant alle Homematic-Geräte auch ansprechbar sind.

Nur: ohne WebUI kann ich halt keine neu anlernen...

debmatic läuft in einer VM unter qemu/kvm, ich nutze den HB-RF-ETH.

root@debmatic:~# debmatic-info
debmatic version: 3.71.12-109
OS:               Debian GNU/Linux 11 (bullseye)
Kernel:           5.10.0-26-amd64 x86_64
Service Status:   Running
Kernel modules:   Available
Raw UART dev:     Available
HMRF Hardware:    RPI-RF-MOD
 Connected via:   HB-RF-ETH@192.168.80.31 (/dev/raw-uart)
 Board serial:    9D89AB2CF1
 Radio MAC:       0x76FAA2
HMIP Hardware:    RPI-RF-MOD
 Connected via:   HB-RF-ETH@192.168.80.31 (/dev/raw-uart)
 SGTIN:           3014F711A0001F9D89AB2CF1
 Radio MAC:       0xB8CF45
root@debmatic:~# 

aber:

root@debmatic:~# systemctl status debmatic
● debmatic.service - debmatic
     Loaded: loaded (/lib/systemd/system/debmatic.service; enabled; vendor preset: enabled)
     Active: active (exited) since Sun 2023-11-12 10:44:27 CET; 26min ago
    Process: 460 ExecStart=/usr/share/debmatic/bin/initsystem.sh (code=exited, status=0/SUCCESS)
   Main PID: 460 (code=exited, status=0/SUCCESS)
        CPU: 1.384s

Nov 12 11:40:13 debmatic systemd[1]: Starting debmatic...
Nov 12 11:40:14 debmatic initsystem.sh[460]: /usr/share/debmatic/bin/detect_hardware.inc: Zeile 45: echo: Schreibfehler: Das Netzwerk ist nicht erreichbar.
Nov 12 10:44:27 debmatic systemd[1]: Finished debmatic.
root@debmatic:~#

nanu? da steht doch "connected" in debmatic-info ???

root@debmatic:~# ifconfig
ens3: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 192.168.80.29  netmask 255.255.255.0  broadcast 192.168.80.255
        ether 00:a0:98:0c:5c:d5  txqueuelen 1000  (Ethernet)
        RX packets 145289  bytes 17956371 (17.1 MiB)
        RX errors 0  dropped 109824  overruns 0  frame 0
        TX packets 22951  bytes 17044927 (16.2 MiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
        inet 127.0.0.1  netmask 255.0.0.0
        loop  txqueuelen 1000  (Lokale Schleife)
        RX packets 24034  bytes 10263821 (9.7 MiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 24034  bytes 10263821 (9.7 MiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

root@debmatic:~#

root@debmatic:~# ping -c 3 192.168.80.31
PING 192.168.80.31 (192.168.80.31) 56(84) bytes of data.
64 bytes from 192.168.80.31: icmp_seq=1 ttl=255 time=0.837 ms
64 bytes from 192.168.80.31: icmp_seq=2 ttl=255 time=7.19 ms
64 bytes from 192.168.80.31: icmp_seq=3 ttl=255 time=0.923 ms

--- 192.168.80.31 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2003ms
rtt min/avg/max/mdev = 0.837/2.983/7.190/2.974 ms
root@debmatic:~#

Es kommt aber nur eine leere Seite statt der WebUI:
image

und HB-RF-ETH ist auch verbunden:

image

Hat es was zu bedeuten, dass www.debmatic.de nicht erreichbar ist? das Init-Script scheint da zu orüfen, ob es eine neu Version gibt und hängt sich auf?

root@debmatic:~# wget  https://www.debmatic.de/latestVersion?version=3.71.12-109
--2023-11-12 11:19:19--  https://www.debmatic.de/latestVersion?version=3.71.12-109
Auflösen des Hostnamens www.debmatic.de (www.debmatic.de)… 94.130.64.242, 2a01:4f8:10b:2e4d:6::8
Verbindungsaufbau zu www.debmatic.de (www.debmatic.de)|94.130.64.242|:443 … ^C
root@debmatic:~#

Jedenfalls steht in "systemctl status debmatic" während des Startens sowas wie
wget -O /dev/null --timeout=5 https://www.debmatic.de/latestVersion?version=3.71.12-109&serial=9D89AB2CF1&os=debian_bullseye&arch=x86_64&board=unknown - und das schlägt fehl und debmatic startet nicht.

Das ist wohl die letzte Zeile im init script:

wget -O /dev/null -q --timeout=5 "https://www.debmatic.de/latestVersion?version=$DEBMATIC_VERSION&serial=$BOARD_SERIAL&os=$OS_RELEASE&arch=$OS_ARCH&board=$BOARD_TYPE" || true
und das kommt nie zurück bzw. mit einem Fehler.

Wenn ich die Zeile im init script auskommentiere und dann
systemctl restart debmatic ausführe, gibt's zumindest keinen Fehler:

root@debmatic:~# systemctl restart debmatic
root@debmatic:~# systemctl status debmatic
● debmatic.service - debmatic
     Loaded: loaded (/lib/systemd/system/debmatic.service; enabled; vendor preset: enabled)
     Active: active (exited) since Sun 2023-11-12 11:31:19 CET; 11s ago
    Process: 6644 ExecStart=/usr/share/debmatic/bin/initsystem.sh (code=exited, status=0/SUCCESS)
   Main PID: 6644 (code=exited, status=0/SUCCESS)
        CPU: 1.432s

Nov 12 11:31:15 debmatic systemd[1]: Starting debmatic...
Nov 12 11:31:19 debmatic systemd[1]: Finished debmatic.
root@debmatic:~# ps aux | grep deb
avahi        421  0.0  0.1   7328  3320 ?        Ss   10:40   0:01 avahi-daemon: running [debmatic.local]
root         429  0.1  0.4 236268  9684 ?        Ssl  10:40   0:04 /usr/libexec/polkitd --no-debug
root        6861  0.0  0.1   4100  2240 ?        S    11:31   0:00 /usr/sbin/lighttpd -f /etc/debmatic/lighttpd/lighttpd.conf
root        6912  0.1  0.1   6896  3508 ?        Ss   11:31   0:00 /bin/bash /usr/share/debmatic/bin/start_hmserver.sh
root        7003  0.0  0.0   6260   644 pts/2    S+   11:31   0:00 grep deb

Aber die WebUI kommt auch nicht richtig hoch:

image

und nu?

Ich bin da jetzt "ein wenig" ratlos ...

wenn ich nach einer Weile im Browser einen reload mache, kommt wieder die leere Seite.

Ups, 0% [Verbindung mit apt.debmatic.de (94.130.64.242)] - apt.debmatic ist auch down ...

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.