Today my system (7.9) has decided to rescan automatically, several times, for no apparent reason - I was not even playing anything, just getting ready to do so. I see nothing at the start of this on the log. However, when the scan finishes and custom-scan and other plugins get in on the act I get 'database locked' warnings like the one below. There is no hint of a cause of the initial rescan. I don't know if the 'database is locked' error is a server issue or a plugin issue.
I've not seen anything like this before. I've only updated one plugin recently (squeeze2upnp) and I switched that off, but that didn't help.
How can I diagnose this?
I have also seen some strange network errors such as:
and
and
I've not seen anything like this before. I've only updated one plugin recently (squeeze2upnp) and I switched that off, but that didn't help.
How can I diagnose this?
Code:
[16-06-01 17:35:40.4392] Plugins::MultiLibrary::Plugin::refreshLibraries (1072) MultiLibrary: Ignore refresh while scanning is in progress
[16-06-01 17:35:40.5182] Plugins::TrackStat::Storage::refreshTracks (1231) TrackStat: Ignore refresh while scanning is in progress
[16-06-01 17:36:16.9977] Slim::Schema::Storage::throw_exception (122) Error: DBI Exception: DBD::SQLite::st execute failed: database is locked [for Statement "DROP TABLE customscan_track_attributes"]
[16-06-01 17:36:16.9988] 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 1007)
frame 2: DBIx::Class::Storage::DBI::__ANON__ (/var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/CustomScan/Scanner.pm line 1374)
frame 3: (eval) (/var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/CustomScan/Scanner.pm line 1357)
frame 4: Plugins::CustomScan::Scanner::initTrackScan (/var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/CustomScan/Scanner.pm line 1760)
frame 5: Plugins::CustomScan::Scanner::exitScanAlbum (/usr/share/perl5/Slim/Utils/Scheduler.pm line 156)
frame 6: (eval) (/usr/share/perl5/Slim/Utils/Scheduler.pm line 156)
frame 7: Slim::Utils::Scheduler::run_tasks (/usr/sbin/squeezeboxserver line 712)
frame 8: main::idle (/usr/sbin/squeezeboxserver line 677)
frame 9: main::main (/usr/sbin/squeezeboxserver line 1213)
[16-06-01 17:36:16.9999] Plugins::CustomScan::Scanner::initTrackScan (1391) Database error: database is locked
[16-06-01 17:36:33.7569] Plugins::CustomScan::Scanner::initDatabase (96) CustomScan: Creating database tables
Code:
Slim::Utils::Timers::__ANON__ (273) Error: Timer Slim::Networking::Async::_async_error failed: illegal file descriptor or filehandle (either no attached file descriptor or illegal value): at /usr/share/perl5/Slim/Networking/IO/Select.pm line 134.
Code:
Slim::Networking::IO::Select::__ANON__ (131) Error: Select task failed calling Slim::Networking::Async::HTTP::_http_read_body: illegal file descriptor or filehandle (either no attached file descriptor or illegal value): at /usr/share/perl5/Slim/Networking/IO/Select.pm line 134.
; fh=Slim::Networking::Async::Socket::HTTP=GLOB(0x15a4a0e0)
Code:
Slim::Networking::IO::Select::__ANON__ (131) Error: Select task failed calling Slim::Web::HTTP::processHTTP: Can't call method "url" on an undefined value at /usr/share/perl5/Slim/Web/Pages/Trackinfo.pm line 33.
; fh=Slim::Web::HTTP::ClientConn=GLOB(0xf958688)