Merge pull request #232 from ChuckPa/chuckpa/restart-path

Correct path issue with restart
This commit is contained in:
Chuck 2025-07-07 20:23:33 -04:00 committed by GitHub
commit e2acd24593
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 11 additions and 11 deletions

View File

@ -2,12 +2,12 @@
######################################################################### #########################################################################
# Database Repair Utility for Plex Media Server. # # Database Repair Utility for Plex Media Server. #
# Maintainer: ChuckPa # # Maintainer: ChuckPa #
# Version: v1.11.07 # # Version: v1.11.08 #
# Date: 25-Jun-2025 # # Date: 06-Jul-2025 #
######################################################################### #########################################################################
# Version for display purposes # Version for display purposes
Version="v1.11.07" Version="v1.11.08"
# Have the databases passed integrity checks # Have the databases passed integrity checks
CheckedDB=0 CheckedDB=0
@ -2408,7 +2408,7 @@ do
WriteLog "Restarting after upgrade" WriteLog "Restarting after upgrade"
Output "Restarting" Output "Restarting"
export DBRepairRestartedAfterUpdate=1 export DBRepairRestartedAfterUpdate=1
exec "$0" "$@" exec "$ScriptWorkingDirectory/$ScriptName" "$*"
else else
Output "Restart to launch updated DBRepair.sh ($LatestVersion)" Output "Restart to launch updated DBRepair.sh ($LatestVersion)"
WriteLog "Update - Updated to version $LatestVersion." WriteLog "Update - Updated to version $LatestVersion."

View File

@ -268,14 +268,10 @@ Attention:
-- This is for when DB operations keep getting worse and you don't know what to do. -- This is for when DB operations keep getting worse and you don't know what to do.
"99" is an old 'Get Smart' TV series reference where agent 99 would try to save agent 86 from harm. "99" is an old 'Get Smart' TV series reference where agent 99 would try to save agent 86 from harm.
"99" was originally going to be "Quit immediately save all files" but development feedback Community feedback has resulted in:
resulted in this configuration
"Exit" is the preferred method to leave. "99" or "Exit" - Preferred way to exit and cleanup temp databases
"98" or "Quit" - Get out now without deleting the temp databases (Usually used only during unexpected failures)
"Quit" was desired instead of "99" but there are those who didn't understand the difference or references.
If community feedback wants both "Quit. save temps" and "Exit, delete temps", behavior is easily changed.
Also please be aware the script understands interactive versus scripted mode. Also please be aware the script understands interactive versus scripted mode.

View File

@ -8,6 +8,10 @@
![Maintenance](https://img.shields.io/badge/Maintained-Yes-green.svg) ![Maintenance](https://img.shields.io/badge/Maintained-Yes-green.svg)
# Release Info: # Release Info:
v1.11.08
1. Restart after update - Sometimes restart after update would reference the wrong path. Fixed.
v1.11.07 v1.11.07
1. Add support FreeBSD - Add support for FreeBSD (14+) 1. Add support FreeBSD - Add support for FreeBSD (14+)