Skip to content

Latest commit

 

History

History
50 lines (32 loc) · 1.38 KB

README.md

File metadata and controls

50 lines (32 loc) · 1.38 KB

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