hoobs-org / hoobsd

Server component for the certified HOOBS smart home stack.
GNU General Public License v3.0
8 stars 4 forks source link

Hoobs keeps restarting and is unresponsive #106

Closed baumph closed 2 years ago

baumph commented 2 years ago

The HOOBS client ran for about a week now without any problems. Now it keeps restarting and is not responsive over the HOOBS web UI. The raspberry pi itself respond and I can connect to it via ssh. The system logs are:

Jan 8 03:25:19 hoobs systemd[1]: Started HOOBSD. Jan 8 03:25:22 hoobs systemd[1]: hoobsd.service: Succeeded. Jan 8 03:25:25 hoobs systemd[1]: hoobsd.service: Service RestartSec=3s expired, scheduling restart. Jan 8 03:25:25 hoobs systemd[1]: hoobsd.service: Scheduled restart job, restart counter is at 31. Jan 8 03:25:25 hoobs systemd[1]: Stopped HOOBSD. Jan 8 03:25:25 hoobs systemd[1]: Started HOOBSD. Jan 8 03:25:29 hoobs systemd[1]: hoobsd.service: Succeeded. Jan 8 03:25:30 hoobs systemd[1]: Created slice User Slice of UID 1000. Jan 8 03:25:30 hoobs systemd[1]: Starting User Runtime Directory /run/user/1000... Jan 8 03:25:30 hoobs systemd[1]: Started User Runtime Directory /run/user/1000. Jan 8 03:25:30 hoobs systemd[1]: Starting User Manager for UID 1000... Jan 8 03:25:30 hoobs systemd[3239]: Listening on GnuPG network certificate management daemon. Jan 8 03:25:30 hoobs systemd[3239]: Listening on GnuPG cryptographic agent (ssh-agent emulation). Jan 8 03:25:30 hoobs systemd[3239]: Reached target Paths. Jan 8 03:25:30 hoobs systemd[3239]: Listening on GnuPG cryptographic agent and passphrase cache. Jan 8 03:25:30 hoobs systemd[3239]: Listening on GnuPG cryptographic agent and passphrase cache (access for web browsers). Jan 8 03:25:30 hoobs systemd[3239]: Listening on GnuPG cryptographic agent and passphrase cache (restricted). Jan 8 03:25:30 hoobs systemd[3239]: Reached target Sockets. Jan 8 03:25:30 hoobs systemd[3239]: Reached target Timers. Jan 8 03:25:30 hoobs systemd[3239]: Reached target Basic System. Jan 8 03:25:30 hoobs systemd[3239]: Reached target Default. Jan 8 03:25:30 hoobs systemd[3239]: Startup finished in 106ms. Jan 8 03:25:30 hoobs systemd[1]: Started User Manager for UID 1000. Jan 8 03:25:31 hoobs systemd[1]: Started Session 3 of user hoobs. Jan 8 03:25:32 hoobs systemd[1]: hoobsd.service: Service RestartSec=3s expired, scheduling restart. Jan 8 03:25:32 hoobs systemd[1]: hoobsd.service: Scheduled restart job, restart counter is at 32. Jan 8 03:25:32 hoobs systemd[1]: Stopped HOOBSD. Jan 8 03:25:32 hoobs systemd[1]: Started HOOBSD.

So it seems that this is a HOOBS related problem and not a problem with the raspberry pi. Can anyone please help me with this problem? Unfortunately I cannot simply reflash the image because of a important service wich is also running on the pi. The HOOBS version is HOOBS 4. I have upgraded it from HOOBS 3 about a week ago.

baumph commented 2 years ago

The command: "curl -sk https://dl.hoobs.org/fix | sudo bash -" fixed the issue.