mirror of
https://github.com/ChuckPa/PlexDBRepair.git
synced 2026-12-02 22:38:50 -06:00
Release v26.11.01
This commit is contained in:
5 files changed
+1752
No files matched your search
@@ -0,0 +1,2 @@
|
||||
# If DBRepair has helped you, you're welcome to make a one-time donation to defray development costs
|
||||
github: ChuckPa
|
||||
@@ -0,0 +1,2 @@
|
||||
*.zip
|
||||
/package/
|
||||
+1548
File diff suppressed because it is too large.
Load diff
@@ -0,0 +1,86 @@
|
||||
# DBRepair (for Plex Media Server)
|
||||
|
||||
[](https://github.com/ChuckPa/DBRepair/issues)
|
||||
[](https://github.com/ChuckPa/DBRepair/releases/latest)
|
||||
[](https://github.com/ChuckPa/DBRepair/releases/latest)
|
||||
[](https://github.com/ChuckPa/DBRepair/releases)
|
||||
[](https://github.com/ChuckPa/DBRepair/tree/main)
|
||||

|
||||
[](https://github.com/sponsors/ChuckPa)
|
||||
|
||||
|
||||
> **DO NOT CLONE this repository.** The program is not in it.
|
||||
> Download the `.zip` for your system from the
|
||||
> [Latest Release](https://github.com/ChuckPa/DBRepair/releases/latest).
|
||||
> 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](https://github.com/ChuckPa/DBRepair/wiki).
|
||||
|
||||
* [Install](https://github.com/ChuckPa/DBRepair/wiki/Install)
|
||||
* [Typical Usage](https://github.com/ChuckPa/DBRepair/wiki/Typical-Usage)
|
||||
* [Command-Line Options](https://github.com/ChuckPa/DBRepair/wiki/Command-Line-Options)
|
||||
* [Supported Hosts](https://github.com/ChuckPa/DBRepair/wiki/Supported-Hosts)
|
||||
* [Support](https://github.com/ChuckPa/DBRepair/wiki/Support)
|
||||
|
||||
For a complete list of commands in the menu, see: [Menu](https://github.com/ChuckPa/DBRepair/wiki/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:
|
||||
|
||||
* [MacOS - Arm64](https://github.com/ChuckPa/DBRepair/releases/latest/download/DBRepair-26.11.01-MacOS-arm64.zip)
|
||||
* [MacOS - X86_64](https://github.com/ChuckPa/DBRepair/releases/latest/download/DBRepair-26.11.01-MacOS-x86_64.zip)
|
||||
* [Linux - Arm32 (armv7)](https://github.com/ChuckPa/DBRepair/releases/latest/download/DBRepair-26.11.01-Linux-arm32.zip)
|
||||
* [Linux - Arm64 (armv8)](https://github.com/ChuckPa/DBRepair/releases/latest/download/DBRepair-26.11.01-Linux-arm64.zip)
|
||||
* [Linux - X86_64](https://github.com/ChuckPa/DBRepair/releases/latest/download/DBRepair-26.11.01-Linux-x86_64.zip)
|
||||
* [FreeBSD - X86_64](https://github.com/ChuckPa/DBRepair/releases/latest/download/DBRepair-26.11.01-FreeBSD-x86_64.zip)
|
||||
* [Windows - X86_64](https://github.com/ChuckPa/DBRepair/releases/latest/download/DBRepair-26.11.01-Windows-x86_64.zip)
|
||||
|
||||
Download the packaged `.zip` archive for your system.
|
||||
|
||||
Navigate to the latest release:
|
||||
[DBRepair Latest Release](https://github.com/ChuckPa/DBRepair/releases/latest)
|
||||
and download the appropriate `.zip` file for your platform from the
|
||||
**Assets** section.
|
||||
|
||||
[Where to install DBRepair](https://github.com/ChuckPa/DBRepair/wiki/Install)
|
||||
|
||||
**DBRepair is free but one-time Donations or Sponsorships to defray development costs are always welcomed**
|
||||
|
||||
## License
|
||||
|
||||
See `LICENSE.txt` for terms of use.
|
||||
@@ -0,0 +1,114 @@
|
||||
DBRepair Release Notes
|
||||
|
||||
v26.11.01
|
||||
|
||||
* cURL (update check and downloads)
|
||||
- curl accidentally relied on external 'curl' command and violated
|
||||
'no external dependencies' promise. Curl is now fully internal on all platforms.
|
||||
|
||||
* Program Settings
|
||||
- Check for available update at startup
|
||||
You can now automatically check for updates (one time) at startup.
|
||||
No-Network / Slow-Network will not impact startup.
|
||||
|
||||
If an update is available, it will be displayed only once before
|
||||
entering your first command.
|
||||
|
||||
* Menu Settings
|
||||
- Removed immutable entries: Settings, Quit, and Exit
|
||||
|
||||
* Update recommended.
|
||||
|
||||
|
||||
v26.11.00
|
||||
|
||||
* FreeBSD x86_64
|
||||
- DBRepair is now supported on 14+ x86_64.
|
||||
|
||||
* MacOS
|
||||
- DBRepair now runs on MacOS 12 (Monterey) and newer.
|
||||
- MacOS 27 (Golden Gate) recognized.
|
||||
|
||||
* Settings (Program and Menu)
|
||||
- You can now save several settings within DBRepair itself.
|
||||
Environment variable or command line options are only needed when you want to
|
||||
override a setting.
|
||||
-- Settings are "page based". No more constant scrolling text
|
||||
|
||||
- Your customized program and menu settings load
|
||||
as DBRepair initializes.
|
||||
|
||||
- Program Settings -vs- Environment -vs- Command line options
|
||||
Precedence (Highest first)
|
||||
-- Command line options
|
||||
-- Settings
|
||||
-- Environment variables
|
||||
-- Program defaults
|
||||
|
||||
- Program Settings (Preferences) take effect immediately
|
||||
**EXCEPT** Databases.
|
||||
-- Setting a Database path requires DBRepair to restart so it
|
||||
can initialize all internal variables for the new location
|
||||
and databases it finds there.
|
||||
|
||||
- Menu Settings allow you to turn off all but a few menu options
|
||||
you don't frequently use.
|
||||
-- All commands are always available whether
|
||||
visible in the menu or not.
|
||||
-- Menu settings take effect immediately.
|
||||
|
||||
- Locations:
|
||||
-- MacOS: ~/Library/Preferences/com.chuckpa.dbrepair.plist
|
||||
-- Linux: ~/.dbrepair (root)
|
||||
-- FreeBSD: ~/.dbrepair (root)
|
||||
-- Windows: %LOCALAPPDATA%\DBRepair\DBRepair.ini
|
||||
|
||||
* Phantom/Ghost entries
|
||||
- Received a report of PMS not making backups.
|
||||
Root cause was 12 "Null" records of 'metadata_type=0' in the database.
|
||||
- DBRepair now checks for 'metadata_type=0' (Ghost) records and deletes them.
|
||||
- NULL title fields (causing Plex SQLite to fail) are now repaired
|
||||
by replacing the NULL value with an empty string ( "" ) as is normal PMS behavior.
|
||||
|
||||
* Expunge no longer limited to 100 accounts.
|
||||
- Expunge is no longer capped per invocation.
|
||||
It will now find and delete as many as memory allows.
|
||||
The first 25 will be listed on console with all being listed in DBRepair.log
|
||||
|
||||
|
||||
v26.10.00
|
||||
|
||||
* Initial Public Release
|
||||
- Version 26.10.00 is the DBRepair initial public release.
|
||||
- Completely rewritten from scratch using "C" programming language.
|
||||
- No external dependencies (Plex SQLite not required).
|
||||
- While having been thoroughly tested throughout its development, I
|
||||
do expect the typical "small stuff".
|
||||
- If you do find something amiss, please file an issue and I'll
|
||||
resolve it ASAP.
|
||||
|
||||
* Databases
|
||||
- DBRepair now contains database knowledge for versions 1.18.2 and above.
|
||||
(255 PMS builds)
|
||||
|
||||
* Database Repairs & Cleanup
|
||||
- DBRepair is now intelligent, and a lot faster, than the old DBRepair script
|
||||
ever could be.
|
||||
- It can do things the old DBRepair never could.
|
||||
- New commands, better analysis and repairs,
|
||||
DBRepair is "all grown up" (ha ha)
|
||||
|
||||
* Full Wiki
|
||||
- DBRepair now has a full Wiki (https://github.com/ChuckPa/DBRepair/wiki)
|
||||
Everything is documented in it.
|
||||
Please point out any typos or errors.
|
||||
|
||||
* Thanks
|
||||
- Special thanks go to @ukdtom for keeping me
|
||||
on the right path throughout these past six months.
|
||||
|
||||
|
||||
|
||||
### Questions ??
|
||||
|
||||
Please don't hesitate to ask.
|
||||
Reference in new issue
Block a user