Package Details: plex-media-server

Git Clone URL: (read-only)
Package Base: plex-media-server
Description: Plex Media Server
Upstream URL:
Keywords: DLNA
Licenses: custom
Conflicts: plex-media-server-plexpass
Provides: plex-media-server
Submitter: alucryd
Maintainer: tmoore
Last Packager: tmoore
Votes: 281
Popularity: 6.582543
First Submitted: 2014-10-14 22:11
Last Updated: 2018-02-19 22:02

Pinned Comments

tmoore commented on 2017-07-17 13:30

*For users flagging out of date*

Please note that PlexPass users get access to later versions than non-plexpass users. Thus this package will be behind when newer versions come out.

You will want to flag

Please do not flag this as out of date unless you go here (and are not a plexpass user/logged in) and see a newer version

Latest Comments

hecsa commented on 2018-01-28 16:18

@techwiz you were right about setting the LD_LIBRARY_PATH variable:

[hecsa@dshecsa01 plexmediaserver]$ export LD_LIBRARY_PATH=/opt/plexmediaserver:$LD_LIBRARY_PATH [hecsa@dshecsa01 plexmediaserver]$ nohup ./Plex\ Media\ Server & [1] 16636

This worked like a charm. What needs to be modified on the package is the systemctl script, as far as I can see, it does not take into account the LD_LIBRARY_PATH variable.

Thanks a lot, now I can see my movies again! :-) Best regards,


techwiz commented on 2018-01-28 14:26

@hecsa, another user had a similar issue... They resolved theirs by reinstalling plex. Also, if you're calling the plex binary manually, you need to use LD_LIBRARY_PATH=/path/to/plex/binaries/folder so that plex can find the included library binaries. They should be in the same folder as the plex bin.

hecsa commented on 2018-01-28 07:38

Same issue as before:

./Plex Media Server: error while loading shared libraries: cannot open shared object file: No such file or directory

Any ideas about how to solve it?

Thanks, and best regards,


darose commented on 2018-01-18 03:12

Hmmm ... the plot thickens. It looks like what's actually happening is timeouts. Plex server starts downloading temp files to that directory (e.g. but then times out part way through and deletes the file. Again, not sure why. I wound up having to download all the codecs manually with curl.

darose commented on 2018-01-18 02:31

I think that you're right that it can write to that directory, but I can't figure out why. There's plenty of disk space (24gb). The Codecs/b077134-1269-linux-ubuntu-x86_64 dir is writeable by user plex. When I delete the Codecs dir, plex recreates it OK. But for some reason codecs can't get downloaded there.

Every time it tries to download a codec it says "Error issuing curl_easy_perform(handle): 28", "HTTP simulating 408 after curl timeout", "Codecs: Download failed: Failed to download '': 408"

Note that I recently upgraded from version to I'm guessing that has something to do with my issue ...

techwiz commented on 2018-01-18 02:21

@darose Cool, sounds like an easy fix. My codecs are in /var/lib/Plex Media Server/Codecs/

Maybe Plex is having trouble writing to that directory, check permissions and disk space. Also check any proxy/web settings to make sure Plex can reach the internet.

Alternatively, you can download the files and install them yourself, but it'll probably die again if and when it needs to update them.

darose commented on 2018-01-18 02:12

It looks like the server is trying to download those codecs itself and failing.

Jan 17, 2018 21:08:56.492 [0x7f50b9bf8700] DEBUG - HTTP requesting GET ... Jan 17, 2018 21:09:31.779 [0x7f50b9bf8700] ERROR - Codecs: Download failed: Failed to download '': 408 Jan 17, 2018 21:09:31.780 [0x7f50b9bf8700] ERROR - Error configuring transcoder: Decoder install failed: mpeg4

I'm not sure why.

techwiz commented on 2018-01-18 00:22

@darose Go to Settings, click Show Advanced. Go into Debug and try enabling/disable Direct Play and/or Direct Stream.

It's possible your machine is missing video codecs for h.264 or AAC... I'm not sure what package offers those. This wiki might help:

I'm also unsure if it's your client or your server that is missing the codecs, probably the client tho.

darose commented on 2018-01-17 23:27

The web player keeps giving me errors (in firefox 57.0.4):

Playback Error Conversion failed. A required codec could not be found or failed to install.

Anyone maybe have a suggestion why?

dlq84 commented on 2017-12-14 15:11

Please do not add configuration files for things such as firewalld. This is not Ubuntu where every package makes magic configuration changes/additions to other parts of the system.

All comments