>I've enabled this in 7.6 and it appears to work OK.  Please test this
>out and report any problems with locking error messages.
>
Same problems for me.  Updated to 7.6/trunk SVN 31285 and started server.  SBS 
decided to do an automatic scan, without telling me.  Settings > Information 
offers no information about the scan, other than providing an "Abort Scan" 
option, although the scanner long since died.

Looking in the scanner log, I see:

[22:42:34.7343] Slim::Utils::OS::Win32::setPriority (644) Squeezebox Server 
changing process priority to NORMAL
[22:42:34.7357] main::main (225) Squeezebox Server SQL init...
[22:42:34.8920] Slim::Utils::SQLiteHelper::updateProgress (424) Notify to 
server: ["unlock"]
[22:42:35.7500] Slim::Utils::SQLiteHelper::updateProgress (440) Notify to 
server failed: 401 Unauthorized
[22:42:35.7509] main::main (252) Cache init...
[22:43:06.1093] Slim::Schema::Storage::throw_exception (119) Error: DBI 
Exception: DBD::SQLite::db do failed: database is locked [for Statement "PRAGMA 
synchronous = OFF"]
[22:43:06.1102] 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 529)

[22:43:06.1127] 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
[22:43:06.1137] 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 529)

[22:43:06.1157] 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
[22:43:06.1166] Slim::bootstrap::theEND (442) Got to the END
[22:43:06.1173] Slim::bootstrap::sigint (406) Got sigint
[22:43:06.1180] Slim::Schema::forceCommit (2075) Warning: Trying to commit 
transactions before DB is initialized!
[22:43:06.1207] Slim::Utils::SQLiteHelper::updateProgress (424) Notify to 
server: ["exit"]
[22:43:06.1743] Slim::Utils::SQLiteHelper::updateProgress (440) Notify to 
server failed: 401 Unauthorized

Phil
_______________________________________________
beta mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/beta

Reply via email to