Openhab loses files after reboot


I added some items, files and bindings on openhab. After I have done a reboot I lost all of these added stuff. Does anyone knows what might be the problem ?

Generally it is the sign of a dying SD card.

If your rebooting without first stopping the OH service this may cause some issues. To stop OH using openhabian image use: sudo systemctl stop openhab2.service