Package Details: plex-media-server 1.41.2.9200-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.014055
First Submitted: 2014-10-14 22:11 (UTC)
Last Updated: 2024-11-14 23:11 (UTC)

Latest Comments

« First ‹ Previous 1 .. 66 67 68 69 70 71 72 73 74 75 76 .. 107 Next › Last »

slaecker commented on 2014-10-18 11:27 (UTC)

I upgraded from the old package plexmediaserver and moved the contents of the Application Support directory into /var/lib/plex but then the service refused to start. I then purged the plex-media-server installation and deleted /opt/plexmediaserver and /var/lib/plex and removed the user plex and its group. Afterwards I did a fresh install of plex-media-server and did a daemon-reload but the service still refuses to start. % systemctl status plexmediaserver.service ● plexmediaserver.service - Plex Media Server Loaded: loaded (/usr/lib/systemd/system/plexmediaserver.service; enabled) Active: failed (Result: start-limit) since Sa 2014-10-18 13:15:51 CEST; 7s ago Process: 14264 ExecStart=/usr/bin/plexmediaserver.sh (code=dumped, signal=ABRT) Main PID: 14264 (code=dumped, signal=ABRT) Okt 18 13:15:45 homeserver systemd[1]: plexmediaserver.service: main process exited, code=dumped, status=6/ABRT Okt 18 13:15:45 homeserver systemd[1]: Unit plexmediaserver.service entered failed state. Okt 18 13:15:51 homeserver systemd[1]: plexmediaserver.service start request repeated too quickly, refusing to start. Okt 18 13:15:51 homeserver systemd[1]: Failed to start Plex Media Server. Okt 18 13:15:51 homeserver systemd[1]: Unit plexmediaserver.service entered failed state. I haven't done any restrictions so far as mentioned in the Wiki, only installed, daemon-reload and service start. Any hints?

alucryd commented on 2014-10-18 09:15 (UTC)

/opt/plex was a brain fart, thx for pointing it out. As for plexmediaserver.sh not being accessible, if I understand correctly, it shouldn't happen, then again I found out about those mechanisms yesterday so I may be wrong. I believe systemd spawns the process then restrict the directories. What happens if you get rid of the InaccesibleDirectories line and have / only in ReadOnlyDirectories ?

lksbhm commented on 2014-10-18 08:19 (UTC)

I tried following the wiki instructions for restrict.conf, but it won't work. I figured I needed to change /opt/plex to /opt/plexmediaserver and I use /srv/media as my media directory. So I have [Service] InaccessibleDirectories=/ ReadOnlyDirectories=/opt/plexmediaserver /srv/media ReadWriteDirectories=/var/lib/plex /tmp MemoryLimit=2G The error in journalctl is Failed at step NAMESPACE spawning /usr/bin/plexmediaserver.sh: Operation not permitted Can anyone clarify?

alucryd commented on 2014-10-17 14:13 (UTC)

thommy101: Glad you got it sorted! all: I just updated the wiki page, feel free to complete it if you feel I overlooked anything. https://wiki.archlinux.org/index.php/Plex

thommy101 commented on 2014-10-17 11:34 (UTC)

After a complete delete of all plex files and an install it works. Guess I've opened it once as root, which messed up a lot. Thanks for the help and for the package!

alucryd commented on 2014-10-17 10:25 (UTC)

Did you daemon-reload systemctl to use the new service file? Is /var/lib/plex and everything inside owned by plex:plex? _Do not_ use anything other than the service file to launch plex, you probably ran it as root and messed up a few permissions. I've installed this on 3 machines without any issue.

thommy101 commented on 2014-10-17 10:00 (UTC)

After a fresh install (came from plexmediaserver package, which refused to start after an upgrade) it won't start at all. The service crashes (and coredumps) about a non existing directory "/var/lib/plex/Plex Media Server/Logs". I also can't create it, because there is a file named "/var/lib/plex/Plex Media Server". Running start.sh from the last directory and plex does start. Any idea what is wrong?

alucryd commented on 2014-10-16 16:06 (UTC)

Updated, also added a notice about the library move in the install file.

whiskerz007 commented on 2014-10-16 00:48 (UTC)

Outdated - https://forums.plex.tv/index.php/topic/62832-plex-media-server/page-3#entry743996

<deleted-account> commented on 2014-10-15 21:04 (UTC)

For anyone else trying to find the github repo for this, the link below is broken because the location changed. https://github.com/alucryd/aur-alucryd/tree/master/unsupported/plex-media-server