Server Version#: 1.29.0.6244
Player Version#: any version
I’ve recently tried to setup my first ubuntu server as I’ve learned intel hardware accelerated tone mapping only works on linux and was killing my cpu on windows 11 OS.
I got Plex installed and my plex share (off of WD my cloud ex2) mounted without any errors. I can navigate my plex shares via file browser, open them etc…
When I try to add the library to Plex, I can see the main “plex” mount folder I created, but when I click on it, I don’t see any additional directories. I tried to add just that folder, but not files show up and nothing is scanned. I don’t get any errors throughout the process, but no media is added to Plex.
I’m assuming there are error logs that would help, but I’m not sure what plex logs to look at or what to look for specifically.
Any ideas or suggestions would be greatly appreciated.
Sounds like you might have mixed something up in the way you configured that mount, resulting in the system user running the server not to be able to see the media (missing permissions etc.).
Approach on how to properly mount a drive is generally the same – there’s a number of specific guides in the tips & tricks section, breaking it down for different use cases:
So I have to create a plex user on the NAS? I thought I could just use the admin account that already exists on the nas when mounting the shares?
Is the plex user on the nas in any way related to the plex user in ubuntu or are they completely separate? Just trying to understand what needs access to what.
It’s not about how the files are organized on your NAS but how you mount them within Ubuntu. By default a PMS on Linux will run as plex (system account on the PMS host machine). It’s that user who needs to have full read access to the entire mount.
But maybe you want to breakdown some more details so we can actually help/assist.
What file transfer protocol are you using to share your media from that NAS, e.g. NFS, SMB…?
Have you created that mount using a manual entry in /etc/fstab or did you use some drive / file management app?
But what I’m not understanding is the link between my nas admin account that are stored in the credentials file, and the plex user in the mounting (uid=999).
I added / edited the fstab file manually - here is what I added:
It’s about how you make that share available from your NAS. Most NAS support various protocols; in most cases you select/enable one.
What the mount does is it’ll link a specified share to a certain point in your file system. The credentials file contains information on how to authenticate on the NAS (as you’re e.g. manually entering them when you open your NAS). The other parameters tell Ubuntu to which of its users it’ll make that new mount point available (owning it from perspective of Ubuntu).
If you’re using credentials of a read-only account of your NAS, you can tell Ubuntu that a user has read/write permission for that mount all you want… the NAS won’t allow writing to it. It’s just signing into your NAS and linking a certain share/path into Ubuntu’s local file system.
If you have tired everything else then I’d suggest not using a mount point under /home.
It, along with /mnt has special permissions. Use something else, say /nas like is outlined in the doc linked above. Then ensure permissions etc are set correctly before AND after mounting your NAS.
Yeap, best to start a new thread for that. Anyhow, if you have a nvidia card I’d start by checking you have the right drivers installed I’m using these sudo apt install nvidia-driver-515 just in case its of any help.