Media frequently doesn't reach Plex, always have to update permissions to fix

Server Version#: Version 1.24.0.4921
Player Version#: Plex for Mac Version 1.35.1.2632-c6783c78
Running on a Synology NAS DS220+

STILL having the issue I posted about last September… Movies disappeared from Plex but still exist on HD

I don’t know why @trumpy81 deleted their reply, but here it is: Imgur: The magic of the Internet

About 20% of the time, a new download will not find its way to plex. I go through the instructions of resetting permissions and restarting Plex, and 90% of the time that solves it - sometimes I just need to re-download the file.

For example, yesterday I downloaded three movies via Radarr. Two are in Plex now, and one isn’t.

I don’t understand why this is happening. I never mess with my permissions, and it seems like if there was really a problem with them, NOTHING would be added.

What do I need to do to make this stop happening, once and for all?

Trumpy has left the Plex Ninja program and no longer contributes here.

If you are using a 3rd party program to download your media and place it in your media folders,

  1. Make certain Folder permissions are set to 755
  2. Make certain File permissions are set to 644

While this will not guarantee you are the owner of the files (which is part of your configuration for that utility),

it will guarantee PMS can read the media files

Hi @ChuckPa , thank you for replying and the note about Trumpy.

As I mentioned - it’s not like “all video isn’t working”, it’s sporadically not working. This is the frustrating part about how it could be permissions issues. And every video is going through NZBGet, which doesn’t change permissions ever.

Below are my permissions in Radarr and my NAS. Please let me know if anything stands out as incorrect, or if there’s any other screenshots that might shed some light on this situation.

This is the Permissions tab on Radarr, but it’s identical on Sonarr.

My media folder Local Users permissions

My Media folder System Internal User permissions

They say “Custom” but as you can see below, it’s EVERYTHING (all boxes are checked)

  1. Plex does NOT need “Custom” access to your media.
  2. It only needs READ for playback.
  3. It need Read/Write if you use DVR or want to allow Media Deletion in the apps.

as for Sonarr,

After your download is complete, and Sonarr is “importing” the media into the destination folder, you want it to set the permissions.

If you are running Sonarr as PlexMediaServer UID/GID, you would not need to change them but I suspect you’re running as your username so you do need to have Sonarr “relax” the security

#3 is applicable, I want to allow Media delition in Plex.

I’m running Sonarr as the default 100 GID / 1026 PID as detailed here How to Install Sonarr on Your Synology NAS – Marius Hosting . This is the same GID/PUID as my download clients.

I found one more thing I keep having to update

This setting - editing the folder in File Manager - keeps getting reset.

Note that the exact same modal above (via Control Panel > Shared Folders) had these settings all checked!

I have to check “Administration”, then “Done”, then “Apply to this folder, sub-folder, and files”, then it cycles through allll the folders in there, and finally (sometimes after a Plex restart or Plex media scan) the media syncs.

Edit: Yep, that worked. Maybe this is something I need to ask on the Synology forum. But, if anyone does know how to fix it, please do share.

If DSM keeps resetting the shared folder permissions – That’s unfortunately a Synology problem.

I am going to experiment.

There might be a non-standard (hence NOT synology approved) way to do this at the Linux level.

so i just had this happen last Sunday. A movie got added the same as all other movies get added and Plex can’t see it because the permissions are not the same as the other movies. Obviously i know how to fix it, but this is a very sporadic issue for me so its not a big deal. I can’t recall if i already posted about this somewhere, but every couple of months a single movie or tv show will get a different set of permissions although it is ran through the same system similar to @mrviper .

I’d assume its on the synology side of the house but thats a guess. All of my set up is run in docker. Not a big enough deal for me to spend a bunch of time trying to uncover and fix it but figured i’d note it that you are not alone. Ive had this reoccurring issue for a couple of years now.

Plex is a fixed and very limited username on Synology.
The app can’t change. It can’t even install itself anymore.
The UID/GID are created and fixed by Synology the first time it’s installed.

I regret to point the finger but "It’s not Plex – this time :rofl: "

ya i agree. don’t think its possible that it is plex (plex only looks and can only see what it has permission to). I’d guess its a hiccup in synology when the services in Docker move the file to the library. I’ll take a quick scroll through logs for this particular file when i get home but i’m leaning towards a synology issue.

You KNOW what Synology is going to say… :roll_eyes:

“3rd party app”

:rofl:

The trick with setting Linux mode permissions (755/644) in an app … set ALL of them or NONE of them.

You might need to get a big hammer and break the ACLs on the shared folder and push it all back to Linux mode with you as the owner and the container running as your UID (GID=users).

Once that’s done, 755/644 will work every time

ya i am not even going to go through the hassle of all of that. All my apps have that permission set and it works 99.99% of the time. Not worth digging further for the occasional time i have to open dsm and apply the set permissions to all subfolders. Easy enough.

But i will spend the time to just look at the logs for this one file. see if i see anything. Even though it isn’t plex related, probably still useful for people to see this thread when they think its a plex issue.

Thanks. I greatly appreciate NOT taking the heat for something not our fault :smiley:

LOL

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