Results 31 to 38 of 38
-
2022-05-30, 23:23 #31
- Join Date
- Jan 2010
- Location
- Hertfordshire
- Posts
- 9,290
-
2022-05-31, 03:06 #32
- Join Date
- Oct 2009
- Location
- Western/Northern New York
- Posts
- 1,170
I reread this post, and since you would like to figure it out, let me throw in one other possibility that has happened to me. I see you are using pcP on a pi. Where is your music library?
When I first started using pcP on a pi, with a USB HDD for my library, I followed the instructions and moved the LMS cache and settings to the HDD. At that time, I really didn't know the pros/cons. What happened to me is that on recovery from power failure, the drive mount got "lost" but it looked like it was there (via the pcP interface). The first time I rebuilt the whole "broken" pcP SD. After that I did some digging and realized I could unmount/remount the HDD (uncheck->apply->check->apply) and everything was restored.
Since then I keep my settings/cache on a 3rd partition on the SD, works best for me (frequent power failures). I don't entirely remember what my system behaved like, but I think I remember Samba seemed to work, and I could see my music library (is that possible or a miss-memory?). On pcP, I don't know if samba works independently of LMS?
What doesn't correlate with your situation is in my case, it would never just come back without the unmount/remount.
Jim
-
2022-05-31, 13:54 #33
- Join Date
- May 2008
- Location
- United States, Florida
- Posts
- 12,733
Home: Pi4B-8GB/pCP8.x/4TB>LMS 8.2.x>Transporter, Touch, Boom, Radio (all ethernet)
Cottage: rPi4B-4GB/pCP8.x/4TB>LMS 8.2.x>Touch>Benchmark DAC I, Boom, Radio w/Battery (Radio WIFI)
Office: Win10(64)>foobar2000
The Wild: rPi3B+/pCP7.x/4TB>LMS 8.1.x>hifiberry Dac+Pro (LMS & Squeezelite)
Controllers: iPhone11 & iPadAir3 (iPeng), CONTROLLER, Material Skin, or SqueezePlay 7.8 on Win10(64)
Files: Ripping: dBpoweramp > FLAC; Post-rip: mp3tag, PerfectTunes, TuneFusion; Streaming: Spotify
-
2022-06-07, 08:15 #34
- Join Date
- Apr 2008
- Location
- Toronto area, Canada
- Posts
- 1,461
Well, it remains a mystery. As noted, the library came back when the internet did, quite independent of power (it was all on the generator power throughout). When in the past the power was out and we were on the generator, typically the internet was fine except maybe for a very short time. Didn't have the problem then.
I haven't yet tried to disconnect the internet purposely and see what happens. That is the obvious next step.
The Pi/pcP is connected to an external HDD; it's the only access to the HDD, so of course when using Samba to view the library it's going through the Pi. Samba worked, LMS didn't, when the internet was out. I can't remember for sure where the settings/cache are placed, but I don't think it's on the HDD.
I'll report back on the result when I disconnect the internet.
R.LMS on a dedicated server (PiCorePlayer)
Transporter (Ethernet) - main listen ining, Onkyo receiver, Paradigm speakers
Touch (WiFi) - home theater 5.1, Sony receiver, Energy speakers
Boom 1 (WiFi) - work-space
Boom 2 (WiFi) - various (deck, garage, etc.)
Radio (WiFi) - home office
Control - Squeeze Control (Android mobile), 2 Controllers (seldom used), Squeeze Remote (on Surface Pro 4)
Touch x 1 - spare
UE Radio x 1 - spare
Boom x 1 - spare
Controller x 1 - Spare
-
2022-06-07, 13:25 #35
- Join Date
- Oct 2009
- Location
- Western/Northern New York
- Posts
- 1,170
Your configuration is exactly mine (pi with direct connect USB HDD) where, on power failure recovery LMS would lose track of the drive mount, but (I think) Samba worked. Like I said, I had cache and prefs on the HDD and determined that was the problem. If your cache and prefs are on your HDD, I'll bet that's what happened.
I could recover by going to the pcp UI, it looked like it was mounted (but wasn't), then unmounting, then remount the drive. After say the 5th time I moved the prefs to a 3rd partition and it never happened again. YMMV.
Jim
-
2022-06-10, 09:32 #36
- Join Date
- Apr 2008
- Location
- Toronto area, Canada
- Posts
- 1,461
The issue wasn't the power failure, it was the loss of the internet connection (indirectly caused by the power failure, as the provider's radio towers were out because of power). When our power first went out we had no difficulty with internet access on generator back-up. Eventually the back-up power at the transmission towers lost capacity and the internet went out. It was only then that LMS lost the ability to see the library.
When the power came back to the tower (shortly before it did for us), the reverse happened. All of a sudden LMS could see the library, even though the system was still running on the generator.
Perhaps I'm the one misunderstanding something.
R.
Edit -- I just checked, cache and prefs are not the HDD but are on the SD cardLast edited by RonM; 2022-06-10 at 09:34.
LMS on a dedicated server (PiCorePlayer)
Transporter (Ethernet) - main listen ining, Onkyo receiver, Paradigm speakers
Touch (WiFi) - home theater 5.1, Sony receiver, Energy speakers
Boom 1 (WiFi) - work-space
Boom 2 (WiFi) - various (deck, garage, etc.)
Radio (WiFi) - home office
Control - Squeeze Control (Android mobile), 2 Controllers (seldom used), Squeeze Remote (on Surface Pro 4)
Touch x 1 - spare
UE Radio x 1 - spare
Boom x 1 - spare
Controller x 1 - Spare
-
2022-06-10, 09:59 #37
- Join Date
- Oct 2009
- Location
- Western/Northern New York
- Posts
- 1,170
Nope, probably me not being clear. What i described above is also internet "outage" as a result of power failure, like you. "Outage" being that the power restore (or when I would fire up the generator) would cause the pi pcp to boot quickly, while the isp modem takes up to 5 minutes. So, pcp doesn't see internet on boot.
But, again, I had cache on my mounted HDD (not anymore) and for some reason the mount got lost. At first I didn't know what happened and how to recover. I eventually found that unmount/mount brought everything back. But since I now have cache on SD, it no longer happens. At my cabin, we get power outages of 4-48 hours every month or two, so I am a seasoned vet
I only mentioned it as a possibility because my symptoms were exactly the same as yours.
Hope everything is now all settled for you
Jim
-
2022-06-12, 11:45 #38
- Join Date
- Apr 2008
- Location
- Toronto area, Canada
- Posts
- 1,461
Yeah, got it. The difference is that my router and Squeezebox arrangements (Pi, HDD) are on a UPS that gives them a couple of hours after the power goes out. So those systems never actually lost power. I had them on the generator before the UPS ran out of battery.
Whatever, all is well now. At some point I'll turn off the internet connection to see what happens.
R.LMS on a dedicated server (PiCorePlayer)
Transporter (Ethernet) - main listen ining, Onkyo receiver, Paradigm speakers
Touch (WiFi) - home theater 5.1, Sony receiver, Energy speakers
Boom 1 (WiFi) - work-space
Boom 2 (WiFi) - various (deck, garage, etc.)
Radio (WiFi) - home office
Control - Squeeze Control (Android mobile), 2 Controllers (seldom used), Squeeze Remote (on Surface Pro 4)
Touch x 1 - spare
UE Radio x 1 - spare
Boom x 1 - spare
Controller x 1 - Spare