Last active
September 3, 2024 11:15
-
-
Save h4de5/2e3fe4997db56325bfbc4a26625c29fb to your computer and use it in GitHub Desktop.
Synology - Make Plex PMS log to ram (tmpfs)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# change to Plex PMS directory on the nas (volume1 could be different) | |
cd "/volume1/Plex/Library/Application Support/Plex Media Server" | |
# stop Plex application for now | |
sudo synopkg stop "Plex Media Server" | |
# move away existing logs | |
mv Logs Logs-bkp | |
# list directory content | |
# remember group and userid from user plex and group users | |
ll -n | |
# create mount point for the Logs directory with the uid listed above | |
sudo mount -t tmpfs -o size=100M,mode=0777,gid=100,uid=1026 tmpfs "/volume1/Plex/Library/Application Support/Plex Media Server/Logs" | |
# start Plex applikation again | |
sudo synopkg start "Plex Media Server" | |
# if it works, add the mount point to the fstab to have it ready on next restart | |
sudo vi /etc/fstab | |
# add line: | |
> tmpfs "/volume1/Plex/Library/Application Support/Plex Media Server/Logs" tmpfs size=100M,mode=0777,gid=100,uid=1026 0 0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment