Now that the 7.6 scanner random crashing seems to be fixed, I've tried a scan
and have some subsequent observations:
1. When 7.6 is started and there's no music library, it starts an implicit
scan, but it doesn't report scan progress in the web UI (used to appear at
bottom of screen).
2. Previously, I had aborted a scan before completion. If I then restart SBS
and it starts its implicit rescan, it reports:
Discovering files (39574 of 39574) Complete 00:02:02
Scanning new files (3599 of 34374) Running 00:16:52
It appears the "Discovering" phase was left over from the previous aborted scan
run?
There was no progress - Scanning new files sat at 3599 files, until I decided
to Abort.
3. I forced a Clean+Rescan, and the scan immediately failed with:
[20:57:35.2006] Slim::Schema::wipeCaches (2024) Wiped all in-memory caches.
[20:57:35.2013] Slim::Schema::wipeDB (391) Start schema_clear
[20:57:35.2411] Slim::Schema::Storage::throw_exception (119) Error: DBI
Exception: DBD::SQLite::db do failed: database disk image is malformed [for
Statement "DELETE FROM tracks;"]
[20:57:35.2419] 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/Slim/Utils/SQLHelper.pm line 83)
frame 3: (eval) (P:/Music/SlimServer/Beta/server/Slim/Utils/SQLHelper.pm
line 83)
frame 4: Slim::Utils::SQLHelper::executeSQLFile
(P:/Music/SlimServer/Beta/server/Slim/Schema.pm line 396)
frame 5: (eval) (P:/Music/SlimServer/Beta/server/Slim/Schema.pm line 395)
frame 6: Slim::Schema::wipeDB
(P:/Music/SlimServer/Beta/server/Slim/Schema.pm line 2037)
frame 7: Slim::Schema::wipeAllData
(P:/Music/SlimServer/Beta/server/scanner.pl line 292)
frame 8: (eval) (P:/Music/SlimServer/Beta/server/scanner.pl line 292)
frame 9: main::main (P:/Music/SlimServer/Beta/server/scanner.pl line 498)
[20:57:35.2437] Slim::Utils::SQLHelper::executeSQLFile (85) Error: Couldn't
execute SQL statement: [DELETE FROM tracks;] : [Carp::Clan::__ANON__(): DBI
Exception: DBD::SQLite::db do failed: database disk image is malformed [for
Statement "DELETE FROM tracks;"] at
P:/Music/SlimServer/Beta/server/Slim/Schema/Storage.pm line 123
4. I stopped the server and manually deleted all cache folder *.db files.
5. The implicit full scan started. Initially it reported:
Discovering files (6049 of 6049) Complete 00:00:14
Scanning new files (2836 of 5401) Running 00:01:09
then it changed to:
Scanning new files (5401 of 5401) Complete 00:02:16
Discovering files (7742 of 7742) Running 00:00:29
What the hell??? I would have thought it would discover all files that need
scanning (~40000), and then start scanning them, but it seems to report a few,
start scanning them, then start discovering again. The time taken to discover
the first chunk (1st phase) is then lost from the progress indication?
Phil
_______________________________________________
beta mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/beta