Awesome, glad it seems to be working now. It appears it was an issue with the long style option for overlay only working on some systems for some weird reason. I’ll look into that some more. But for now it’s fixed by using the short option.
I’ve also updated the code one more time today to fix the exception mentioned by @Lionello_Marrelli.
I’ll build and push a new image today so the correct code is cached in the image as well.
Hi, just tested by rebooting a app. 6 days running test system - based on Openhabian 1.9.1 64Bit on Rpi 4, including above mentioned updates.
No Problems, persisance data remained ok. (I can only tell for my system…)
Seems that on your system zram was ok till 28th Aug. - Logs and persistance data was moved correctly
But after restart on 29th Aug (see in in zram-config.log: zram-config stop 2024-08-29-20:27:32-CEST ) it fails… to access the zram folders (see in zram-config.log:: ls: cannot access '/opt/zram/zram3/upper': No such file or directory)
So log file does not show the initial error (–ignore-mounted).
Sorry no idea why this happened…too less knowledge.
Looks like a permission problem on the filesystem. I fixed the file permissions with `openhabian-config`` and after a reboot everyhting’s behaving as expected.
I again have a problem with zram. Interestingly, it does not appear on every reboot. Last reboot was on Sep 18, zram sync worked accordingly, all data was persisted.
On Sep 28, I did another shutdown with sudo shutdown now. After I booted again, the data for the past 10 days was lost, and I see errors in the zram-config log: zram-config (2).log (9.3 KB)