I noticed that my rules did not work anymore, that my InfluxDB didn’t get populated properly anymore, my heating controller didn’t work as expected and so on… the reason for that was all the same:
All of my things were deleted!
The file /var/lib/openhab2/jsondb/org.eclipse.smarthome.core.thing.Thing.json contained 0 bytes.
After restoring the things from the backup folder (openHAB was shut down), everything worked fine again. A couple of hours later, the things were lost again. After a couple of restores, I made a backup of the sd card and transferred it to another sd card. I rebooted the system using /sbin/shutdown -F -r now in order to repair file system defects on startup. But again, a couple of hours later, all my things were gone.
How can I mitigate this behavior? What could be the reason for this?
Ok, thank you! I’ve installed the updated version as described!
Memory usage is still growing, but perhaps a bit slower. From what I observed so far, the memory leaks seem to originate from reloading of my rules, too.