Hi, I realize I'm probably one of the few folks who have LMS running on MySQL rather than SQLite, but so be it.
Anyway, I've recently updated to LMS 7.9, and I'm facing an issue.
When I go to the Web interface, to Album Artists it shows all my artists as expected. When I click on any, it simply shows "Empty".
This is the same for the Composers or All Artists item.
When I search for an Artist using the Search function all albums are returned properly though.
I did a full rescan already.
And I get this error in the server.log:
The weird part is that the artists show up fine on SqueezePlay, but not on my SB3.
I tried to downgrade to 7.8 but that gave me other issues.
Any ideas how to fix this?
Anyway, I've recently updated to LMS 7.9, and I'm facing an issue.
When I go to the Web interface, to Album Artists it shows all my artists as expected. When I click on any, it simply shows "Empty".
This is the same for the Composers or All Artists item.
When I search for an Artist using the Search function all albums are returned properly though.
I did a full rescan already.
And I get this error in the server.log:
Code:
[14-10-08 10:44:01.5008] Slim::Schema::Storage::throw_exception (122) Error: DBI Exception: DBD::mysql::db selecta ll_arrayref failed: Every derived table must have its own alias [for Statement "SELECT n, count(1) FROM (SELECT SU BSTR(contributors.namesort,1,1) AS n FROM albums JOIN contributors ON contributors.id = contributor_album.contribu tor JOIN contributor_album ON contributor_album.album = albums.id WHERE contributor_album.contributor = ? AND cont ributor_album.role IN (?, ?) GROUP BY albums.id ) GROUP BY n ORDER BY n COLLATE utf8_general_ci "]
[14-10-08 10:44:01.5011] Slim::Schema::Storage::throw_exception (122) Backtrace:
frame 0: Slim::Utils::Log::logBacktrace (/usr/share/perl5/Slim/Schema/Storage.pm line 122)
frame 1: Slim::Schema::Storage::throw_exception (/usr/share/squeezeboxserver/CPAN/DBIx/Class/Storage/DBI.pm lin e 1006)
frame 2: DBIx::Class::Storage::DBI::__ANON__ (/usr/share/perl5/Slim/Control/Queries.pm line 573)
frame 3: Slim::Control::Queries::albumsQuery (/usr/share/perl5/Slim/Control/Request.pm line 1885)
frame 4: (eval) (/usr/share/perl5/Slim/Control/Request.pm line 1885)
frame 5: Slim::Control::Request::execute (/usr/share/perl5/Slim/Menu/BrowseLibrary.pm line 847)
frame 6: Slim::Menu::BrowseLibrary::_generic (/usr/share/perl5/Slim/Menu/BrowseLibrary.pm line 1581)
frame 7: Slim::Menu::BrowseLibrary::_albums (/usr/share/perl5/Slim/Menu/BrowseLibrary.pm line 792)
frame 8: Slim::Menu::BrowseLibrary::_topLevel (/usr/share/perl5/Slim/Control/XMLBrowser.pm line 195)
frame 9: Slim::Control::XMLBrowser::cliQuery (/usr/share/perl5/Slim/Menu/BrowseLibrary.pm line 335)
frame 10: Slim::Menu::BrowseLibrary::cliQuery (/usr/share/perl5/Slim/Control/Request.pm line 1885)
frame 11: (eval) (/usr/share/perl5/Slim/Control/Request.pm line 1885)
frame 12: Slim::Control::Request::execute (/usr/share/perl5/Slim/Control/Request.pm line 882)
frame 13: Slim::Control::Request::executeRequest (/usr/share/perl5/Slim/Web/XMLBrowser.pm line 454)
frame 14: Slim::Web::XMLBrowser::handleFeed (/usr/share/perl5/Slim/Web/XMLBrowser.pm line 70)
frame 15: Slim::Web::XMLBrowser::handleWebIndex (/usr/share/perl5/Slim/Web/XMLBrowser.pm line 1186)
frame 16: Slim::Web::XMLBrowser::_webLinkDone (/usr/share/perl5/Slim/Web/XMLBrowser.pm line 1282)
frame 17: Slim::Web::XMLBrowser::webLink (/usr/share/perl5/Slim/Web/HTTP.pm line 1096)
frame 18: Slim::Web::HTTP::generateHTTPResponse (/usr/share/perl5/Slim/Web/HTTP.pm line 919)
frame 19: Slim::Web::HTTP::processURL (/usr/share/perl5/Slim/Web/HTTP.pm line 723)
frame 20: Slim::Web::HTTP::processHTTP (/usr/share/perl5/Slim/Networking/IO/Select.pm line 123)
frame 21: (eval) (/usr/share/perl5/Slim/Networking/IO/Select.pm line 119)
frame 22: Slim::Networking::IO::Select::__ANON__ (/usr/share/perl5/Slim/Networking/IO/Select.pm line 168)
frame 23: (eval) (/usr/share/perl5/Slim/Networking/IO/Select.pm line 168)
frame 24: Slim::Networking::IO::Select::loop (/usr/sbin/squeezeboxserver line 715)
frame 25: main::idle (/usr/sbin/squeezeboxserver line 665)
frame 26: main::main (/usr/sbin/squeezeboxserver line 1200)
[14-10-08 10:44:01.5013] Slim::Control::Request::execute (1890) Error: While trying to run function coderef [Slim: :Control::Queries::albumsQuery]: [Carp::Clan::__ANON__(): DBI Exception: DBD::mysql::db selectall_arrayref failed: Every derived table must have its own alias [for Statement "SELECT n, count(1) FROM (SELECT SUBSTR(contributors.n amesort,1,1) AS n FROM albums JOIN contributors ON contributors.id = contributor_album.contributor JOIN contributo r_album ON contributor_album.album = albums.id WHERE contributor_album.contributor = ? AND contributor_album.role IN (?, ?) GROUP BY albums.id ) GROUP BY n ORDER BY n COLLATE utf8_general_ci "] at /usr/share/perl5/Slim/Schema/S torage.pm line 126
]
[14-10-08 10:44:01.5014] Slim::Menu::BrowseLibrary::_generic (848) Bad dispatch!
[14-10-08 10:44:01.5023] Slim::Schema::Storage::throw_exception (122) Error: DBI Exception: DBD::mysql::st execute failed: Unknown column 'contributor_album.contributor' in 'on clause' [for Statement "
SELECT COUNT(1) FROM ( SELECT contributors.name AS 'contributors.name', albums.titlesearch AS 'albums.titlesearch', albums.title AS 'albums.title', albums.discc AS 'albums.discc', albums.titlesort AS 'albums.titlesort', albums.artwork AS 'albums.artwork', contributors.namesort AS 'contributors.namesort', albums.year AS 'albums.year', albums.id AS 'albums.id', albums.contributor AS 'albums.contributor', albums.disc AS 'albums.disc' FROM albums JOIN contributors ON contributors.id = contributor_album.contributor JOIN contributor_album ON contributor_album.album = albums.id WHERE contributor_album.contributor = ? AND contributor_album.role IN (?, ?) GROUP BY albums.id ORDER BY contributors.namesort COLLATE utf8_general_ci , albums.titlesort COLLATE utf8_general_ci ) AS t1
" with ParamValues: 0=2200, 1=5, 2=1]
[14-10-08 10:44:01.5025] Slim::Schema::Storage::throw_exception (122) Backtrace:
frame 0: Slim::Utils::Log::logBacktrace (/usr/share/perl5/Slim/Schema/Storage.pm line 122)
frame 1: Slim::Schema::Storage::throw_exception (/usr/share/squeezeboxserver/CPAN/DBIx/Class/Storage/DBI.pm line 1006)
frame 2: DBIx::Class::Storage::DBI::__ANON__ (/usr/share/perl5/Slim/Control/Queries.pm line 614)
frame 3: Slim::Control::Queries::albumsQuery (/usr/share/perl5/Slim/Control/Request.pm line 1885)
frame 4: (eval) (/usr/share/perl5/Slim/Control/Request.pm line 1885)
frame 5: Slim::Control::Request::execute (/usr/share/perl5/Slim/Menu/BrowseLibrary.pm line 871)
frame 6: Slim::Menu::BrowseLibrary::_generic (/usr/share/perl5/Slim/Menu/BrowseLibrary.pm line 1581)
frame 7: Slim::Menu::BrowseLibrary::_albums (/usr/share/perl5/Slim/Menu/BrowseLibrary.pm line 792)
frame 8: Slim::Menu::BrowseLibrary::_topLevel (/usr/share/perl5/Slim/Control/XMLBrowser.pm line 195)
frame 9: Slim::Control::XMLBrowser::cliQuery (/usr/share/perl5/Slim/Menu/BrowseLibrary.pm line 335)
frame 10: Slim::Menu::BrowseLibrary::cliQuery (/usr/share/perl5/Slim/Control/Request.pm line 1885)
frame 11: (eval) (/usr/share/perl5/Slim/Control/Request.pm line 1885)
frame 12: Slim::Control::Request::execute (/usr/share/perl5/Slim/Control/Request.pm line 882)
frame 13: Slim::Control::Request::executeRequest (/usr/share/perl5/Slim/Web/XMLBrowser.pm line 454)
frame 14: Slim::Web::XMLBrowser::handleFeed (/usr/share/perl5/Slim/Web/XMLBrowser.pm line 70)
frame 15: Slim::Web::XMLBrowser::handleWebIndex (/usr/share/perl5/Slim/Web/XMLBrowser.pm line 1186)
frame 16: Slim::Web::XMLBrowser::_webLinkDone (/usr/share/perl5/Slim/Web/XMLBrowser.pm line 1282)
frame 17: Slim::Web::XMLBrowser::webLink (/usr/share/perl5/Slim/Web/HTTP.pm line 1096)
frame 18: Slim::Web::HTTP::generateHTTPResponse (/usr/share/perl5/Slim/Web/HTTP.pm line 919)
frame 19: Slim::Web::HTTP::processURL (/usr/share/perl5/Slim/Web/HTTP.pm line 723)
frame 20: Slim::Web::HTTP::processHTTP (/usr/share/perl5/Slim/Networking/IO/Select.pm line 123)
frame 21: (eval) (/usr/share/perl5/Slim/Networking/IO/Select.pm line 119)
frame 22: Slim::Networking::IO::Select::__ANON__ (/usr/share/perl5/Slim/Networking/IO/Select.pm line 168)
frame 23: (eval) (/usr/share/perl5/Slim/Networking/IO/Select.pm line 168)
frame 24: Slim::Networking::IO::Select::loop (/usr/sbin/squeezeboxserver line 715)
frame 25: main::idle (/usr/sbin/squeezeboxserver line 665)
frame 26: main::main (/usr/sbin/squeezeboxserver line 1200)
I tried to downgrade to 7.8 but that gave me other issues.
Any ideas how to fix this?