Music scan appears to be hung

Artist radio, genre radio & related artists. A Subsonic server for music nerds.

Moderator: moderators

Music scan appears to be hung

Postby killermojo » Tue Feb 12, 2013 11:55 pm

Would love to get this working, but the media scan does not seem to be working! My setup:

Ubuntu Server 12.04
Standalone Subsonic 4.7 install at /var/srv/subsonic/
Applied latest version of standalone music cabinet
Installed Java 7
Installed postgresql 9.1
Signed into last.fm
Started music scan

The music scan then hangs here:

Progress:

directories found during search [not started]
0 new files read for meta-data
artist relations [not started]
artist top tracks [not started]
artist tags [not started]
artist biographies [not started]
album descriptions [not started]
tag descriptions [not started]
weekly group artist charts [not started]
tag top artists [not started]
user top artist periods [not started]
user recommended artists [not started]
scrobbled tracks statistics [not started]

Any ideas??
killermojo
 
Posts: 5
Joined: Tue Feb 12, 2013 11:50 pm

Re: Music scan appears to be hung

Postby shadow.8 » Wed Feb 13, 2013 12:05 am

Anything in /var/srv/subsonic/subsonic_sh.log ?
676 artists
2,348 albums
26,738 songs
276.51 GB (~ 1,993 hours)
User avatar
shadow.8
 
Posts: 110
Joined: Wed Sep 26, 2012 12:12 am

Re: Music scan appears to be hung

Postby killermojo » Wed Feb 13, 2013 12:14 am

Hmm good idea. Here's what I see on the last few lines. The GC lines are incrementing, but checking the postgresql db and nothing is being inserted..:

013-02-12 17:12:36.909:INFO:/:Initializing Spring FrameworkServlet 'subsonic'
[GC 46785K->20445K(141376K), 0.0081580 secs]
[GC 47581K->20233K(131904K), 0.0068070 secs]
[GC 47369K->20683K(140352K), 0.0033580 secs]
[GC 46155K->21099K(128448K), 0.0022530 secs]
[GC 46571K->21718K(140160K), 0.0019130 secs]
2013-02-12 17:12:37.835:INFO:oejs.AbstractConnector:Started SelectChannelConnector@0.0.0.0:4040
Subsonic running on: http://localhost:4040/
[GC 38016K->25969K(140288K), 0.0043380 secs]
[Full GC 25969K->20737K(140288K), 0.0895260 secs]
Load user admin
[GC 45313K->24826K(138432K), 0.0074610 secs]
[GC 50106K->29757K(139712K), 0.0068710 secs]
[GC 55031K->34577K(140672K), 0.0109690 secs]
[GC 61585K->34924K(141056K), 0.0126700 secs]
killermojo
 
Posts: 5
Joined: Tue Feb 12, 2013 11:50 pm

Re: Music scan appears to be hung

Postby shadow.8 » Wed Feb 13, 2013 12:32 am

Seems to be working. How big is your music collection? How long has it been running? It will take some time the first time. What happens when you press the refresh button on the bottom of the frame?
676 artists
2,348 albums
26,738 songs
276.51 GB (~ 1,993 hours)
User avatar
shadow.8
 
Posts: 110
Joined: Wed Sep 26, 2012 12:12 am

Re: Music scan appears to be hung

Postby hakko » Wed Feb 13, 2013 6:45 am

Also check the musiccabinet.log. Location is found from the About view.

Note that log files are overwritten when you restart the service, so you have to check them when the error occurs.
MusicCabinet developer
hakko
 
Posts: 1416
Joined: Tue Apr 17, 2012 7:05 pm
Location: Sweden

Re: Music scan appears to be hung

Postby killermojo » Thu Feb 14, 2013 8:34 pm

I let it run overnight... Everything still reads not started. Forgot to grab the log before restarting the serv, but this is what musiccabinet.log looks like after attempting another scan:

[2013-02-14 13:27:39] INFO PlaylistGeneratorService - MusicCabinet playlist service started at Thu Feb 14 13:27:39 MST 2013.
[2013-02-14 13:27:40] DEBUG DatabaseAdministrationService - databaseUpdated = true
[2013-02-14 13:27:40] DEBUG DatabaseAdministrationService - databaseCreated = true
[2013-02-14 13:27:40] DEBUG PlaylistGeneratorService - allowed radio song length interval (45, 600)
[2013-02-14 13:31:44] DEBUG PlaylistGeneratorService - allowed radio song length interval (45, 600)
[2013-02-14 13:31:44] INFO LibraryUpdateService - Starting library update. Scan [/var/srv/subsonic/Library], offline = false
[2013-02-14 13:31:46] DEBUG PlaylistGeneratorService - allowed radio song length interval (45, 600)
[2013-02-14 13:31:54] DEBUG PlaylistGeneratorService - allowed radio song length interval (45, 600)
[2013-02-14 13:31:55] DEBUG PlaylistGeneratorService - allowed radio song length interval (45, 600)

Library is a symlink to my music store.
killermojo
 
Posts: 5
Joined: Tue Feb 12, 2013 11:50 pm

Re: Music scan appears to be hung

Postby killermojo » Thu Feb 14, 2013 9:10 pm

Okay, I tried running it with the default directory (/var/subsonic/) and it's working fine now.
killermojo
 
Posts: 5
Joined: Tue Feb 12, 2013 11:50 pm

Re: Music scan appears to be hung

Postby efang » Fri Mar 15, 2013 9:26 pm

Hi, I'm having the same issue, and my library is also symlinked. I'm not completely understanding your solution. You just removed the symlink?
efang
 
Posts: 1
Joined: Fri Mar 15, 2013 9:25 pm


Return to MusicCabinet

Who is online

Users browsing this forum: No registered users and 10 guests