how did you perform the cleaning of
It seems that some specific method (on openHABian that I haven’t been able to identify until now) results in modified permissions after the cleaning of these 2 subdirs, and as a result, OH2 service (using username
openhab) will not be able to write into them afterwards.
first check current permissions:
ls -al /var/lib/openhab2/cache /var/lib/openhab2/tmp
and then try:
sudo su systemctl stop openhab2 mv /var/log/openhab2/openhab.log /var/log/openhab2/openhab.log.old chown -R openhab:openhab /var/lib/openhab2/cache /var/lib/openhab2/tmp systemctl start openhab2 tail -f /var/log/openhab2/openhab.log