Re: [SlimDevices: SqueezeCenter] Can't Type in LMS Preferences after Mac OS Monterey Upgrade
Well, a rescan worked successfully to scan the whole library. Now I'm up and running (well, streaming!) again. Thanks; I'll put all the steps together in a single post in a new thread without all the false debugging steps. Phil Philo99's Profile: http://forums.slimdevices.com/member.php?userid=72317 View this thread: http://forums.slimdevices.com/showthread.php?t=115480 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] Can't Type in LMS Preferences after Mac OS Monterey Upgrade
mherger wrote: > > 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? OK, added "sh" to full disk access and then cleared caches. (I tried to clear caches before, but this time LMS gave me a warning that it would have to stop the server to do so, so I think it actually cleared them where it might not have before.) That combination seems to have fixed the original permissions error; the scanner made its way through 28,000 files on the external drive and reported only a few minor issues with certain files. (I'll consolidate all the steps above into one post so that the next person doesn't need to bother you.) The scanner imported about 28,000 files (of 79,000) and then quit with this in the log: [21-11-30 06:04:45.4193] Slim::Music::Import::runImporter (578) Starting Slim::Plugin::iTunes::Importer scan [21-11-30 06:05:33.0586] Carp::Clan::__ANON__ (216) Warning: DBIx::Class::ResultSet::single(): Query returned more than one row. SQL that returns multiple rows is DEPRECATED for ->find and ->single at /Library/PreferencePanes/Squeezebox.prefPane/Contents/server/Slim/Schema.pm line 2314 [21-11-30 06:05:33.1227] main::main (338) Error: Failed when running main scan: [Can't call method "id" on an undefined value at /Library/PreferencePanes/Squeezebox.prefPane/Contents/server/Slim/Schema.pm line 905. ] [21-11-30 06:05:33.1230] main::main (339) Error: Skipping post-process & Not updating lastRescanTime! I will fiddle with scanning methods and whether or not to use iTunes later to try to figure this out, but the permissions issue seems to be solved. Thanks much for your patient help! Philo99's Profile: http://forums.slimdevices.com/member.php?userid=72317 View this thread: http://forums.slimdevices.com/showthread.php?t=115480 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] Can't Type in LMS Preferences after 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? ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] Can't Type in LMS Preferences after Mac OS Monterey Upgrade
Philo99 wrote: > Here are the relevant links: > > https://forums.slimdevices.com/showthread.php?114774-Scanning-permissions-problem-OS-X-11-Big-Sur=grant+perl+full+disk > > https://forums.slimdevices.com/showthread.php?111037-LMS-on-MacOS-10-15-quot-Catalina-quot=997149=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? Philo99's Profile: http://forums.slimdevices.com/member.php?userid=72317 View this thread: http://forums.slimdevices.com/showthread.php?t=115480 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] Can't Type in LMS Preferences after Mac OS Monterey Upgrade
mherger wrote: > > 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/showthread.php?114774-Scanning-permissions-problem-OS-X-11-Big-Sur=grant+perl+full+disk https://forums.slimdevices.com/showthread.php?111037-LMS-on-MacOS-10-15-quot-Catalina-quot=997149=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! Philo99's Profile: http://forums.slimdevices.com/member.php?userid=72317 View this thread: http://forums.slimdevices.com/showthread.php?t=115480 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] Can't Type in LMS Preferences after 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. ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] Can't Type in LMS Preferences after Mac OS Monterey Upgrade
Philo99 wrote: > 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 driver because it doesn't have permission. Is there a similar utility that will fix those permissions for LMS? Philo99's Profile: http://forums.slimdevices.com/member.php?userid=72317 View this thread: http://forums.slimdevices.com/showthread.php?t=115480 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] Can't Type in LMS Preferences after Mac OS Monterey Upgrade
mherger wrote: > > 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. Philo99's Profile: http://forums.slimdevices.com/member.php?userid=72317 View this thread: http://forums.slimdevices.com/showthread.php?t=115480 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] Can't Type in LMS Preferences after 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. ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] Can't Type in LMS Preferences after Mac OS Monterey Upgrade
mherger wrote: > > 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. Philo99's Profile: http://forums.slimdevices.com/member.php?userid=72317 View this thread: http://forums.slimdevices.com/showthread.php?t=115480 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] Can't Type in LMS Preferences after 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. ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
[SlimDevices: SqueezeCenter] 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! Philo99's Profile: http://forums.slimdevices.com/member.php?userid=72317 View this thread: http://forums.slimdevices.com/showthread.php?t=115480 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter