Plexmediaserver does not see all media content

Just for fun… can you run this on server export points then on client mount point?
find . -type f| wc -w

They should match… this counts all the files so would tell us if some files aren’t being included.
I can’t see why they wouldn’t be as you don’t mention links or multiple filesystems

Perhaps find . -type f | wc -l ? (each line is a file)

SOrry CHuck, I’m a little dense here., Not sure what you want. In the years I have used PMS, I have never made an entry in fstab for the NFS mounts, Have always just used the mount command.

2717 on both

Yeah, -l probably better… -w breaks on whitespace
Until plex I never dealt with whitespaces in files/directories… such a pain going to logs on a terminal without tab complete with those log plex whitespaced directory names

Can you post the command here? Remember to use blackquotes unlike me…
Making an entry in fstab will have it automount on boot to save you the trouble of running by hand.

One other item I should mention.

In the previous incarnation I installed PMS while logged in as ‘bill’ to the server. This time I was logged in as ‘root’.

same command as originally

mount -o ro 10.10.42.63:/data8-1/tvshows /mnt/tvshows

the “-o ro” was just added at my latest mount after a reboot and has not made any difference.

What should the ownership on the files/folders be? Currently all of the folders are root:root.

The command you ran earlier makes “other” have read access to files and execute to directories so that shouldn’t be an issue in my opinion. Any user can list those files and enter those directories now.

properly mounted by /etc/fstab when the system boots and before PMS starts is the key.

# videos
vienna:/videos    /vie/videos     nfs sec=sys,intr,rw,vers=4,timeo=15,auto,async,nofail,bg 0 0
#

This mounts:

“videos” share from host “vienna”, enabling RW, NFSv4, Interruptable, Automount at boot, ASYNC i/o, won’t fail if the NAS isn’t there, but will Background it

Basic stuff, right?

Sounds good and I will do that. However, I really don’t think that is the current problem given that I have used a command line mount for years and the command actually DOES mount the shares. I can see all of the items on the PMS linux host from the command line ‘ls’ command and from the file browser.

Something else is biting me here and I would like to find out what that is. When weird stuff happens, normally I would blame Microsoft but they are obviously innocent this time!

If I were make a wild-a** guess.

The other Centos machine is sensitive to usernames.
It lets your username have access but not user plex.

I see it a lot on Synology where the plex user doesn’t have read permission to the share.
This is behaving exactly the same way

I created a plex user on the 6.9 (storage) box. Made no difference … unless ‘plex’ on the PMS box actually DOES have a password which is unknown to me.

I should add that I made sure the UID of the plex user was 990 on both boxes.

Maybe someone can suggest a few creative cusswords at this time?

While I am definitely NOT one who favors substance abuse in these situations, nevertheless I am making quite a mess of the wall that I am using for banging my head.

When I set up the NFS exports on Synology i told it (squash) to ‘map all users to admin’


and the mount command now shows the following

Now when I look at /mnt/tvshows I get “stale file handle”

I think I’ll call it a day and sleep on it.

Do not squash.

On the Centos 6.9 host, add user plex. give it dummy password plex (easy to remember)

That’s got to be the problem.

Do you understand how sec=sys works?

It uses UID/GID matching to control permissions. This means /etc/passwd and /etc/group entries on both systems (UID & GID values) must be identical.

In the absence of UID/GID matching:

  1. Remove sec=sys
  2. Create user plex in group plex on the Centos 6.9 system
  3. Make sure it has permission to read the shares/directories you want NFS to export