Script to Auto Update Plex Media Server on Synology NAS
First, SSH into your NAS, save the latest release update-plex.sh script somewhere and set it as executable:
$ ssh you@IP_OF_YOUR_NAS
you@yournas:~$ wget "https://github.com/cowboy/synology-update-plex/releases/latest/download/update-plex.sh"
you@yournas:~$ chmod a+x update-plex.sh
Then, create a Scheduled Task with a User-defined script in the Synology DSM Control Panel:
root
/path/to/update-plex.sh
--plex-pass
option (eg. /path/to/update-plex.sh --plex-pass
) if you have Plex Pass and want to enable early access / beta releasesUnable to find "Plex Media Server" directory
when --plex-pass
is specified, you may need to manually change /volume*
in the script to your volume's root path.error = [289]
while installing package, add Plex as a trusted publisher for package installations.If you find a bug or an issue not listed here, please file an issue or create a pull request. Explain the situation and include all script output.
Adapted from work first published at:
Including other update scripts such as:
To the extent possible under law, Ben Alman has waived all copyright and related or neighboring rights to this work.