Hi,
I have a setup where I use RPi 4 with LibreELEC for my Kodi experience. Last week there were several power cuts due to severe thunderstorms and as a result, I could see in the morning that the LibreELEC had been crashing during the night, and after the power returned, the TV was on with LibreELEC backdrop with all kinds of error messages concerning some or other process couldn't be killed and Kernel panic and so on. Sorry, but I am not very good at the Linux technical messages. So I couldn't figure out what was happening. So I tried several times to disconnect the power on the RPi4 and put it back on after a few minutes. This didn't help much. Every time it started to boot, the messages were back. After disconnecting everything and reconnecting all the wires and so on, I once got it back online and watched a movie with it. Then the next night there was another storm and the power cut occurred at least 3 more times (off and on again in a couple of seconds). And this time the same symptoms but now I can't revive the system no matter what. Every time it boots, there is this message, and the loading of the LibreELEC stalls.
LibreELEC (official): 10.0.4
[FAILED] Failed to start Connection service.
[FAILED] Failed to start Samba NMB Daemon.
[FAILED] Failed to start Samba SMB Daemon.
.
.
.
Endless repetition of the same lines scrolling down the screen!
I have a lot of serials where I have been watching the episodes in random order so losing all the data about which episodes are watched is pretty important. Also a lot of movie details are also import when selecting the movies for the movie night. I would like to avoid the complete fresh install if I can help it. Is there any way I can repair the installation on the SD card that will repair/update the system but leave all my data untouched so that I can continue to use the system. Also any suggestions on how to avoid the similar problems in the future are most welcome (as long as they are not suggesting that I control the weather )
FYI: this is my setup.
RPi with 16GB SD card. LibreELEC installed. Media on a 2TB 2.5" HDD connected with USB3.0 cable (plus an additional USB2.0 power feed cable stealing the power from another USB port of the RPi). The system connected to my projector with a micro HDMI to HDMI cable and the whole thing is hidden deep out of sight to avoid the red light shining from the RPi box and the blinking lights on the HDD case when the data is read. This is another reason, why powering down the system every night to avoid the SD card data corruption due to power cuts is too cumbersome due to location of the whole RPi and HDD combo (hidden deep). There is a power supply that definitely supplies sufficient power (15W) for both RPi and the extra power required by the external HDD encloser (it's not much anyway since this is 2.5" HDD). I have setup the system nearly 1.5 years ago and never needed to touch it except a couple of time when I needed to power down the system and disconnect the HDD to transfer a large amount of data directly from the PC instead of over the air using wifi. And yes, during this time there have been many power cuts earlier too. But this is the first time the system has gotten this badly corrupted. Also during this 1.5 years, I have done couple of updates to the Kodi and some other things that the system was prompting me about. But I don't recall now what was the exact version of the Kodi or the LibreELEC because I can't even boot the system anymore. Please let me know if there are any other technical details I need to give to figure out a resolution to my problem (and also tell me where to find that detail without being able to boot the system).
Any help is greatly appreciated!
Hagar