my openhabian installation (v. 2.5.10 with openHABian Configuration Tool [stable]v1.6.1-963(1fa8959) ) on a rpi 4 - shows the same behaviour:
After a while of running (2 days maybe) frontail displays solely:
I opened this topic very late and I could not find anything similar in the web. So I thought it had to something with a wrong configuration (items, rules, etc.) on my side only that caused this sudden and not reproducible (for me) issue. I haven’t reported it yet apart from this thread here.
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
I can confirm from my side that I have always used ZRAM (enabled in openhabian-config). In my new OH3 installation I have not enabled it yet. Will wait some time to see if it still happens in my installation.
Thanks for the hint!
lsblk -a -oNAME,SIZE,FSUSED,FSAVAIL,FSUSE%,TYPE,MOUNTPOINT shows:
NAME SIZE FSUSED FSAVAIL FSUSE% TYPE MOUNTPOINT
ram0 4M disk
ram1 4M disk
ram2 4M disk
ram3 4M disk
ram4 4M disk
ram5 4M disk
ram6 4M disk
ram7 4M disk
ram8 4M disk
ram9 4M disk
ram10 4M disk
ram11 4M disk
ram12 4M disk
ram13 4M disk
ram14 4M disk
ram15 4M disk
sda 29.8G disk
├─sda1 256M part
└─sda2 29.5G part
mmcblk0 29.7G disk
├─mmcblk0p1 256M 47.7M 204.4M 19% part /boot
└─mmcblk0p2 29.5G 5G 22.8G 17% part /
zram0 600M disk [SWAP]
zram1 900M 2.8M 806.1M 0% disk /opt/zram/zram1
zram2 600M 282M 250.6M 49% disk /opt/zram/zram2
total used free shared buff/cache available
Mem: 925612 505720 99604 2300 320288 357800
Swap: 2365432 64512 2300920
sda is a USB SSD used for backups. It appears I am not running out of space anywhere.
I’d like to know too. I have same symptoms on my previous installation and recently on a fresh installation running OH 3.1.0 on a RPi 4. Seems like it’s not a good idea to disable zram and rebooting openhab every 3 days isn’t ideal.