Plex TV Scanner broken since 1.28.xxx?

Server Version#: 1.28.1.6104

Ever since upgrading server to 1.28.xx new Episodes wont list for most TV shows. Forcing rescan does not help either.
After deleting “TV-Shows” and re-adding it only a few shows are listed.
A workaround is to change the scanner from “Plex TV Series” to “Plex Series Scanner”.

I have another server running 1.25 which does not show this problem.

Plex DocumentationYour Media
Naming & Organizing Your TV Shows
Naming & Organizing Your Movies

Please show how you have the shows named and organized, including which folder is added to the TV Show library. Directory listing, Screenshot, etc.

Everything worked until 1.28 and I didn’t change anything and as I’ve written before I can copy the same episode to another server running 1.25 which is using same directory structure, naming, etc and it will show as expected. So I am pretty sure it has nothing to do with my naming :slight_smile:

Most recognition problems come down to file permissions or naming and organization. There can be other causes as well, such as database corruption, a bug in the scanners/agents, or something else.

I asked for the naming and organization to try to replicate your setup. A one-off problem is hard to track down. If a problem can be replicated then it can be fixed.

Next step would be to provide a set of server log files that capture the problem.

Please gather the log files with minimal other activity occurring on the Plex server - no streaming, no scanning in other media, etc. The log files have a fixed size. If there is a lot of other activity, the desired information may end up being rolled out of the log files into the bit bucket.

  1. Ensure the Plex server is configured for debug level logs.
    Settings → Server_Name → General + Show Advanced

  2. Restart Plex Media Server and wait 2 - 3 minutes for the server to fully start and the logs to capture the startup sequence.

  3. Plex Dance one of the problematic TV shows.

  4. After Plex has finished scanning, etc., wait two minutes.

  5. Pull the log files via Settings → Troubleshooting, and add the ZIP file to this thread.

  6. In addition, please provide the naming and organization of the show you Plex Danced, as it will make it easier to search the log files for problems.

Well I really do not want to upload such logs to public forum :slight_smile:
I will try skimming through logs myself.

I have tried installing windows 1.28 in vmware copied a show that doesn’t work anymore and there it worked.
To me it looks like DB got screwed by that update somehow. Even deleting and re-adding tv show library does not fix that. For whatever reason only like 4-5 out of like 15 shows are shown when using Plex TV Scanner. With “old” scanner all shows are shown. So very unlikely it is permission problem.

FWIW: A friend of mine has the exact same problem, he changed nothing but upgraded and some TV-Shows wont update form him anymore. He tried downgrading but that didn’t help either. He is running plex on synology nas. I am running 1.28 on windows and 1.25 on qnap.

log from a show that doesn’t show up:

those errors that show up (which to me seem unrelated):

Can you please post a screenshot of some of the files that plex isnt scanning? Im 99% sure its a naming issue. Just because your non-standard schema used to work, doesnt mean that support for that format wont get dropped at some point.

Mayans?

  1. Is z:\torrents where the files are downloaded? If so, do not have Plex scan that folder. Move the media into a new folder once the download is finished.
    Scanning a folder with partially downloaded files will cause issues with Plex correctly recognizing and organizing media. It also results in Plex continuously scanning the folder as the download progresses and Plex is notified that the contents have changed.

  2. Rename per Plex documentation then Plex Dance the show.

/TV Shows  <-- folder added to TV show library.  Name does not matter.
../Mayans M.C. (2018) {tvdb-349659} <-- show_name (year).  ID optional, but helps.
..../Season 01 <-- "Season" in English.  Two digits for number.
....../Mayans M.C. (2018) s01e01.ext <-- sXXeYY mandatory.  ext = mkv/mp4/etc.

If you want to keep codec, etc info, put it in square brackets at the end of the folder/file name so Plex will ignore it. Mayans M.C. (2018) {tvdb-349659} [other stuff].

Then please explain why the same thing works if I copy it to install on vmware (1.28) or nas (1.25) ? :slight_smile:
I am doing it like this for 5+ years now and never had an issue until 1.28. I download, wait till finished and then do update library.
Also the naming has just something to do with series, season grouping. Plex still should add anything video it finds.

I’ve deleted %APPDATA%\Plex Media Server now, did not help.
does not show up in plex after scan:


(windows discards last ‘.’ in file/dir names)

no idea if that’s related but that url is definitely broken

2022-08-24 14:48:20,884 (33ac) :  ERROR (networking:196) - Error opening URL 'http://resources-cdn.plexapp.com/hashes.json'
2022-08-24 14:48:20,891 (33ac) :  CRITICAL (core:574) - Exception getting hosted resource hashes (most recent call last):
  File "C:\Program Files (x86)\Plex\Plex Media Server\Resources\Plug-ins-5bd057d2b\Framework.bundle\Contents\Resources\Versions\2\Python\Framework\components\runtime.py", line 1291, in get_resource_hashes
    json = self._core.networking.http_request("http://resources-cdn.plexapp.com/hashes.json", timeout=5).content
  File "C:\Program Files (x86)\Plex\Plex Media Server\Resources\Plug-ins-5bd057d2b\Framework.bundle\Contents\Resources\Versions\2\Python\Framework\components\networking.py", line 242, in content
    return self.__str__()
  File "C:\Program Files (x86)\Plex\Plex Media Server\Resources\Plug-ins-5bd057d2b\Framework.bundle\Contents\Resources\Versions\2\Python\Framework\components\networking.py", line 220, in __str__
    self.load()
  File "C:\Program Files (x86)\Plex\Plex Media Server\Resources\Plug-ins-5bd057d2b\Framework.bundle\Contents\Resources\Versions\2\Python\Framework\components\networking.py", line 158, in load
    f = self._opener.open(req, timeout=self._timeout)
  File "C:\Program Files (x86)\Plex\Plex Media Server\python27.zip\urllib2.py", line 435, in open
    response = meth(req, response)
  File "C:\Program Files (x86)\Plex\Plex Media Server\python27.zip\urllib2.py", line 548, in http_response
    'http', request, response, code, msg, hdrs)
  File "C:\Program Files (x86)\Plex\Plex Media Server\python27.zip\urllib2.py", line 473, in error
    return self._call_chain(*args)
  File "C:\Program Files (x86)\Plex\Plex Media Server\python27.zip\urllib2.py", line 407, in _call_chain
    result = func(*args)
  File "C:\Program Files (x86)\Plex\Plex Media Server\python27.zip\urllib2.py", line 556, in http_error_default
    raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
HTTPError: HTTP Error 403: Forbidden

Can you provide your server logs. Snippets don’t really help.

uninstalled plex, delete appdata, installed latest, added tv-show folder:
Plex Media Server Logs_2022-08-24_15-21-40.zip (31.1 KB)

From what I can tell it appears the files are most likely getting filtered out for some reason.

Could you show me exactly how some of the files are named? I can then replicate that on my side to see if I get the same result.

I was in your shoes. At one point I was using the <show> - [SSxEE] - <Title> format, I had lost 1/3 of my library before I caught what was happening.

When you are moving around and renaming files make sure you Plex Dance them otherwise you may not get the results you want.

should add anything video it finds. Wrong, Plex shows anything it can recognize as a valid for the library type defined, anything it doesnt understand it ignores.

I doubt it has something to do with naming, I can copy w/o renaming to NAS and plex picks them up, same w/ server installed in vmware for testing.
I can rename these files, copy to different directories on this install and plex never adds them with Plex TV Series scanner.
this is really weird and does not make much sense :thinking:

none of these file will show up:

#/z/torrents/TV-Shows
$ find . -type f
./beforeigners/S01E01.mp4
./beforeigners/S01E02.mp4
./beforeigners/S01E03.mp4
./beforeigners/S01E04.mp4
./beforeigners/S01E05.mp4
./beforeigners/S01E06.mp4
./Deadliest Catch/Deadliest.Catch.S18E17.1080p.DSCP.WEBRip.AAC2.0.x264-WhiteHat[rarbg]/Deadliest.Catch.S18E17.1080p.DSCP.WEB-DL.AAC2.0.x264-WhiteHat.mkv
./Deadliest Catch/Deadliest.Catch.S18E17.1080p.DSCP.WEBRip.AAC2.0.x264-WhiteHat[rarbg]/RARBG.txt
./Deadliest Catch/Deadliest.Catch.S18E17.1080p.DSCP.WEBRip.AAC2.0.x264-WhiteHat[rarbg]/RARBG_DO_NOT_MIRROR.exe
./Deadliest Catch/Deadliest.Catch.S18E18.1080p.DSCP.WEBRip.AAC2.0.x264-WhiteHat[rarbg]/Deadliest.Catch.S18E18.1080p.DSCP.WEB-DL.AAC2.0.x264-WhiteHat.mkv
./Deadliest Catch/Deadliest.Catch.S18E18.1080p.DSCP.WEBRip.AAC2.0.x264-WhiteHat[rarbg]/RARBG.txt
./Deadliest Catch/Deadliest.Catch.S18E18.1080p.DSCP.WEBRip.AAC2.0.x264-WhiteHat[rarbg]/RARBG_DO_NOT_MIRROR.exe
./Jett/Jett.S01.COMPLETE.720p.AMZN.WEBRip.x264-GalaxyTV[TGx]/Jett.S01E01.720p.AMZN.WEBRip.x264-GalaxyTV.mkv
./Jett/Jett.S01.COMPLETE.720p.AMZN.WEBRip.x264-GalaxyTV[TGx]/Jett.S01E02.720p.AMZN.WEBRip.x264-GalaxyTV.mkv
./Jett/Jett.S01.COMPLETE.720p.AMZN.WEBRip.x264-GalaxyTV[TGx]/Jett.S01E03.720p.AMZN.WEBRip.x264-GalaxyTV.mkv
./Jett/Jett.S01.COMPLETE.720p.AMZN.WEBRip.x264-GalaxyTV[TGx]/Jett.S01E04.720p.AMZN.WEBRip.x264-GalaxyTV.mkv
./Jett/Jett.S01.COMPLETE.720p.AMZN.WEBRip.x264-GalaxyTV[TGx]/Jett.S01E05.720p.AMZN.WEBRip.x264-GalaxyTV.mkv
./Jett/Jett.S01.COMPLETE.720p.AMZN.WEBRip.x264-GalaxyTV[TGx]/Jett.S01E06.720p.AMZN.WEBRip.x264-GalaxyTV.mkv
./Jett/Jett.S01.COMPLETE.720p.AMZN.WEBRip.x264-GalaxyTV[TGx]/Jett.S01E07.720p.AMZN.WEBRip.x264-GalaxyTV.mkv
./Jett/Jett.S01.COMPLETE.720p.AMZN.WEBRip.x264-GalaxyTV[TGx]/Jett.S01E08.720p.AMZN.WEBRip.x264-GalaxyTV.mkv
./Jett/Jett.S01.COMPLETE.720p.AMZN.WEBRip.x264-GalaxyTV[TGx]/Jett.S01E09.720p.AMZN.WEBRip.x264-GalaxyTV.mkv
./Jett/Jett.S01.COMPLETE.720p.AMZN.WEBRip.x264-GalaxyTV[TGx]/[TGx]Downloaded from torrentgalaxy.to .txt
./MorePower/More.Power.S01E03.1080p.HEVC.x265-MeGusta[eztv.re].mkv
./PeakyBlinders/.dd1c7f8933d86994c6328110fde837574d1f8583.parts
./PeakyBlinders/Peaky.Blinders.S06E01.1080p.iP.WEBRip.AAC2.0.x264-FLUX[rartv]/Peaky.Blinders.S06E01.Black.Day.1080p.iP.WEB-DL.AAC2.0.H.264-FLUX.mkv
./PeakyBlinders/Peaky.Blinders.S06E01.1080p.iP.WEBRip.AAC2.0.x264-FLUX[rartv]/RARBG.txt
./PeakyBlinders/Peaky.Blinders.S06E02.1080p.iP.WEBRip.AAC2.0.x264-FLUX[rartv]/Peaky.Blinders.S06E02.Black.Shirt.1080p.iP.WEB-DL.AAC2.0.H.264-FLUX.mkv
./PeakyBlinders/Peaky.Blinders.S06E02.1080p.iP.WEBRip.AAC2.0.x264-FLUX[rartv]/RARBG.txt
./PeakyBlinders/Peaky.Blinders.S06E03.1080p.HEVC.x265-MeGusta[eztv.re].mkv
./PeakyBlinders/Peaky.Blinders.S06E04.Sapphire.1080p.iP.WEBRip.AAC2.0.x264-FLUX[rartv]/Peaky.Blinders.S06E04.Sapphire.1080p.iP.WEB-DL.AAC2.0.H.264-FLUX.mkv
./PeakyBlinders/Peaky.Blinders.S06E04.Sapphire.1080p.iP.WEBRip.AAC2.0.x264-FLUX[rartv]/RARBG.txt
./PeakyBlinders/Peaky.Blinders.S06E05.1080p.HEVC.x265-MeGusta[eztv.re].mkv
./PeakyBlinders/Peaky.Blinders.S06E06.1080p.HEVC.x265-MeGusta[eztv.re].mkv
./The Blacklist Redemption S01/The.Blacklist.Redemption.S01E01.1080p.WEB-DL.DD5.1.H264-RARBG.mkv
./The Blacklist Redemption S01/The.Blacklist.Redemption.S01E02.720p.WEB-DL.DD5.1.H264-RARBG.mkv
./The Blacklist Redemption S01/The.Blacklist.Redemption.S01E03.1080p.WEB-DL.DD5.1.H264-RARBG.mkv
./The Blacklist Redemption S01/The.Blacklist.Redemption.S01E04.1080p.WEB-DL.DD5.1.H264-RARBG.mkv
./The Blacklist Redemption S01/The.Blacklist.Redemption.S01E05.1080p.WEB-DL.DD5.1.H264-RARBG.mkv
./The Blacklist Redemption S01/The.Blacklist.Redemption.S01E06.1080p.WEB-DL.DD5.1.H264-RARBG.mkv
./The Blacklist Redemption S01/The.Blacklist.Redemption.S01E07.1080p.WEB-DL.DD5.1.H264-RARBG.mkv
./The Blacklist Redemption S01/The.Blacklist.Redemption.S01E08.1080p.WEB-DL.DD5.1.H264-RARBG.mkv

And my point has been made:
/Jett/Jett.S01.COMPLETE.720p.AMZN.WEBRip.x264-GalaxyTV[TGx]/Jett.S01E01.720p.AMZN.WEBRip.x264-GalaxyTV.mkv is completely wrong format

The format should be /Jett (2019) {tvdb-359791}/Season 01/Jett S01E01.mkv

You need to rename these files and directories, then Plex Dance them.

and /The Blacklist Redemption S01/The.Blacklist.Redemption.S01E05.1080p.WEB-DL.DD5.1.H264-RARBG.mkv should be:
/The Blacklist Redemption (2019) {tvdb-311903}/Season 01/The Blacklist Redemption S01E05.mkv

How many times do I have to tell you that I can rename all day long but plex still doesn’t add them?

$ find . -type f | grep Jett
./Jett/Jett (2019) {tvdb-359791}/Season 01/Jett S01E01.mkv

Lose the first Jett directory.
/TV-Shows/Jett (2019) {tvdb-359791}/Season 01/Jett S01E01.mkv

Also, Plex Dance the entire show.

verbose logging, new directory w/ just one file

plus one w/ original filename:

Aug 25, 2022 06:22:19.064 [3652] VERBOSE - Adding file for scanner: "Z:\torrents\TV-Shows\Jett (2019) {tvdb-359791}\Season 01\Jett S01E01.mkv"
Aug 25, 2022 06:22:19.064 [3652] VERBOSE - Adding file for scanner: "Z:\torrents\TV-Shows\Jett (2019) {tvdb-359791}\Season 01\Jett.S01E02.720p.AMZN.WEBRip.x264-GalaxyTV.mkv"

so it seems to find files…

I did if you check 2nd post logs…