Skip to content
ChuckPaPublic

About

Database repair utility for Plex Media Server databases

Resources

Stars

1.8k stars

Watchers

34 watching

Forks

Latest commit

 

History

1 Commit

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DBRepair (for Plex Media Server)

GitHub issues Release Download latest release Download total Main Maintenance Sponsor ChuckPa

DO NOT CLONE this repository. The program is not in it. Download the .zip for your system from the Latest Release. Do not use GitHub's "Source code" files. The program is not in them either.

DBRepair is a standalone executable for macOS, Linux, FreeBSD (14+) and Windows. Download, extract, and run.

DBRepair.sh and the Windows .bat / .ps1 scripts are obsolete. Please delete any copies/forks you may have.

DBRepair is run from a command line (terminal, Command Prompt/PowerShell, or ssh/putty session) on the local host machine. It must have sufficient privileges to read/write the databases. Because DBRepair is distributed as a compiled executable, it requires no external runtime dependencies.

If sufficient privileges exist (root/Administrator), and are supported by the environment, the options to start and stop PMS are presented as well.

Documentation

Full documentation (installation, every menu command, typical usage, command-line options, environment variables, supported hosts) is on the DBRepair Wiki.

For a complete list of commands in the menu, see: Menu

Situations and errors commonly seen include:

  1. PMS has stopped making automatic backups of your databases.
  2. Searching is sluggish or broken
  3. Database is malformed / damaged / corrupted / bloated
  4. Damaged indexes / Rows out of order
  5. Tables, Indexes, or other items missing from databases (seen in logs)
  6. Importing data from other databases (watch history)
  7. Cleaning up operational temp files which PMS has forgotten
  8. Other maintenance and checks to keep your server running optimally

Getting Started

Downloading

Available Packages

DBRepair is packaged as a .zip archive for easy downloading. Each archive contains the standalone executable for the target platform, along with the README.md, README.html, ReleaseNotes.txt, and LICENSE.txt files.

The following architectures are supported:

Download the packaged .zip archive for your system.

Navigate to the latest release: DBRepair Latest Release and download the appropriate .zip file for your platform from the Assets section.

Where to install DBRepair

DBRepair is free but one-time Donations or Sponsorships to defray development costs are always welcomed

License

See LICENSE.txt for terms of use.

About

Database repair utility for Plex Media Server databases

Resources

Stars

1.8k stars

Watchers

34 watching

Forks

Releases

Sponsor this project

Contributors