Server Version#: 1.16.5.1554-1e5ff713d
Player Version#: LG 55LV5400
I installed Plex media Server with Ubuntu Software and I can use it with my iPad. But I have some problems with the server and my tv player.
When i verify the server with the command “systemctl status plexmediaserver.service” I have the return “Unit plexmediaserver.service could not be found”. Why I don’t run the service?
When I go to the server with my Tv player, the folders are empty. My files are locate on a Raid 1 HDD. Why the folders are empty?
I want to verify the permission for the folder /var/lib//plexmedialibrary but I don’t have the folder??? There is no folder…
I installed Ubuntu on my drive and I installed Plex server. I will try to uninstall dans re-install with the plexmediaserver_1.16.5.1554-1e5ff713d_amd64.deb
Did you install it as downloaded from Plex.tv or did you install it from the Ubuntu store?
There is a gross disparity here which I’m trying to identify. I have stock Ubuntu 18.04 in my development VM with has /lib/systemd/system/plexmediaserver.service
We need to isolate the root cause of this disparity.
SNAP installations (Ubuntu store) go to an entirely different place as they are containers.
I installed it from Ubuntu store. Few minutes ago, I uninstalled and downloaded plexmediaserver_1.16.5.1554-1e5ff713d_amd64.deb. I installed with “sudo dpkg -i plexmediaserver_1.16.5.1554-1e5ff713d_amd64.deb”
Now I have the plexmediaserver.service and my server is running. I also have the folder in /var/lib/plexmedialibrary.
I reach the server on my TV but my folders are empty. It’s a permission problem? My files are in my Raid 1 disks. In /media/raid/Folders with drwxrwxr-x 7 luc luc
But my /media/raid is drwxrwxrwx 13 root root
My /var/lib/plexmediaserver/ is drwxr-xr-x 3 plex plex
My /var/lib/plexmediaserver/Library is drwxr-xr-x 3 plex plex
The Ubuntu store app is a SNAP package. It’s completely isolated from the rest of the distribution like a container. Customizing it is very difficult. If you wish to customize it, we do urge using the regular download from Plex.tv. The packaging is different and works for any Debian-based system (universal installer about to be released).
The use of /media is problematic for anything using the Gnome desktop manager and Nautilus file manager. It claims exclusive ownership of your files. When this happens, user plex is excluded and will never see your media (Linux security at work).
I have several how-to’s for mounting media (e.g. you RAID volume) where user plex can see it but the short form is:
create directory/(ies) away from any existing directory and not in your home directory.
set the ownership to your username
Directories get 755 permissions, files get 644 (all owned by you).
mount the raid anywhere in that structure you wish. No special options required.
I found my problem: I recently installed Pi-Hole in my Raspberry and I change the DNS adress in my router. I put the DNS address by default and all works.