Quantcast
Channel: Squeezebox : Community : Forums - Logitech Media Server
Viewing all articles
Browse latest Browse all 5300

LMS on Pi4 - keeping proper time matters

$
0
0
You may find the time & date resets to something in the past after a Pi reboot. This "breaks" proper library updating, particularly if you're using OLMSI.

I've got around the problem this way:

1) don't autostart LMS
2) check date/time after a Pi reboot & "sudo getTime.sh" if it is wrong
3) verify date/time is now correct before starting LMS
4) set up a cron job to run that script (I have it hourly, but daily would probably be often enough)

I don't expect to need to restart the Pi very often, but a power interruption, or brownout, might do it for me. A new UPS should work around this problem too.

Viewing all articles
Browse latest Browse all 5300

Trending Articles