I have a DB error during scanning.
I try to wipe the database and to scan it again, but then I have this error
How can I repair the database ?
Thanks
Code:
[16-02-01 23:03:22.6530] Slim::Schema::Storage::throw_exception (122) Error: DBI Exception: DBD::SQLite::st fetch failed: not an error
database disk image is malformed [for Statement "
SELECT
tracks.url,
tracks.cover,
tracks.coverid,
albums.id AS albumid,
albums.title AS album_title,
albums.artwork AS album_artwork
FROM tracks
JOIN albums ON (tracks.album = albums.id)
WHERE tracks.cover != '0'
AND tracks.coverid IS NOT NULL
AND tracks.cover_cached IS NULL
GROUP BY tracks.cover
"]
[16-02-01 23:03:22.6564] Slim::Schema::Storage::throw_exception (122) Backtrace:
frame 0: Slim::Utils::Log::logBacktrace (/usr/share/perl5/Slim/Schema/Storage.pm line 122)
frame 1: Slim::Schema::Storage::throw_exception (/usr/share/squeezeboxserver/CPAN/DBIx/Class/Storage/DBI.pm line 1007)
frame 2: DBIx::Class::Storage::DBI::__ANON__ (/usr/share/perl5/Slim/Music/Artwork.pm line 663)
frame 3: Slim::Music::Artwork::__ANON__ (/usr/share/perl5/Slim/Music/Artwork.pm line 752)
frame 4: Slim::Music::Artwork::precacheAllArtwork (/usr/share/perl5/Slim/Music/Import.pm line 432)
frame 5: Slim::Music::Import::runScanPostProcessing (/usr/sbin/squeezeboxserver-scanner line 340)
frame 6: (eval) (/usr/sbin/squeezeboxserver-scanner line 340)
frame 7: main::main (/usr/sbin/squeezeboxserver-scanner line 498)
[16-02-01 23:03:22.6599] main::main (344) Error: Failed when running scan post-process: [Carp::Clan::__ANON__(): DBI Exception: DBD::SQLite::st fetch failed: not an error
database disk image is malformed [for Statement "
SELECT
tracks.url,
tracks.cover,
tracks.coverid,
albums.id AS albumid,
albums.title AS album_title,
albums.artwork AS album_artwork
FROM tracks
JOIN albums ON (tracks.album = albums.id)
WHERE tracks.cover != '0'
AND tracks.coverid IS NOT NULL
AND tracks.cover_cached IS NULL
GROUP BY tracks.cover
"] at /usr/share/perl5/Slim/Schema/Storage.pm line 126
]
[16-02-01 23:03:22.6616] main::main (345) Error: Not updating lastRescanTime!Code:
[16-02-01 23:24:28.1019] main::init (384) Starting Logitech Media Server (v7.9.0, 1454098279, Sun Jan 31 04:37:37 UTC 2016) perl 5.020002
[16-02-01 23:26:35.2745] Slim::Control::Request::execute (1888) Error: While trying to run function coderef [Slim::Control::Commands::wipecacheCommand]: [Modification of non-creatable hash value attempted, subscript "text" at /usr/share/squeezeboxserver/CPAN/Data/Dump.pm line 265.
]Thanks