Skip to content

Instantly share code, notes, and snippets.

@KavenTheriault
Last active August 4, 2020 02:27
Show Gist options
  • Save KavenTheriault/e177d52eb67196b4aa47fe4f86237006 to your computer and use it in GitHub Desktop.
Save KavenTheriault/e177d52eb67196b4aa47fe4f86237006 to your computer and use it in GitHub Desktop.
Fix plex media server access removable device

Plex media server can't access automounted drive with udisks.

Here is an ugly workaround to fix it.

Change User and Group to root in the service file plexmediaserver.service.

sudo nano /usr/lib/systemd/system/plexmediaserver.service

Example:

[Unit]
Description=Plex Media Server
After=network.target

[Service]
EnvironmentFile=/etc/conf.d/plexmediaserver
ExecStart=/usr/lib/plexmediaserver/Plex\x20Media\x20Server
Type=simple
User=root
Group=root
Restart=on-failure
RestartSec=5
StartLimitInterval=60s
StartLimitBurst=3

[Install]
WantedBy=multi-user.target

Then restart the service.

systemctl daemon-reload
sudo systemctl restart plexmediaserver.service
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment