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!
/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?
- Platform information:
- Hardware: Raspberry Pi 3 Model B Plus Rev 1.3
- OS: openHABian / Linux 4.19.66-v7+
- Java Runtime Environment: OpenJDK Runtime Environment (Zulu126.96.36.199-CA-linux_aarch32hf) (build 1.8.0_222-b178)
- openHAB version: 2.5.3-1