Closed martingruening closed 2 years ago
This issue has been mentioned on openHAB Community. There might be relevant details there:
https://community.openhab.org/t/solved-all-things-lost-from-openhab/47644/39
I think we might rephrase as - "Don't trample over (more than one) backups with an empty file" whatever the original cause was.
My Linux host ran out of disk space today. After resolving the issue and restarting OpenHAB all my Things are gone. The JSONDB entries are all 0 bytes, including the backups:
No valid backup is left. I will need to recreate all the things manually. OpenHAB was super stable, not crashing, not running out of main memory, just the disk device was full (Docker logging exploded due to a misconfiguration and filled the disk).
Suggestions for improvements when the disk device behind the jsondb directory is full: