Page 1 of 2

Subsonic not indexing entire library

PostPosted: Mon Mar 03, 2014 6:58 am
by aarobc
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

Re: Subsonic not indexing entire library

PostPosted: Thu Mar 06, 2014 6:31 am
by aarobc
Anybody?

Re: Subsonic not indexing entire library

PostPosted: Fri Mar 07, 2014 3:30 pm
by spookybathtub
644 is good permissions, but who is the owner? Post the output of ls -l in a problem directory.

Re: Subsonic not indexing entire library

PostPosted: Fri Mar 07, 2014 3:48 pm
by alphawave7
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

Re: Subsonic not indexing entire library

PostPosted: Fri Mar 07, 2014 3:48 pm
by alphawave7
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

Re: Subsonic not indexing entire library

PostPosted: Fri Mar 07, 2014 4:01 pm
by aarobc
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

Re: Subsonic not indexing entire library

PostPosted: Fri Mar 07, 2014 4:11 pm
by aarobc
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

Re: Subsonic not indexing entire library

PostPosted: Fri Mar 07, 2014 5:21 pm
by spookybathtub
Hmm. Try deleting your database file and let it reindex everything. Maybe something is corrupt. Also make sure the database location is writable.

Re: Subsonic not indexing entire library

PostPosted: Fri Mar 07, 2014 7:55 pm
by aarobc
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.

Re: Subsonic not indexing entire library

PostPosted: Sun Apr 20, 2014 9:25 am
by CasN
I am encountering the same problem with 4.9, is there a simpel solution apart from removing the DB and starting from scratch?

Re: Subsonic not indexing entire library

PostPosted: Wed Apr 30, 2014 9:29 pm
by jdoggvt
+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)

Re: Subsonic not indexing entire library

PostPosted: Fri May 02, 2014 2:19 am
by Jittery Jim
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.

Re: Subsonic not indexing entire library

PostPosted: Mon May 05, 2014 1:51 pm
by jdoggvt
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.

Re: Subsonic not indexing entire library

PostPosted: Tue May 06, 2014 1:20 pm
by jdoggvt
daily bump, this is not a small issue...

Re: Subsonic not indexing entire library

PostPosted: Tue May 06, 2014 4:04 pm
by chickenbits
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.