Openhab Log Viewer (frontail) empty after some time

Agree with you. I didn’t find a solution either to the problem, that frontail stops. A restart of the Rpi is the only workaround to solve the problem temporarily.

Several leads into the problem - no finite solution:

  • maybe it is a ZRAM related issue, which might be linked to a too large journal size, as discussed here. A change of parameters to SystemMaxUse=30M, RuntimeMaxUse=30M didn’t help me.
  • I found, that my openhab is after ca 50min no longer writing into the openhab2 logs in /var/log/openhab2/events.log & /var/log/openhab2/openhab.log . log:tail in the console shows all events though. As nothing is written into the *.log files it seems, that Frontail simply doesn’t get “new lines to display”.

@matmai I had the problem, that apt upgrade wouldn’t work anymore as well. The system feedback was in my case:

dpkg: could not open log ‘/var/log/dpkg.log’: Read-only file system

The reason, was that a lock file was set by the system in the package folder /var/lib/dpkg/ . Removing this file solved this issue

the tip came from here:

1 Like