See this post here Can't update OSMC or change kodi settings - #8 by JimKnopf
So, idea is to save the image of the SD card (if readable at all), reformat the SD card, test the card and in case of no issues at all, burn back the previous saved image.