Quantcast
Channel: Squeezebox : Community : Forums - Logitech Media Server
Viewing all articles
Browse latest Browse all 5300

DBI Exception: DBD::SQLite::st execute failed: database disk image is malformed

$
0
0
Found the server in an odd state today - players couldn't connect and the UI said it was still scanning after many hours. The server (windows) had crashed although not at a library rescan time.

The server log has many of these:

[19-03-29 20:00:24.7020] Slim::Schema::Storage::throw_exception (122) Backtrace:

frame 0: Slim::Utils::Log::logBacktrace (/[19-03-29 20:00:24.3323] Slim::Control::Request::execute (1888) Error: While trying to run function coderef [Slim::Control::Queries::serverstatusQuery]: [Carp::Clan::__ANON__(): DBI Exception: DBD::SQLite::st execute failed: database disk image is malformed [for Statement "SELECT SUM(secs) FROM tracks WHERE tracks.audio=1"] at /Slim/Schema/Storage.pm line 126
[19-03-29 20:00:24.3339] Slim::Web::JSONRPC::requestMethod (456) Request failed with error: Bad dispatch!
[19-03-29 20:00:24.7003] Slim::Schema::Storage::throw_exception (122) Error: DBI Exception: DBD::SQLite::st execute failed: database disk image is malformed [for Statement "SELECT SUM(secs) FROM tracks WHERE tracks.audio=1"]
Slim/Schema/Storage.pm line 122)
frame 1: Slim::Schema::Storage::throw_exception (/DBIx/Class/Storage/DBI.pm line 1006)
frame 2: DBIx::Class::Storage::DBI::__ANON__ (/Slim/Schema.pm line 1969)
frame 3: Slim::Schema::totalTime (/Slim/Control/Queries.pm line 3258)
frame 4: Slim::Control::Queries::serverstatusQuery (/Slim/Control/Request.pm line 1883)
frame 5: (eval) (/Slim/Control/Request.pm line 1883)
frame 6: Slim::Control::Request::execute (/Slim/Web/JSONRPC.pm line 451)
frame 7: Slim::Web::JSONRPC::requestMethod (/Slim/Web/JSONRPC.pm line 255)
frame 8: (eval) (/Slim/Web/JSONRPC.pm line 255)
frame 9: Slim::Web::JSONRPC::handleURI (/Slim/Web/HTTP.pm line 468)
frame 10: Slim::Web::HTTP::processHTTP (/Slim/Networking/IO/Select.pm line 123)
frame 11: (eval) (/Slim/Networking/IO/Select.pm line 119)
frame 12: Slim::Networking::IO::Select::__ANON__ (/Slim/Networking/IO/Select.pm line 168)
frame 13: (eval) (/Slim/Networking/IO/Select.pm line 168)
frame 14: Slim::Networking::IO::Select::loop (slimserver.pl line 727)
frame 15: main::idle (slimserver.pl line 677)
frame 16: main::main (slimserver.pl line 131)
frame 17: PerlSvc::Interactive (/PerlSvc.pm line 99)
frame 18: PerlSvc::_interactive (slimserver.pl line 0)
frame 19: (eval) (slimserver.pl line 0)


So I tried clearing the library for a complete rescan, but the log shows the same error.

What now?

Viewing all articles
Browse latest Browse all 5300

Trending Articles