Package Details: plex-media-server 1.15.3.876-1

Git Clone URL: https://aur.archlinux.org/plex-media-server.git (read-only)
Package Base: plex-media-server
Description: Plex Media Server
Upstream URL: https://plex.tv/
Keywords: DLNA
Licenses: custom
Conflicts: plex-media-server-plexpass
Submitter: alucryd
Maintainer: fryfrog
Last Packager: fryfrog
Votes: 310
Popularity: 2.734403
First Submitted: 2014-10-14 22:11
Last Updated: 2019-04-05 15:15

Pinned Comments

fryfrog commented on 2019-03-22 16:55

Flagging Out of Date:

This package is the non-plexpass package, it gets updated less frequently. Be sure to flag the right package. You can find the plexpass version at https://aur.archlinux.org/packages/plex-media-server-plexpass/

Current Issues:

The plex user's home directory needs to be changed, but likely can't if Plex Media Server was running when you upgrade. The package will tell you what to do, but of course that is easy to miss. The soluiton is to run sudo systemctl stop plexmediaserver ; sudo usermod -d /usr/lib/plexmediaserver plex ; sudo systemctl start plexmediaserver.

Latest Comments

1 2 3 4 5 6 ... Next › Last »

fryfrog commented on 2019-03-22 16:55

Flagging Out of Date:

This package is the non-plexpass package, it gets updated less frequently. Be sure to flag the right package. You can find the plexpass version at https://aur.archlinux.org/packages/plex-media-server-plexpass/

Current Issues:

The plex user's home directory needs to be changed, but likely can't if Plex Media Server was running when you upgrade. The package will tell you what to do, but of course that is easy to miss. The soluiton is to run sudo systemctl stop plexmediaserver ; sudo usermod -d /usr/lib/plexmediaserver plex ; sudo systemctl start plexmediaserver.

fryfrog commented on 2019-03-22 16:52

@tmoore: Thanks for pointing that out, I'll make a pinned post. The install should tell you to do that if it can't, but obviously that can get lost in the spew.

tmoore commented on 2019-03-22 16:44

FYI all.. You may need to edit your /etc/passwd and change the plex users home directory to /usr/lib/plexmediaserver (if you are upgrading from the older version using /opt)

duffydack commented on 2019-03-21 20:27

I can't remember if or why I placed it in there, there's no need for me to edit it. It's a very old install tbh - well, sorted now.

fryfrog commented on 2019-03-21 20:23

That isn't how it works. The files in /etc/systemd/system/ are the users, they only get there if the user puts them there. And they override any in /usr/lib/systemd/system. If you want to use a package's .service file, you shouldn't have one in that /etc folder. The better systemd way to override would be w/ an service.conf.d/override.conf file which you can create w/ systemctl edit <service>.

But I'm glad you got it fixed and I'm sure it'll help someone else to see how you fixed it. :)

duffydack commented on 2019-03-21 20:19

@fryfrog: Aye, but it shouldn't have existed as I disabled the service, and enabled again, which in my mind should have replaced it with newer version, if it needed to be there in the first place - since enabling it places it in /etc/systemd/system/multi-user.target.wants/

/shrug

fryfrog commented on 2019-03-21 20:16

Ah, /etc/systemd/system/ is for user systemd service files, packages don't put things in there and don't touch them there either.

duffydack commented on 2019-03-21 20:14

@fryfrog: The file /etc/systemd/system/plexmediaserver.service was the old one with directives for /opt/plexmediaserver. For some reason it got left behind, and prevented me from starting it. SystemD voodoo no doubt. Just mentioning it in case anyone else has a problem. Soon as I removed it, it used the pkg provided proper version....

fryfrog commented on 2019-03-21 19:58

@daffydack, which folder didn't exist? Was it in /opt or /usr/lib?

duffydack commented on 2019-03-21 19:41

I couldn't start it after update because 'plexmediaserver.service: Changing to the requested working directory failed: No such file or directory'. I had to remove the old service file from /etc/systemd/system, though I thought that would have been done when I 'disable --now'`d before updating. Just mentioning for anyone else coming here.