>After you've done this, stop the server and check your Windows >processes to make sure the external scanner isn't running (kill it if >necessary). With the server stopped, delete the SQLite .db files in >your cache, since scanning progress is kept in the database itself. If >it's wrong it will cause problems. When you start back up I believe SbS >should launch the external scanner to build the database from scratch. > I just tried this.
Upon restart, there's no indication (eg. in the status message area of the WebUI) that an auto-rescan has been started. However, if I go into Settings the Rescan Music Library setting is disabled. On Information tab, the Music Scan Details has a single "Abort" option (no progress indicated). The scanner log contains: [20:05:07.1638] Slim::Utils::SQLiteHelper::updateProgress (401) Notify to server: ["unlock"] [20:05:07.6406] Slim::Utils::SQLiteHelper::updateProgress (416) Notify to server failed: 401 Unauthorized [20:05:07.6414] main::main (252) Cache init... [20:05:39.8125] Slim::Schema::Storage::throw_exception (119) Error: DBI Exception: DBD::SQLite::db do failed: database is locked [for Statement "PRAGMA synchronous = OFF"] [20:05:39.8137] Slim::Schema::Storage::throw_exception (119) Backtrace: frame 0: Slim::Utils::Log::logBacktrace (P:/Music/SlimServer/Beta/server/Slim/Schema/Storage.pm line 119) frame 1: Slim::Schema::Storage::throw_exception (P:\Music\SlimServer\Beta\server\CPAN/DBIx/Class/Storage/DBI.pm line 1006) frame 2: DBIx::Class::Storage::DBI::__ANON__ (P:\Music\SlimServer\Beta\server\CPAN/DBIx/Class/Storage/DBI.pm line 974) frame 3: DBIx::Class::Storage::DBI::_do_query (P:\Music\SlimServer\Beta\server\CPAN/DBIx/Class/Storage/DBI.pm line 945) frame 4: DBIx::Class::Storage::DBI::connect_call_do_sql (P:\Music\SlimServer\Beta\server\CPAN/DBIx/Class/Storage/DBI.pm line 927) frame 5: DBIx::Class::Storage::DBI::_do_connection_actions (P:\Music\SlimServer\Beta\server\CPAN/DBIx/Class/Storage/DBI.pm line 934) frame 6: DBIx::Class::Storage::DBI::_do_connection_actions (P:\Music\SlimServer\Beta\server\CPAN/DBIx/Class/Storage/DBI.pm line 874) frame 7: DBIx::Class::Storage::DBI::_run_connection_actions (P:\Music\SlimServer\Beta\server\CPAN/DBIx/Class/Storage/DBI.pm line 864) frame 8: DBIx::Class::Storage::DBI::_populate_dbh (P:\Music\SlimServer\Beta\server\CPAN/DBIx/Class/Storage/DBI.pm line 789) frame 9: DBIx::Class::Storage::DBI::ensure_connected (P:/Music/SlimServer/Beta/server/Slim/Schema/Storage.pm line 43) frame 10: (eval) (P:/Music/SlimServer/Beta/server/Slim/Schema/Storage.pm line 43) frame 11: Slim::Schema::Storage::dbh (P:/Music/SlimServer/Beta/server/Slim/Schema.pm line 301) frame 12: Slim::Schema::_connect (P:/Music/SlimServer/Beta/server/Slim/Schema.pm line 132) frame 13: Slim::Schema::init (P:/Music/SlimServer/Beta/server/Slim/Music/Import.pm line 646) frame 14: Slim::Music::Import::_checkLibraryStatus (P:/Music/SlimServer/Beta/server/Slim/Music/Import.pm line 584) frame 15: Slim::Music::Import::useImporter (P:/Music/SlimServer/Beta/server/Slim/Music/PlaylistFolderScan.pm line 53) frame 16: Slim::Music::PlaylistFolderScan::init (P:/Music/SlimServer/Beta/server/scanner.pl line 262) frame 17: main::main (P:/Music/SlimServer/Beta/server/scanner.pl line 528) [20:05:39.8163] Slim::Schema::Storage::throw_exception (119) Error: Carp::Clan::__ANON__(): DBI Exception: DBD::SQLite::db do failed: database is locked [for Statement "PRAGMA synchronous = OFF"] at P:/Music/SlimServer/Beta/server/Slim/Schema/Storage.pm line 123 [20:05:39.8173] Slim::Schema::Storage::throw_exception (119) Backtrace: frame 0: Slim::Utils::Log::logBacktrace (P:/Music/SlimServer/Beta/server/Slim/Schema/Storage.pm line 119) frame 1: Slim::Schema::Storage::throw_exception (P:/Music/SlimServer/Beta/server/Slim/Schema/Storage.pm line 47) frame 2: Slim::Schema::Storage::dbh (P:/Music/SlimServer/Beta/server/Slim/Schema.pm line 301) frame 3: Slim::Schema::_connect (P:/Music/SlimServer/Beta/server/Slim/Schema.pm line 132) frame 4: Slim::Schema::init (P:/Music/SlimServer/Beta/server/Slim/Music/Import.pm line 646) frame 5: Slim::Music::Import::_checkLibraryStatus (P:/Music/SlimServer/Beta/server/Slim/Music/Import.pm line 584) frame 6: Slim::Music::Import::useImporter (P:/Music/SlimServer/Beta/server/Slim/Music/PlaylistFolderScan.pm line 53) frame 7: Slim::Music::PlaylistFolderScan::init (P:/Music/SlimServer/Beta/server/scanner.pl line 262) frame 8: main::main (P:/Music/SlimServer/Beta/server/scanner.pl line 528) [20:05:39.8191] Carp::Clan::__ANON__ (214) Warning: Carp::Clan::__ANON__(): Carp::Clan::__ANON__(): DBI Exception: DBD::SQLite::db do failed: database is locked [for Statement "PRAGMA synchronous = OFF"] at P:/Music/SlimServer/Beta/server/Slim/Schema/Storage.pm line 123 [20:05:39.8202] Slim::bootstrap::theEND (442) Got to the END [20:05:39.8210] Slim::bootstrap::sigint (406) Got sigint [20:05:39.8217] Slim::Schema::forceCommit (2073) Warning: Trying to commit transactions before DB is initialized! [20:05:39.8245] Slim::Utils::SQLiteHelper::updateProgress (401) Notify to server: ["exit"] [20:05:39.8850] Slim::Utils::SQLiteHelper::updateProgress (416) Notify to server failed: 401 Unauthorized I remember seeing this last time I tried using 7.6 with SQLite. So, scanning fails, and also fails to indicate the failure in the Settings page. Phil _______________________________________________ beta mailing list beta@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/beta