Server Version#: 1.19.1.2645
Player Version#: 4.31.2
OS: Ubuntu 18.04.4 LTS
I have used Plex on Ubuntu for a few years now. With all the permissions issues people had, I just created the main user as plex, and everything worked as advertised. I have a Plex pass for DVR recordings.
I decided to repurpose a newer computer as my plex server. I did a fresh Ubuntu 18.04.4 install, and again set the user as plex. I installed the plex app through Ubuntu Software, and copied my media files into my /home/plex/videos directory structure. I mapped the new libraries and everything plays file, but I cannot delete the files after playing. I also cannot create any recordings with the DVR (I have an HD Homerun) with the error message âno write access to destinationâ. If I change the .grab directory to owner ârootâ, it will record, but not transfer to the final directory. It appears the Plex app seems to be running as root instead of plex.
I decided to reinstall the server. I uninstalled using Ubuntu Software, and downloaded the package from the plex site instead of through Ubuntu Software. It is installed as a snap package. This didnât make any difference. Itâs not clear to me how much of the old install was removed, as a lot of the config information was still there after I installed the new download.
So this appears to be a permissions issue, but I donât how to correct it. I am somewhat familiar with linux, but I thought I was avoiding all the permissions issues with how I setup the install.
Moderators, any help here? Iâve done some more investigating, but being that the plex server is now a snap application, Iâm not sure what all previous debug suggestions are still applicable.
I ran the command âjournalctl -xe | grep plexmediaâ and it looks like there is an issue creating /var/lib/plexmediaserver.
It appears I have a bad USB port on my system, but I do not have anything hooked up to it. Could this be causing the permissions issues? Is there a way to ignore this bad port?
Thank you for the quick response.
I normally have a VPN enabled, and had that going when I installed the plex server. That may be why there were DNS/DHCP issues.
The only user on my system is âplexâ, so the only user/group for all my media files/directories are plex/plex. This worked fine on my old system. I had reviewed your article on automating Linux permissions, but that didnât seem to apply as plex is the only user/group already. I found that if I created a .grab directory and gave it 777 permissions (wide open), then a DVR recording would be made in that directory, but it wouldnât move it to my media folder unless I also gave that directory 777 permissions. Even with doing that, I could not delete any files from within the webapp. Somehow is still seems that permissions are not correct, even though plex is the only user on the system.
SOLVED: I removed the snap version of plexmedia server (from the Ubuntu Software Store) and did a manual install of the .deb package from the plex website. The issue must be that a SNAP application user is different than the base system user, even though they are both âplexâ. This was noted by TekoJuny. I also needed to access the webclient through the IP address:32400 instead of app.plex.tv for the media server to be discovered again. Once through that process, I am able to use app.plex.tv again, and donât need to anything with directory permissions.