Plex Update script to simplify the life of Linux Plex Media Server users.
Plex Update is a bash script which helps you keep Plex Media Server up to date on Linux.
You can schedule updates to run daily and install Plex Pass beta releases if you have a Plex Pass membership.
In the old days, this used to be a bit of a chore. But no more!
bash -c "$(wget -qO - https://raw.githubusercontent.com/mrworf/plexupdate/master/extras/installer.sh)"
will automatically install the tool as well as any dependencies. This has been tested on Ubuntu, Fedora and CentOS but should, for the most part, work on any modern Linux distribution.
If you’d ever like to change your configuration, just re-run the installer from the extras folder inside your plexupdate directory. (/opt/plexupdate/extras/installer.sh
by default)
If you have any trouble with the installer, or would just prefer to set plexupdate up manually, read the guide.
There are a few additional options for the more enterprising user. Setting any of these to yes
will enable the function.
CHECKUPDATE
git clone
or by running the installer, you can use this option to notify you when there are updates to plexupdate. If you used git or the installer, see AUTOUPDATE
instead.PLEXSERVER
AUTOINSTALL
, the script will automatically check if the server is in use and defer the update. Great for crontab users. PLEXSERVER
should be set to the IP/DNS of your Plex Media Server, which typically is 127.0.0.1PLEXPORT
PLEXSERVER
AUTOUPDATE
git clone
or by using the installer.AUTOINSTALL
AUTODELETE
PUBLIC
yes
will make it download the public version instead.FORCE
PRINT_URL
DISTRO_INSTALL
DISTRO
and BUILD
DISTRO
and BUILD
TOKEN
SYSTEMDUNIT
AUTOSTART
, which may be necessary when you are using a custom NAS package. The default is plexmediaserver.service
.Most of these options can be specified on the command-line as well, this is just a more convenient way of doing it if you’re scripting it. Which brings us to…
Plexupdate comes with many command line options. For the most up-to-date list, run plexupdate.sh with -h
Here are some of the more useful ones:
--config <path/to/config/file>
--dldir <path/to/where/you/want/files/downloaded/to>
--server <Plex server address>
--port <Plex server port>
extras/installer.sh
?Of course not, anything you find under extras/
is optional and only provided as an easier way to get plexupdate.sh
up and running quickly. Read the guide for installing plexupdate manually.
Since just storing your password in plexupdate.conf isn’t secure, plexupdate will now use a “token” instead. To make this warning go away just re-run the installer (extras/installer.sh
) or manually remove EMAIL
and PASS
from your plexupdate.conf. For more details, see this wiki article.
See https://github.com/mrworf/plexupdate/wiki for more information