Page 1 of 1

Library Scan hangs

PostPosted: Thu Dec 20, 2012 10:13 am
by xefil
Hello!

I've updated to version 0.7.16b some days ago. All well. Today I've tried to launch a library index scan (FULL) and it hangs at the end. I've tried this 3 times but nothing new. How can I debug it or delete pending processes or whatever? I've started the daemon too.

Thank's,

Simon

Re: Library Scan hangs

PostPosted: Thu Dec 20, 2012 10:24 am
by hakko
Can you check the About view? It gives the path to two log files, subsonic.log and musiccabinet.log. If you send those two files (musiccabinet.log in particular), I'll be happy to have a look.

musiccabinet@dilerium.se or PM

Re: Library Scan hangs

PostPosted: Thu Dec 20, 2012 10:53 am
by xefil
After near 20 minutes of inactivity it was completed succesfully. On the log I can notice the following:

Code: Select all
[2012-12-20 11:02:53] DEBUG LibraryUpdateService - Starting last.fm update.
[2012-12-20 11:02:53] DEBUG UserRecommendedArtistsService - allowed: false, successful: false, errorCode: 0, errorMessage: null, errorRecoverable: false, re
sponseBody: null
[2012-12-20 11:02:53] DEBUG UserRecommendedArtistsService - allowed: false, successful: false, errorCode: 0, errorMessage: null, errorRecoverable: false, re
sponseBody: null
[2012-12-20 11:17:53] WARN AbstractWSClient - Couldn't invoke type: ARTIST_GET_TOP_TRACKS, artist SOOPASOUL Feat. DIONNE CHARLES, response: allowed: true, s
uccessful: false, errorCode: 503, errorMessage: Temp Unavailable, errorRecoverable: true, responseBody: null
[2012-12-20 11:18:09] INFO LibraryUpdateService - 16 artist relations.
[2012-12-20 11:18:09] INFO LibraryUpdateService - 16 artist top tracks.
[2012-12-20 11:18:09] INFO LibraryUpdateService - 16 artist tags.
[2012-12-20 11:18:09] INFO LibraryUpdateService - 16 artist biographies.
[2012-12-20 11:18:09] INFO LibraryUpdateService - 15 album descriptions.
[2012-12-20 11:18:09] INFO LibraryUpdateService - 0 tag descriptions.
[2012-12-20 11:18:09] INFO LibraryUpdateService - 1 weekly group artist charts.
[2012-12-20 11:18:09] INFO LibraryUpdateService - 0 tag top artists.
[2012-12-20 11:18:09] INFO LibraryUpdateService - 8 user top artist periods.
[2012-12-20 11:18:09] INFO LibraryUpdateService - 2 user recommended artists.
[2012-12-20 11:18:09] INFO LibraryUpdateService - -1 scrobbled tracks statistics.
[2012-12-20 11:18:09] INFO LibraryUpdateService - In total, 90 last.fm operations done in 916 sec.
[2012-12-20 11:18:09] INFO PlaylistGeneratorService - Creating materialized view took 0 sec.
[2012-12-20 11:18:09] INFO LibraryUpdateService - Finishing library update.


You can see the time gap between 11:02:53 and 11:17:53 with related error.

Simon

Re: Library Scan hangs

PostPosted: Thu Dec 20, 2012 11:32 am
by hakko
Ah OK, that's not an error. When last.fm doesn't reply to requests, lookups are paused for five minutes and tried again three times before giving up. So in this case the import pauses for fifteen minutes.

Re: Library Scan hangs

PostPosted: Thu Dec 20, 2012 11:38 am
by xefil
hakko wrote:Ah OK, that's not an error. When last.fm doesn't reply to requests, lookups are paused for five minutes and tried again three times before giving up. So in this case the import pauses for fifteen minutes.


Well. I've still added a new album in APE format. I cannot find it on the library. Is this because LastFM is not anwerring me or 'cause the format is not recognized?

Simon

Re: Library Scan hangs

PostPosted: Thu Dec 20, 2012 12:00 pm
by hakko
You can add music and access it even if last.fm is down. Rules for recognized audio: viewtopic.php?f=11&t=11018

Re: Library Scan hangs

PostPosted: Thu Dec 20, 2012 3:23 pm
by xefil
Very well! Files converted, all ok!

Thank you!

Simon