Server Version#: 1.16.0.1226
Player Version#: NA
Hello All,
First off, thanks for taking a look at this.
Setup - OS SSD 250GB - 4x Internal media drives, Ubuntu 16.04
Root Issue - /var/lib/plexmediaserver is taking a large amount of space, filling up my SSD (Currently 128 GB)
Want to move it off to one of my 10TB Discs.
Attempted Solution 1
Followed this guide - Moving PMS 'Library'
Prior to removal of old Library, I started up, looks fine, shutdown, in /var/lib sudo mv Library/ Library.OLD/, startup, no server found.
My sudo systemctl edit plexmediaserver below
# Customize Plex's config
#[Service]
Environment="PLEX_MEDIA_SERVER_APPLICATION_SUPPORT_DIR=/HDD/4/PLEX_MEDIA_FILES"
#
# These values are only needed if you wish to change user & group
#User=plex
#Group=plex
#
# This is needed to change the default umask
Umask=0002 # this must be 4 digits of octal
Tried Umask and UMask
Will only work if old Library is in place.
Permissions for /HDD/4/PLEX_MEDIA_FILES/Library/Application Support/
drwxrwxrwx 6 root root 4.0K Jun 10 19:48 HDD/
drwxrwxrwx 7 root root 4.0K Jul 25 11:20 4/
drwxrwxrwx 3 plex plex 4.0K Jul 25 08:28 PLEX_MEDIA_FILES/
drwxr-xr-x 3 plex plex 4.0K Jul 25 11:09 Library/
drwxr-xr-x 3 plex plex 4.0K Jan 1 2018 Application Support/
Attempted Solution 2
/etc/default/plexmediaserver
# uncomment to set it to something else
# export PLEX_MEDIA_SERVER_APPLICATION_SUPPORT_DIR="${HOME}/Library/Application Support"
export PLEX_MEDIA_SERVER_APPLICATION_SUPPORT_DIR="/HDD/4/PLEX_MEDIA_FILES/Library/Application Support"
Plex stop start, Works fine.
In /var/lib sudo mv Library/ Library.OLD/, startup, no server found.
Notes
On startup of both attempted solutions, where Library/ has been renamed Library.OLD/ it created a new Library/ folder in /var/lib.
To fix and keep running I am just do the below, Stop start, and I am back up and running, but its still on the SSD
sudo rm -rf Library/
mv Library.OLD/ Library/
For some reason Plex will not accept a new location for the Library files. I have pasted my Permissions above and they all seem fine.
Can anyone offer any suggestions?