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

Latest Comments

« First ‹ Previous 1 .. 29 30 31 32 33 34 35 36 37 38 39 .. 107 Next › Last »

techwiz commented on 2016-06-14 19:18 (UTC)

@tmoore, I wonder if for debugging purposes removing the StandardOutput=null from the service file would allow journald to capture plex error messages that would have appeared in the console...

tmoore commented on 2016-06-14 18:32 (UTC) (edited on 2016-06-14 18:34 (UTC) by tmoore)

I have that error as well, but my Plex is running fine. See what's in Plex Media Server.log Also, make sure that everything under and including /var/lib/plex is owned by "plex:plex" Run "sudo chown -R plex:plex /var/lib/plex" if unsure. Check to see if your /usr/lib/systemd/system/plexmediaserver.service looks something like this [Unit] Description=Plex Media Server After=network.target [Service] EnvironmentFile=/etc/conf.d/plexmediaserver ExecStart=/opt/plexmediaserver/Plex\x20Media\x20Server Type=simple User=plex Group=plex Restart=on-failure RestartSec=5 StartLimitInterval=60s StartLimitBurst=3 StandardOutput=null [Install] WantedBy=multi-user.target

dahankzter commented on 2016-06-14 18:16 (UTC)

There are no logs at /var/lib/plex/Logs/ The logs under /var/lib/plex/Plex\ Media\ Server/Logs/ do indeed reveal something totally undecipherable: Error: Unable to set up server: basic_string::_S_create Internet isn't full of it but noone seems to know at a glance. Tailing that log while restarting is dead silent. Resetting permissions didn't help either.

techwiz commented on 2016-06-14 17:54 (UTC)

FYI: Plex logs stuff internally in /var/lib/plex/Logs/ I would think it would be easy enough to track down your issue in those logs.

asadana commented on 2016-06-14 17:15 (UTC) (edited on 2016-06-14 17:31 (UTC) by asadana)

Facing pretty much the same error since yesterday as @dahankzter, similar logs. Already checked /etc/conf.d/plexmediaserver as well. I can start the server manually through /opt/plexmediaserver/start.sh but it starts a new server with no config, and doesn't persist on reboot. I found similar error from 2014-2015 on plex forums, reinstalling plex and fixing permissions seem to work for them. https://forums.plex.tv/discussion/comment/760881#Comment_760881 So I simply reset my permissions at /var/lib/plex and /opt/plexmediaserver to plex:plex and it worked like a charm, got my old server back. Hope this helps, and please fix this for the package. I've reinstalled thrice to no avail, and my permissions already seem correct.

dahankzter commented on 2016-06-14 15:52 (UTC)

sudo journalctl -xf -u plexmediaserver gives: -- The start-up result is done. Jun 14 17:54:46 antiva systemd[1]: plexmediaserver.service: Main process exited, code=exited, status=255/n/a Jun 14 17:54:46 antiva systemd[1]: plexmediaserver.service: Unit entered failed state. Jun 14 17:54:46 antiva systemd[1]: plexmediaserver.service: Failed with result 'exit-code'. Jun 14 17:54:52 antiva systemd[1]: plexmediaserver.service: Service hold-off time over, scheduling restart. Jun 14 17:54:52 antiva systemd[1]: Stopped Plex Media Server. -- Subject: Unit plexmediaserver.service has finished shutting down -- Defined-By: systemd -- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel -- -- Unit plexmediaserver.service has finished shutting down. Jun 14 17:54:52 antiva systemd[1]: plexmediaserver.service: Start request repeated too quickly. Jun 14 17:54:52 antiva systemd[1]: Failed to start Plex Media Server. -- Subject: Unit plexmediaserver.service has failed -- Defined-By: systemd -- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel -- -- Unit plexmediaserver.service has failed. -- -- The result is failed. Jun 14 17:54:52 antiva systemd[1]: plexmediaserver.service: Unit entered failed state. Jun 14 17:54:52 antiva systemd[1]: plexmediaserver.service: Failed with result 'start-limit-hit'.

dahankzter commented on 2016-06-14 15:50 (UTC)

It looks 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 Pretty much the same

tmoore commented on 2016-06-12 19:03 (UTC)

@dahankzter Make sure your plexmediaserver config file looks as so /etc/conf.d] └──╼ more plexmediaserver 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

techwiz commented on 2016-06-12 18:37 (UTC)

@dahankzter, libboost should be provided by plex, not the system version. I don't even have boost installed but plex works. Someone reported similar issues here before, perhaps we should incorporate the LD_LIBRARY_PATH into the service file? It looks like if boost is installed, the plex bin gets confused.

dahankzter commented on 2016-06-12 16:59 (UTC)

LD_LIBRARY_PATH=/opt/plexmediaserver /opt/plexmediaserver/Plex\ Media\ Server Makes it work as user plex. Bit of a hack really...