Subsonic not indexing entire library

Need help? Post your questions here.

Moderator: moderators

Subsonic not indexing entire library

Postby aarobc » Mon Mar 03, 2014 6:58 am

I'm having an issue with subsonic not showing any of the songs for some artists. When it happens It still lists the artist, an even sometimes the albums, but none of the songs. I haven't found any patterns to why it might be happening The artist shows up in the music list, but none of the songs are listed there when you click on an artist.

At first I thought it was a permissions issue, so I made sure to set all the permissions on the directories in the music folder to 755 and songs and files to 644. I rescanned and refreshed the library to no avail.
I wondered that it was a resource issue, so Increased the allocated ram to 3.5 Gigs. Again after a rescan and refresh, even a restart of the server, no luck.
I've checked the logs, there are no errors listed when I go to rescan the library.

I'm pulling my hair out trying to figure this out. This is a fresh install of subsonic, this should work! Is there some sort of other limit I might be running into? Can anyone suggest a possible solution? I've scoured the forums for a solution but I'm not seeing that anyone else has reported this issue.

Subsonic Version: 4.9 (build 3853)
Server Version: jetty-6.1.x, java 1.6.0_30, Linux
Hardware Platform: Ubuntu 12.04.4 LTS, 4 cores (virtualized, KVM)
Java Memory Limit: 3584
aarobc
 
Posts: 7
Joined: Wed Oct 06, 2010 8:13 pm

Re: Subsonic not indexing entire library

Postby aarobc » Thu Mar 06, 2014 6:31 am

Anybody?
aarobc
 
Posts: 7
Joined: Wed Oct 06, 2010 8:13 pm

Re: Subsonic not indexing entire library

Postby spookybathtub » Fri Mar 07, 2014 3:30 pm

644 is good permissions, but who is the owner? Post the output of ls -l in a problem directory.
spookybathtub
 
Posts: 110
Joined: Thu Oct 07, 2010 7:13 am

Re: Subsonic not indexing entire library

Postby alphawave7 » Fri Mar 07, 2014 3:48 pm

spookybathtub wrote:644 is good permissions, but who is the owner? Post the output of ls -l in a problem directory.

Bingo. I seem to recall on my old Ubuntu Saucy setup I couldn't have the media as root. I ended up rebuilding everything under user.

Sent from my Nexus 5 using Tapatalk
alphawave7
 
Posts: 1042
Joined: Thu Feb 11, 2010 9:54 am

Re: Subsonic not indexing entire library

Postby alphawave7 » Fri Mar 07, 2014 3:48 pm

spookybathtub wrote:644 is good permissions, but who is the owner? Post the output of ls -l in a problem directory.

Bingo. I seem to recall on my old Ubuntu Saucy setup I couldn't have the media as root. I ended up rebuilding everything under user.

Sent from my Nexus 5 using Tapatalk
alphawave7
 
Posts: 1042
Joined: Thu Feb 11, 2010 9:54 am

Re: Subsonic not indexing entire library

Postby aarobc » Fri Mar 07, 2014 4:01 pm

Permissions and owners appear to be exactly the same as for artists that are working correctly. Image

Yet in subsonic all i see is this when I select the artist in subsonic:
Image
aarobc
 
Posts: 7
Joined: Wed Oct 06, 2010 8:13 pm

Re: Subsonic not indexing entire library

Postby aarobc » Fri Mar 07, 2014 4:11 pm

Here is an example of the permissions on a working artist. Permissions appear the same:
Image

And album/songs are showing up and working correctly:
Image
aarobc
 
Posts: 7
Joined: Wed Oct 06, 2010 8:13 pm

Re: Subsonic not indexing entire library

Postby spookybathtub » Fri Mar 07, 2014 5:21 pm

Hmm. Try deleting your database file and let it reindex everything. Maybe something is corrupt. Also make sure the database location is writable.
spookybathtub
 
Posts: 110
Joined: Thu Oct 07, 2010 7:13 am

Re: Subsonic not indexing entire library

Postby aarobc » Fri Mar 07, 2014 7:55 pm

spookybathtub wrote:Hmm. Try deleting your database file and let it reindex everything. Maybe something is corrupt. Also make sure the database location is writable.


Won't removing that file also remove all the users as well? There are quite a few users, is there a way to selectively remove just the music database?

I did make sure that the permissions on everything in /var/subsonic/ was writable by the user and owned by the user. I added an album recently to one of the artists that is working and the new album did show up after a scan, so I tend to think that the database isn't the problem.
aarobc
 
Posts: 7
Joined: Wed Oct 06, 2010 8:13 pm

Re: Subsonic not indexing entire library

Postby CasN » Sun Apr 20, 2014 9:25 am

I am encountering the same problem with 4.9, is there a simpel solution apart from removing the DB and starting from scratch?
CasN
 
Posts: 35
Joined: Wed Jan 12, 2011 2:24 pm

Re: Subsonic not indexing entire library

Postby jdoggvt » Wed Apr 30, 2014 9:29 pm

+1 on this. I've added an album to my music directory, made sure it was tagged properly by Picard, but subsonic just will not find it. I've removed it from the music folder, scanned, put it back, scanned again: nothing. I've 'deleted' the media folder via settings, re-added the folder, scanned: nothing. The log isn't helpful either so I can't tell if it's just glossing over the new directory or what's happening. I've checked my permissions against another folder in that same artist directory and they're all the same. These are just regular ol' MP3 files with no strange encoding, bitrate, etc. which play fine in VLC and XBMC. I'm really at a loss.

windows 7 64
subsonic 4.9 (fresh install, no upgrading from previous versions)
jdoggvt
 
Posts: 10
Joined: Thu Oct 04, 2012 6:04 pm

Re: Subsonic not indexing entire library

Postby Jittery Jim » Fri May 02, 2014 2:19 am

Add another user who is having the same issue. I add albums/songs no differently than I have in the past and...nothing. They don't show up at all. Driving me totally f'ing nuts.
Jittery Jim
 
Posts: 14
Joined: Sat Feb 19, 2011 12:13 am

Re: Subsonic not indexing entire library

Postby jdoggvt » Mon May 05, 2014 1:51 pm

Does anyone know of a way to troubleshoot this? The log is pretty useless but if there's a 'debug log' mode that I'm unaware of that might be helpful.
jdoggvt
 
Posts: 10
Joined: Thu Oct 04, 2012 6:04 pm

Re: Subsonic not indexing entire library

Postby jdoggvt » Tue May 06, 2014 1:20 pm

daily bump, this is not a small issue...
jdoggvt
 
Posts: 10
Joined: Thu Oct 04, 2012 6:04 pm

Re: Subsonic not indexing entire library

Postby chickenbits » Tue May 06, 2014 4:04 pm

Another new user here..

I was pulling my hair out. I'm running this on linux. I thought it was a permission issue as well, I've spent the last hour and a half trying to get this new install to pull in the library. I set file permission to 664.. restarted the server checked the group and user permissions. I ended up trying to test by setting everything to 777 and it still won't pull files in.

Edit: I also tried using a symlink and direct to the file.
Edit 2: tested it with directory levels and it doesn't matter 3, 4, 5, 6.. doesn't pull anything in.

Please get this fixed.
chickenbits
 
Posts: 9
Joined: Tue May 06, 2014 4:01 pm

Next

Return to Help

Who is online

Users browsing this forum: No registered users and 20 guests