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.
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.