I have a Raspberry Pi 3+ Running OpenHAB and Zigbee2MQTT.
Last month I started having some issues, one of these was I would install a binding but it would uninstall if I rebooted I was told that this was due to a write issue on my SD Card.
I bought a new SanDisk Extreme 32 GB microSDHC Memory Card from Amazon and set everything up from scratch.
Everything was working fine but over the past week I have noticed some of my previous issues returning. As a test I just installed the MySQL persistence binding through PaperUI, confirmed it was listed in my addons.cfg file and rebooted the Pi. Unfortunately the binding did not survive a restart.
What could cause my card to show these errors after just over a month of running and how can I avoid it happening again if I replace the card?