Package Details: plex-media-server 1.41.0.8994-1

Git Clone URL: https://aur.archlinux.org/plex-media-server.git (read-only, click to copy)
Package Base: plex-media-server
Description: The back-end media server component of Plex.
Upstream URL: https://plex.tv/
Keywords: DLNA
Licenses: custom
Conflicts: plex-media-server-plexpass
Submitter: alucryd
Maintainer: fryfrog (tixetsal)
Last Packager: fryfrog
Votes: 348
Popularity: 0.029861
First Submitted: 2014-10-14 22:11 (UTC)
Last Updated: 2024-09-26 17:02 (UTC)

Latest Comments

« First ‹ Previous 1 .. 7 8 9 10 11 12 13 14 15 16 17 .. 107 Next › Last »

fryfrog commented on 2019-03-22 16:55 (UTC) (edited on 2019-03-22 16:55 (UTC) by fryfrog)

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 (UTC)

@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 (UTC)

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 (UTC)

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 (UTC)

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 (UTC) (edited on 2019-03-21 20:21 (UTC) by duffydack)

@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 (UTC)

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 (UTC)

@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 (UTC)

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

duffydack commented on 2019-03-21 19:41 (UTC)

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.