Skip to content

Shell script for updating the Plex Media Server inside the FreeNAS Plex plugin for Latest 11.2-U7 Build(Check Readme if you can't access settings after updating)

License

Notifications You must be signed in to change notification settings

luluhoc/PMS_Updater

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

60 Commits
 
 
 
 
 
 
 
 

Repository files navigation

PMS_Updater Instructions by luluhoc

This is updated version of PMS_Updater. Updater is confirmed to work on latest FreeNas 11.2-U7

If you have plex plugin installed [Run First Five commands only first time, after that you need to run only the last command]

pkg install ca_root_nss 
pkg install wget
pkg install perl5
fetch -o PMS_Updater.sh https://raw.githubusercontent.com/luluhoc/PMS_Updater/master/PMS_Updater.sh
chmod 755 PMS_Updater.sh
./PMS_Updater.sh -u [username] -p [password] -a -v

If after update you've got an error Server settings are unavailable

cd /usr/local/share/plexmediaserver/lib/
mv * ..

Restart Jail after and it should start working normally

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


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.

FreeNAS has a plug-in architecture that makes running Plex Media Server on 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.

To use run PMS_Updater.sh as root. The following options can be used:

OPTIONS:
   -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

Running without the username/password or bad username/password will retrieve the latest public release rather than the latest Plex Pass release.

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

About

Shell script for updating the Plex Media Server inside the FreeNAS Plex plugin for Latest 11.2-U7 Build(Check Readme if you can't access settings after updating)

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Shell 100.0%