How do I diagnose my problem with Premium Music library?

I have Plex server running on a Synology server. I have quite a large music collection, probably somewhere near 10 000 albums or so.

My issue is that some content never gets indexed by the discovery agent, and I can’t find out why. For instance, I have two Agnes Obel albums, correctly tagged and with properly named folders, but nothing appears in the Premium Music library. All my music is named thus:

/music
/Artist Name
/Album name

which seems to work for everything else. Most of my music is ripped to FLAC from my CD collection, using XLD; the software correctly fills the tags from data collected from the MusicBrainz database.

Why would it be that some things never get indexed at all?

I thought it could be a corrupt database, so yesterday I created a new Premium Music library which took all day (and all night, I imagine) to index. I think at some point it crashed because I had to re-start the Plex server software. I looked at the log and there were a number of SQL errors.

What should I do now? Should I try creating (yet) another Premium Music library? Should I look for something in particular that might be causing issues? Should I delete my current Premium Music library (and lose ratings, etc.?)

Any help really appreciated, because I’m really at a loss here.

  • martin

First the folder structure is not important if your files are tagged properly. However, if your files are not tagged, then you have the wrong folder structure.

/Muisc
/Artist
/Artist-Album

The Artist folder is optional but makes for easier organization. The Artist-Album is the important part here.

To diagnoze why an album is not being included, the easiest thing to do is either create a new library with just that album and see what happens. The logs will then indicate what errors it is running into.

The problem with the logs is that I don’t understand most of the errors and warnings in it.

Here’s an interesting finding from yesterday, though: if I create a copy of a folder, the copy gets indexed. That at least tells me that it’s not because the tags are wrong.

  • martin

It’s possible that a file before that folder is causing the scanner/agent to fail so it stops and nothing after that gets matched. When you put the folder by itself, that other file is not involved so it works. If you can provide the logs, there may be some info. Easiest is if you zip the entire logs folder and provide that.