Video coming soon…
🎬 Setup Maintainerr — Automated Media Library Cleanup
Deploy Maintainerr on Ubuntu with Docker — define rules to find and remove stale media from your Plex library, working with Overseerr, Radarr, and Sonarr, on port 6246.
⚠️ This script is provided for demo and testing purposes only. Not intended for production use.
📦 Resources & Setup Scripts
Grab the automated bash script from GitHub to follow along with the video.
Quick Install:
wget https://raw.githubusercontent.com/mhmdali94/Docker/main/media/maintainerr/maintainerr-ubuntu.sh
chmod +x maintainerr-ubuntu.sh
sudo bash maintainerr-ubuntu.sh
Tutorial Steps
1 Download the Script
wget https://raw.githubusercontent.com/mhmdali94/Docker/main/media/maintainerr/maintainerr-ubuntu.sh
2 Make it Executable
chmod +x maintainerr-ubuntu.sh
3 Run the Installer
The script installs Docker if needed and starts Maintainerr on port 6246, with its configuration and rules kept in the ./data volume.
sudo bash maintainerr-ubuntu.sh
4 Connect Plex and Define Rules
Open Maintainerr, connect Plex and your Overseerr/Radarr/Sonarr, then build cleanup rules and collections:
http://<your-server-ip>:6246
Ports Used
| Port | Purpose |
|---|---|
| 6246 | Web UI (host → container 6246) — connect Plex + *arrs |
| ./data | Rules, collections, and connections |