Server Version#: 1.13.5.5332
Player Version#:
Hello,
I am trying to setup PMS on my Kubuntu 18.04 install. My box has 3 internal drives:
500gb SSD Windows 10
500gb SSD Kubuntu 18.04
12tb HDD Shared file storage where my Movies and Shows folders are. Format = ntfs.
The storage drive is encrypted w/ Veracrypt. I use it for both OSes. I am not using a keyfile for the storage drive, just a manually-entered password upon login. I am relatively new to linux, trying to make the switch to Kubuntu 18.04. I’ve used Veracrypt and PMS on Windows 10 for over a year with no problems.
I have read pieces of these threads about permissions on linux getting PMS to “see” folders:
https://forums.plex.tv/t/cannot-add-libraries-in-ubuntu-18-04/278072
Things I have done & things I am struggling with:
I have setup veracrypt to launch on startup (login), after which I enter the decryption password, and mount the “storage” drive contents to /storage, a folder I created under root (/). On Win10, I set both veracrypt and PMS as startup applications. I am hesitant to do so on Kubuntu, because I figure PMS would struggle to find a directory that doesn’t exist until mounted by Veracrypt after I manually enter the decryption password. Another problem for another day.
I have tried Chuck’s 4-step solution here:
https://forums.plex.tv/t/cannot-add-libraries-in-ubuntu-18-04/278072/4?u=jig9
and it didn’t seem to work. I note that some think adding plex to this group is a bad idea, rather than just changing permissions. I figured I’d try the easiest thing first.
I have read that the problem has to do with how linux sets permissions for drives or devices.
I have read to avoid using /media, since this is a system reserved location, so I created the /storage folder instead.
I originally installed PMS via the Discover software center in Kubuntu, but the version it installed was outdated, so I had to manually install via .deb file off plex website instead. I hope this was the right thing to do. The application does say my server version is the latest, so I guess that means everything is OK.
I read Chuck’s response here:
and thought maybe I messed up the permissions for the /storage folder, so I followed those directions, using:
sudo find /storage -type d -exec chmod 755 {} ;
sudo find /storage -type f -exec chmod 644 {} ;
Prior to mounting my storage drive using veracrypt. This did not work. I had previously tried this after mounting the drive with veracrypt. That did not work either. If I view the file properties of a movie file via window manager Dolphin, I see that the permissions have not been changed. Plus, PMS still cannot see the folders.
I read here:
about systemd installs, which I have determined I have, but I don’t see a:
/lib/systemd/system/plexmediaserver.service
folder or file, so I am stumped about this.
I still believe this is a permissions problem, but I don’t know why my permissions changes aren’t “sticking”. I am worried that the dynamic nature of this drive (having to mount manually per login) might make assigning permissions non-permanent as well. I would like to only have to set this up once on this installation. I suspect I’m missing something very obvious…
Any advice for what I might be doing wrong?
Best regards!
