Plex don't see my video drives or folders. Even the home folder.

Hi guys, I have been running Plex for more that 6 months on my CentOS 7.1 and doing updates with no issues. But for some reason, the share folder names that I have created in Plex web access had disappeared, tried to add them again but Plex cant see my drives any more even my home directory.

I tired to delete Plex and reinstall again but with no use. It could be do to permissions but I didn’t do anything to them at all.

Please advise me, I am missing Plex :(.

Thanks,

That is classic linux file permissions. Somewhere, somehow, by somebody, read permission was cut off.
PMS always need ‘READ’ permission to go down tthe path.

Look at the pathnames being used… what do they have in common?

/home/your_username points to /home or /home/your_username (putting in your home directory is never advised because it gets messy)

PMS is user plex and falls into the world category of permissions (owner-group-world).

If you need further help… show me what you have (ls -la) and I’ll help you get back on track.

I have 4TB drive under RAID 1 that have all my videos. I will copy the permissions that have been all ready set.

Drive name is raid_data.

ls -al
drwxrwxrwx 22 ahmed 977 4096 Dec 26 15:15 raid_data

Inside it I am sharing two three folders.

ls -al
drwxrwxr-x. 75 ahmed ahmed 12288 Dec 15 20:09 Movies
drwxrwxr-x. 39 ahmed ahmed 4096 Jan 7 13:11 Auto Download
drwxrwxr-x. 73 ahmed ahmed 4096 Jan 4 16:55 Tv Shows

I don’t see anything wrong with the permissions here.

Is this drive/share mounted in /etc/fstab (required) or is it mounted dynamically by Nautilus (the file manager)

I suggest you read this thread, follow its basic instructions and intent, adjusting to suit your situation and configuration.

Thanks for the info and sorry for the late replay.

I have checked the link you mentioned. I usually when I start the machine, I manually add the drive that has everything in it. The drive mount name is fixed, so once I mount it is recognized everywhere even Plex. And I am doing this for the past 8 months with no issues.

As for as I know the permissions are good. It comes down to either I make it throw /etc/fstab to be automatically mounted with every boot. Or it could be with the permissions of the Plex account.

I did a re-installation of Plex today, but found some conflict files.

[root@arkan-clearos-lan Downloads]# yum install plexmediaserver-1.3.3.3148-b38628e.x86_64.rpm
'Loaded plugins: fastestmirror, langpacks, nvidia
Examining plexmediaserver-1.3.3.3148-b38628e.x86_64.rpm: plexmediaserver-1.3.3.3148-b38628e.x86_64
Marking plexmediaserver-1.3.3.3148-b38628e.x86_64.rpm to be installed
Resolving Dependencies
–> Running transaction check
—> Package plexmediaserver.x86_64 0:1.3.3.3148-b38628e will be installed
–> Finished Dependency Resolution

Dependencies Resolved

================================================================================
Package
Arch Version Repository Size

Installing:
plexmediaserver
x86_64 1.3.3.3148-b38628e /plexmediaserver-1.3.3.3148-b38628e.x86_64 198 M

Transaction Summary

Install 1 Package

Total size: 198 M
Installed size: 198 M
Is this ok [y/d/N]: y
Is this ok [y/d/N]: y
Downloading packages:
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
Warning: RPMDB altered outside of yum.
** Found 4 pre-existing rpmdb problem(s), ‘yum check’ output follows:
ipa-client-4.4.0-14.el7.centos.1.1.x86_64 has installed conflicts freeipa-client: ipa-client-4.4.0-14.el7.centos.1.1.x86_64
ipa-client-common-4.4.0-14.el7.centos.1.1.noarch has installed conflicts freeipa-client-common: ipa-client-common-4.4.0-14.el7.centos.1.1.noarch
ipa-common-4.4.0-14.el7.centos.1.1.noarch has installed conflicts freeipa-common: ipa-common-4.4.0-14.el7.centos.1.1.noarch
ipa-python-compat-4.4.0-14.el7.centos.1.1.noarch has installed conflicts freeipa-python-compat: ipa-python-compat-4.4.0-14.el7.centos.1.1.noarch
Installing : plexmediaserver-1.3.3.3148-b38628e.x86_64 1/1
Created symlink from /etc/systemd/system/multi-user.target.wants/plexmediaserver.service to /usr/lib/systemd/system/plexmediaserver.service.
Verifying : plexmediaserver-1.3.3.3148-b38628e.x86_64 1/1

Installed:
plexmediaserver.x86_64 0:1.3.3.3148-b38628e

Complete!

PS: I don’t know this but for some reason Plex is reporting that there is a newer version available even I have installed the latest one.

Please advice me. And thank you.

Please show me the line from /etc/fstab. I would like to verify how and where it is mounted as well as a ls -la of the mount point.

Also, the most practical permissions from a PMS perspective on Linux if you only wish to grant read-access is to grant 0755 (You have full, everything else is read/traverse) for directories, and 0644 (you have R/W, everything else is read) for all files.

I can help you with this if you wish… It’s two simple (but powerful) find commands to verify everything is right and make it so if not.

gedit /etc/fstab

/dev/disk/by-uuid/f9a8ab95-9996-4978-a656-25c7fe243aa2 /mnt/raid_data auto nosuid,nodev,nofail,x-gvfs-show,x-gvfs-name=Raid%20Data 0 0

cd /mnt

ls -al // For that drive only.

drwxrwxrwx 22 ahmed 977 4096 Dec 26 15:15 raid_data

I don’t mind the help but how you mean? TeamViewer?

No, that’s not the easiest way to do it.

I would like to first suggest the method I showed another user here. It is a dialog so you’ll see the points where mistakes were made. (This has been converted to something suitable for the support pages and currently being worked on by that team)

Linux is Linux and this applies unilaterally. https://forums.plex.tv/discussion/115122/new-install-of-linux-mint-17-and-pms

After you’ve made more sense of the mounts, specifically removing the GVFS mount (this is the source of the problem), Linux itself will handle permissions.

GVFS (Gnome Virtual File System) is a mechanism by which Gnome has control. It gives your username exclusive access to the volume and PMS is thereby excluded (it is a different username).

The procedure I’ve shown above removes GVFS involvement and makes the mount a traditional filesystem mount.

I will look throw it and update.