Plex Library Constantly Scanning

@sa2000 said:
Have discussed this with other team members and it may be to do with recent change

  • (Library) Library scans subsequent to first would not attempt to match unmatched items (#8282)

Will follow this up
cc @OttoKerner

Thanks for the follow-up, I appreciate it! Could you confirm which version of Plex had the change? Out might be better for me to roll back until this is fixed?

I added a movie around 6am and now at 10:10am it still has not received metadata because the other cycle has never stopped. My CPU activity also has not let up either.

Thanks again!

@“Kyle Verry” said:

@sa2000 said:
Have discussed this with other team members and it may be to do with recent change

  • (Library) Library scans subsequent to first would not attempt to match unmatched items (#8282)

Will follow this up
cc @OttoKerner

Thanks for the follow-up, I appreciate it! Could you confirm which version of Plex had the change? Out might be better for me to roll back until this is fixed?

I added a movie around 6am and now at 10:10am it still has not received metadata because the other cycle has never stopped. My CPU activity also has not let up either.

Thanks again!

Issue has now been raised

This change came in version 1.12.1.4871

Thanks @sa2000 ! I had actually found the previous version that worked right before I saw your reply. Server Version: 1.12.0.4829-6de959918, which of course preceded the mentioned 1.12.1.4871.

I was on Beta (now removed), which is why I saw it happen a few releases ago (I had incorrectly thought it was 4, but it was only 3 versions ago). I have turned off updating for the moment. I can update to a new version at whatever time you would like, should you want me to test the fix

https://downloads.plex.tv/plex-media-server/1.12.0.4829-6de959918/PlexMediaServer-1.12.0.4829-6de959918-OSX.zip

Thanks, and feel free to use me for any reference points. I am not very technical on this side, (networking and phones are more my deal), but I am willing to help as needed.

Also, to just recap symptoms:

  • Constant “downloading metadata” notifications
  • Made it near impossible for newly added items in other libraries to be found and matched
  • Bogged the CPU of the computer (Mac) down
  • Overall server performance was affected (searching, or loading a selected item took far longer than normal)
  • Received a number of “Problem Loading Dashboard” errors (though a page refresh would load properly if the error occured
  • Only could be stopped by a Plex Server Shutdown, selecting “cancel sync scan” or similar would only stop it for 1 second, and it would start back up again
  • I made a number of adjustments to the Agents, which of course had no affect

cancel sync?

@sa2000 said:
cancel sync?

Dang it, I meant Cancel Scan. Sorry.

sa2000 said:
Have discussed this with other team members and it may be to do with recent change

  • (Library) Library scans subsequent to first would not attempt to match unmatched items (#8282)

Yay!
That was my general theory, but I couldn’t find the wording for it


@JamminR said:
I think I’ve seen discussion somewhere (couldn’t find it in release notes) regarding scans of data being fixed where, after first scan couldn’t find data, there would be no more scans. That was ‘fixed’, so, Plex will continue trying to find the data.
Considering you have personal music/audio files that no data will ever be found for, I theorize it’s quite possible that Plex keeps trying anyway.

@“Kyle Verry” - All server release notes can be found here - https://forums.plex.tv/discussion/62832/plex-media-server
The one where that fix is specifically mentioned is https://forums.plex.tv/discussion/comment/1633996/#Comment_1633996

@JamminR said:

sa2000 said:
Have discussed this with other team members and it may be to do with recent change

  • (Library) Library scans subsequent to first would not attempt to match unmatched items (#8282)

Yay!
That was my general theory, but I couldn’t find the wording for it


@JamminR said:
I think I’ve seen discussion somewhere (couldn’t find it in release notes) regarding scans of data being fixed where, after first scan couldn’t find data, there would be no more scans. That was ‘fixed’, so, Plex will continue trying to find the data.
Considering you have personal music/audio files that no data will ever be found for, I theorize it’s quite possible that Plex keeps trying anyway.

@“Kyle Verry” - All server release notes can be found here - https://forums.plex.tv/discussion/62832/plex-media-server
The one where that fix is specifically mentioned is https://forums.plex.tv/discussion/comment/1633996/#Comment_1633996

I believe that the statement listed is the “feature” that in my case is acting like a “bug.” Meaning, they have built in what I am experiencing intentionally.

It’s super easy of course to upgrade and verify, which I will do today, but I think I was on that version a few days ago before I posted. I had then dropped beta, and went with the stable release 4885, at the time of posting. This morning I rolled back to 4829, of which works at the moment. However, I could be wrong, so I am gonna run it through the ringer and see! I appreciate you following up for my benefit, @JamminR !

Oh wait, the beta has 4885 like stable does. Can’t get to 4871, which further makes me think this is all intentional, and not a “bug” in their eyes (which obviously it is).

Let me know if I am reading it wrong


sa2000’s the Pl-expert, team of one.
I’m horrible at understanding logs, so rarely ask for them.
Oh, another potential I just thought of - Itunes may be making small changes, file locks, etc, to the same folders you have Plex scanning. So, if it’s not that latest ‘fix’ that broke you, it could be a combo of both the ‘fix’ and Itunes kicking off scans due to file activity. If you can even shut down Itunes from running (it’s difficult in Windows from my understanding, runs as a service), then you might try that if rolling back doesn’t help.
(Not related to plex, but just showing that different apps do different things - I don’t use Itunes, but use Steam, it’s almost always periodically doing something to my HD)

I have not used iTunes on this computer ever (ugh! I really don’t like Apple anymore). And, all is super duper on 4829, so the mentioned #8282 is likely the culprit.

I don’t think anything else is accessing the folders, since once the scan starts, it stops, and leaves the never-ending “downloading metadata” cycle to commence but never scans again. Meaning, #8282 starts and never stops. The scan was only the trigger to start #8282.

@“Kyle Verry” said:
Also, to just recap symptoms:

  • Constant “downloading metadata” notifications
  • Made it near impossible for newly added items in other libraries to be found and matched
  • Bogged the CPU of the computer (Mac) down
  • Overall server performance was affected (searching, or loading a selected item took far longer than normal)
  • Received a number of “Problem Loading Dashboard” errors (though a page refresh would load properly if the error occured
  • Only could be stopped by a Plex Server Shutdown, selecting “cancel sync scan” or similar would only stop it for 1 second, and it would start back up again
  • I made a number of adjustments to the Agents, which of course had no affect

Just want to bring attention that I too experience the same symptoms and problem as detailed here: https://forums.plex.tv/discussion/315530/metadata-matching-every-scan-now
This happened to not just Music but Movies & TV shows as well for me. I downgraded to Version 1.12.0.4829-6de959918 as specified above and the behavior is back to normal. Please keep us updated on when a fix is posted.

@wdtvswns said:

@“Kyle Verry” said:
Also, to just recap symptoms:

  • Constant “downloading metadata” notifications
  • Made it near impossible for newly added items in other libraries to be found and matched
  • Bogged the CPU of the computer (Mac) down
  • Overall server performance was affected (searching, or loading a selected item took far longer than normal)
  • Received a number of “Problem Loading Dashboard” errors (though a page refresh would load properly if the error occured
  • Only could be stopped by a Plex Server Shutdown, selecting “cancel sync scan” or similar would only stop it for 1 second, and it would start back up again
  • I made a number of adjustments to the Agents, which of course had no affect

Just want to bring attention that I too experience the same symptoms and problem as detailed here: https://forums.plex.tv/discussion/315530/metadata-matching-every-scan-now
This happened to not just Music but Movies & TV shows as well for me. I downgraded to Version 1.12.0.4829-6de959918 as specified above and the behavior is back to normal. Please keep us updated on when a fix is posted.

I recall it was always done for TV Shows at the end of every scan to look for any unmatched items

@sa2000 said:
I recall it was always done for TV Shows at the end of every scan to look for any unmatched items
Re-running a TV show library scan on my now downgraded version I can confirm that’s true. I have very few TV shows so the extra matching/downloading only happens with two dozen or so items. The bug of extra matching/downloading just the Music and Movie library happening makes the server practically unusable though.

Yes, TV Shows have been like that for a while, but custom TV Shows aren’t nearly as common as music, nor are the sizes of libraries usually similar. Plus, TVDB is good where Last.FM is a pile of stuff.

I also (personally) don’t have a problem with movies, but I just don’t understand why this needs to be a “feature.” It’s not hard to press Refresh Metadata. But it’s impossible to stop this #8282 Refresh. Really, this needs to be an advanced feature that’s configurable. I’m okay if it’s left as default, as long as I can turn it off to use Plex.

To reiterate, sorry for ad nauseum, but for me Plex is unusable in v.4885. Not due to dislike, but physically unusable.

Just to let the devs know: I have the same problem and it renders the Plex server unusable until a restart.

@com_plex said:
Just to let the devs know: I have the same problem and it renders the Plex server unusable until a restart.
Just incase it wasn’t clear, this is the same for me.

And maybe one more hint: When Plex starts constantly scanning and I edit a library, the language control on the library type screen is not usable since its empty. Restarting the server fixes it.

I am having the same issue on a freebsd install and will try to downgrade to a previous version before the fix. Thanks for the analysis and workaround

I had the same issue, until I enabled the Use embedded tags option for my music library. It looked like Plex took one more pass through all the music files and since then it seems back to normal - no more constant scanning and new items in any library are detected and matched almost instantly. Have not checked many music items in detail, but I’d say it is worth a try.

Edit: Unfortunately it did not last and the constant scanning continued