/syno-plex-update

Automatically check for Plex Media Server updates on Synology NAS and install them. Compatible with DSM 6 and DSM 7, including DSM 7.2.2+.

Primary LanguageShellBSD 3-Clause "New" or "Revised" LicenseBSD-3-Clause

syno-plex-update

Checks for available Plex Media Server updates on Synology NAS, automatically downloads and installs them.

Can be set up as a scheduled task in DSM to run regularly. Can write log messages to Log Center.

Tested on DSM 6 and DSM 7. Also supports DSM 7.2.2+ builds incompatible with the earlier versions.

image

Setup

Prerequisites

DSM 6

Follow the instructions from Plex Support to set the package trust level on your NAS and import the package signing key from Plex Inc.

Important: do not skip this step otherwise automatic package installation will be forbidden by DSM 6.

DSM 7

No prerequisites required, just follow the installation instructions below.

Installation

Enter a root shell on your NAS (log in via SSH, then run sudo -i to switch to root) and run:

mkdir -p /volume1/Scripts
cd /volume1/Scripts
wget -O syno-plex-update.sh https://raw.githubusercontent.com/YuriyGuts/syno-plex-update/master/syno-plex-update.sh
chmod +x syno-plex-update.sh

Scheduled Task Setup

In Control Panel > Task Scheduler, click Create > Scheduled Task > User-defined script:

bash /volume1/Scripts/syno-plex-update.sh

image

Important: make sure to run the scheduled task as the root user, otherwise automated package installation will fail.