If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.
After several days of the computer running LMS being idle and possibly going into sleep mode, LMS stops working and the LMS system panel doesn't open. The error message is something about error in settings, and that the LMS settings panel cannot be opened.
How does one restart LMS on macOS and what could be causing LMS to fail?
LMS 8.4.0 - 1678519305 @ Sat Mar 11 08:50:41 CET 2023
M1 Macbook, macOS 12.6.2
Squeezebox2: 137, Duet: 77/7.8.0-r16739, Radio: 7.7.3-r16676
It works again after a reboot of the os. This problem has occurred several times. It would be useful to know how to restart LMS without a reboot and if possible to fix the issue causing it to fail to respond.
Next time it fails - check the last few lines of the LMS server.log (see Settings/Information to find the location).
Paul Webster Author of "Now Playing" plugins covering Radio France (FIP etc), PlanetRadio (Bauer - Kiss, Absolute, Scala, JazzFM etc), KCRW, ABC Australia and CBC/Radio-Canada
and, via the extra "Radio Now Playing" plugin lots more - see https://forums.slimdevices.com/showt...Playing-plugin
How does one restart LMS on macOS and what could be causing LMS to fail?
Use Script Editor (from the Utilities folder) and paste:
Code:
do shell script "sh '/Library/PreferencePanes/Squeezebox.prefPane/Contents/Resources/stop-server.sh'"
delay 1
do shell script "sh '/Library/PreferencePanes/Squeezebox.prefPane/Contents/Resources/start-server.sh'"
Save as File Format = Application.
Drag this “application" to the Dock. Click to restart server.
Links to report issues, FAQ (if available) and more information about my plugins are on the GitHub page or in the first post of a plugin's support thread.
I updated LMS since. I haven't had it fail yet, but usually it takes a few days. Here is the server.log part from around this time. The text in non-English is in Swedish.
Code:
[23-03-10 19:36:45.8322] main::init (380) Starting Logitech Media Server (v8.4.0, 1677516856, Mon Feb 27 18:35:59 CET 2023) perl 5.034000 - darwin-thread-multi-2level
/Library/PreferencePanes/Squeezebox.prefPane/Contents/server/Bin/darwin/openprefs.scpt:106:118: execution error: System Preferences drabbades av ett fel: AppleEvent nådde en maxtidsgräns. (-1712)
[23-03-18 09:47:56.4561] main::init (380) Starting Logitech Media Server (v8.4.0, 1678519305, Sat Mar 11 08:50:41 CET 2023) perl 5.034000 - darwin-thread-multi-2level
If I understand that message correctly, then it's likely related to the automatic update. Maybe you can turn it off in Settings/Software Updates and see whether that helps the situation?
Michael
"It doesn't work - what shall I do?" - "Please check your server.log and/or scanner.log file!"
(LMS: Settings/Information)
We process personal data about users of our site, through the use of cookies and other technologies, to deliver our services, personalize advertising, and to analyze site activity. We may share certain information about our users with our advertising and analytics partners. For additional details, refer to our Privacy Policy.
By clicking "I AGREE" below, you agree to our Privacy Policy and our personal data processing and cookie practices as described therein. You also acknowledge that this forum may be hosted outside your country and you consent to the collection, storage, and processing of your data in the country where this forum is hosted.
Comment