Plex Media doesn't detect automaticaly new media

Apologies.

  1. Stop Plex
  2. Open File Station
  3. Navigate down into Plex/Library/Application Support/Plex Media Server/Data
  4. Delete everything in Data
  5. Start Plex
  6. Force Refresh All Metadata on each library section
  7. Download the logs ZIP again and attach.

WARNING: Do not accidentally delete the contents of the “Databases” directory
Be careful where you are navigating

Hello @ChuckPa,

No need to apologies ^^.
I’ve got a problem, I’ve no “Data” directory in “/volume2/Plex/Library/Application Support/Plex Media Server”…

/volume2/Plex/Library/Application Support/Plex Media Server/Plug-in Support/Data

Now I need apologise.

Haha ! No worries, ■■■■ happens ^^.
Here we go again ! Let me know if you’ve got what you need, please.
Plex Media Server Logs_2020-03-04_12-34-26.zip (6,4 Mo)

@jomofcw

Thanks for the logs.

Please check your Server settings.

  1. Settings - Server - Library - SHOW ADVANCED
  2. Uncheck “Scan my library automatically”
  3. SAVE
  4. Now check the box again
  5. SAVE again

Your logs are showing me that it’s not enabling automatic detection when PMS starts.
I normally see [Notify] messages when Automatic is enabled. I do not see them in yours.

Done ! Nothing better sadly :/.
To avoid any confusion, as I get the interface in french, can you confirm me that’s the first checkbox in “Library”, please ? In french “Analyser ma bibliothèque automatiquement”.

Hello !

Any news about it, please ? @ChuckPa ?

@jomofcw

yes, correct

Waiting for feedback and an updated set of logs at this point

Hello @ChuckPa,

thanks for your feedback.
Shall I do something ? You’re waiting for new logs… from me ? After unchecking/checking the automatic scan option ?

Yes please.

  1. With the automatic option box checked.
  2. Restart Plex
  3. Do nothing for 3 minutes (let it come up to fully ready and return to idle state)
  4. Download the Logs ZIP for me
  5. Please attach

Hello @ChuckPa,

Here we go !
Plex Media Server Logs_2020-03-18_17-17-34.zip (3,2 Mo)

Control Panel - Shared Folders - EDIT the media share on Volume2 - PERMISSIONS tab

Give user plex permission to read it.

Mar 18, 2020 17:10:46.014 [0x7f970c41e700] DEBUG - Starting scheduled updates, every 3600 seconds
Mar 18, 2020 17:10:46.014 [0x7f970c41e700] INFO - Refreshing paths watched by LibraryUpdateManager
Mar 18, 2020 17:10:46.015 [0x7f970c41e700] DEBUG - LibraryUpdateManager will start watching /volume2/media/Movies
Mar 18, 2020 17:10:46.015 [0x7f970c41e700] DEBUG - LibraryUpdateManager will start watching /volume2/media/TV Shows
Mar 18, 2020 17:10:46.015 [0x7f970c41e700] DEBUG - [Notify] Initializing.
Mar 18, 2020 17:10:46.015 [0x7f96ed6fb700] DEBUG - [Notify] Waiting for inotify notifications...
Mar 18, 2020 17:10:46.015 [0x7f970c41e700] DEBUG - Done waiting for all plug-ins to start.
Mar 18, 2020 17:10:46.015 [0x7f970e4a7700] ERROR - [Notify] Failed to add watch for "/volume2/media/Movies" (13: Permission denied)
Mar 18, 2020 17:10:46.015 [0x7f970c41e700] DEBUG - PluginRepository::setStartState: 3, complete
Mar 18, 2020 17:10:46.016 [0x7f96ed40d700] DEBUG - Downloading document http://127.0.0.1:32400/:/plugins/com.plexapp.agents.imdb/prefs
Mar 18, 2020 17:10:46.016 [0x7f970e4a7700] ERROR - [Notify] Failed to add watch for "/volume2/media/Movies/Eyjafjallajokull.2013.FRENCH.720p.BluRay.x264-Monday27th" (13: Permission denied)
Mar 18, 2020 17:10:46.016 [0x7f970e4a7700] ERROR - [Notify] Failed to add watch for "/volume2/media/Movies/Batman" (13: Permission denied)
Mar 18, 2020 17:10:46.016 [0x7f970e4a7700] ERROR - [Notify] Failed to add watch for "/volume2/media/Movies/Deux Frères.2004.TrueFrench.HDLight 1080p.x264.AC3.Freek911" (13: Permission denied)
Mar 18, 2020 17:10:46.016 [0x7f96ed40d700] DEBUG - Starting file watcher for com.plexapp.agents.imdb
Mar 18, 2020 17:10:46.016 [0x7f970e4a7700] ERROR - [Notify] Failed to add watch for "/volume2/media/Movies/Wonder.Park.2019.TRUEFRENCH.720p.BluRay.x264-NEO" (13: Permission denied)
Mar 18, 2020 17:10:46.016 [0x7f970e4a7700] ERROR - [Notify] Failed to add watch for "/volume2/media/Movies/The Great Gatsby 2013 MULTI TRUEFRENCH 1080p BluRay DTS-HDMA AC3 x264-FrIeNdS" (13: Permission denied)
Mar 18, 2020 17:10:46.016 [0x7f970e4a7700] ERROR - [Notify] Failed to add watch for "/volume2/media/Movies/Matrix" (13: Permission denied)
Mar 18, 2020 17:10:46.016 [0x7f970e4a7700] ERROR - [Notify] Failed to add watch for "/volume2/media/Movies/Star Wars" (13: Permission denied)
Mar 18, 2020 17:10:46.016 [0x7f970e4a7700] ERROR - [Notify] Failed to add watch for "/volume2/media/Movies/Papa.Ou.Maman.2.2016.FRENCH.720p.BluRay.x264-PKPTRS" (13: Permission denied)
Mar 18, 2020 17:10:46.016 [0x7f970e4a7700] ERROR - [Notify] Failed to add watch for "/volume2/media/Movies/Now.You.See.Me.2013.MULTi.TRUEFRENCH.EXTENDED.1080p.BluRay.x264-FiDELiO" (13: Permission denied)
Mar 18, 2020 17:10:46.017 [0x7f970e4a7700] ERROR - [Notify] Failed to add watch for "/volume2/media/Movies/Supercondriaque.2014.FRENCH.720p.BluRay.x264-BRAZiL" (13: Permission denied)
Mar 18, 2020 17:10:46.017 [0x7f970e4a7700] ERROR - [Notify] Failed to add watch for "/volume2/media/Movies/Supercondriaque.2014.FRENCH.720p.BluRay.x264-BRAZiL/Proof" (13: Permission denied)
Mar 18, 2020 17:10:46.017 [0x7f970e4a7700] ERROR - [Notify] Failed to add watch for "/volume2/media/Movies/The.Expendables.3.2014.MULTi.TRUEFRENCH.1080p.BluRay.x264-AiRLiNE" (13: Permission denied)

@ChuckPa it’s already done :/.
I try to apply it again.
Perhaps, when files are created through my Transmission package, it doesn’t give it the correct permissions… I’ll look at it.

Thanks again for your help.

if you have manual control;

Directories = 755
Files = 644

Hello !
Saldy, not better :/.
I know how to chmod through shell, but how to force the new directories/files (those which are not already created but will be when Transmission will download it) to have the correct permission, please ?

A thing I still not understand : if the directories/files have not the correct permissions (and I don’t say it’s not the fact) how is it possible that manual scan query find it ?

Thanks again for your precious help (and I hope you’re fine, related to the COVID-19 situation).

Hello @ChuckPa,

I’m still stuck in it :’(.
I’ve tried to apply again permission using File Station on DSM, all seems to be OK for Plex user (it has all the write/read access permissions on the “media” directory (confirmed by the fact I can read/modify/delete any files using Plex, and manual scan work well).
I don’t know how to apply 755/644 CHMOD for the user Plex using Shell access :/.
I’ve just try to add “advanced permissions” to the directory, using File Station, to see if it change something. Waiting for a test… I’ll keep you up to date about it.

I’ve just tested it again : the advanced permissions I add doesn’t fix it either :/.

Please undo any advanced changes you’ve made.

@ChuckPa,

Changes undone !
If I’m right, we already concidered the fact of a limit of directories count, and it doesn’t seem to be the problem.
To be sure, see attached a screenshot of the counts on my “media” directory.