Now the server is gone, how do I add it/create it?
Figured it out but now my shared folders arent there anymore.
Before PlexS was the main folder from my qnap with sub folders music, movies, tv shows.
I was adding mnt/PlexS/Music
but now I dont get anything past mnt/PlexS
Now you have a common permissions problem.
Linux is VERY strict about this.
username plex can’t see your files unless you give it permission to.
What we do to correct this:
- I believe the folder mount point on your Linux machine is
/mnt/PlexS/Music? - if that’s correct,
– Unmount it
– Open up the permissions (sudo chmod 755 /mnt/PlexS /mnt/PlexS/Music
– Now mount it again
Look at the permissions from the command line
You should see something like what I have for my 4K movies
drwxr-xr-x 277 root root 12288 Mar 19 18:20 uhd/
Notice the permissions up front (rwxr-xr-x)
Are you using SMB/CIFS or are you using NFS ?
Here are the two How-To guides to help you,
Previously I just mounted the parent directory (PlexS) and inherited the sub directories(Music, TV Shows…). Do I now need to mount all of the sub directories?
Thanks for clarifying.
All you need to do is adjust what I said but be for just /mnt/PlexS:
sudo chmod 755 /mnt/PlexS
When done,
- Mount the volume
ls -la /mnt/PlexS- Look at the permissions. They should end in
r-xlike I show above for myuhd/mount.
ls: cannot open directory ‘/mnt/PlexS’: Permission denied
drwxrwx—+ 101 root root 12288 Mar 28 11:17 ‘4K HDR Movies’
drwxrwx—+ 14 root root 4096 Mar 27 09:02 ‘4K HDR TV Shows’
drwxrws—+ 23 root root 4096 Mar 28 17:25 ‘4K Movies’
drwxrwx—+ 2 root root 4096 Jan 24 2021 '4K TV Shows
drwxr-sr-x+ 1666 root root 90112 Mar 25 14:58 Movies
drwxr-sr-x+ 558 root root 24576 Mar 11 16:56 Music
shouldnt all permissions be the same?
im still stuck in the same place
Are you using SMB/CIFS or NFS?
It looks like you’re using SMB/CIFS
What are you using for a NAS?
I thought I was following procedure for nfs??
Show me your mounts? (/etc/fstab)
What are you mounting from ? QNAP? Synology? Something else ?
/etc/fstab: Permission denied
qnap
No no. I didn’t give you a command to type, I gave you the name of the file I wanted to see.
Please think about what I’m asking for.
what does /etc/fstab hold in it?
I think I get what you are asking. I will give it more time after I get the kids to bed.
I just am real confused why this all worked earlier and now I am starting from the beginning. Im not sure what I am missing this time.
There is a fundamental difference between the Media Server Downloads | Plex Media Server for Windows, Mac, Linux, FreeBSD and More version of Plex and that which you find in the Ubuntu app store.
They’re both Plex but configured differently.
The Plex from our downloads page runs as a service under its own name (tighter security)
The Plex from the Ubuntu app store runs as your username – making things a LOT easier to someone who’s not yet mastered Linux fundamentals.
At this point, are you up to experiment and find what you like?
-
You know the difficulties you’re having already.
-
How about we uninstall that and try the other.
–sudo dpkg -r plexmediaserver -
Now go to the Ubuntu app store and install that Plex. (click & install)
See if you like that better .
I decided i am going to start over and figure this out. Part of this exercise was to start learn how to use linux and in my frustration i have lost sight of that.
I still have my server running on the qnap so I dont have to worry about that.
I dont think I am ready for the easy way out quite yet.
I actually am getting somewhere! At least I have a little understand of what I’m doing and not just copying and pasting…
I do have a question though. For Plex is there any advantage to NFS vs Smb/cifs?
For Plex, because you’re using multiple usernames on Linux (key point),
NFS is native to Linux.
NFS connects host->host.
CIFS is per-user based.
CIFS requires extra options (handling) to make it work for multiple users.
I use Linux here.
On my workstation, one NFS mount works for both my use as well as Plex’s use.
- I rip the BluRays and write them into storage
- PMS reads from the storage as it needs to.
On my NAS, I’ve structured it this way: (/vol is my 100TB RAID volume)
/vol/media/
animated/
movies/
movies2/
tv/
tv2/
tv3/
uhd/
I mount it this way in /etc/fstab
# Master Media mount
192.168.0.20:/vol/media /glock/media nfs defaults,sec=sys,intr,rw,auto,async,x-systemd.after=network-online.target,nofail,bg 0 0
In the Plex server on my workstation,
- Animated movies points to
/glock/media/animated - Movies points to
/glock/media/moviesand/glock/media/movies2 - etc, etc.
I use this mechanism because I have multiple storage servers. “glock” is the hostname
This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.