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.013481
First Submitted: 2014-10-14 22:11 (UTC)
Last Updated: 2024-11-14 23:11 (UTC)

Latest Comments

« First ‹ Previous 1 .. 21 22 23 24 25 26 27 28 29 30 31 .. 107 Next › Last »

techwiz commented on 2016-07-30 03:00 (UTC)

@Ploax, looks like a syntax error... Something about quotes in the service file. Maybe you copied and pasted the exec start line with the quotes? Try removing them.

Ploax commented on 2016-07-30 02:53 (UTC)

Sorry to take long, was busy. This was the result $ systemctl status plexmediaserver Failed to dump process list, ignoring: Unit plexmediaserver.service is not loaded properly: Invalid argument. ● plexmediaserver.service - Plex Media Server Loaded: error (Reason: Invalid argument) Active: failed (Result: start-limit-hit) since Fri 2016-07-29 19:51:12 CDT; 2h 0min ago Main PID: 970 (code=dumped, signal=ABRT) Jul 29 19:51:12 archdesktop systemd[1]: plexmediaserver.service: Service hold-off time over, scheduling restart. Jul 29 19:51:12 archdesktop systemd[1]: Stopped Plex Media Server. Jul 29 19:51:12 archdesktop systemd[1]: plexmediaserver.service: Start request repeated too quickly. Jul 29 19:51:12 archdesktop systemd[1]: Failed to start Plex Media Server. Jul 29 19:51:12 archdesktop systemd[1]: plexmediaserver.service: Unit entered failed state. Jul 29 19:51:12 archdesktop systemd[1]: plexmediaserver.service: Failed with result 'start-limit-hit'. Jul 29 21:48:36 archdesktop systemd[1]: [/usr/lib/systemd/system/plexmediaserver.service:9] Executable path is not absolute, ignoring: ${LD_LIBR Jul 29 21:48:36 archdesktop systemd[1]: plexmediaserver.service: Service lacks both ExecStart= and ExecStop= setting. Refusing. Jul 29 21:51:34 archdesktop systemd[1]: [/usr/lib/systemd/system/plexmediaserver.service:9] Unbalanced quoting, ignoring: "${LD_LIBRARY_PATH}/op Jul 29 21:51:34 archdesktop systemd[1]: plexmediaserver.service: Service lacks both ExecStart= and ExecStop= setting. Refusing. lines 1-16/16 (END) Also when running that other command I get a can't find media error with TVShows, anyone else getting that? Besides from that it runs, but I have to manually start it or script it.

techwiz commented on 2016-07-28 18:58 (UTC)

@Ploax, hmm... Try this... In /usr/lib/systemd/system/plexmediaserver.service change ExecStart to "ExecStart=${LD_LIBRARY_PATH} /opt/plexmediaserver/Plex\x20Media\x20Server"

Ploax commented on 2016-07-28 18:51 (UTC)

Yeah my bad , didnt mean that. I did nuke my install and it still wont start without this command: LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/opt/plexmediaserver/ /opt/plexmediaserver/Plex\ Media\ Server

techwiz commented on 2016-07-28 18:33 (UTC)

Whoa wait a minute, /etc/sysconfig? Are you on RHEL/CentOS or is that just admin muscle memory? Also, where are those env vars coming from? Sounds to me like your config files are all over the place, you might want to reconsider nuking your plex install and reinstalling fresh.

Ploax commented on 2016-07-28 18:19 (UTC) (edited on 2016-07-28 18:21 (UTC) by Ploax)

I did all of those more than once and I kept/keep getting those errors. I just redid it to make sure that would fix it and it didnt't. I had to run the same commandL LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/opt/plexmediaserver/ ./Plex\ Media\ Server

tmoore commented on 2016-07-28 18:05 (UTC) (edited on 2016-07-28 18:05 (UTC) by tmoore)

Your /etc/conf.d/plexmediaserver is wrong, should look like this LD_LIBRARY_PATH=/opt/plexmediaserver PLEX_MEDIA_SERVER_HOME=/opt/plexmediaserver PLEX_MEDIA_SERVER_APPLICATION_SUPPORT_DIR=/var/lib/plex PLEX_MEDIA_SERVER_MAX_PLUGIN_PROCS=6 PLEX_MEDIA_SERVER_TMPDIR=/tmp TMPDIR=/tmp When in doubt, pacman -Rns plex-media-server, rm -rf /opt/plexmediaserver, rm /etc/conf.d/plexmediaserver, rm /usr/lib/systemd/system/plexmediaserver.service, and then reinstall plexmediaserver

techwiz commented on 2016-07-28 18:02 (UTC)

@Ploax, try modifying your /etc/conf.d/plexmediaserver to have the same LD_LIBRARY_PATH value as the command line that worked and report back if systemd is able to launch plex. If it is then @tmoore can incorporate that into the package to hopefully mitigate future issues.

Ploax commented on 2016-07-28 17:39 (UTC) (edited on 2016-07-28 18:06 (UTC) by Ploax)

I get the same error running it from the directory: $ ./Plex\ Media\ Server ./Plex Media Server: error while loading shared libraries: libminizip.so.1: cannot open shared object file: No such file or directory This worked : LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/opt/plexmediaserver/ ./Plex\ Media\ Server My /etc/sysconfig/PlexMediaServer had a different PLEX_MEDIA_SERVER_HOME, it was PLEX_MEDIA_SERVER_HOME=/usr/lib/plexmediaserver I'm going to change it to PLEX_MEDIA_SERVER_HOME=/opt/plexmediaserver That might fix it because export LD_LIBRARY_PATH="${PLEX_MEDIA_SERVER_HOME}"

techwiz commented on 2016-07-28 17:32 (UTC)

@Ploax, your plex binary crashed. Specifically, it terminated with a SIGABRT, which is usually the case of the program seeing an unrecoverable error and raising an exception. Based on your 2nd edit, I would think plex is in the wrong directory... Could you try cd'ing into the plex binary directory (/opt/plexmediaserver) and running the binary from within that dir. If that does not work try `LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/opt/plexmediaserver/ ./Plex\ Media\ Server` without the back ticks from the same dir. If the latter works, then we know that your /etc/conf.d/plexmediaserver is incorrect or systemd is just derping up a storm. We might need to create a wrapper script for plex, these library issues are happening very frequently. Unfortunately I have not been able to reproduce the problems on my server.