This thread summarizes problems with LMS encountered when upgrading Mac
OS from Mojave to Monterey, and gives details on symptoms and how to fix
them.
mherger provided invaluable advice in diagnosing and fixing the issues;
I'm compiling it all in one thread so others won't have to bother him.

I had a very stable LMS setup 7.82 on Mac OS Mojave on a Mac mini.
I eventually needed to upgrade to use some new software.
I wound up upgrading directly from Mojave to Monterey, skipping Catalina
and Big Sur.  However my experiences and advice may be helpful to others
encountering problems with LMS after a Mac OS upgrade.
I did a complete time machine backup before upgrading, which is always
good advice and turned out to be crucial when the initial Mac OS upgrade
went awry.

Problem 1: Initial symptoms were that LMS would start and then
immediately stop; most preferences were greyed out and it was impossible
to type anything into them.  This preference issue happens when the
server is not running.

Server log error message: "Can't open
/Users/USERNAMEHERE/Library/Logs/Squeezebox/server.log (Permission
denied) at
/Library/PreferencePanes/Squeezebox.prefPane/Contents/server/CPAN/Log/Log4perl/Appender/File.pm
line 103." 

This is a permissions issue; the fix was to download
https://www.herger.net/slim/FixLMSPermissions.zip, extract and run the
script. That fixed the initial permissions issue and got LMS running
again.

Problem 2: The LMS scanner reported error messages that permission was
denied to open the external drive where my music files were stored.

Can't open /Users/USERNAMEHERE/Library/Logs/Squeezebox/server.log
(Permission denied) at
/Library/PreferencePanes/Squeezebox.prefPane/Contents/server/CPAN/Log/Log4perl/Appender/File.pm
line 103.

This was also a permissions issue, but the fix was a little more
involved:

STEP ONE: Give perl, sh, and bash full disk access:

Go to System Preferences > Security & Privacy > Full Disk Access, and
unlock the settings. Click the + button. Now type Cmd+Shift+G. This will
open a dialog where you can type a path. Enter /usr/bin and then select
"perl" to add it. 
Do likewise for /bin and select "bash" and then "sh".

STEP TWO: Give perl5.18 full disk access. The procedure is different.
(Thanks to Mr. C for this step)
Open a finder window and use the (Cmd + Shift + . (dot)) command to show
hidden files.
Now drag and drop "perl5.18" to the Full Disk Access window in system
preferences/security/ (same place as in STEP ONE).

https://forums.slimdevices.com/attachment.php?attachmentid=32375&d=1606783346

https://forums.slimdevices.com/showthread.php?111037-LMS-on-MacOS-10-15-quot-Catalina-quot&p=997149&viewfull=1#post997149

Relock system preferences and restart LMS server.

These actions fixed permissions and allowed LMS scanner to successfully
access the files on my external drive and complete the scan.
The scan aborted the first time, but worked successfully the second
time.

Other stuff I tried that might (or might not) have helped:
In LMS system preference I cleared the cache files (note that the first
time I tried this nothing happened; LMS will give a warning message
before actually clearing the cache).
Restarting Mac.
Restarting LMS server. 

This got me running with an LMS server that worked with Squeezebox touch
and which could be controlled with the iOS IPeng app.
I was able to access files from the external drive and stream to
Squeezebox

Problem 3: The LMS server on my Mac mini did not show up as an option
for my Denon HEOS devices.

I had to fiddle around with the UPnP/DNLA bridge plugin, installing and
uninstalling it in order to get this to work.
In the course of this, I reinstalled LMS 1.83 and then reactivated the
UPnP/DNLA bridge plugin.
I went to the plugin page of the LMS advanced settings, and eventually
the plugin saw all my devices.
>From that point on, the LMS server showed up as an option under "Music
Servers" in the Denon app, and everything worked fine.
I'm not sure exactly which of these things made it work, but perhaps it
was deactivating the plugin, reinstalling LMS, and then reactivating the
plugin.

Now up and running well on Mac OS Monterey.

Hope this helps others who encounter similar issues, and gives mherger a
break from questions!


------------------------------------------------------------------------
Philo99's Profile: http://forums.slimdevices.com/member.php?userid=72317
View this thread: http://forums.slimdevices.com/showthread.php?t=115521

_______________________________________________
Squeezecenter mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/squeezecenter

Reply via email to