Plex Not Finding (Some) Files from Library

Hello!

I had an issue earlier that ChuckPa helped me out with but I’m running into another issue.

I currently have 2 sets of media folders on my Synology DS920+.

  1. Movies & TV Shows directly added to the NAS from my old server. These all got picked up and work fine in Plex.

  2. Movies & TV Shows that are added in via Syncthing from a secondary location.

The movies and tv shows added from Syncthing are not showing up in my Plex library for some reason. Any ideas would be appreciated.

Here are the permissions of the folder on my Synology:

Here is an edited photo showing there are 2 movies in the Movie - Sync folder:

And here is the library on Plex itself, where it should pick up files from both of the directories:

The ‘Movies’ folder is getting read fine, but the ‘Movies - Sync’ folder is not for some reason. Same with the TV shows as well.

Server Version#: 1.21.0-3744 from the Package Center

@dippindabbin

In DSM 6, we granted “Plex” permission to read our media.

When we added new media where the permissions weren’t right (what i think here),
– we went into FileStation and corrected them.

Sounds like what you must do for “Movies - Sync”

In DSM 7. we use the new (DSM forced) “PlexMediaServer” name.

The “Movies - Sync” folder has read/write permissions enabled for PlexMediaServer already (see in screenshot). Am I missing something?

Edit: You were right again of course. I see that there’s a checkbox in the bottom of the permissions page to give those permissions to all subfolders and files. Checking that off fixed the issue. Thanks again for the help ChuckPa. You’re awesome!

I got that.

One of the problems with other programs is they don’t respect ACLs.

In most cases, they put the files into position with YOUR username and permissions set exclusively to you (which is best practice but not what you want when sharing your files with “PlexMediaServer” who must also read them.

By applying the permissions at the top, AND going down all folders and sub-folders, we get the permissions set for Plex. Now we’ll know permissions are correct (whicih Linux is VERY strict about adhering to)

Yeah I thought it would have applied to all subfolders/files automatically. I appreciate your help though, seems to all be setup properly now :slight_smile:

Quick question actually as well - I see that after I use the small checkbox that says to apply to all files/subfolders doesn’t stick. I have to apply it every time something new is added to the folder. Is there a way to always have the permissions attached to all new files added to those folders?

@dippindabbin

When you add files with an external program ? Usually YES you need to do it.

The problem is where the files are coming from.

I might be able to help if I know more about what you’re doing.

I know that SMB (MacOS and Windows) + NFS (Linux) work well when “world” or “Othher” permissions are granted on the files BEFORE copying.

Syncthing is pulling files from another computer when they are added to specific folders, then Syncthing adds the files to the ‘Movies - Sync’ folder on the NAS. I want those files to have permissions set as they come in so Plex can auto-scan library and find them as they are added in.

I see they are an opensource package with no (listed) Synology package offering.

Given the listed operating systems all are Unix/Linux based with exception of Windows,

  1. ACLs are preferred because that’s how Synology operates. (Windows respects ACLs)

–otherwise–

  1. ACLs set to allow everyone READ permission
    else
  2. Unix/Linux file permissions must be 644 after depositing on the Syno host
  3. Unix/Linux directory permissions must be 755 after depositing on the Syno host.

It is the responsibility of the transferring program to set the permissions.
DSM 7 will not automatically set permissions from external applications (NO SetUID/SetGID available in the DSM 7 GUI )

Gotcha - I will see if I can set some permissions for the files through Syncthing then. I appreciate the help again. I hope you have a good rest of your day/night!

Good luck with that. Sounds like a PITA in the making. :grimacing:

Once it’s setup once I don’t have to worry about it again :joy:

Uh huh. riiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiight . :wink:

Wanna buy a bridge? :rofl:

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