Server Version#: Version 3.77.2
Where should my files be located?
Have I installed it incorectly?
My Logs are here: ~/Library/Application Support/Plex Media Server/Logs/
My app is here: /usr/lib/plexmediaserver/
My app libraries are here: /usr/lib/plexmediaserver/lib/
My service is run here: /lib/systemd/system/plexmediaserver.service
My conf file is here: /etc/systemd/system/plexmediaserver.service.d/override.conf
My conf file refers to this folder: ~/Library/Application Support/Plex Media Server/
/etc/systemd/system/plexmediaserver.service.d/override.conf
My App support folder is here: /var/lib/plexmediaserver/Library/Application Support/ but it is empty, so what is it for?
My ~/Library/ folder only has plex media server in it, this seems like it is isolated…
Ran a service status and this is what returned:
$ service plexmediaserver status
● plexmediaserver.service - Plex Media Server
Loaded: loaded (/lib/systemd/system/plexmediaserver.service; enabled; vendor preset: enabled)
Drop-In: /etc/systemd/system/plexmediaserver.service.d
└─override.conf
Active: active (running) since Sun 2020-02-23 21:20:56 NZDT; 16h ago
Process: 27537 ExecStartPre=/bin/sh -c /usr/bin/test -d "${PLEX_MEDIA_SERVER_APPLICATION_SUPPORT_D
Main PID: 27539 (Plex Media Serv)
Tasks: 47 (limit: 4915)
CGroup: /system.slice/plexmediaserver.service
├─27539 /usr/lib/plexmediaserver/Plex Media Server
├─27575 Plex Plug-in [com.plexapp.system] /usr/lib/plexmediaserver/Resources/Plug-ins-f34
└─27633 /usr/lib/plexmediaserver/Plex Tuner Service /usr/lib/plexmediaserver/Resources/TuFeb 23 21:20:56 myserver systemd[1]: Starting Plex Media Server…
Feb 23 21:20:56 myserver systemd[1]: Started Plex Media Server.
/lib/systemd/system/plexmediaserver.service
refers to:
Description=Plex Media Server
After=network.target network-online.target[Service]
Environment=“PLEX_MEDIA_SERVER_APPLICATION_SUPPORT_DIR=/var/lib/plexmediaserver/Library/Application Support”
Environment=PLEX_MEDIA_SERVER_HOME=/usr/lib/plexmediaserver
Environment=PLEX_MEDIA_SERVER_MAX_PLUGIN_PROCS=6
Environment=PLEX_MEDIA_SERVER_TMPDIR=/tmp
ExecStartPre=/bin/sh -c ‘/usr/bin/test -d “${PLEX_MEDIA_SERVER_APPLICATION_SUPPORT_DIR}” || /bin/mkdir -p “${PLEX_MEDIA_SERVER_APPLICATION_SUPPORT_DIR}”’
ExecStart=/bin/sh -c ’
export PLEX_MEDIA_SERVER_INFO_VENDOR=“$(grep ^NAME= /etc/os-release | awk -F= “{print \$2}” | tr -d \” )“;
export PLEX_MEDIA_SERVER_INFO_DEVICE=“PC”;
export PLEX_MEDIA_SERVER_INFO_MODEL=”$(uname -m)“;
export PLEX_MEDIA_SERVER_INFO_PLATFORM_VERSION=”$(grep ^VERSION= /etc/os-release | awk -F= “{print \$2}” | tr -d \" )";
export LD_LIBRARY_PATH=/usr/lib/plexmediaserver/lib;
exec “/usr/lib/plexmediaserver/Plex Media Server”’
Type=simple
User=plex
Group=plex
Restart=on-failure
RestartSec=5
StartLimitInterval=60s
StartLimitBurst=3but
SyslogIdentifier=Plex Media Server
StandardOutput=journal
StandardError=journal[Install]
WantedBy=multi-user.target
/var/lib/plexmediaserver/Library/Application Support/Plex Media Server has nothing in it.
/usr/lib/plexmediaserver has these files:
CrashUploader ‘Plex DLNA Server’ ‘Plex Media Server’ ‘Plex Transcoder’
‘Plex Media Fingerprinter’ ‘Plex Relay’ ‘Plex Tuner Service’
‘Plex Commercial Skipper’ ‘Plex Media Scanner’ ‘Plex Script Host’
Here is my /etc/systemd/system/plexmediaserver.service.d/override.conf
#
# Customize Plex’s config
#
# Identify this as a service override
[Service]
#
# Move the data directory
Environment=“PLEX_MEDIA_SERVER_APPLICATION_SUPPORT_DIR=/home/myusername/Library/Application Support”
#
# These values are only needed if you wish to change user & group
User=myusername
Group=myusername
#
# This is needed to change the default umask
UMask=0002
# this must be 4 digits of octal
~/Library/Application Support/Plex Media Server/
Has these folders
Cache ‘Crash Reports’ Logs Metadata ‘Plug-in Support’
Codecs Diagnostics Media oldlogs Plug-ins
And these files:
plexmediaserver.pid Preferences.xml
Any info would be helpful, I thought this info was not detailed very well when I installed, and I had plenty of trouble, where things should go. So I hope this helps someone else. Once I get an “Everything looks perfect” response then I will update this Post.
IF /lib/systemd/system/plexmediaserver.service points at the wrong application support folder then should I change /lib/systemd/system/plexmediaserver.service?
) setup instructions would be: