DBRepair

DBRepair is a one-shot container that repairs a corrupted Plex Media Server database.

  • Media Servers
DBRepair is a one-shot container that repairs a corrupted Plex Media Server database. It mounts the PMS data directory, runs an offline SQLite integrity check and repair, then exits automatically, making it suitable for self-hosters recovering from a database corruption without keeping Plex running.

Platform availability

Available on 0 of 10 platforms

  • Unraid (not listed)
  • TrueNAS (not listed)
  • Umbrel (not listed)
  • ZimaOS (not listed)
  • Proxmox (not listed)
  • Helm (not listed)
  • Mac (not listed)
  • Windows (not listed)
  • Linux (not listed)
  • Any server (not listed)

Health score?A 0-100 score computed nightly from four factors: maintained (40%: recent commits and steady activity), popular (25%: GitHub stars, log scale), easy to install (20%: platforms, install notes, setup guides, Docker image) and light to run (15%: minimum RAM, ARM support). When the source code has been checked, a fifth factor, security check (20%: automated scan for committed secrets, unsafe desktop-app settings, known-vulnerable dependencies and project hygiene; any serious finding caps it at 20), is added. Factors without data are left out and the rest are rescaled.

60/100 Good

Maintained
72last commit 3 days ago
Popular
651,775 GitHub stars
Easy to install
150 install platforms, install notes
Light to run
No data
Security check
75no serious findings

Based on 4 of 5 factors.

GitHub stars
1,775
Open issues
0
Last commit
2026-11-18
Latest release
v26.11.00
Activity
rising

Checked 2 days ago - source: GitHub (ChuckPa/DBRepair)

Resources & Compatibility

Requirements not published yet.

First-install notes

  • Mount the Plex data directory Mount your Plex Media Server data directory into the container (typically /path/to/plex/Library/Application Support/Plex Media Server). The container runs the repair once and exits automatically; ensure Plex is not running during the process. source

Fetched 42 days ago - each note links to its source

Alternatives (12)

  • Airwave - Airwave is a self-hostable service that turns your Plex library into custom, always-on live TV channels with a channel guide, recording, an…
  • Ampache - Ampache is a self-hosted, web-based media server that streams and manages your music and video libraries from any device.
  • Android TV - Android TV is Google’s operating system for smart TVs and streaming devices.
  • Channels - Channels DVR is a self-hosted digital video recorder and streaming server that records live TV channels and lets you watch them alongside y…
  • Emby - Emby is a self-hosted media server that organizes personal video, music, photo, and live TV libraries and streams them to smart TVs, stream…
  • Infuse - Ignite your video content with Infuse – the beautiful way to watch almost any video format on your iPhone, iPad, and Apple TV.
  • Jellyfin - Jellyfin is a Free Software Media System that puts you in control of managing and streaming your media.
  • Kodi - Kodi is a free, open-source media center and player that organizes and plays movies, shows, music, and photos on TVs, computers, and mobile…
  • MediaChips - MediaChips is a desktop app for organizing local media libraries.
  • Music Assistant - Music Assistant is a self-hosted, open-source music library manager for Home Assistant.
  • OSMC - OSMC (Open Source Media Center) is a free and open source media player based on Linux and founded in 2014 that lets you play back media fro…
  • Plezy - Modern cross-platform media client with Flutter UI for native performance, streaming and offline playback, HDR and Dolby Vision support, pl…

Checked 40 days ago - source: AlternativeTo

Common questions

How long should DBRepair take, especially for a large database?

Cleaning and Exporting can take the longest, potentially hours, while the other steps progress more quickly. Stopping it early could cause database corruption. Once it finishes, the database should be back to normal size and you should not need to run WebTools DB Optimization.

Can I still use the old DBRepair.sh with Plex 1.43 and later?

Plex 1.43.0 changes caused the old DBRepair.sh to be phased out in favor of a new compiled program. The current shell script has FTS repair disabled, and older PMS versions below 1.43.0 are not supported. You can still use it for normal optimization, but it will not address FTS issues.

Where should I get the new DBRepair program packages while regular releases are paused?

The new DBRepair program packages are available as a ZIP file from the Plex Forum DBRepair development thread. The developer says the program is stable except for a few remaining edge cases around host and identity detection.

Does DBRepair support Plex installed as a Snap?

DBRepair v1.04.00 has Snap support. The developer is asking users to report whether it solves the problem.

Where will the Linux self-patch instructions for DBRepair.sh be posted?

Linux users who want to self-patch DBRepair.sh should look for the instructions in the Plex forum, where the developer said he would post them soon. Development testing for the new program will resume after the current database incompatibility issues are cleared.

Answers sourced from forums.plex.tv, github.com, github.com, www.reddit.com

Community

Collected 48 days ago - public community threads