Server Version#: 1.21.2.3943-a91458577 installed via snap-store
I recently had to re-install Ubuntu in order to upgrade to 20.04, however, in the process I appear to have broken the config to allow the Plex Media Server to access my library. I store my Application Support folder on my media driver and was using the following override to handle that:
in /etc/systemd/system/snap.plexmediaserver.plexmediaserver.service.d/override conf I have the following:
However, when I try to start the server it fails and when I run systemctl status snap.plexmediaserver.plexmediaserver.service I get the following:
Warning: The unit file, source configuration file or drop-ins of snap.plexmediaserver.plexmediaserver.service changed on disk. Run 'systemctl d>
● snap.plexmediaserver.plexmediaserver.service
Loaded: bad-setting (Reason: Unit snap.plexmediaserver.plexmediaserver.service has a bad unit file setting.)
Drop-In: /etc/systemd/system/snap.plexmediaserver.plexmediaserver.service.d
└─override.conf
Active: inactive (dead)
Feb 01 11:51:11 bennett-plex systemd[1]: snap.plexmediaserver.plexmediaserver.service: Service has no ExecStart=, ExecStop=, or SuccessAction=.>
Feb 01 11:53:28 bennett-plex systemd[1]: /etc/systemd/system/snap.plexmediaserver.plexmediaserver.service:7: Unknown key name ‘UNMask’ in secti>
Feb 01 11:53:28 bennett-plex systemd[1]: /etc/systemd/system/snap.plexmediaserver.plexmediaserver.service.d/override.conf:7: Failed to parse mo>
Feb 01 11:53:28 bennett-plex systemd[1]: snap.plexmediaserver.plexmediaserver.service: Service has no ExecStart=, ExecStop=, or SuccessAction=.>
Feb 01 11:53:41 bennett-plex systemd[1]: /etc/systemd/system/snap.plexmediaserver.plexmediaserver.service:7: Unknown key name ‘UNMask’ in secti>
Feb 01 11:53:41 bennett-plex systemd[1]: /etc/systemd/system/snap.plexmediaserver.plexmediaserver.service.d/override.conf:7: Failed to parse mo>
Feb 01 11:53:41 bennett-plex systemd[1]: snap.plexmediaserver.plexmediaserver.service: Service has no ExecStart=, ExecStop=, or SuccessAction=.>
Feb 01 11:55:01 bennett-plex systemd[1]: /etc/systemd/system/snap.plexmediaserver.plexmediaserver.service:7: Failed to parse mode value, ignori>
Feb 01 11:55:01 bennett-plex systemd[1]: /etc/systemd/system/snap.plexmediaserver.plexmediaserver.service.d/override.conf:7: Failed to parse mo>
Feb 01 11:55:01 bennett-plex systemd[1]: snap.plexmediaserver.plexmediaserver.service: Service has no ExecStart=, ExecStop=, or SuccessAction=.>
I have run reload-daemon despite what the warning claims. Any advice on correcting this would be appreciated.
I had it in /media without a problem on 18.10, was this a recent change?
My issue is that I have a very small (~64 gb) internal drive, so I need to have it on the external, and Ubuntu seems to by default mount external drives under /media/$user. Do I just need to symlink that to a different directory to make it work?
I do not have a strong preference in terms of how it’s packaged. If it will work better with dpkg I can switch to that.
Am I correct you did not have an entry in /etc/fstab for your “Media 2” USB drive?
a. /media/-username-/-Label-/ is the default automounter location
Under Ubuntu 20, you’ll find permissions for /media/<username> are tighter. You might be able to chmod 755 for both /media and /media/bennett but until you can confirm they persist through a reboot, I would not trust them.
An option you have, if you’re not tied to /media/bennett/Media 2 by specific name can be /media/Media 2.
a. We can create an entry in /etc/fstab to make this happen and it will be reliable.
b. We’ll use the UUID= technique to guarantee that, no matter which USB port it’s plugged into, it will always show up in the same place which PMS expects.
Once tweaked, we can make the minor adjustments to /etc/systems/system/plexmediaserver.service.d/override.conf and remove the SNAP plex package ; replacing it with the proper DEB one (which you can also setup for auto-updating).