NFS Mounted Remote Media

Server Version#:1.16.5.1488
Player Version#:
Hey All; Hoping someone can help; I have CENTOS7 box running Plex with NFS mounts back to my media. (There are several) on a QNAP NAS. The CENTOS box is also a Samba 4.10 Domain Controller as is my QNAP.

The UNIX permissions on the files on the QNAP are 775 * for all files/folders. There is a local plex user on the NAS that has RW permsisons; (RO did the same thing), the export permisisons are 192.168.1.1/24 which includes all nodes on my LAN, Anonymous GID is Everyone, and the Anonymous UID is Plex.

In the log I get couldn’t check for the existence of file, boost::filesystem::status: Permission denied: “/usr/data/share/Movies/Classics”. I can freely browse the filesystem without any issues, and confirmed 775 on the files in question.

What am I missing?

Plex Media Scanner.log (2.3 KB)

Would you mind recreating the problem, Downloading the logs (a ZIP file), then attaching that ZIP ?

I only see a few lines of a “scaner log” which doesn’t provide any information.

You also reference having your movies mounted under /usr/data/share ?
If so, you don’t need to do this. Why not have a /nas or /qnap mount point? It’s a lot eaiser

Thanks for the response Chuck; I think I found the solution; The folder structure /usr/data/share is how I laid out the filesystems on the Centos box; Thta’s the only reason for that.

The solution seems to be related to the UID/GID, and the user plex on the QNAP box. Basically, the user “plex” on the QNAP is the UID for the various exports. (Movies, Music, TV_Shows). The user plex also exists on the CENTOS box, since the install creates that user, and that user must have permissions to the default install path, /var/lib/plexmediaserver. The problem was, on QNAP, the user plex had a UID of 1001 and on the CENTOS box 1000. QNAP doesn’t allow to specify UID, so I simply changed the UID of the plex user on CENTOS to match that of the plex user on QNAP.

That seemed to fix the problem. (FINALLY). Hopefully this will help someone. Of course, if there’s a better way, by all means, I’m open.

Thanks again!!

On QNAP, PMS runs as UID/GID 0:0 (root)

QNAP, will let you coerce the UID/GID if you edit /etc/password after you create the username.

After this step, mount the share with sec=sys option to use UID/GID matching .

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