Bug 17621 - Misleading "No Library Configured" message when lib. permissions are wrong
: Misleading "No Library Configured" message when lib. permissions are wrong
Status: NEW
Product: Logitech Media Server
Classification: Unclassified
Component: Scanner
: unspecified
: All Windows Server 2008
: -- minor (vote)
: ---
Assigned To: Unassigned bug - please assign me!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-09-30 13:12 UTC by Joel
Modified: 2011-09-30 13:12 UTC (History)
0 users

See Also:
Category: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Joel 2011-09-30 13:12:38 UTC
Many users are experiencing, sometimes intermittently, a "No Library Configured" message, and disappearance of their library.  The scanner logs display multiple copies of:

[11-09-30 12:20:05.0129] Slim::Networking::IO::Select::__ANON__ (147) Error: Select task failed calling Slim::Web::HTTP::processHTTP: Can't call method "dbh" on an undefined value at /<C:\PROGRA~2\SQUEEZ~1\server\SqueezeSvr.exe>Slim/Schema.pm line 104.

I have confirmed that this error can happen if the account under which SBS runs lacks permissions to any layer of the folder hierarchy containing the music library.  It would be much easier for users to fix this if the error message mentioned something about library permissions:

Quick/interim fix:  Change the "No Library Configured" message to something like "Couldn't Configure Library - Check Library Folder Permissions" or similar.

Better fix:  Explicitly check permissions before scanning or whan appropriate, and throw a relevant and specific error message in the log and on the UI if SBS lacks permissions needed to do its job.