Pms_updater

Shell script for updating the Plex Media Server inside the FreeNAS Plex plugin
Alternatives To Pms_updater
Project NameStarsDownloadsRepos Using ThisPackages Using ThisMost Recent CommitTotal ReleasesLatest ReleaseOpen IssuesLicenseLanguage
Heimdall6,061
2 days ago28mitPHP
An Application dashboard and launcher
Organizr4,383
16 days ago26gpl-3.0PHP
HTPC/Homelab Services Organizer - Written in PHP
Pms Docker2,461
3 months ago4Shell
Plex Media Server Docker repo, for all your PMS docker needs.
Docker Traefik2,029
7 days ago53mitShell
Docker media and home server stack with Docker Compose, Traefik, Swarm Mode, Google OAuth2/Authelia, and LetsEncrypt
Plexupdate1,595
7 months ago12gpl-2.0Shell
Plex Update script to simplify the life of Linux Plex Media Server users.
Python Plexapi98129217a day ago56May 30, 202246bsd-3-clausePython
Python bindings for the Plex API.
Synclounge960
a month ago376June 24, 202225mitJavaScript
Enjoy Plex with your friends. In Sync. Together.
Pmsservice442
21 days ago12mitC#
Plex Media Server service wrapper for windows
Config396
2 months ago25gpl-2.0Shell
Armbian Linux configuration utility
Pms_updater366
2 years ago31mitShell
Shell script for updating the Plex Media Server inside the FreeNAS Plex plugin
Alternatives To Pms_updater
Select To Compare


Alternative Project Comparisons
Readme

PMS_Updater

PMS_Updater.sh is a shell script for updating the Plex Media Server inside the FreeNAS/TrueNAS Plex plugin.

This script will search the plex.tv download site for a download link and if it is newer than the currently installed version the script will download and optionaly install the new version.

Installation

Download the PMS_Updater.sh script in your jail:

  fetch https://raw.githubusercontent.com/mstinaff/PMS_Updater/master/PMS_Updater.sh

Usage

Run the script as root. The following options can be used:

   -l      Local file to install instead of latest from Plex.tv
   -d      download folder (default /tmp) Ignored if -l is used
   -a      Auto Update to newer version
   -f      Force Update even if version is not newer
   -r      Remove update packages older than current version
             Done before any update actions are taken.
   -v      Verbose

The script will auto determine if you installed plexpass or the normal version. It will authenticate using your servers authentication token, thus no more login/password required.

The script can also be called from a cronjob to check for updates on a regular schedule.

Troubleshooting

Python temporarily broke in some Plex version, probably in 1.16.6.1559. If you happen to be on this release, or any other that broke python, you can manually download the next release and update:

cd /tmp
fetch https://downloads.plex.tv/plex-media-server-new/1.16.6.1592-b9d49bdb7/freebsd/PlexMediaServer-1.16.6.1592-b9d49bdb7-FreeBSD-amd64.tar.bz2
PMS_Updater.sh -l /tmp/PlexMediaServer-1.16.6.1592-b9d49bdb7-FreeBSD-amd64.tar.bz2

Sidenotes

Thanks to @sretalla at the FreeNAS/TrueNAS forums for all the help provided.

TrueNAS (previously FreeNAS) is an excellent open-source network attached storage project based on FreeBSD that is very capable of storing even the largest media libraries

Plex is an amazing media server/client platform that can organize and stream those same media libraries.

TrueNAS (previously FreeNAS) has a plug-in architecture that makes running Plex Media Server on TrueNAS (previously FreeNAS) trivialy easy. But the available Plex Media Server plug-in is only as recent as the latest publicly available release.

To address this I have made a script that can be copied into a running Plex Media Server plug-in, and without needing anything else installed it can search the Plex.tv download site using paid PlexPass credentials and check for newer versions. If a newer version is found it can either be downloaded and held for admin approval or automatically installed to the server.

Popular Server Projects
Popular Plex Projects
Popular Networking Categories

Get A Weekly Email With Trending Projects For These Categories
No Spam. Unsubscribe easily at any time.
Shell
Server
Script
Shell Script
Plex
Media Server