PMS no longer finding new movies

I can’t figure out why my PMS stopped recognizing new movies.
I am running PMS on my Synology PMS718+ and have been really happy with it until just recently when it stopped recognizing new Movies (TV shows seem to be recognized just fine).

I checked the user privileges on the folders that I am hosing the media on and those are all fine.
I have (5) folders that feed into the Movie Library. Even if I rename the new movie file or folder or move it to another folder for some reason, it does not recognize it when tell PMS manually to search for new media.

To further complicate things, I have been able to remove a folder from the movie library, then, re-add the folder and the movie gets added (sometimes).

Lastly, last week, I was having connectivity issues uploaded (not sure if this is coincidence) and (2) movies that I downloaded came up right away after downloading them.

Looking into my logs, I can see that the PMS is seeing the movies that is should be adding, but, I don’t see an error.

“Good Boys” and “Blinded By The Light” are two movies that were recently added that are not coming up in Plex.

I have attached my logs below.

Anyone have any ideas?
Should I just reinstall plex and start a fresh copy?

Plex Media Server.log (8.7 MB)
Server Version#:4.12.2
Player Version#:

The Plex Media Scanner.log and imdb log would have more info on why they might get ignored or misclassified as something else.

Also please turn off Verbose logging

Thanks for looking into this!
See below requested logs (Verbose Logging turned off).
com.plexapp.agents.imdb.log (6.2 KB) Plex Media Scanner.log (1001.9 KB)

I moved a movie from one directory to another and scanned it manually again then I found the below in Media Scanner Log.
Is this file being incorrectly matched to an existing entry in the database?

Nov 18, 2019 12:44:06.417 [0x7f52be047740] DEBUG - Path matched, we’re reusing media item 45821
Nov 18, 2019 12:44:06.417 [0x7f52be047740] DEBUG - Scanner: Processing directory /volumeUSB1/usbshare/Docker/Downloads/Movies/Good.Boys.2019 (parent: yes)
Nov 18, 2019 12:44:06.419 [0x7f52be047740] DEBUG - Skipping over directory ‘Good.Boys.2019’, as nothing has changed; removing 0 media items from map.

Please do the following:

  1. With DEBUG logging enabled and VERBOSE disabled.
  2. Restart PMS
  3. Wait 2 minutes
  4. Now download the log set.

In the case of that file:

a. Naming is not ideal. Best would be Good Boys (2019)
b. Perform the Plex Dance (move out, scan, empty trash, clean bundles, move back, scan)

If still failing, download the logs (Settings - Server - Troubleshooting - Download Logs) and attach the ZIP

Went through the process as outlined above and same results.
Attached are the log files.

Renamed the test file as suggested and still nothing.

TV shows (not ideally named) are still coming through just fine, seems to be just movies.

Plex Media Server Logs_2019-11-22_20-45-22.zip (4.4 MB)

Ton of permission denied errors on the directories themselves.

Nov 22, 2019 20:36:27.027 [0x7fa77e221700] DEBUG - [Notify] Now watching "/volumeUSB2/usbshare/Movies/Indiana Jones/Indiana Jones And The Raider of the Lost Ark"
Nov 22, 2019 20:36:27.027 [0x7fa77e221700] DEBUG - [Notify] Now watching "/volumeUSB2/usbshare/Movies/Indiana Jones/Indiana Jones And The Temple of Doom"
Nov 22, 2019 20:36:27.027 [0x7fa77e221700] ERROR - [Notify] Failed to add watch for "/volumeUSB2/usbshare/Movies/inferno.2016.720p.bluray.x264-sparks" (13: Permission denied)
Nov 22, 2019 20:36:27.027 [0x7fa77e221700] DEBUG - [Notify] Caught exception on directory.
Nov 22, 2019 20:36:27.027 [0x7fa77e221700] DEBUG - [Notify] Now watching "/volumeUSB2/usbshare/Movies/Inherent.Vice.2014.DVDSCR.XviD.AC3-EVO"
Nov 22, 2019 20:36:27.027 [0x7fa77e221700] DEBUG - [Notify] Now watching "/volumeUSB2/usbshare/Movies/Inside.Out.2015.HDRip.XviD.AC3-EVO"
Nov 22, 2019 20:36:27.055 [0x7fa77e221700] DEBUG - [Notify] Now watching "/volumeUSB2/usbshare/Movies/Insurgent (2015) HDRip X264 720p DD5.1 NL Subs TBS"
Nov 22, 2019 20:36:27.062 [0x7fa77e221700] DEBUG - [Notify] Now watching "/volumeUSB2/usbshare/Movies/Insurgent (2015) HDRip X264 720p DD5.1 NL Subs TBS/film"
Nov 22, 2019 20:36:27.073 [0x7fa77e221700] DEBUG - [Notify] Now watching "/volumeUSB2/usbshare/Movies/Insurgent (2015) HDRip X264 720p DD5.1 NL Subs TBS/info"
Nov 22, 2019 20:36:27.073 [0x7fa77e221700] DEBUG - [Notify] Now watching "/volumeUSB2/usbshare/Movies/Interstellar 2014 1080p BRrip x264 AAC - KiNGDOM"
Nov 22, 2019 20:36:27.074 [0x7fa77e221700] DEBUG - [Notify] Now watching "/volumeUSB2/usbshare/Movies/Interstellar 2014 1080p BRrip x264 AAC - KiNGDOM/Subs"
Nov 22, 2019 20:36:27.074 [0x7fa77e221700] DEBUG - [Notify] Now watching "/volumeUSB2/usbshare/Movies/Into.the.Woods.2014.DVDSCR.XviD.AC3-EVO"
Nov 22, 2019 20:36:27.088 [0x7fa77e221700] DEBUG - [Notify] Now watching "/volumeUSB2/usbshare/Movies/Iron Man 3 2013 R6 LiNE READNFO XViD - JUSTiCE"
Nov 22, 2019 20:36:27.088 [0x7fa77e221700] DEBUG - [Notify] Now watching "/volumeUSB2/usbshare/Movies/It.2017.720p.HC.HDRip.x264.AC3.TiTAN[SN]"
Nov 22, 2019 20:36:27.088 [0x7fa77e221700] DEBUG - [Notify] Now watching "/volumeUSB2/usbshare/Movies/IT.2017.HC.HDRip.XviD.AC3-EVO-Pre"
Nov 22, 2019 20:36:27.089 [0x7fa77e221700] DEBUG - [Notify] Now watching "/volumeUSB2/usbshare/Movies/Jack.Reacher.2012.480p.BRRip.XViD.AC3-NYDIC"
Nov 22, 2019 20:36:27.089 [0x7fa77e221700] ERROR - [Notify] Failed to add watch for "/volumeUSB2/usbshare/Movies/Jack.Reacher.Never.Go.Back.2016.1080p.HC.HDRip.X264.AC3-EVO" (13: Permission denied)
Nov 22, 2019 20:36:27.089 [0x7fa77e221700] DEBUG - [Notify] Caught exception on directory.
Nov 22, 2019 20:36:27.089 [0x7fa77e221700] ERROR - [Notify] Failed to add watch for "/volumeUSB2/usbshare/Movies/Jason.Bourne.2016.720p.BluRay.x264-x0r" (13: Permission denied)
Nov 22, 2019 20:36:27.089 [0x7fa77e221700] DEBUG - [Notify] Now watching "/volumeUSB2/usbshare/Movies/Jessabelle (2014) x264 1080p Bluray DD5.1 DTS eng nlsubs TBS"
Nov 22, 2019 20:36:27.093 [0x7fa77c486700] DEBUG - HTTP 200 response from GET https://plex.tv/api/v2/release_channels?X-Plex-Token=xxxxxxxxxxxxxxxxxxxx

Also, for all your media shares, please count the number of directories (folders) in use.

I suspect it’s greater than 8192. If indeed so, we need to increase the Linux default.

It’s easy to do but first we need an accurate count.

Use FileStation to obtain that count (Properties tab)

While there, verify user Plex has read permission to the folder and media.

Well, I feel like a big dummy.
Apparently it was a permission issue that I though I already fixed.

For some reason owner and group were set to “911” in the offending directories (not really sure what that was about).

Correcting the permissions has resolved the issue.

Thank you for your time!

1 Like

Update for anyone with the same issue, I figured out the underlying cause of the issues.

I am using NZBget via Docker to download movies and this was setup years ago.
The UID and GID that NZBget was using no longer correctly correspond to the user “plex”, thus the permission issues with new downloads.

Once I corrected the environment variables (thus permissions), everything started to work again.

1 Like

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