You should write a official guide on how to make your Plex server work on Linux

Server Version#:
Player Version#:

I downloaded the latest Plex media server (for Ubuntu 18.04 x64). I installed it. But I cannot add a directory to the library from my second hard drive. The plex media server web pane can see / directory and /Data directory, but not the /Data/movies directory.

Tom

https://support.plex.tv/articles/200288596-linux-permissions-guide/

That guide just told how to use permission commands like chown, chmod, etc.

It did not briefly tell how to make the Plex media server work for media documents and direcotries.

Tom

  GNU nano 2.9.3                       /etc/default/plexmediaserver                                 

# default script for Plex Media Server

# the number of plugins that can run at the same time
export PLEX_MEDIA_SERVER_MAX_PLUGIN_PROCS=6

# ulimit -s $PLEX_MEDIA_SERVER_MAX_STACK_SIZE
export PLEX_MEDIA_SERVER_MAX_STACK_SIZE=3000

# where the mediaserver should store the transcodes
export PLEX_MEDIA_SERVER_TMPDIR=/tmp

# uncomment to set it to something else
# export PLEX_MEDIA_SERVER_APPLICATION_SUPPORT_DIR="${HOME}/Library/Application Support"

# the user that PMS should run as, defaults to 'plex'
# note that if you change this you might need to move
# the Application Support directory to not lose your
# media library (match what is in /etc/passwd)
export PLEX_MEDIA_SERVER_USER=plex   

# Uncomment this to use syslog for logging instead of
# sending logs to Plex Media Server.log
#export PLEX_MEDIA_SERVER_USE_SYSLOG=true

I replaced the plex to my username but still not work. I remember this method did work before.

Good morning. Actually the standard default install of PMS does work, i’ve found. Have u attempted to do such? Thanx & lemme know.

-wbm

WTF, even I set the permission like this, it did not wok.

203423745 drwxr-xr-x 87 plex    plex        12288 Sep 17 13:56 movies

I think it was caused by this:

2 drwx------   4 administrator administrator       4096 Sep 17 17:44 Data

Be advised

Nothing in /etc/defaults is used for PMS.

All tuning of PMS is done via the service override file as documented in Linux Tips.

FYI: Linux Tips will be transferred to the official support site soon.

1 Like

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.