Missing random episodes of shows after changing to new Plex TV Series Scanner

Server Version#: Version 1.23.0.4497
Player Version#: All Clients
After changing the tv scanner from “Plex Series Scanner” to “Plex TV Series” several of my shows started to show missing episodes, 1 or 2 per seasons. This doesn’t seem to be affecting all my tv-shows just some of them. I have more than 200 tv-shoes so this is getting very annoying and difficult to troubleshoot.
For example in this show that has 17 seasons:
I have checked my naming convention and adjusted all the files to this:

/tvshows.1/Grey’s Anatomy/Season 08/Grey’s Anatomy (2005) - S08E01 - [ WEBDL-1080p - x265 10 - AAC - SiGMA ].mkv
/tvshows.1/Grey’s Anatomy/Season 08/Grey’s Anatomy (2005) - S08E02 - [ WEBDL-1080p - x265 10 - AAC - SiGMA ].mkv
/tvshows.1/Grey’s Anatomy/Season 08/Grey’s Anatomy (2005) - S08E03 - [ WEBDL-1080p - x265 10 - AAC - SiGMA ].mkv

I have 24 episodes in this season and the issue seems to be with episode 8 which is not listed in plex:

/tvshows.1/Grey’s Anatomy/Season 08/Grey’s Anatomy (2005) - S08E08 - [ WEBDL-1080p - x265 10 - AAC - SiGMA ].mkv

I believe this name formatting is correct … right?

Like this I have different levels of the issue (some seasons are missing 1 or 2 episodes, some seasons show all episodes correctly). Also I have several other shows affected by the same issue.

I’ve also tried this: Missing Episode Titles on TV Series - #2 by JuiceWSA but unsuccessfully.

With the previous scanner I never had such issues.

1 Like

It’s happened to me also. I add a whole season and everything looks fine, until hours later when Tautulli notifies me that another episode was added. Very random.

Yeah, very weird. I just removed all this tv-show and add the year to the folder name and added it back (did the empy trash and clean bundle):

/tvshows.1/Grey’s Anatomy (2005)/Season 08/Grey’s Anatomy (2005) - S08E08 - [ WEBDL-1080p - x265 10 - AAC - SiGMA ].mkv

and same thing, keeps failing in the same episode in the same seasons. It feels like I’m missing something prettty obvious with the name formatting but can’t quite figure it out.

Just updated my computer with new hard drive and installed server Version 1.23.0.4497. I have re-linked my data and let it scan through and when finished I find missing episodes and when trying to fix the match looks like new scanner wants to totally manage my meta data as I cannot get it to correctly match some of my files that correctly worked before. My labeling has been built on the tvdb.com from when I first put my server up. Is there any way to overide to use one data base or another?

What’s the full folder path that you have added to your Library?

Is it .../tvshows.1/ ? Or a higher (or lower) level folder?


Is it possible that any episodes are accidental duplicate files?


You may wish to scan the Library, and then share logs.

The full folder path for most of these shows is: /share/media/tv.shows.1 but I have some other old directories too: /share/media/tv.shows.0 … etc. I used Sonarr and for this show there are no duplicated files.
One thing I wanted to confirm is if this a correct name path?

Grey’s Anatomy (2005)/Season 08/Grey’s Anatomy (2005) - S08E08 - [ WEBDL-1080p - x265 10 - AAC - SiGMA ].mkv

Did you actually use the “Scanner” drop down selector?
You only change the “Agent”. The scanner follows automatically.

After doing this change, you MUST refresh metadata for the whole library. And don’t assess the effects of the conversion unless this process has finished.

Yes, I did it at library level:
image

did a full metadata refresh as indicated and checked when the full refresh was done (next day).

Another example (the issue is affecting ton of my shows):


Season 03 is showing 1 missing episode (should be 20), as shown in the screenshot episode 05 is not showing up.
The list of files is this (same format for all of them):

Again this only presented after I changed the scanner (man .. how I regret that decision!!).

  1. activate debug logging (not ‘verbose’!)
  2. quit Plex Server
  3. wait 1 minute
  4. start Plex Server
  5. wait 2 minutes
  6. either refresh one movie or add one movie into your library
  7. wait 3 minutes
  8. fetch log files and attach them here

Is the media storage in the same local network as the server?

Thanks for the reply. Yes, Plex is running in a Centos server and the NAS is running on the same LAN. I did as instructed and did a “Refresh Metadata” on the first series I mentioned in my post (17 seasons). Logs attached.
Plex Media Server Logs_2021-05-11_08-41-36.zip (3.9 MB)

I looked for signs of database corruption, but didn’t find any. That’s a good thing.

Can you check if your media collection exceeds the magic number mentioned in here Increase the number of directories Linux can monitor (Notify)

The systctl xxx -type d | -print | wc -l is giving me 10714 so I think I’m not exceeding it … right?

sysctl -a | grep -i watches
fs.epoll.max_user_watches = 6690959
fs.inotify.max_user_watches = 262144

I am actually not a Linux expert. I’m just throwing out some points to check.

Have you verified that the affected files are actually valid video files – i.e. do they play when you open them with a desktop video player?

Ok … so following those instructions it seems the default value should be enough.
Yes … I checked the videos that are not showing up and I can play them using VLC on my laptop also these shows I watched them long time ago. Before changing the tv scanner Plex was listing all the episodes.

I picked up this show inside your log files, where it says nothing has changed (e.g. amount of files on disk matches what you have in the database):

May 11, 2021 04:07:17.126 [0x7f6bb06e4b38] DEBUG - Scanner: Processing directory /share/media2/tvshows.1/Jane the Virgin/Season 03 (parent: yes)
May 11, 2021 04:07:17.150 [0x7f6bb06e4b38] DEBUG - Skipping over directory 'Jane the Virgin/Season 03', as nothing has changed; removing 19 media items from map.

The only reason I can see this happening (knowing that the file is on disk) is that we’re filtering it out for some reason or we’re not able to see the file.

Do you have any .plexignore rules set up?

Interesting, I’ve never played with .plexignore. Does this allow to filter specific files within a directory? Right now all the episodes are sitting on the same folder (Season 03) also I just checked and I don’t have any “.plexignore” files in any folder or sub-folder.

https://support.plex.tv/articles/201381883-special-keyword-file-folder-exclusion/

As for why we’re not picking up all the files is a bit strange then. If you run a library scan does it not pick up the missing file(s)?

Thanks for the link.
Correct. Initially (right after changing the scanner and complete a full library refresh metadata) I run several library scans and nothing changed.
Then I remove the whole show update the name formatting (thinking that maybe the new scanner was more strict) and used this final version of file-name:

/tvshows.1/Grey’s Anatomy/Season 08/Grey’s Anatomy (2005) - S08E01 - [ WEBDL-1080p - x265 10 - AAC - SiGMA ].mkv

and run several library scans. Final result is the same … several seasons are missing 1 or 2 episodes.

Nos this show is an example. This issue is happening in quite few of my shows so is getting a bit annoying as I need to check each show and season to determine if maybe the issue is present or not.

What else I can provide? Should I remove this particular season ( do the Plex dance) and submit logs? Until know I never had issues with Plex not identifying tv-shows or episodes … it’s very weird.