Plex Media server not seeing nfs mounted directories

Server Version#: 1.21.3.4046
Player Version#: 4.51.1
My issue is almost exactly the same as
https://forums.plex.tv/t/plex-media-server-not-seeing-mounted-directories/215529

My NAS and Plex servers are RPi 4, 4gb. The network is NFS. The NAS is Raspbian Buster and the Plex is Ubuntu 20.10.

The NAS is set up with the correct entries in /etc/fstab and /etc/exports. The Plex server has the entries in /etc/fstab. I am seeing the correct items in ‘df’ as far as the nfs mounted directories. Both servers have user ‘plex’ and it owns the plex directories with full permissions. The mount point root is /nas on both servers.

Any help would be appreciated.

Did you mount in /media ?

What does /etc/fstab look like?
What are the permissions of the directories BEFORE mounting the NAS?
What are the permissions of the directories AFTER mounting the NAS ?
(same top level locations)

No, I did not mount in /media based on the posts I read. Everything is mounted in /nas.

On (Raspbian) NAS .0.226

On (Ubuntu) Plex server .0.232

Permissions before mounting nas

After mounting

Screen Shot 2021-02-20 at 12.05.56 AM

What the heck is user 1001?

You have a Linux NAS?

UID 1001 is the UID of the account you signed in with to upload the files.

Permissions look good too.

NFSv2 , v3, or v4 ?

Yes the NAS is Linux. It is on a Raspberry Pi4 running the Raspbian Buster OS.

Here is the verbose mounting of all shares

Thanks for your replies

Ummm. “sloppy” is not advised here.

It means you specify options and it will ignore anything which conflicts or cannot provide – without warning.

would you try this please?

mkdir /mnt2
chmod 755 /mnt2
mount -o vers=4,defaults,sec=sys  192.168.0.226:/nas/plex /mnt2
ls -la /mnt2
# should see contents here

Now add that to a new test section and look at what populates.

If nothing populates, go back to the NAS and look at the shared folder permissions for “Everybody” and/or “Nobody”

The results are as follows

When I tried adding another series section I still don’t see the mounted directory rather I just see the information from my Mac.

Shared folder permissions

Did you know you can type in /mnt2 and jump to it ?

I have no idea what /Users is. That’s not Ubuntu linux.

:rage: :face_with_symbols_over_mouth:

Unfortunately, been there done that.

Yes you can jump to it, as I figured out, but when I saved changes it took about a second to process (not looking good).

Here is a video of what I did.

https://share.getcloudapp.com/nOul9y1m

The other selections on the ‘Browse screen’ (/users) are the contents of my Mac. I couldn’t do that if i tried but I am just wondering how it got there??

You went TOO FAR into the directory

/mnt2/TV Shows is where you stop. That’s what should show in the Folder Name.

What Plex will find on it’s own, below that top directory,
is:

Series-name/
  Seasion xx/
    Series-name - SxxExx - title

I have pretty much done the same thing

https://share.getcloudapp.com/2NuEvZDv

I know that this seems strange but they used to be correct but ever since I loaded up Plex on Ubuntu my Raspbian server doesn’t show them either.

Something I did messed it up. I have tried reloading PMS but will try again.

I will keep you appraised.

I think I figured it out.

I see what’s happening.

  1. sudo chmod 755 / (the root directory cannot be read)
  2. Now open it up and start browsing from /
  3. Directories to go into will be on the right.
  4. Scroll down to mnt2 and click it
  5. Scroll up and click “tv shows”
  6. Click OK.

It should start like this:

Screenshot from 2021-02-20 23-33-21

I have no / to browse even when I change the permissions

This thing is not even looking at the Plex server but at my Mac. I switched back to my Raspbian server and re-installed Plex to no avail. How is the server ‘claimed’ and where does it use to select the directories (both to select and use since neither work)? Plex does not ‘see’ a flash drive on the Plex server either.

I hope you have another epiphany.

Open a terminal window.

type grep mark /etc/passwd (don’t worry - it won’t show your password.

It will show me where your home directory is.

My other epiphany just struck.

You installed from the Ubuntu store? :scream:
If you did – problem solved – instructions below

Those are SNAP packages and ONLY can see your home directory.

  1. Uninstall it.
  2. https://app.plex.tv
  3. Settings - Authorized Devices (left corner) → Server (dropdown)
  4. Delete the friendly name of the RPI server.

==============

  1. http://plex.tv/downloads
  2. Download the Debian package for your machine (aarch64 - ARMv8 IIRC)
  3. sudo dpkg -i <filename>.deb (substitute as required
  4. Now open http://127.0.0.1:32400/web
  5. Start the setup.
  6. Now you can browse as you should.

Sorry, I keep forgettting about SNAP… SUCH A PITA

I log in as Ubuntu, I suppose I should create my own user

I started setup by claiming the server but the add folders did not change.

The thing that really bothers me is

For the friendly name of Mark, I see Mac and MacOSX 10.15.7. That really, really doesn’t look right. It looks like the claimed server is my Mac. And since the directories look like my Mac this makes sense. Also the version that I loaded is 1.21.4.4054 on Ubuntu which is not indicated on the device.

Hi ChuckPa,

Do you have any more ideas?

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