Skip to content

Plex Updater is a set of scripts designed to automatically download and install the latest version of Plex Media Server on Ubuntu Server. It supports both Bash and Python implementations, giving you flexibility based on your preference.

License

Notifications You must be signed in to change notification settings

samsonzone/Plex-Updater

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Plex Updater

Plex Updater is a set of scripts designed to automatically download and install the latest version of Plex Media Server on Ubuntu Server. It supports both Bash and Python implementations, giving you flexibility based on your preference.


Features

  • Automatically fetches the latest Plex Media Server version.
  • Downloads and installs the update.
  • Logs installation details for troubleshooting.
  • Cleans up temporary files after installation.
  • Restarts Plex Media Server to apply the update.

Tested Environment

  • OS: Ubuntu Server 24.04.1
  • Scripts:
    • Bash Version: plex_updater.sh
    • Python Version: plex_updater.py

Requirements

Bash Version Requirements:

  • sudo/root privileges
  • jq installed for JSON parsing:
sudo apt-get install jq -y

Python Version Requirements:

  • sudo/root privileges
  • Python 3.x installed:
sudo apt install python3 python3-pip -y
  • Requests library for API calls:
pip install requests

Usage

Bash Script Usage

  1. Clone this repository:
git clone https://github.com/bmsam/Plex-Updater.git
cd Plex-Updater
  1. Make the Bash script executable:
chmod +x plex_updater.sh
  1. Run the script as root or with sudo:
sudo ./plex_updater.sh

Python Script Usage

  1. Ensure Python 3 and required libraries are installed:
sudo apt install python3 python3-pip -y
pip install requests
  1. Run the Python script as root or with sudo:
sudo python3 plex_updater.py

Logs

Installation logs are stored in:

/var/log/plex_upgrade.log

License

This project is licensed under the GNU General Public License v3.0.
See the LICENSE file for details.


Contributions

Contributions and improvements are welcome!
Feel free to submit a pull request or open an issue if you find any bugs.


Disclaimer

This script is provided as-is without any warranties.
Use it at your own risk.

About

Plex Updater is a set of scripts designed to automatically download and install the latest version of Plex Media Server on Ubuntu Server. It supports both Bash and Python implementations, giving you flexibility based on your preference.

Resources

License

Stars

Watchers

Forks

Packages

No packages published