Hi

I just noticed that the music scanner was still running during the day (normally it completes early in the morning) and saw this exception in the server log. The next day and subsequently the scan seems to have completed fine.

Any ideas what was wrong?

(Running Logitech Media Server Version: 7.9.2 - 1575296326 @ Mon Dec 2 15:50:12 CET 2019 on RPi)


Code:
[20-02-04 12:37:56.9060] Slim::Schema::Storage::throw_exception (122) Error: DBI Exception: DBD::SQLite::st execute failed: database is locked [for Statement "UPDATE metainformation SET value = ? WHERE ( name = ? )" with ParamValues: 1=0, 2='isScanning']
[20-02-04 12:37:56.9073] Slim::Schema::Storage::throw_exception (122) Backtrace:

   frame 0: Slim::Utils::Log::logBacktrace (/usr/local/slimserver/Slim/Schema/Storage.pm line 122)
   frame 1: Slim::Schema::Storage::throw_exception (/usr/local/slimserver/CPAN/DBIx/Class/Storage/DBI.pm line 1007)
   frame 2: DBIx::Class::Storage::DBI::__ANON__ (/usr/local/slimserver/CPAN/DBIx/Class/Storage/DBI.pm line 1287)
   frame 3: DBIx::Class::Storage::DBI::_dbh_execute (/usr/local/slimserver/CPAN/DBIx/Class/Storage/DBI.pm line 587)
   frame 4: (eval) (/usr/local/slimserver/CPAN/DBIx/Class/Storage/DBI.pm line 581)
   frame 5: DBIx::Class::Storage::DBI::dbh_do (/usr/local/slimserver/CPAN/DBIx/Class/Storage/DBI.pm line 1297)
   frame 6: DBIx::Class::Storage::DBI::_execute (/usr/local/slimserver/CPAN/DBIx/Class/Storage/DBI.pm line 1419)
   frame 7: DBIx::Class::Storage::DBI::update (/usr/local/slimserver/CPAN/DBIx/Class/Row.pm line 492)
   frame 8: DBIx::Class::Row::update (/usr/local/slimserver/CPAN/DBIx/Class/Relationship/CascadeActions.pm line 35)
   frame 9: DBIx::Class::Relationship::CascadeActions::update (/usr/local/slimserver/Slim/Schema/DBI.pm line 33)
   frame 10: Slim::Schema::DBI::update (/usr/local/slimserver/Slim/Music/Import.pm line 306)
   frame 11: Slim::Music::Import::setIsScanning (/usr/local/slimserver/Slim/Music/Import.pm line 671)
   frame 12: Slim::Music::Import::stillScanning (/usr/local/slimserver/Slim/Control/Queries.pm line 3554)
   frame 13: Slim::Control::Queries::statusQuery (/usr/local/slimserver/Cache/InstalledPlugins/Plugins/CastBridge/Queries.pm line 53)
   frame 14: Plugins::CastBridge::Queries::statusQuery (/usr/local/slimserver/Slim/Control/Request.pm line 1883)
   frame 15: (eval) (/usr/local/slimserver/Slim/Control/Request.pm line 1883)
   frame 16: Slim::Control::Request::execute (/usr/local/slimserver/Slim/Control/Request.pm line 2484)
   frame 17: Slim::Control::Request::__autoexecute (/usr/local/slimserver/Slim/Utils/Timers.pm line 266)
   frame 18: (eval) (/usr/local/slimserver/Slim/Utils/Timers.pm line 266)
   frame 19: Slim::Utils::Timers::__ANON__ (/usr/local/slimserver/Slim/Networking/IO/Select.pm line 168)
   frame 20: (eval) (/usr/local/slimserver/Slim/Networking/IO/Select.pm line 168)
   frame 21: Slim::Networking::IO::Select::loop (/usr/local/slimserver/slimserver.pl line 740)
   frame 22: main::idleStreams (/usr/local/slimserver/Slim/Control/Queries.pm line 779)
   frame 23: Slim::Control::Queries::albumsQuery (/usr/local/slimserver/Slim/Control/Request.pm line 1883)
   frame 24: (eval) (/usr/local/slimserver/Slim/Control/Request.pm line 1883)
   frame 25: Slim::Control::Request::execute (/usr/local/slimserver/Slim/Web/JSONRPC.pm line 451)
   frame 26: Slim::Web::JSONRPC::requestMethod (/usr/local/slimserver/Slim/Web/JSONRPC.pm line 255)
   frame 27: (eval) (/usr/local/slimserver/Slim/Web/JSONRPC.pm line 255)
   frame 28: Slim::Web::JSONRPC::handleURI (/usr/local/slimserver/Slim/Web/HTTP.pm line 468)
   frame 29: Slim::Web::HTTP::processHTTP (/usr/local/slimserver/Slim/Networking/IO/Select.pm line 123)
   frame 30: (eval) (/usr/local/slimserver/Slim/Networking/IO/Select.pm line 119)
   frame 31: Slim::Networking::IO::Select::__ANON__ (/usr/local/slimserver/Slim/Networking/IO/Select.pm line 168)
   frame 32: (eval) (/usr/local/slimserver/Slim/Networking/IO/Select.pm line 168)
   frame 33: Slim::Networking::IO::Select::loop (/usr/local/slimserver/slimserver.pl line 727)
   frame 34: main::idle (/usr/local/slimserver/slimserver.pl line 677)
   frame 35: main::main (/usr/local/slimserver/slimserver.pl line 1210)

[20-02-04 12:37:56.9090] Slim::Schema::Storage::throw_exception (122) Error: Carp::Clan::__ANON__(): DBI Exception: DBD::SQLite::st execute failed: database is locked [for Statement "UPDATE metainformation SET value = ? WHERE ( name = ? )" with ParamValues: 1=0, 2='isScanning'] at /usr/local/slimserver/Slim/Schema/Storage.pm line 126
[20-02-04 12:37:56.9101] Slim::Schema::Storage::throw_exception (122) Backtrace:

   frame 0: Slim::Utils::Log::logBacktrace (/usr/local/slimserver/Slim/Schema/Storage.pm line 122)
   frame 1: Slim::Schema::Storage::throw_exception (/usr/local/slimserver/CPAN/DBIx/Class/Storage/DBI.pm line 598)
   frame 2: DBIx::Class::Storage::DBI::dbh_do (/usr/local/slimserver/CPAN/DBIx/Class/Storage/DBI.pm line 1297)
   frame 3: DBIx::Class::Storage::DBI::_execute (/usr/local/slimserver/CPAN/DBIx/Class/Storage/DBI.pm line 1419)
   frame 4: DBIx::Class::Storage::DBI::update (/usr/local/slimserver/CPAN/DBIx/Class/Row.pm line 492)
   frame 5: DBIx::Class::Row::update (/usr/local/slimserver/CPAN/DBIx/Class/Relationship/CascadeActions.pm line 35)
   frame 6: DBIx::Class::Relationship::CascadeActions::update (/usr/local/slimserver/Slim/Schema/DBI.pm line 33)
   frame 7: Slim::Schema::DBI::update (/usr/local/slimserver/Slim/Music/Import.pm line 306)
   frame 8: Slim::Music::Import::setIsScanning (/usr/local/slimserver/Slim/Music/Import.pm line 671)
   frame 9: Slim::Music::Import::stillScanning (/usr/local/slimserver/Slim/Control/Queries.pm line 3554)
   frame 10: Slim::Control::Queries::statusQuery (/usr/local/slimserver/Cache/InstalledPlugins/Plugins/CastBridge/Queries.pm line 53)
   frame 11: Plugins::CastBridge::Queries::statusQuery (/usr/local/slimserver/Slim/Control/Request.pm line 1883)
   frame 12: (eval) (/usr/local/slimserver/Slim/Control/Request.pm line 1883)
   frame 13: Slim::Control::Request::execute (/usr/local/slimserver/Slim/Control/Request.pm line 2484)
   frame 14: Slim::Control::Request::__autoexecute (/usr/local/slimserver/Slim/Utils/Timers.pm line 266)
   frame 15: (eval) (/usr/local/slimserver/Slim/Utils/Timers.pm line 266)
   frame 16: Slim::Utils::Timers::__ANON__ (/usr/local/slimserver/Slim/Networking/IO/Select.pm line 168)
   frame 17: (eval) (/usr/local/slimserver/Slim/Networking/IO/Select.pm line 168)
   frame 18: Slim::Networking::IO::Select::loop (/usr/local/slimserver/slimserver.pl line 740)
   frame 19: main::idleStreams (/usr/local/slimserver/Slim/Control/Queries.pm line 779)
   frame 20: Slim::Control::Queries::albumsQuery (/usr/local/slimserver/Slim/Control/Request.pm line 1883)
   frame 21: (eval) (/usr/local/slimserver/Slim/Control/Request.pm line 1883)
   frame 22: Slim::Control::Request::execute (/usr/local/slimserver/Slim/Web/JSONRPC.pm line 451)
   frame 23: Slim::Web::JSONRPC::requestMethod (/usr/local/slimserver/Slim/Web/JSONRPC.pm line 255)
   frame 24: (eval) (/usr/local/slimserver/Slim/Web/JSONRPC.pm line 255)
   frame 25: Slim::Web::JSONRPC::handleURI (/usr/local/slimserver/Slim/Web/HTTP.pm line 468)
   frame 26: Slim::Web::HTTP::processHTTP (/usr/local/slimserver/Slim/Networking/IO/Select.pm line 123)
   frame 27: (eval) (/usr/local/slimserver/Slim/Networking/IO/Select.pm line 119)
   frame 28: Slim::Networking::IO::Select::__ANON__ (/usr/local/slimserver/Slim/Networking/IO/Select.pm line 168)
   frame 29: (eval) (/usr/local/slimserver/Slim/Networking/IO/Select.pm line 168)
   frame 30: Slim::Networking::IO::Select::loop (/usr/local/slimserver/slimserver.pl line 727)
   frame 31: main::idle (/usr/local/slimserver/slimserver.pl line 677)
   frame 32: main::main (/usr/local/slimserver/slimserver.pl line 1210)

[20-02-04 12:37:56.9284] Slim::Control::Request::execute (1888) Error: While trying to run function coderef [Plugins::CastBridge::Queries::statusQuery]: [Carp::Clan::__ANON__(): Carp::Clan::__ANON__(): DBI Exception: DBD::SQLite::st execute failed: database is locked [for Statement "UPDATE metainformation SET value = ? WHERE ( name = ? )" with ParamValues: 1=0, 2='isScanning'] at /usr/local/slimserver/Slim/Schema/Storage.pm line 126
]
[20-02-04 21:20:15.9083] Slim::Web::JSONRPC::requestMethod (486) 10:7b:44:50:4f:d7: request not dispatchable!
[20-02-04 21:20:15.9598] Slim::Web::JSONRPC::requestMethod (486) 10:7b:44:50:4f:d7: request not dispatchable!