Plex Scanner not working

Server Version#: 1.32.6.7468
Player Version#:all
after a problem with bundles cleanup wich is now working again plex scanner is not working anymore.
when scanning a movie or tv show it does not find any matches.
when set to tmdb or tvdb the matches are being found.
but now it is changing tv show to ones that do not match

anyone any idea on how to resolve this

What is the correct name of the TV show?

To which show is Plex matching?

Please show how you have the media named and organized.

Include the path to the files and indicate which folder is added to the Plex library.

when i set the sanner for movie to Plex Movie or for tv show to Plex TV Series it does not find ant match at all.

when i set it to tmdb or tvd it does find matches but for some movies or tv shows the wrong ones.
i can correct this by selecting these manualy.

before i was using the Plex scanner and in 99% of the cases this one picked the right one.

so the real problem is not that imdb misses some matches but that plax scanner does not work at al

Plex Movie and Plex TV Series have been the default scanners for quite some time. If they were not working there would be many complaints in the forum.

Such problems usually, but not always, come down to either file permissions or naming & organization.

Please provide specific examples as mentioned above.

A set of debug server log files collected after scanning the relevant libraries would also help.

i know they where working fine before the only thing i changed was adding a new drive but after that it still worked for a few weeks.

one example i can give you i yust take any movie i have and set the scanner to Plex Movie and scan it. for this example i wil use The Bourne Identity.


this is the movie now after setting plex movie instead of TMDB

and this is the error when manually trying to set a match

when i set it back to tmdb the movie is recognised right away

and this is the log before i set it back to tmdb

Plex Media Server Logs_2023-09-20_22-38-11.zip (7.3 MB)

the folder name in Plex media folder


and the file names in that folder

but maybe you were right about the permissions.
the permissions were set correct but i removed and readded the permissions and now the scanner is going crazy.
keep you up to date if this was the solution

nope still nothing on the Plex scanner

Do you have a task which keeps forcibly setting permissions on files ?

In your logs, I see the scanner firing over and over for all the files.

When this happens , nothing will ever complete fully because it’ll stay in stage 1 forever.

No i do not have any of those tasks running. None that i can think of or set myself.

I could grant you acces so you can check for yourself. But there is defenitly nothing running set by me

I have exactly the same problem. Everything worked until mid-August. From mid-August until yesterday I hadn’t added any new films.
Now it doesn’t work anymore.

I was able to temporarily solve the problem by changing the agent from “Plex Movie” to “Plex Movie (Legacy)” and the scanner from “Plex Movie” to “Plex Movie Scanner”. Now I just keep getting told there’s a new agent :wink:

old
1

new
2

But the automatic assignment works again and that is the most important thing for me.

Same here the problems started a few weeks ago. Before that i never had any problems.

The first thing i noticed was cleanup getting stuck. Wich fortunatly is working again and right after that the scanner stoped working

I now set it to tmdb and tvdb and these are working oke for now after a litle startup issue.

And yes now there is the constant reminder to upgrade libraries.

Same here. Plex Server has suddenly stopped identifying any movies, shows or albums for me. I did not change anything on the server.

@GMTolboom BijanK Please start a new thread and post what is happening along with server logs.

@Geextah Do you have server logs? Are you running a cron job or scheduled task to update/fix permissions?

@GMTolboom Are you sure you dont have any cron jobs or scheduled tasks set to run on your library files? (Please take a minute to look up your cron and scheduled tasks on the syno and double check)

@dbirch I do not understand your question. What do permissions have to do with false identification?

After I changed the agent and the scanner everything now works again.

@Geextah This is why we always suggest creating your own thread, GMTolboom’s issue is that the scanner is repeatedly being triggered (probably from a cron job to fix permissions) which is causing repeated scanner initialization, and not allowing the scan to finish per ChuckPa’s analysis above.

Using the legacy scanner/agent is only a short term fix. At some point in the future support for that will be stopped. If you can post your server logs we can see if we can identify what your issue is. (you will need to switch to the new agent and plex dance a movie for us to get relevant logs)

1 Like

@dbirch i think i have the same problem as @Geextah and @BijanK
as the scanner stopped working without any changes made to the NAS
that the scanner was triggerd was because before the problems started i added a lot of media. and the scanner was not working properly. i changed the scanner to tmdb and tvdb and let it do all the scans. i did not add any media the last few days and now it looks the scanner has settled. i also set the regular scanning to once a day in stead of every hour.
i just performed a manual bundles cleanup and database optimisation and downloaded a new log file after that.
but i cant upoad the log file here as it is 8.02 mb and the max is 8 mb

for the cron i have nothing in there other than the smart test


next to that i have datascrubbing enabled once a month

and i have container manager with Tautulli installed but there are no crons there

and on the webstation only tautilli is running

and there is nothing else installed on the NAS

i waited a few minutes and grabbed a new log now it is small enough to upload here.
Plex Media Server Logs_2023-09-22_15-30-45.zip (7.1 MB)

i could perform a plex dance but than with the library that has the least movies in it.
in my case that would be the anime movie library

after setting the scanner back to plex and removing the movie files,
i analised the library but no changes were found and the movies are still shown even tough they are not there

i manually removed all the movies thru Plex.

i emptied the trash and did a manual bundle cleanup.

i added the movie Dragon Ball Super Broly back into the library.

i rescanned the library with Plex scanner and the movie is not recognised

right after this a grabbed a new log file.
Plex Media Server Logs_2023-09-22_16-22-00.zip (7.5 MB)

after that i set the scanner back to TMDB the movie is recognised right away

and grabbed a new log after that as wel

Plex Media Server Logs_2023-09-22_16-26-34.zip (7.4 MB)

as mentioned to @ChuckPa i could grant you acces or set teamviewer so you can check for yourself

but as more and more people are having this problem i doubt the problem is in the NAS

I had a look at your most recent logs, comparing them to my own logs after having added a test “Dragon Ball Super Broly.mkv” file to a test library.

Mine:

Sep 22, 2023 11:36:53.823 [139841745976120] DEBUG - Scanner [Plex Movie]: found cloud match for file '/mnt/storage/dvr/test_movie/Dragon Ball Super Broly (2018)/Dragon Ball Super Broly.mkv': 'Dragon Ball Super: Broly'

Yours:

Sep 22, 2023 16:20:17.499 [140633308502840] WARN - Scanner [Plex Movie]: unable to find cloud match for item file '/volume1/Plex Media/Anime Films/Dragon Ball Super Broly (2018)/Dragon Ball Super Broly.mkv'

As is shown here, my server is able to communicate with Plex’s metadata server(s) and find a match for this item. In your case, it isn’t. (I can see the corresponding lookup for metadata.provider.plex.tv in my DNS logs.)

Do you have anything which might be blocking this on your network (metadata.provider.plex.tv)? Maybe try a different DNS server as a test?

Please restart PMS run a scan / refresh and then grab fresh logs. I can see the issue but the logs have already rolled over and I can’t see the log lines from earlier when the issue first happened which I need.