Hi;
I hesitate to even mention this issue, but it is unique, I thought I would.
I am running LMS on PcP 6 at home, but at my current location, I am running 4.1. If the answer is to install 6 and "then try it" that's fine. I hesitate because it's a bit of work to get at the server and sd card. If the answer is "get a UPS" then that's fine too...:)
Pi 3B+, Picore 4.1, running LMS only. I have a USB Hdd with my library attached, so a self contained server/library. The LMS server preferences and cache are moved to the HDD (per picore "how to" instructions). I should also mention I am running SAMBA to create a network drive (windows 10).
At this location we have frequent power failures (forest and wind = power lines down), but I have also seen this when I intentionally shut down and restart.
The spiral of events and work to restore things is as follows:
1) After the power failure, the timezone in the tweak page must be corrupted. The field is blank. My touch has a blank time screensaver (no time to display). My radio and boom display goofy incorrect times. As a side effect, I noticed that the RP FLAC Interactive streams won't play, but the regular FLAC ones do. note that the rest of the system operates just fine, favorites, music library, etc. It's only when I try to fix the time that I break everything.
2) I go into tweaks, clear the field, and reboot the Pcp.
3) Often the reboot never completes, and I have to manually shut down power, but the end result is LMS has lost it's way. No library, no favorites, in fact (from memory) it might only offer MySB.com
4) I think what happens is the PcP/LMS loses track of the HDD with the LMS data. I usually go into the LMS page, see the USB drive is mounted visually in the UI (but I don't think that LMS sees it). What I have to do is this (on the PcP LMS page):
a) move the LMS data to the SD card
b)unmount the HDD drive, then remount it.
c) move the LMS data back to the HDD
5) What this results in is the loss of my favorites (I have a backup so I manually restore), and I have to do a complete rescan. I am not sure about what happens to the plugins, the ones that I use (RP App, Material Skin, Squeezelite-X, etc) seem to be there, but maybe they are by default.
Often, Usually, LMS is streaming when the power failure happens, but it doesn't seem like the SD Card is getting irretrievably corrupted, as I can recover without a reformat/redo.
Whats telling is that the system seems to mostly recover from the power failure (except time display, RP interactive), everything works, it sees the HDD, it plays favorites, library. It's when I try to "fix" it is really breaks.
We had a windstorm and a couple power failures yesterday, and I am playing my system with a messed up clock, and no flac interactive, but everything else works so, I hesitate to try to fix it :). Maybe it's time to do the version 6 upgrage....
Jim