Skip to content

nilicule/plexupdate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 

Repository files navigation

Plex Media Server Updater

Automatic updater for Plex Media Server on Linux (CentOS/RPM) and macOS. Checks the Plex API and upgrades when a newer version is available.

Supports both the public release channel and Plex Pass early-access builds. Authenticate once with your Plex account via --login (browser-based PIN flow) and the script will automatically fetch PlexPass releases going forward. Without a token it falls back to the public channel.

Requirements

  • curl, plus jq or python3 for JSON parsing
  • Linux: rpm, root privileges
  • macOS: unzip, write access to /Applications (sudo)

Usage

# Authenticate with Plex (one-time setup)
./plex-update.sh --login

# First-time install
sudo ./plex-update.sh --install

# Update an existing installation
sudo ./plex-update.sh

# Dry run — shows what would happen without making changes
./plex-update.sh --dry-run

# Override platform detection
sudo ./plex-update.sh --platform linux

# List available Plex versions
./plex-update.sh --list-versions

# Show all options
./plex-update.sh --help

Use --list-versions to compare the currently available public and PlexPass releases side by side.

macOS: After --install, open Plex Media Server once manually to register the LaunchAgent.

Cron Example

0 4 * * * /path/to/plex-update.sh >> /var/log/plex-update.log 2>&1

License

MIT

About

Bash-based automatic updater and installer for Plex Media Server, designed to run from cron. Compares the installed version against the Plex API and performs an in-place upgrade when a newer version is available.

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages