After doing a "Clear library and scan everything", the situation is
back, more or less, to normal (album sorting is screwy). There are no
additional messages in the scan log.
Your music library contains 4314 albums with 52620 songs by 5704
artists
Perhaps a glutton for punishment, I prepared a dozen albums while the
clear and full scan was in progress and added them to my music
directory after it was completed. This time when I attempted a "Look
for new and changed music", the system said that it was scanning but
appeared to do nothing. The additional albums do not show up, and
there are no messages in the scan log file. I browsed to one of the
new albums via "Music Folder" and found that it was there and
playable. Once I played it, it became available to the database.
(Actually, this not found new music becomes available as soon as I
browse to it.)
After vising a couple of the new albums and seeing them added to the
database, I tried repeating the "Look for new and changed music" scan.
This time, the scan appeared to progress more normally. However after
it finished, and I went to the squeezecenter home, I saw no library
statistics displayed. When I tried to browse to albums, I found the
server unresponsive.
This time I checked the scan log to find it flooded with errors:
***** Begin log file for this scan
[08-04-01 21:19:21.2377] Slim::Utils::SQLHelper::executeSQLFile (85)
Error: Couldn't execute SQL statement: [OPTIMIZE TABLE tracks;] :
[DBD::mysql::db do failed: Lost connection to MySQL server during query
at /usr/share/perl5/Slim/Utils/SQLHelper.pm line 83, <$fh> line 36.
]
[08-04-01 21:19:21.2382] Slim::Utils::SQLHelper::executeSQLFile (85)
Error: Couldn't execute SQL statement: [OPTIMIZE TABLE playlist_track;]
: [DBD::mysql::db do failed: MySQL server has gone away at
/usr/share/perl5/Slim/Utils/SQLHelper.pm line 83, <$fh> line 36.
]
[08-04-01 21:19:21.2384] Slim::Utils::SQLHelper::executeSQLFile (85)
Error: Couldn't execute SQL statement: [OPTIMIZE TABLE albums;] :
[DBD::mysql::db do failed: MySQL server has gone away at
/usr/share/perl5/Slim/Utils/SQLHelper.pm line 83, <$fh> line 36.
]
[08-04-01 21:19:21.2387] Slim::Utils::SQLHelper::executeSQLFile (85)
Error: Couldn't execute SQL statement: [OPTIMIZE TABLE years;] :
[DBD::mysql::db do failed: MySQL server has gone away at
/usr/share/perl5/Slim/Utils/SQLHelper.pm line 83, <$fh> line 36.
]
[08-04-01 21:19:21.2389] Slim::Utils::SQLHelper::executeSQLFile (85)
Error: Couldn't execute SQL statement: [OPTIMIZE TABLE contributors;] :
[DBD::mysql::db do failed: MySQL server has gone away at
/usr/share/perl5/Slim/Utils/SQLHelper.pm line 83, <$fh> line 36.
]
[08-04-01 21:19:21.2392] Slim::Utils::SQLHelper::executeSQLFile (85)
Error: Couldn't execute SQL statement: [OPTIMIZE TABLE
contributor_track;] : [DBD::mysql::db do failed: MySQL server has gone
away at /usr/share/perl5/Slim/Utils/SQLHelper.pm line 83, <$fh> line
36.
]
[08-04-01 21:19:21.2394] Slim::Utils::SQLHelper::executeSQLFile (85)
Error: Couldn't execute SQL statement: [OPTIMIZE TABLE
contributor_album;] : [DBD::mysql::db do failed: MySQL server has gone
away at /usr/share/perl5/Slim/Utils/SQLHelper.pm line 83, <$fh> line
36.
]
[08-04-01 21:19:21.2397] Slim::Utils::SQLHelper::executeSQLFile (85)
Error: Couldn't execute SQL statement: [OPTIMIZE TABLE genres;] :
[DBD::mysql::db do failed: MySQL server has gone away at
/usr/share/perl5/Slim/Utils/SQLHelper.pm line 83, <$fh> line 36.
]
[08-04-01 21:19:21.2400] Slim::Utils::SQLHelper::executeSQLFile (85)
Error: Couldn't execute SQL statement: [OPTIMIZE TABLE genre_track;] :
[DBD::mysql::db do failed: MySQL server has gone away at
/usr/share/perl5/Slim/Utils/SQLHelper.pm line 83, <$fh> line 36.
]
[08-04-01 21:19:21.2402] Slim::Utils::SQLHelper::executeSQLFile (85)
Error: Couldn't execute SQL statement: [OPTIMIZE TABLE comments;] :
[DBD::mysql::db do failed: MySQL server has gone away at
/usr/share/perl5/Slim/Utils/SQLHelper.pm line 83, <$fh> line 36.
]
[08-04-01 21:19:21.2404] Slim::Utils::SQLHelper::executeSQLFile (85)
Error: Couldn't execute SQL statement: [OPTIMIZE TABLE pluginversion;]
: [DBD::mysql::db do failed: MySQL server has gone away at
/usr/share/perl5/Slim/Utils/SQLHelper.pm line 83, <$fh> line 36.
]
[08-04-01 21:19:21.2407] Slim::Utils::SQLHelper::executeSQLFile (85)
Error: Couldn't execute SQL statement: [OPTIMIZE TABLE
unreadable_tracks;] : [DBD::mysql::db do failed: MySQL server has gone
away at /usr/share/perl5/Slim/Utils/SQLHelper.pm line 83, <$fh> line
36.
]
[08-04-01 21:19:21.2429] Slim::Schema::Storage::throw_exception (70)
Error: DBI Connection failed: DBI
connect('hostname=127.0.0.1;port=9092;database=slimserver','slimserver',...)
failed: Can't connect to MySQL server on '127.0.0.1' (111) at
/usr/share/squeezecenter/CPAN/DBIx/Class/Storage/DBI.pm line 652
[08-04-01 21:19:21.2434] Slim::Schema::Storage::throw_exception (70)
Backtrace:
frame 0: Slim::Utils::Log::logBacktrace
(/usr/share/perl5/Slim/Schema/Storage.pm line 70)
frame 1: Slim::Schema::Storage::throw_exception
(/usr/share/squeezecenter/CPAN/DBIx/Class/Storage/DBI.pm line 658)
frame 2: DBIx::Class::Storage::DBI::_connect
(/usr/share/squeezecenter/CPAN/DBIx/Class/Storage/DBI.pm line 616)
frame 3: DBIx::Class::Storage::DBI::_populate_dbh
(/usr/share/squeezecenter/CPAN/DBIx/Class/Storage/DBI.pm line 543)
frame 4: DBIx::Class::Storage::DBI::ensure_connected
(/usr/share/perl5/Slim/Schema/Storage.pm line 29)
frame 5: (eval) (/usr/share/perl5/Slim/Schema/Storage.pm line 29)
frame 6: Slim::Schema::Storage::dbh
(/usr/share/squeezecenter/CPAN/DBIx/Class/Storage/DBI.pm line 694)
frame 7: DBIx::Class::Storage::DBI::txn_commit
(/usr/share/squeezecenter/CPAN/DBIx/Class/Schema.pm line 497)
frame 8: DBIx::Class::Schema::txn_commit
(/usr/share/squeezecenter/CPAN/DBIx/Class/Schema.pm line 586)
frame 9: (eval) (/usr/share/squeezecenter/CPAN/DBIx/Class/Schema.pm
line 572)
frame 10: DBIx::Class::Schema::txn_do
(/usr/share/perl5/Slim/Schema.pm line 346)
frame 11: (eval) (/usr/share/perl5/Slim/Schema.pm line 340)
frame 12: Slim::Schema::optimizeDB
(/usr/share/perl5/Slim/Music/Import.pm line 383)
frame 13: Slim::Music::Import::runScanPostProcessing
(/usr/sbin/squeezecenter-scanner line 216)
frame 14: main::__ANON__
(/usr/share/squeezecenter/CPAN/DBIx/Class/Schema.pm line 584)
frame 15: (eval) (/usr/share/squeezecenter/CPAN/DBIx/Class/Schema.pm
line 572)
frame 16: DBIx::Class::Schema::txn_do
(/usr/sbin/squeezecenter-scanner line 216)
frame 17: (eval) (/usr/sbin/squeezecenter-scanner line 216)
frame 18: main::main (/usr/sbin/squeezecenter-scanner line 345)
[08-04-01 21:19:21.2507] Slim::Schema::Storage::dbh (41) Warning:
Unable to connect to the database - trying to bring it up!
[08-04-01 21:19:28.6495] Slim::Schema::Storage::dbh (49) Warning:
Issuing rollback() for database handle being DESTROY'd without explicit
disconnect() at /usr/share/perl5/Slim/Schema/Storage.pm line 49.
[08-04-01 21:19:28.6660] Slim::Schema::throw_exception (217) Error:
Can't update Slim::Schema::Progress=HASH(0x3739290): row not found
[08-04-01 21:19:28.6665] Slim::Schema::throw_exception (217)
Backtrace:
frame 0: Slim::Utils::Log::logBacktrace
(/usr/share/perl5/Slim/Schema.pm line 217)
frame 1: Slim::Schema::throw_exception
(/usr/share/squeezecenter/CPAN/DBIx/Class/Row.pm line 461)
frame 2: DBIx::Class::Row::throw_exception
(/usr/share/squeezecenter/CPAN/DBIx/Class/Row.pm line 117)
frame 3: DBIx::Class::Row::update
(/usr/share/squeezecenter/CPAN/DBIx/Class/Relationship/CascadeActions.pm
line 30)
frame 4: DBIx::Class::Relationship::CascadeActions::update
(/usr/share/squeezecenter/CPAN/DBIx/Class/InflateColumn.pm line 222)
frame 5: DBIx::Class::InflateColumn::update
(/usr/share/perl5/Slim/Schema/DBI.pm line 35)
frame 6: Slim::Schema::DBI::update
(/usr/share/perl5/Slim/Utils/Progress.pm line 195)
frame 7: Slim::Utils::Progress::final
(/usr/share/perl5/Slim/Schema.pm line 355)
frame 8: Slim::Schema::optimizeDB
(/usr/share/perl5/Slim/Music/Import.pm line 383)
frame 9: Slim::Music::Import::runScanPostProcessing
(/usr/sbin/squeezecenter-scanner line 216)
frame 10: main::__ANON__
(/usr/share/squeezecenter/CPAN/DBIx/Class/Schema.pm line 584)
frame 11: (eval) (/usr/share/squeezecenter/CPAN/DBIx/Class/Schema.pm
line 572)
frame 12: DBIx::Class::Schema::txn_do
(/usr/sbin/squeezecenter-scanner line 216)
frame 13: (eval) (/usr/sbin/squeezecenter-scanner line 216)
frame 14: main::main (/usr/sbin/squeezecenter-scanner line 345)
[08-04-01 21:19:28.6685] DBIx::Class::Storage::DBI::txn_commit (706)
Warning: commit ineffective with AutoCommit enabled at
/usr/share/squeezecenter/CPAN/DBIx/Class/Storage/DBI.pm line 706.
[08-04-01 21:19:28.6688] DBIx::Class::Storage::DBI::txn_commit (706)
Warning: Commmit ineffective while AutoCommit is on at
/usr/share/squeezecenter/CPAN/DBIx/Class/Storage/DBI.pm line 706.
[08-04-01 21:19:28.6692] Slim::Schema::throw_exception (217) Error:
DBD::mysql::db commit failed: Commmit ineffective while AutoCommit is
on at /usr/share/squeezecenter/CPAN/DBIx/Class/Storage/DBI.pm line
706.
[08-04-01 21:19:28.6695] Slim::Schema::throw_exception (217)
Backtrace:
frame 0: Slim::Utils::Log::logBacktrace
(/usr/share/perl5/Slim/Schema.pm line 217)
frame 1: Slim::Schema::throw_exception
(/usr/share/squeezecenter/CPAN/DBIx/Class/Schema.pm line 606)
frame 2: DBIx::Class::Schema::txn_do
(/usr/sbin/squeezecenter-scanner line 216)
frame 3: (eval) (/usr/sbin/squeezecenter-scanner line 216)
frame 4: main::main (/usr/sbin/squeezecenter-scanner line 345)
***** End log file for this scan
--
michaeleroy
------------------------------------------------------------------------
michaeleroy's Profile: http://forums.slimdevices.com/member.php?userid=12379
View this thread: http://forums.slimdevices.com/showthread.php?t=44868
_______________________________________________
unix mailing list
[email protected]
http://lists.slimdevices.com/lists/listinfo/unix