Not detecting some new movie files

Server Version#: 1.25.6.5577
Player Version#: 8.0 beta / 7.29 public
DSM version 7.0.1-42218 Update 2

Some added movie files show up at once, for other files i have to look for another version, sometimes multiple times, before the file ultimately is detected and added properly. Using docker apps to add media. Naming as advised.

Please help :slight_smile: many thanks!

Can you give some details on what movies you are having issues with, the actual file names, and the folder paths for those affected files, and what folders you have configured in your library?

Those issues are 95% of these cases.

Just found out that for one file that wouldn’t be detected, mysteriously the permissions for PlexMediaServer did not trickle down to the file itself. The folder had correct privileges, but the file did not.
Any ideas why this happens, who to blame (nzbget or radarr) and how to fix?

Obviously need to set permissions (755 dir, 644 files) in those apps.

To remedy now, use this . It also works for resetting permissions because it descends down through the shared folder touching all files and directories.

Alternative fix/avoidance – Run your media apps as members of the PlexMediaServer group. This will give you ownership and allow PlexMediaServer permission to read,

1 Like

Thanks so much, this (your how-to) instantly added many many files :slight_smile:

I checked permissions in the apps and they are 755/644 as you said. I am reluctant to change the docker user groups as i am afraid this could break other things.

Is it safe to say DSM is at fault as permissions were set correctly all the time?
I temp fix would be to run your how-to sometimes, but i would still be looking for a definitive solution……

The root problem here is:

  1. DSM 7 forced username change from Plex:users to PlexMediaServer:PlexMediaServer

  2. The above change completely isolates PMS from ā€œUsersā€ because it is now a ā€œserviceā€

  3. If you were to add PlexMediaServer to the group your media is being written as via the linux command line, you can probably hack DSM 7 permissions enough to make it work (after restarting DSM) and without breaking DSM.

  4. Such a tweak would leave Plex where it is but poke a hole in the new DSM security so it can reach files written by the specific group.

1 Like

And by using the same group, do you mean my ā€˜dockeruser’ for docker apps and ā€˜PlexMediaServer’ should just have the same PGID?

There are many ways to slice this

  1. Add PlexMediaServer to the group dockeruser is using
    -or-
  2. change the container to use PlexMediaServer GID ( id PlexMediaServer in the shell )
    -or-
  3. Change the apps to write dirs with 755 and files with 644
1 Like

Thanks a million, great and lightning fast support :slight_smile: this will probably get me on my way for now.

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