Commit Graph

277 Commits

Author SHA1 Message Date
Chuck 1b458c7337 Merge pull request #268 from maxfield-allison/feature/fts4-rebuild-command
feat: Add FTS4 index integrity check and rebuild functionality
2026-01-24 15:15:12 -05:00
Max Allison 8e998598fd feat: Add FTS4 index integrity check and rebuild functionality
Add detection and automatic repair for FTS4 (Full-Text Search) index
corruption, which can occur even when PRAGMA integrity_check passes.

New functions:
- CheckFTS(): Validates FTS4 index integrity using SQLite's integrity-check command
- DoFTSRebuild(): Rebuilds corrupted FTS4 indexes using SQLite's rebuild command

Enhanced existing commands:
- 'check' (option 3): Now includes FTS integrity checking
- 'reindex' (option 6): Now checks FTS indexes and rebuilds if corruption detected
- 'automatic' (option 2): Checks FTS after repair/reindex and automatically rebuilds if damaged

Refactored FTS table query into reusable FTS_TABLE_QUERY constant for maintainability.

Fixes: https://github.com/ChuckPa/DBRepair/issues/269
2026-01-23 07:49:31 -06:00
Chuck b62b606dc7 Update README.md
Improve user documentation
2025-12-06 20:04:27 -05:00
Chuck d6bf75db6d Merge pull request #261 from ChuckPa/chuckpa/autoincrement
Deflate - Minor adjustment per Plex engineering.
v1.13.02
2025-12-04 12:06:08 -05:00
ChuckPa 0701adf77a Deflate - Minor adjustment per Plex engineering. 2025-12-04 11:56:48 -05:00
Chuck 15b2dbabb3 Update README.md 2025-12-03 16:19:35 -05:00
Chuck cbd02cc6b6 Merge pull request #259 from ChuckPa/chuckpa/fix-tag-sorting
Fix github tag sorting.   Ensure tags are both Numeric and Reverse sorted so newest version number listed first.
v1.13.01
2025-11-14 19:42:45 -05:00
ChuckPa 43d636b371 Add Numeric sorting to tag retrieval
Ensures highest version number is first listed
2025-11-14 19:40:17 -05:00
Chuck 85c88a59f3 Merge pull request #256 from ChuckPa/chuckpa/binhex-multi-config
Binhex:  supervisord.conf update
1.13.00
2025-11-09 16:12:46 -05:00
ChuckPa f2060a0ede Binhex: supervisord.conf update
.
2025-11-09 16:04:26 -05:00
Chuck abc552fb12 Merge pull request #253 from ChuckPa/chuckpa/readme
Minor Update & Correct documentation for v1.12.00
2025-10-21 17:33:14 -04:00
ChuckPa aa76cbfefd Update & Correct documentation for v1.12 2025-10-21 17:26:46 -04:00
Chuck d79b5e2b9d Merge pull request #252 from ChuckPa/chuckpa/dodeflate
v1.12.00 - Add  Deflate command

Reconstruct bandwidth statistics table  row  by row instead of previous bulk copy of non-null values
Regenerate new IDs during reconstruction for new indexes and reindex
2025-10-20 22:28:24 -04:00
ChuckPa 3bfb510ef7 Documentation correction
ASUSTOR - Incorrect location
2025-10-20 22:12:45 -04:00
ChuckPa 247338278b Add Deflate command
Deflate
- Create new bandwidth_statistics table with proper schema.
- Transfer only valid data from existing bandwidth statistics into new.
- Drop old table.
- Vacuum into new database.
Merge Prune & Purge as one proper command
Update ASUSTOR documentation error.

Finalize Deflate integration & reporting.

Update Release Notes
2025-10-20 19:23:22 -04:00
Chuck dea8a805ce Merge pull request #239 from ChuckPa/chuckpa/Hotio-Cache-Dir
HotIO -  Path to Cache dir incorrect
2025-07-31 20:20:46 -04:00
ChuckPa 6d8bafbf99 HotIO - Path to Cache dir incorrect
Fixes path (working around silly symlink)
2025-07-31 20:18:21 -04:00
Chuck e2acd24593 Merge pull request #232 from ChuckPa/chuckpa/restart-path
Correct path issue with restart
2025-07-07 20:23:33 -04:00
ChuckPa 24b746db1b Correct path issue with restart 2025-07-06 19:29:25 -04:00
Chuck 32d5f8f737 Merge pull request #228 from ChuckPa/chuckpa/Freebsd-releases
Add support for FreeBSD (14+)
2025-06-26 00:03:35 -04:00
ChuckPa 06c0f810dd Add support for FreeBSD (14+)
Thanks @cdf-eagles
2025-06-25 20:39:07 -04:00
Chuck ac6058dd48 Merge pull request #226 from cdf-eagles/fix-freebsd-startstop
Fixed bug for FreeBSD Plex service start/stop commands
2025-06-25 18:37:55 -04:00
Christopher Fernando 019fd197f8 Fixed bug for FreeBSD Plex service start/stop commands 2025-06-25 14:07:00 -05:00
Chuck ebf170b1eb Merge pull request #225 from cdf-eagles/freebsd-compat
FreeBSD 14+ Compatibility Added.
2025-06-25 12:07:54 -04:00
Christopher Fernando 38cd4ded5c FreeBSD 14+ Compatibility Added.
See closed PR "Freebsd compat #224" for discussion.
Updated version.
Uses FreeBSD Ports (pkg command) to determine which plexmediaserver package is installed and sets paths.
2025-06-25 10:58:43 -05:00
Chuck 44f722166d Merge pull request #222 from ChuckPa/chuckpa/unitialized
Correct missing variable initialization
2025-06-22 16:06:59 -04:00
ChuckPa 2264ee89be Correct missing variable initialization
Restart after update had missing default value.
2025-06-22 16:03:17 -04:00
Chuck 93886de20f Merge pull request #215 from danrahn/master
Add 98=quit/99=exit to PowerShell script
2025-06-05 21:59:42 -04:00
danrahn a3ba41b668 Copy DBRepair.sh's new 98=quit and 99=exit
Also remove the temporary deflate code and other minor refactoring.
2025-06-05 18:44:54 -07:00
Chuck f96032e9c4 Merge pull request #218 from ChuckPa/chuckpa/menu
v1.11.05 - Cleanup menu

Thanks @kimpenhaus
2025-06-05 13:38:43 -04:00
ChuckPa ea78ea663e v1.11.05 - Cleanup menu 2025-06-05 13:30:24 -04:00
Chuck f2a821c170 Merge pull request #216 from ChuckPa/chuckpa/relauch
v1.11.04

1.  Add Binhex start/stop support
2.  Correct 98/99 menu options
3.  Remove Deflate
2025-06-04 10:14:05 -04:00
ChuckPa baf8398085 v1.11.04
1.  Add  Start/Stop support for Binhex containers
1.  Restart after update (optional)
2.  Remove DEFLATE (PMS 1.41.8)
2025-06-03 12:39:29 -04:00
Chuck 65f4e5d33d 911 - Deflate 2025-05-31 23:12:59 -04:00
Chuck 4872b82815 Merge pull request #211 from ChuckPa/chuckpa/add-log
v1.11.03 -Add summary logfile messages
2025-05-30 23:25:49 -04:00
ChuckPa 859f2bdbe1 Add Log entries to Deflate 2025-05-30 23:25:04 -04:00
Chuck 0e1797a4c0 Merge pull request #210 from ChuckPa/chuckpa/add-log
v1.11.03 -Add summary logfile messages
2025-05-30 23:21:38 -04:00
ChuckPa cf54baa5c4 v1.11.03 -Add summary logfile messages
v1.11.03
1.  Add DEFLATE command to provide fast database cleanup while Plex engineering fixes the root problems.
2.  Handle Databases not on same storage as AppSuppDir
3.  Calculate SpaceNeeded based on $DBDIR
4.  Fix menu items
5.  Fix reporting of SpaceNeeded when unable to process.
6.  Add summary logging for DEFLATE actions in case disk full.
2025-05-30 23:19:34 -04:00
Chuck b431e49455 Merge pull request #208 from ChuckPa/chuckpa/plex-bloat
Provide temporary DB bloat deflate capability for huge databases.

Documentation in the Release Notes
2025-05-30 19:31:42 -04:00
ChuckPa c5c1f7b683 v1.11.02
1.  Handle Databases not on same storage as AppSuppDir
2.  Calculate SpaceNeeded based on $DBDIR
3.  Fix menu items

4.  Fix reporting of SpaceNeeded when unable to process.

v1.11.02

Add DEFLATE command to provide fast database cleanup while Plex engineering fixes the root problems.
2025-05-30 19:22:34 -04:00
Chuck 8c5f7606a7 Merge pull request #202 from danrahn/master
Add statistics_bandwidth Cleanup to Windows Scripts
2025-05-24 19:17:45 -04:00
danrahn 3bb22f56cd Bump version 2025-05-24 14:34:44 -07:00
danrahn 481814ed2c Add statistics_bandwidth cleanup to Windows scripts 2025-05-24 10:34:41 -07:00
Chuck d6f4dbf263 Merge pull request #201 from danrahn/master
Update Windows scripts to reflect name change
2025-05-24 10:39:30 -04:00
danrahn 1c5c4b6fbc Update Windows scripts to reflect name change 2025-05-23 19:51:46 -07:00
ChuckPa 98c5274d86 Update Repo name URL and reissue 2025-05-23 21:17:40 -04:00
ChuckPa 1c1ed5a8c1 Comply with Plex, inc. Trademark Policy
Comply with Plex,inc. Trademark Policy
2025-05-23 19:55:51 -04:00
Chuck be74c6f85e Merge pull request #199 from ChuckPa/chuckpa/final-tags
Refactor version tags
2025-05-23 01:37:15 -04:00
ChuckPa 865da1cd3c Refactor version tags 2025-05-23 01:36:00 -04:00
Chuck ca489c6c3f Merge pull request #198 from ChuckPa/chuckpa/final-tags
Refactor version tags
2025-05-23 01:30:10 -04:00