mirror of
https://github.com/ChuckPa/PlexDBRepair.git
synced 2025-11-05 18:58:53 -05:00
Merge pull request #232 from ChuckPa/chuckpa/restart-path
Correct path issue with restart
This commit is contained in:
commit
e2acd24593
@ -2,12 +2,12 @@
|
||||
#########################################################################
|
||||
# Database Repair Utility for Plex Media Server. #
|
||||
# Maintainer: ChuckPa #
|
||||
# Version: v1.11.07 #
|
||||
# Date: 25-Jun-2025 #
|
||||
# Version: v1.11.08 #
|
||||
# Date: 06-Jul-2025 #
|
||||
#########################################################################
|
||||
|
||||
# Version for display purposes
|
||||
Version="v1.11.07"
|
||||
Version="v1.11.08"
|
||||
|
||||
# Have the databases passed integrity checks
|
||||
CheckedDB=0
|
||||
@ -2408,7 +2408,7 @@ do
|
||||
WriteLog "Restarting after upgrade"
|
||||
Output "Restarting"
|
||||
export DBRepairRestartedAfterUpdate=1
|
||||
exec "$0" "$@"
|
||||
exec "$ScriptWorkingDirectory/$ScriptName" "$*"
|
||||
else
|
||||
Output "Restart to launch updated DBRepair.sh ($LatestVersion)"
|
||||
WriteLog "Update - Updated to version $LatestVersion."
|
||||
|
||||
10
README.md
10
README.md
@ -268,14 +268,10 @@ Attention:
|
||||
-- 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" was originally going to be "Quit immediately save all files" but development feedback
|
||||
resulted in this configuration
|
||||
Community feedback has resulted in:
|
||||
|
||||
"Exit" is the preferred method to leave.
|
||||
|
||||
"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.
|
||||
"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)
|
||||
|
||||
Also please be aware the script understands interactive versus scripted mode.
|
||||
|
||||
|
||||
@ -8,6 +8,10 @@
|
||||

|
||||
|
||||
# Release Info:
|
||||
v1.11.08
|
||||
|
||||
1. Restart after update - Sometimes restart after update would reference the wrong path. Fixed.
|
||||
|
||||
v1.11.07
|
||||
|
||||
1. Add support FreeBSD - Add support for FreeBSD (14+)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user