Server Version#:1.18.1.1973
Player Version#:
I’m new to Plex, but not computers as I spend 39 years working on mostly
mainframe computers (although I worked on enough Windows, Unix, Posix
systems) before I retired 13 years ago. That’s 52 years dealing with the
dang things.
I looked into Plex to replace Windows Media Center due to the soon end
of support for Windows 7. I first tried running Plex Media Server on
Windows 7 with some success, but decided I needed to move on the Linux.
So I installed UBUNTU 19.10 on my Media Center PC and then installed
PLEX. Although I had previous experience with Linux and UBUNTU, it was
not recently and I had never heard of SNAPs which is what the PLEX
server was.
Plex installed was: Plex Media Server v1.18.1.1973-0f4abfbcc - Ubuntu
snap x86_64
I was impressed right away that I could view live TV without any
trouble. I then struggled for 3-4 days trying to get it to record
anything. Everything I tried got the dreaded “No write access to
destination”. After much searching of the forum and looking at the PLEX
server logs I found:
DEBUG - DVR:Grabber: Saving recording to "/PlexMedia/TvShows/.grab …
ERROR - DVR:Grabber: No write permission.
Ok, check file permissions, but find I already had them set to 0777.
On another try, I found an ERROR in the log that said “read only
filesystem” (sorry, can’t find that log file now). That led to more
Google searches, running fschk, etc till I finally found that the file
system was not readonly, I could write into my home directory. More
research found:
sudo lsblk -o NAME,FSTYPE,SIZE,MOUNTPOINT,LABEL,RO,MODE
NAME FSTYPE SIZE MOUNTPOINT LABEL RO MODE
sda5 ext4 159.8G / 0 brw-rw----
I noticed all of the filesystem had the same permissions. About this
time I discovered that PMS was running under root. The forums say this
should never be done. I checked and no user PLEX had been installed, but
a group named PLEX had. So I installed a PLEX user, but I have no idea
how to get the server started running under PLEX.
So I tried changing the PlexMedia and TvShows directories to be owned by
root and have group root. Still no write access.
One more try, I moved the PlexMedia and TvShows directories to
/home/plex. Now I can record.
So my questions:
- Is the server supposed to be running under user Plex and group Plex?
- Why didn’t the user get installed?
- How do you start the server under user Plex?
- Can someone explain how all the filesystems get brw-rw---- permissions?
- Is there something special about the root directory as far as permissions?
- Where are the Plex logs and config under the Snap environment
Sorry for being so long winded.