Otto-Wilhelm wrote: > I have a problem on one of my LMS installations: The music file scan > stops more or less immediately after having it started. Apparently a > database file got corrupted. In the log I find the following: > > [19-08-05 15:59:18.0417] main::main (205) Starting Logitech > Media Server scanner (v7.9.2, 1564788734, Sat Aug 3 01:38:17 WEDT 2019) > perl 5.014001 > [19-08-05 15:59:18.1900] Slim::Schema::forceCommit (2144) Warning: > Trying to commit transactions before DB is initialized! > [19-08-05 15:59:18.7768] Slim::Music::Import::runImporter (511) Starting > Slim::Media::MediaFolderScan scan > [19-08-05 15:59:18.7775] Slim::Utils::Scanner::Local::rescan (181) > Discovering audio files in Y:\M > [19-08-05 15:59:18.7809] Slim::Schema::Storage::throw_exception (122) > Error: DBI Exception: DBD::SQLite::db do failed: database disk image is > malformed > [19-08-05 15:59:18.7816] Slim::Schema::Storage::throw_exception (122) > Backtrace: > > frame 0: Slim::Utils::Log::logBacktrace (/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/Utils/Scanner/Local.pm line 64) > frame 3: Slim::Utils::Scanner::Local::find > (/Slim/Utils/Scanner/Local.pm line 563) > frame 4: Slim::Utils::Scanner::Local::rescan > (/Slim/Media/MediaFolderScan.pm line 67) > frame 5: Slim::Media::MediaFolderScan::startScan > (/Slim/Music/Import.pm line 513) > frame 6: Slim::Music::Import::runImporter (/Slim/Music/Import.pm line > 359) > frame 7: Slim::Music::Import::runScan (scanner.pl line 326) > frame 8: (eval) (scanner.pl line 320) > frame 9: main::main (scanner.pl line 495) > > [19-08-05 15:59:18.7833] main::main (331) Error: Failed when running > main scan: [Carp::Clan::__ANON__(): DBI Exception: DBD::SQLite::db do > failed: database disk image is malformed at /Slim/Schema/Storage.pm line > 126 > ] > [19-08-05 15:59:18.7836] main::main (332) Error: Skipping post-process & > Not updating lastRescanTime! > > Is there an easy way to resolve this? Thank you in advance for your > help.
Stop LMS Inside your cache folder rename library.db to library.db.OLD (just in case) Start LMS and perform a clear and rescan VB2.4[/B] STORAGE *QNAP TS419P (NFS) [B]Living Room* - Joggler & SB3 -> Onkyo TS606 -> Celestion F20s *Office* - Pi3+Sreen -> Sony TAFE320 -> Celestion F10s / Pi2+DAC & SB3 -> Onkyo CRN755 -> Wharfedale Modus Cubes *Dining Room* -> SB Boom *Kitchen* -> UE Radio (upgraded to SB Radio) *Bedroom (Bedside)* - Pi2+DAC ->ToppingTP21 ->AKG Headphones *Bedroom (TV)* - SB Touch ->Sherwood AVR ->Mordaunt Short M10s Everything controlled by iPeng ------------------------------------------------------------------------ d6jg's Profile: http://forums.slimdevices.com/member.php?userid=44051 View this thread: http://forums.slimdevices.com/showthread.php?t=110822 _______________________________________________ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter