Plex Media Scanner constantly getting stuck on a single folder when scanning music

Server Version#: Version 1.19.3.2764
Player Version#: Version 4.33.1

When Plex Media Scanner starts to scan my music folder, in the web UI, it constantly gets stuck at scanning one folder. However, if I look at the plex media scanner log, I don’t even see it scanning that media folder - but it prevents me scanning other folders (or at least that is my perceived though, due to the scanner scanning one media folder at a time).

Verify DEBUG logging enabled - VERBOSE logging disabled.
Restart PMS
Start Scanning.
When it gets stuck again.
Stop again
Settings - Server - Troubleshooting - Download logs
Attach the ZIP file here.

Plex Media Server Logs_2020-05-10_05-14-44.zip (5.0 MB)

Here you go. There are tons of Masterclass lines in there, and if I narrow it down to the following:
tail -n 10000 /var/lib/plexmediaserver/Library/Application\ Support/Plex\ Media\ Server/Logs/Plex\ Media\ Server.log | grep -v Masterclass | grep -i music -A 10

I end up getting searches for other media libraries, and my configuration is as follows:

This is what I see (or it listing a specific library, just stuck there. However for the below image, it has been sitting there for at least 30 minutes with no update.
image

It’s getting stuck on

May 09, 2020 22:28:11.129 [0x7fb61709f300] DEBUG - No match for hash.
May 09, 2020 22:28:11.129 [0x7fb61709f300] DEBUG - Checking descendants of [04-2020] the-complete-web-development-bootcamp
May 09, 2020 22:28:11.130 [0x7fb61709f300] DEBUG -  -> Searching down into [04-2020] the-complete-web-development-bootcamp/23 Databases
May 09, 2020 22:28:11.130 [0x7fb61709f300] DEBUG - Checking descendants of [04-2020] the-complete-web-development-bootcamp/23 Databases
May 09, 2020 22:28:11.130 [0x7fb61709f300] DEBUG -  -> Searching down into [04-2020] the-complete-web-development-bootcamp/22 Boss Level Challenge 3 - Blog Website
May 09, 2020 22:28:11.130 [0x7fb61709f300] DEBUG - Checking descendants of [04-2020] the-complete-web-development-bootcamp/22 Boss Level Challenge 3 - Blog Website
May 09, 2020 22:28:11.130 [0x7fb61709f300] DEBUG -  -> FOUND metadata item (show)
May 09, 2020 22:28:11.130 [0x7fb61709f300] DEBUG -  -> We found a local media item with rooted metadata in [04-2020] the-complete-web-development-bootcamp/22 Boss Level Challenge 3 - Blog Website
May 09, 2020 22:28:11.130 [0x7fb61709f300] DEBUG - Found existing show 266086
May 09, 2020 22:28:11.131 [0x7fb61709f300] DEBUG - Downloading document http://127.0.0.1:32400/library/changestamp
May 09, 2020 22:28:11.131 [0x7fb61709f300] DEBUG - HTTP requesting GET http://127.0.0.1:32400/library/changestamp
May 09, 2020 22:28:11.132 [0x7fb61709f300] DEBUG - HTTP 200 response from GET http://127.0.0.1:32400/library/changestamp
May 09, 2020 22:28:11.133 [0x7fb61709f300] DEBUG - Downloading document http://127.0.0.1:32400/library/changestamp
May 09, 2020 22:28:11.133 [0x7fb61709f300] DEBUG - HTTP requesting GET http://127.0.0.1:32400/library/changestamp
May 09, 2020 22:28:11.134 [0x7fb61709f300] DEBUG - HTTP 200 response from GET http://127.0.0.1:32400/library/changestamp
May 09, 2020 22:28:11.134 [0x7fb61709f300] DEBUG - Added new metadata item () with ID 266091
May 09, 2020 22:28:11.134 [0x7fb60db76700] DEBUG - HTTP requesting GET http://127.0.0.1:32400/:/metadata/flushMetadataCounterCache
May 09, 2020 22:28:11.134 [0x7fb60db76700] DEBUG - HTTP 200 response from GET http://127.0.0.1:32400/:/metadata/flushMetadataCounterCache
May 09, 2020 22:28:12.916 [0x7fb61709f300] DEBUG - Looking for path match for [/mnt/elearning/[04-2020] the-complete-web-development-bootcamp/22 Boss Level Challenge 3 - Blog Website/290 Challenge 2.mp4]
May 09, 2020 22:28:12.917 [0x7fb61709f300] DEBUG - Skipping hash check, no size match for 30802820 bytes.
May 09, 2020 22:28:12.917 [0x7fb61709f300] DEBUG - No match for hash.
May 09, 2020 22:28:12.917 [0x7fb61709f300] DEBUG - Checking descendants of [04-2020] the-complete-web-development-bootcamp
May 09, 2020 22:28:12.918 [0x7fb61709f300] DEBUG -  -> Searching down into [04-2020] the-complete-web-development-bootcamp/23 Databases
May 09, 2020 22:28:12.918 [0x7fb61709f300] DEBUG - Checking descendants of [04-2020] the-complete-web-development-bootcamp/23 Databases
May 09, 2020 22:28:12.918 [0x7fb61709f300] DEBUG -  -> Searching down into [04-2020] the-complete-web-development-bootcamp/22 Boss Level Challenge 3 - Blog Website
May 09, 2020 22:28:12.918 [0x7fb61709f300] DEBUG - Checking descendants of [04-2020] the-complete-web-development-bootcamp/22 Boss Level Challenge 3 - Blog Website
May 09, 2020 22:28:12.918 [0x7fb61709f300] DEBUG -  -> FOUND metadata item (show)
May 09, 2020 22:28:12.918 [0x7fb61709f300] DEBUG -  -> We found a local media item with rooted metadata in [04-2020] the-complete-web-development-bootcamp/22 Boss Level Challenge 3 - Blog Website
May 09, 2020 22:28:12.918 [0x7fb61709f300] DEBUG - Found existing show 266086
May 09, 2020 22:28:12.919 [0x7fb61709f300] DEBUG - Downloading document http://127.0.0.1:32400/library/changestamp
May 09, 2020 22:28:12.919 [0x7fb61709f300] DEBUG - HTTP requesting GET http://127.0.0.1:32400/library/changestamp
May 09, 2020 22:28:12.920 [0x7fb61709f300] DEBUG - HTTP 200 response from GET http://127.0.0.1:32400/library/changestamp
May 09, 2020 22:28:12.921 [0x7fb61709f300] DEBUG - Downloading document http://127.0.0.1:32400/library/changestamp
May 09, 2020 22:28:12.921 [0x7fb61709f300] DEBUG - HTTP requesting GET http://127.0.0.1:32400/library/changestamp
May 09, 2020 22:28:12.922 [0x7fb61709f300] DEBUG - HTTP 200 response from GET http://127.0.0.1:32400/library/changestamp
May 09, 2020 22:28:12.922 [0x7fb61709f300] DEBUG - Added new metadata item () with ID 266092
May 09, 2020 22:28:12.922 [0x7fb60db76700] DEBUG - HTTP requesting GET http://127.0.0.1:32400/:/metadata/flushMetadataCounterCache
May 09, 2020 22:28:12.923 [0x7fb60db76700] DEBUG - HTTP 200 response from GET http://127.0.0.1:32400/:/metadata/flushMetadataCounterCache
May 09, 2020 22:28:16.656 [0x7fb61709f300] DEBUG - Looking for path match for [/mnt/elearning/[04-2020] the-complete-web-development-bootcamp/22 Boss Level Challenge 3 - Blog Website/291 Challenge 2 Solution.mp4]
May 09, 2020 22:28:16.656 [0x7fb61709f300] DEBUG - Skipping hash check, no size match for 17778915 bytes.
May 09, 2020 22:28:16.656 [0x7fb61709f300] DEBUG - No match for hash.
May 09, 2020 22:28:16.657 [0x7fb61709f300] DEBUG - Checking descendants of [04-2020] the-complete-web-development-bootcamp
May 09, 2020 22:28:16.657 [0x7fb61709f300] DEBUG -  -> Searching down into [04-2020] the-complete-web-development-bootcamp/23 Databases
May 09, 2020 22:28:16.657 [0x7fb61709f300] DEBUG - Checking descendants of [04-2020] the-complete-web-development-bootcamp/23 Databases
May 09, 2020 22:28:16.657 [0x7fb61709f300] DEBUG -  -> Searching down into [04-2020] the-complete-web-development-bootcamp/22 Boss Level Challenge 3 - Blog Website
May 09, 2020 22:28:16.657 [0x7fb61709f300] DEBUG - Checking descendants of [04-2020] the-complete-web-development-bootcamp/22 Boss Level Challenge 3 - Blog Website
May 09, 2020 22:28:16.657 [0x7fb61709f300] DEBUG -  -> FOUND metadata item (show)
May 09, 2020 22:28:16.657 [0x7fb61709f300] DEBUG -  -> We found a local media item with rooted metadata in [04-2020] the-complete-web-development-bootcamp/22 Boss Level Challenge 3 - Blog Website
May 09, 2020 22:28:16.657 [0x7fb61709f300] DEBUG - Found existing show 266086

Aren’t these “Other Video” type files?

They are not in the same media folder as music. The location of those files is in a /mnt/elearning, which is not loaded into the Music Library.

They are in a Television type library due to there being “seasons” of teaching, and the Other Video" type files would just shove tons of files into the overall folder instead of displaying them nicely (at least in my experience).

Even then after sleeping, and waking up and checking (8 hours), the UI still shows the above images and is just stuck on the scanning media library for music (which those above files are not a part of). This has also been happening since before those files were introduced.

“Television” type libraries are meant for real Television series which can be found on TheTVDB or IMDB.

With “Other Videos”, you can create whatever structure you want and name them as you want. This is why it exists.

As for your music;

Not knowing how many songs you put in to be indexed together, It isn’t uncommon for it require a week to complete. I’ve seen massive libraries, not perfectly named, require even longer.

This is because PMS matching does the following:

  1. Attempt to match based on name structure given
  2. Match failing, Fingerprint first & last track indicated, then attempt match
  3. First/Last fingerprint failing, fingerprint the entire album and iterate to a best solution if one exists.

In your logs, I see it attempting to resolve things like this. which, due to the naming, is going to take a long time.

May 09, 2020 19:47:01.535 [0x7f7832778300] DEBUG - Match: Candidate: Various Artists - Blues Avenue: ...from past to present (316f1206-9c53-480e-8180-0e9cd8487a8e)
May 09, 2020 19:47:01.535 [0x7f7832778300] DEBUG - Match: Duplicate.
May 09, 2020 19:47:01.535 [0x7f7832778300] DEBUG - Match: Candidate: Various Artists - The Concert for New York City (7312fe14-ea02-45f0-865c-48b6caaf24d1)
May 09, 2020 19:47:01.535 [0x7f7832778300] DEBUG - Match: Duplicate.
May 09, 2020 19:47:01.535 [0x7f7832778300] DEBUG - Match: Candidate: Various Artists - The Concert for New York City (c8ddbe3d-307f-4a2e-8994-666e38054d8a)
May 09, 2020 19:47:01.535 [0x7f7832778300] DEBUG - Match: Duplicate.
May 09, 2020 19:47:01.535 [0x7f7832778300] DEBUG - Match: Candidate: Various Artists - Kulturkantine - Electronic Soul Lounge Session (b420af4d-f96e-4ee7-9e7c-e09bb62afa26)
May 09, 2020 19:47:01.535 [0x7f7832778300] DEBUG - Match: Duplicate.
May 09, 2020 19:47:01.535 [0x7f7832778300] DEBUG - Match: Candidate: Various Artists - Happy New Year from EDM Ibiza 2017 (e4f4a08e-8c67-4d97-9fb1-fb1752b4ad31)
May 09, 2020 19:47:01.535 [0x7f7832778300] DEBUG - Match: Duplicate.
May 09, 2020 19:47:01.535 [0x7f781bfff700] DEBUG - Match: Fingerprinting file '/mnt/gmusic/Various Artists/Various Artists - Lonely Avenue - Soul from New York - V0/Disc 1/01 - Ray Charles - Yes Indeed.mp3'
May 09, 2020 19:47:01.536 [0x7f781bfff700] DEBUG - Job running: '/usr/lib/plexmediaserver/Plex Media Fingerprinter' '/mnt/gmusic/Various Artists/Various Artists - Lonely Avenue - Soul from New York - V0/Disc 1/01 - Ray Charles - Yes Indeed.mp3'
May 09, 2020 19:47:01.536 [0x7f7820ff9700] DEBUG - Match: Fingerprinting file '/mnt/gmusic/Various Artists/Various Artists - Lonely Avenue - Soul from New York - V0/Disc 1/32 - The Great Nathaniel (Teddy Vann) - Soul.mp3'
May 09, 2020 19:47:01.536 [0x7f781bfff700] DEBUG - Jobs: Starting child process with pid 925700
May 09, 2020 19:47:01.536 [0x7f7820ff9700] DEBUG - Job running: '/usr/lib/plexmediaserver/Plex Media Fingerprinter' '/mnt/gmusic/Various Artists/Various Artists - Lonely Avenue - Soul from New York - V0/Disc 1/32 - The Great Nathaniel (Teddy Vann) - Soul.mp3'
May 09, 2020 19:47:01.536 [0x7f7820ff9700] DEBUG - Jobs: Starting child process with pid 925702
May 09, 2020 19:47:44.436 [0x7f783248e700] DEBUG - Jobs: '/usr/lib/plexmediaserver/Plex Media Fingerprinter' exit code for process 925702 is 0 (success)
May 09, 2020 19:47:44.439 [0x7f7820ff9700] DEBUG - HTTP requesting GET http://127.0.0.1:32400/user/services/acoustid
May 09, 2020 19:47:44.440 [0x7f7820ff9700] DEBUG - HTTP 200 response from GET http://127.0.0.1:32400/user/services/acoustid
May 09, 2020 19:47:44.440 [0x7f7820ff9700] DEBUG - HTTP requesting GET https://acoustid.plex.tv/lookup?client=yjCl9dilxU&duration=144&fingerprint=AQADtIkmSUyWZMGp4j6OkGh4nD7

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.