Today I rebooted my rpi and when openhab was back online I couldn’t believe my eyes: the status of all files in /etc/openhab2 was rolled back to that of about 1 week ago??!? - I do have a backup on another drive that’s at least just two days old, so it’s not super cramatic, but I’m completely puzzled as to how that can happen? I’m using VSCode for editing the files and have no automatic backup process (at least none that I’m aware of) running on the rpi. It’s simply as if everything that happened in the last 7 days in that directory is just non-existant. Has anyone ever seen something like this??
no, that was the first thing I checked. Plus, up until last night, OH ran with the last config. Only after reboot this morning the old files showed up - and I have no idea where they came from neither where the latest are…??
UPDATE:
This behavior can be reproduced now: any change I do to the files in /etc/openhab2 will be gone after reboot. Files I add into the directory (e.g. icon files) are gone after reboot. It’s almost as if the raspi suffers from amnesia
UPDATE 2:
It seems the issue is a corrupted SD card (see reference). It sucks, but at least is an explanation.