Hi,
I have an existing openHAB 4.2 installation (via openHABian).
It has ZRAM, but the daily sync does not work.
When shutting down, I have to sync+stop ZRAM manually via
“sudo systemctl stop zram-config”.
How can I add this daily sync via openHABian?
Is it 10 - Apply Improvements?
Or via disable and reenable ZRAM?
Daily sync is disabled for the time being, there’s issues with openHAB logging stopping.
You can see if the zsync
timer exists (see systemctl list-timers
) and enable it if you want to play with it.
But you should not attempt to alter an openHABian installation of unknown age and state.
Better reinstall with latest openHABian image (1.9.1), there’s also more fixes in there.
Okay, thanks for the info.
I hoped to avoid reinstallation since I have some additional changes to the bare openHABian/openHAB install (ftp and mqtt server, network shares and drive mounts), so this is no simple backup and restore, but I will try…
You don’t need to reinstall everything to get to openHABian 1.9.1. When you run openhabian-config it should ask if you want to update openHABian to the latest version. That will bring your openHABian scripts up to the latest 1.9.1.
Then use openhabian-config to reinstall zram and it should all be OK, unless I’m misunderstanding @mstormi’s advice.