# PMS Directories Disappearing

**URL:** <https://forums.plex.tv/t/pms-directories-disappearing/600364>\
**Category:** Plex Media Server\
**Tags:** server-linux, server-synology\
**Created:** [June 6, 2020, 1:09pm UTC](https://forums.plex.tv/t/pms-directories-disappearing/600364 "2020-06-06T13:09:13Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![baryoncode](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/baryoncode/32/179652_2.png) [@baryoncode](https://forums.plex.tv/u/baryoncode)\
**Post date:** [June 6, 2020, 1:09pm UTC](https://forums.plex.tv/t/pms-directories-disappearing/600364/1 "2020-06-06T13:09:13Z")

</div>

Server Version#: 4.30.2  
Player Version#:

I have plex media server installed on ubuntu. I have a synology nas and I have it mounted via nfs in fstab. Directories folder disappears in plex media server. I had this issue with plex server on my nas and I changed the plex permissions and that seems to have fixed it. I’m not sure how to change permissions for plex for a mounted nas directory though.

---

<div class="post-metadata">

**Author:** ![tom80H](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/tom80h/32/19753_2.png) [@tom80H](https://forums.plex.tv/u/tom80H)\
**Post date:** [June 6, 2020, 1:22pm UTC](https://forums.plex.tv/t/pms-directories-disappearing/600364/2 "2020-06-06T13:22:33Z")

</div>

Best have a look at this post in the Tips & Tricks section:

> [@Linux Tips](https://forums.plex.tv/t/linux-tips/276247/5):
>
> Mounting NFS network shares for Plex use The basic checklist Prepare the NAS: Create a ‘mount point’ directory structure on your Linux machine which will be where all your media shares are grafted and made available for Plex use. Create an entry in /etc/fstab for each share you wish to mount. Mount and debug as needed A. Prepare the NAS. This is unique to each NAS. In general, you only need grant read permission. Should you desire Read/Write for yourself, we will allow for it On Lin…

---

<div class="post-metadata">

**Author:** ![baryoncode](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/baryoncode/32/179652_2.png) [@baryoncode](https://forums.plex.tv/u/baryoncode)\
**Post date:** [June 6, 2020, 1:33pm UTC](https://forums.plex.tv/t/pms-directories-disappearing/600364/3 "2020-06-06T13:33:09Z")

</div>

Based on that guide if my mount point is /media/DiskStation, do you think that setting it’s permissions via chmod -R 755 would be enough to rectify the issue?

---

<div class="post-metadata">

**Author:** ![tom80H](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/tom80h/32/19753_2.png) [@tom80H](https://forums.plex.tv/u/tom80H)\
**Post date:** [June 6, 2020, 1:42pm UTC](https://forums.plex.tv/t/pms-directories-disappearing/600364/4 "2020-06-06T13:42:47Z")

</div>

1st – I think the general recommendation is not to use `/media/` to mount your drives.  
2nd – it goes further than doing a chmod after it’s mounted; it’s about how you mount that drive to ensure the local `plex` user can access the files.

---

<div class="post-metadata">

**Author:** ![baryoncode](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/baryoncode/32/179652_2.png) [@baryoncode](https://forums.plex.tv/u/baryoncode)\
**Post date:** [June 6, 2020, 1:53pm UTC](https://forums.plex.tv/t/pms-directories-disappearing/600364/5 "2020-06-06T13:53:59Z")

</div>

I likethat /media/DiskStation mounts to the sidebar. Is there a way to have that with a different directory?

---

<div class="post-metadata">

**Author:** ![ChuckPa](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/chuckpa/32/79710_2.png) [@ChuckPa](https://forums.plex.tv/u/ChuckPa)\
**Post date:** [June 6, 2020, 2:35pm UTC](https://forums.plex.tv/t/pms-directories-disappearing/600364/6 "2020-06-06T14:35:54Z")

</div>

Since Gnome took away the “Bookmark this location” for most of us,  
Add the entry manually to the **./config/gtk-\*/bookmarks** file.

```auto
ile:///nas/season seasonal
file:///nas/request request
file:///nas/projects projects
file:///nas/sata2 sata2
file:///nas/videos videos
file:///run/media/chuck/60CE7B94CE7B60E8/Other Other
[chuck@lizum gtk-3.0.512]$ pwd
/home/chuck/.config/gtk-3.0
[chuck@lizum gtk-3.0.513]$ 

```

You can manually mount the diskstation anywhere you want.  
Gnome’s Nautilus automounter is the ‘permissions problem’ and has always been.

Create a manual mount to any non-conflicting location and then add the bookmark manually.

---

<div class="post-metadata">

**Author:** ![ChuckPa](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/chuckpa/32/79710_2.png) [@ChuckPa](https://forums.plex.tv/u/ChuckPa)\
**Post date:** [June 6, 2020, 3:20pm UTC](https://forums.plex.tv/t/pms-directories-disappearing/600364/7 "2020-06-06T15:20:53Z")

</div>

The reasons for not using `/media`, with how to mitigate for local drives but also applies to network mounts, are here:

> [@Using EXT, NTFS, or other format drives (internal or external) on Linux](https://forums.plex.tv/t/using-ext-ntfs-or-other-format-drives-internal-or-external-on-linux/198544):
>
> This document is of primary interest to anyone who has connected USB drives or has media on other internal drives but user plex can’t access it due to Linux’s default security mechanisms. WARNING: This procedure will not work for SNAP, Docker or other container mechanisms unless expressly handled within the confines of the container. This procedure is intended for use with the dpkg package. We will walk through the steps needed to add these external USB hard drives and internal hard drives…

---

<div class="post-metadata">

**Author:** ![baryoncode](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/baryoncode/32/179652_2.png) [@baryoncode](https://forums.plex.tv/u/baryoncode)\
**Post date:** [June 6, 2020, 4:16pm UTC](https://forums.plex.tv/t/pms-directories-disappearing/600364/8 "2020-06-06T16:16:30Z")

</div>

This guide doesn’t work for nas mounts I assume?

---

<div class="post-metadata">

**Author:** ![baryoncode](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/baryoncode/32/179652_2.png) [@baryoncode](https://forums.plex.tv/u/baryoncode)\
**Post date:** [June 6, 2020, 4:41pm UTC](https://forums.plex.tv/t/pms-directories-disappearing/600364/9 "2020-06-06T16:41:40Z")

</div>

Been reading about running pms using another user besides plex. Would that fix the issues for /media/DiskStation?

---

<div class="post-metadata">

**Author:** ![tom80H](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/tom80h/32/19753_2.png) [@tom80H](https://forums.plex.tv/u/tom80H)\
**Post date:** [June 6, 2020, 4:43pm UTC](https://forums.plex.tv/t/pms-directories-disappearing/600364/10 "2020-06-06T16:43:55Z")

</div>

The first support article (“Mounting NFS network shares”) works fine for NAS or basically any device that’s providing a network share using the NFS protocol.  
The second support article (“Using EXT, NTFS, or other format drives (internal or external) on Linux”) explains why you shouldn’t use `/media/`.

It’s technically possible to associate Plex locally with a different user – however that’s got nothing to do with the particular issue at hand.

---

<div class="post-metadata">

**Author:** ![baryoncode](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/baryoncode/32/179652_2.png) [@baryoncode](https://forums.plex.tv/u/baryoncode)\
**Post date:** [June 6, 2020, 5:16pm UTC](https://forums.plex.tv/t/pms-directories-disappearing/600364/11 "2020-06-06T17:16:05Z")

</div>

I’ve moved the mount point to /nas/DiskStation but the directory is still disappearing in plex

---

<div class="post-metadata">

**Author:** ![tom80H](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/tom80h/32/19753_2.png) [@tom80H](https://forums.plex.tv/u/tom80H)\
**Post date:** [June 6, 2020, 5:19pm UTC](https://forums.plex.tv/t/pms-directories-disappearing/600364/12 "2020-06-06T17:19:44Z")

</div>

Did you also apply the instructions on how to mount the drive so Plex can see it?  
You say the drive disappears… do you mean Plex can see its content and looses it then again?

---

<div class="post-metadata">

**Author:** ![baryoncode](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/baryoncode/32/179652_2.png) [@baryoncode](https://forums.plex.tv/u/baryoncode)\
**Post date:** [June 6, 2020, 5:25pm UTC](https://forums.plex.tv/t/pms-directories-disappearing/600364/13 "2020-06-06T17:25:49Z")

</div>

![Screenshot from 2020-06-06 18-23-30](https://global.discourse-cdn.com/plex/original/3X/6/e/6ec2f3120cdb4f2f754fcb50eab1cd859c7e9cfa.jpeg)

Plex is seeing the drive. Not sure why it keeps disappearing though.

---

<div class="post-metadata">

**Author:** ![tom80H](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/tom80h/32/19753_2.png) [@tom80H](https://forums.plex.tv/u/tom80H)\
**Post date:** [June 6, 2020, 5:27pm UTC](https://forums.plex.tv/t/pms-directories-disappearing/600364/14 "2020-06-06T17:27:17Z")

</div>

So you add it by clicking on `Browse for Media Folder`, picking a folder and clicking `Add`. Plex is showing it on the screen you’ve just shared – and later it’s gone or later it’s no longer accessible?

---

<div class="post-metadata">

**Author:** ![baryoncode](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/baryoncode/32/179652_2.png) [@baryoncode](https://forums.plex.tv/u/baryoncode)\
**Post date:** [June 6, 2020, 5:27pm UTC](https://forums.plex.tv/t/pms-directories-disappearing/600364/15 "2020-06-06T17:27:35Z")

</div>

![Screenshot from 2020-06-06 18-26-22](https://global.discourse-cdn.com/plex/original/3X/7/a/7a90bc1a4a8f68cd3029b6b41df452f9a788b234.jpeg)

---

<div class="post-metadata">

**Author:** ![baryoncode](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/baryoncode/32/179652_2.png) [@baryoncode](https://forums.plex.tv/u/baryoncode)\
**Post date:** [June 6, 2020, 5:28pm UTC](https://forums.plex.tv/t/pms-directories-disappearing/600364/16 "2020-06-06T17:28:29Z")

</div>

The folder disappears, the content remains but when new media is added to the nas, if the folder has disappeared new content isn’t detected. The media still plays though. Is the issue that it’s mounted in the / folder where only root owns the folders?

---

<div class="post-metadata">

**Author:** ![tom80H](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/tom80h/32/19753_2.png) [@tom80H](https://forums.plex.tv/u/tom80H)\
**Post date:** [June 6, 2020, 5:31pm UTC](https://forums.plex.tv/t/pms-directories-disappearing/600364/17 "2020-06-06T17:31:32Z")

</div>

yes, that could be the issue.

# 

PS: I take it if the folder is disappearing you’re also no longer able to play one of the movies / shows of that folder, are you?

---

<div class="post-metadata">

**Author:** ![baryoncode](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/baryoncode/32/179652_2.png) [@baryoncode](https://forums.plex.tv/u/baryoncode)\
**Post date:** [June 6, 2020, 5:32pm UTC](https://forums.plex.tv/t/pms-directories-disappearing/600364/18 "2020-06-06T17:32:13Z")

</div>

Everything still plays which is what I don’t understand.

---

<div class="post-metadata">

**Author:** ![ChuckPa](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/chuckpa/32/79710_2.png) [@ChuckPa](https://forums.plex.tv/u/ChuckPa)\
**Post date:** [June 6, 2020, 5:49pm UTC](https://forums.plex.tv/t/pms-directories-disappearing/600364/19 "2020-06-06T17:49:34Z")

</div>

If I may restate, which I’ve stated throughout the forum and in the How-To’s.

1. Create the mount directory ( `/nas` here)
2. Create the subdirectories to mount the specific shares on (Movies, television, etc)
3. `sudo chmod -R 755 /nas`
4. Now mount the individual shares (ip.addr.of.syno:/volume1/movies /nas/movies nfs …etc… ) via /etc/fstab

If using SMB, one is asking for trouble with Linux & Synology. (user plex vs your username)  
NFS avoids this problem entirely.

Plex web does not refresh as one thinks.

---

<div class="post-metadata">

**Author:** ![baryoncode](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/baryoncode/32/179652_2.png) [@baryoncode](https://forums.plex.tv/u/baryoncode)\
**Post date:** [June 6, 2020, 5:52pm UTC](https://forums.plex.tv/t/pms-directories-disappearing/600364/20 "2020-06-06T17:52:52Z")

</div>

You state /nas/movies /nas/tv shows etc? Would having just /nas/Diskstation and all folders in there mess things up? I’ve tried everything you’ve said. I’m using nfs.

[Next page](https://forums.plex.tv/t/pms-directories-disappearing/600364.md?page=2)
