Non-Stop Indexing Without Progress

Hello. I have been trying to index a large music folder for several days. Plex seems to keep indexing without any progress being made (i.e., the number of artists stays the same, but the indexing continues for days). Any ideas as to why this may be the case and how to fix it?

What is your Library update interval in Settings - Server - Library ?

If set too frequently, it can get caught in a loop such that it starts again either just before or just after it’s got everything scanned and is in the process of downloading your metadata.

Music is very finicky in that if you have a lot of tracks compared to the number of movies or tv episodes, it can actually snowball.

Thanks, my update interval was set to 15 minutes. I have now changed it to daily. If that doesn’t work, what would be the next step?

If it still isn’t stopping, that means it’s continuing to hunt for a resolution to some of your names. You’ll need either use “Find-Unmatched” (a Plg-in in the Channels forum) or go through with an external tool such as ‘Picard’ to verify everything is named and structured correctly. What’s often obvious to us, isn’t quite good enough for the automation. Example being 'ST TNG". Anyone who knows sci-fi knows that. The automation has no clue. That’s how you have to think… help it along.

Thank you for your help. Unfortunately, the indexing never seems to finish (even after turning off automatic indexing altogether).

Are you sure the next step would be to use a plug in? If so, can you please give me a bit of background on how to use it (and what it actually does)? Thanks.

What Find-Unmatched does is make a scan of the particular library section you point it at. It then collects the list of files pointed to for that library and checks to see if they exist as ‘Matched’ in the database.

If you would prefer to not go that route, go to Settings - Server - Help and get the Log files. Attach them here with your next post and I will see if there is any repeating pattern in them. This would indicate what PMS is stuck on

have you tried to restart PMS ?
I’ve seen the cycling round never stops, but the index seems to be finished.
After restarting plex (1.1.4) the cycle was gone and all seems to be indexed

Thank you. So, how do you restart PMS?

PMS is restarted on Linux by either sudo systemctl restart plexmediaserver or sudo service plexmediaserver restart. Each OS has its own mechanism.

When all else fails, restart the computer.

Hi. Unfortunately, the endless indexing is still happening. Any further thoughts?

Please get the current log files (while it’s still running / doing whatever it is) and attach the zip file here.

Settings - Server - Help - Download Logs

Ok, what logs do you need - and can you give me a quick tutorial on where to find what you’d like?

Just as I stated. Go into Plex web (the local copy you get by accessing http://127.0.0.1:32400/web)
Click Settings - Server - Help - Download Logs.

Find that file on your computer and attach it here (see the document attach tool above ^^)

Thank you. I have attached my logs here. I eagerly await your input. Thanks.

Just checking in to see if you might have had any thoughts on the logs. Thank you.

I’ve not forgotten. I apologize for being slow. I’m currently trying to find out why PMS hangs cold.

What I have seen are reports from other users where Plex/Web does appear to freeze (no advancement) when all the work is actually done.
What was needed to put things back to right was a restart of PMS.

If you want to pull the Plex/Web debug logs (settings - web) it’s good to grab before any restart.

Next just give it a restart and see where it’s actually at.
If not complete, before doing anything, optimize the database. When adding a lot of entries, it can fragment and get so slow PMS actually halts due to timeouts. Unfortunately there’s no simple solution YET because that’s inside SQLite itself but they are trying to get past that hurdle.

Hi ChuckPa. Thanks for your response. I’ve read it a few times over the last week, and I can’t say I’m 100% sure whether you’re still looking into it or you need more information from me.

Thanks a lot.

Hi. Just checking in on this again. Thanks.

You’ve not been forgotten. I, on the other hand, have been a bit busy with deeper analysis work I’m doing (not enough hours in the day) with possibly a similar “hang” situation. There may or may not be any correlation (what I attempt to determine).

Ok, thank you. I have basically deleted the entire index of the volumes of music I had because they are no longer usable. Look forward to your input, and thanks for your help.