Tried to update (Ubuntu), I get:
Checking for update
./DBRepair.sh: 2321: [: -gt: unexpected operator
No update available.
So I then downloaded 1.11.00 from GitHub, tested 88, same error.
Tried to update (Ubuntu), I get:
Checking for update
./DBRepair.sh: 2321: [: -gt: unexpected operator
No update available.
So I then downloaded 1.11.00 from GitHub, tested 88, same error.
Give me a minute please.
DAMN IT. found it. resolving.
I forgot to change the Repo URL
![]()
something else stupid. (besides the operator)
[chuck@lizum DBRepair.2017]$ GetLatestRelease
Latest Version="v1.11.00"
[chuck@lizum DBRepair.2018]$ VersionDigits v1.11.00
11100
[chuck@lizum DBRepair.2019]$
but the code doesn’t see it when in the shell.
time to get something to eat / walk awayfrom this for a few.
Please update anyone who comes by
Modify line 1642 so that the curl command follows the 3xx redirect (by adding ‘L’ to the command-line):
Response=$(curl -sL "https://api.github.com/repos/ChuckPa/PlexDBRepair/tags")
I also added some debugging around line 2321:
2321 echo "Latest Version: $(VersionDigits $LatestVersion)"
2322 echo "Current Version: $(VersionDigits $Version)"
2323 if [ $(VersionDigits $LatestVersion) -gt $(VersionDigits $Version) ]; then
One sec please.
Github will do redirects . I would first like to confirm this works again.
Can you help me test this?
It should be 1.11.00 compliant and no errors
chuckpa-dbrepair-v1.11.00.tar (80 KB)
I’ve updated all the URLs to point to the new name. Github redirect is not required.
I’ve not yet updated v1.11.00 on github. keep this copy sacred for the moment.
Yes, I will include the curl option should I be forced to rename again
Tested and confirmed working
.
thanks!
I’ll push and re-issue v1.11.00
I have added -sL to both curl references. That should take care of this in the future. Thanks for catching it.
De nada. Thanks for the excellent tool!
All my stats are gone ![]()
I had just deleted things. You’re good to pull from GitHub now
It should not be publishing as plex anything
pull it from github.
ChuckPa / DBRepair
Same error
Look at your screenshot.
There is no PlexDBRepair-v1.11.00.tar.gz
It’s DBRepair-v1.11.00.tar.gz
Oh, i’m D…A…