Home of the Squeezebox™ & Transporter® network music players.
Page 1 of 2 12 LastLast
Results 1 to 10 of 12
  1. #1
    Junior Member
    Join Date
    Nov 2021
    Posts
    9

    Can't Type in LMS Preferences after Mac OS Monterey Upgrade

    Was using LMS 8.2 on a Mac mini running Mojave.
    Upgraded to Monterey.

    Now my media folder location has disappeared, and I can't type anything or hit the "+" in LMS Preferences to re-add the media folder.
    Almost all of the options in the preferences tabs are greyed out.

    Start the server; it quickly stops. Can't view the logs.

    If I look at the server.pref file it has the correct location of the media folder, which is on an external drive and which did not change during the OS upgrade.

    Tried to install 8.3; same result.

    Probably need to nuke preferences, but not sure how to do that. if I delete server.pref, the library name goes away in system preferences, but I still can't enter anything new.

    Ideas?

    Thanks!

  2. #2
    Babelfish's Best Boy mherger's Avatar
    Join Date
    Apr 2005
    Location
    Switzerland
    Posts
    20,666

    Can't Type in LMS Preferencesafter Mac OS Monterey Upgrade

    > Now my media folder location has disappeared, and I can't type anything
    > or hit the "+" in LMS Preferences to re-add the media folder.
    > Almost all of the options in the preferences tabs are greyed out.


    That would be the case if LMS wasn't running.

    > Start the server; it quickly stops. Can't view the logs.


    What if you run

    /Library/PreferencePanes/Squeezebox.prefPane/Contents/server/slimserver.pl

    in a terminal window?

    > Probably need to nuke preferences, but not sure how to do that. if I


    Don't go there. This hardly ever is necessary.

    Make sure you grant perl and perl5.18 full disk access in the
    preferences pane.

  3. #3
    Junior Member
    Join Date
    Nov 2021
    Posts
    9
    Quote Originally Posted by mherger View Post
    > Now my media folder location has disappeared, and I can't type anything
    > or hit the "+" in LMS Preferences to re-add the media folder.
    > Almost all of the options in the preferences tabs are greyed out.


    That would be the case if LMS wasn't running.

    > Start the server; it quickly stops. Can't view the logs.


    What if you run

    /Library/PreferencePanes/Squeezebox.prefPane/Contents/server/slimserver.pl

    in a terminal window?

    > Probably need to nuke preferences, but not sure how to do that. if I


    Don't go there. This hardly ever is necessary.

    Make sure you grant perl and perl5.18 full disk access in the
    preferences pane.

    Here's the error message from the terminal:

    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.

    So this seems to be some kind of permissions issue.

  4. #4
    Babelfish's Best Boy mherger's Avatar
    Join Date
    Apr 2005
    Location
    Switzerland
    Posts
    20,666

    Can't Type in LMS Preferencesafter Mac OS Monterey Upgrade

    > 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.
    >
    > So this seems to be some kind of permissions issue.


    You can download https://www.herger.net/slim/FixLMSPermissions.zip,
    extract and run the script. That should fix the permissions issue.

  5. #5
    Junior Member
    Join Date
    Nov 2021
    Posts
    9
    Quote Originally Posted by mherger View Post
    > 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.
    >
    > So this seems to be some kind of permissions issue.


    You can download https://www.herger.net/slim/FixLMSPermissions.zip,
    extract and run the script. That should fix the permissions issue.
    That solved the problem! Thanks so much!

    FWIW, I did search the forum before posting this thread. Hopefully it will help the next person.

    This was the one significant issue I encountered in upgrading to the Monterey OS.

  6. #6
    Junior Member
    Join Date
    Nov 2021
    Posts
    9
    Quote Originally Posted by Philo99 View Post
    That solved the problem! Thanks so much!

    FWIW, I did search the forum before posting this thread. Hopefully it will help the next person.

    This was the one significant issue I encountered in upgrading to the Monterey OS.
    Spoke too soon. The server runs, but the scanner can't open any of the files on the external drive because it doesn't have permission.

    Is there a similar utility that will fix those permissions for LMS?
    Last edited by Philo99; 2021-11-29 at 21:37.

  7. #7
    Babelfish's Best Boy mherger's Avatar
    Join Date
    Apr 2005
    Location
    Switzerland
    Posts
    20,666

    Can't Type in LMS Preferencesafter Mac OS Monterey Upgrade

    > Spoke too soon. The server runs, but the scanner can't open any of the
    > files on the external driver because it doesn't have permission.
    >
    > Is there a similar utility that will fix those permissions for LMS?


    See one of my previous responses: you have to grant perl full disk
    access in the security settings of your macOS. There are many threads
    around this topic.

  8. #8
    Junior Member
    Join Date
    Nov 2021
    Posts
    9
    Quote Originally Posted by mherger View Post
    > Spoke too soon. The server runs, but the scanner can't open any of the
    > files on the external driver because it doesn't have permission.
    >
    > Is there a similar utility that will fix those permissions for LMS?


    See one of my previous responses: you have to grant perl full disk
    access in the security settings of your macOS. There are many threads
    around this topic.
    Here are the relevant links:

    https://forums.slimdevices.com/showt...perl+full+disk

    https://forums.slimdevices.com/showt...l=1#post997149

    Note that the first link has a link to a deleted link, but it has all the necessary information in it.

    Thanks much for the help, mherger!

  9. #9
    Junior Member
    Join Date
    Nov 2021
    Posts
    9
    Quote Originally Posted by Philo99 View Post
    Here are the relevant links:

    https://forums.slimdevices.com/showt...perl+full+disk

    https://forums.slimdevices.com/showt...l=1#post997149

    Note that the first link has a link to a deleted link, but it has all the necessary information in it.

    Thanks much for the help, mherger!
    Well, did all that and it didn't help. I gave perl, bash, and perl5.18 full disk access using the instructions above; same error message.

    For grins, I copied an album into the boot drive iTunes folder, and it looks like the LMS scanner successfully accessed and scanned those files.
    The issue seems to be permissions on the external drive (or permission for LMS to access the external drive folder to scan it).

    I did make sure the external drive had permissions enabled for my user name, for admin, and for system.
    Used the disk repair utility to check permissions.
    Restarted.

    Are there some other files that need full disk access?

  10. #10
    Babelfish's Best Boy mherger's Avatar
    Join Date
    Apr 2005
    Location
    Switzerland
    Posts
    20,666

    Can't Type in LMS Preferencesafter Mac OS Monterey Upgrade

    > Well, did all that and it didn't help. I gave perl, bash, and perl5.18
    > full disk access using the instructions above; same error message.


    As well as sh? Can you share screenshots of the relevant settings?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •