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.
- 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.
- OS: Ubuntu Server 24.04.1
- Scripts:
- Bash Version:
plex_updater.sh
- Python Version:
plex_updater.py
- Bash Version:
- sudo/root privileges
- jq installed for JSON parsing:
sudo apt-get install jq -y
- sudo/root privileges
- Python 3.x installed:
sudo apt install python3 python3-pip -y
- Requests library for API calls:
pip install requests
- Clone this repository:
git clone https://github.com/bmsam/Plex-Updater.git
cd Plex-Updater
- Make the Bash script executable:
chmod +x plex_updater.sh
- Run the script as root or with sudo:
sudo ./plex_updater.sh
- Ensure Python 3 and required libraries are installed:
sudo apt install python3 python3-pip -y
pip install requests
- Run the Python script as root or with sudo:
sudo python3 plex_updater.py
Installation logs are stored in:
/var/log/plex_upgrade.log
This project is licensed under the GNU General Public License v3.0.
See the LICENSE file for details.
Contributions and improvements are welcome!
Feel free to submit a pull request or open an issue if you find any bugs.
This script is provided as-is without any warranties.
Use it at your own risk.