Error: Unable to get latest release location from GitHub

Please follow the below template, it will help us to help you!

Expected Behaviour:

_should upgrade

Actual Behaviour:

Error: Unable to get latest release location from GitHub

Debug Token:

Please post the output of the following and the command you were running to update:

pihole -v

Are you able to run a debug log and upload it? if so, that would help us help you.

Me too, one two different Pi-holes
Pi-hole up Can't update FTL, lost DNS server connection:

pi@raspberrypi:/etc/.pihole $ pihole -v
Pi-hole version is v4.0 (Latest: ERROR)
AdminLTE version is v4.0 (Latest: ERROR)
FTL version is v3.0 (Latest: ERROR)
pi@raspberrypi:/etc/.pihole $

This guy's script fixed mine:
deHakkelaarSuperuser

1

1d

Good that you checked resolve.conf. Using sed does not show if the search string is found. A visual check is the best.

sudo sed -i '/nameserver 127.0.0.1/,${s//nameserver 8.8.8.8/;b};$q1' /etc/resolv.conf && echo "Changed nameserver successfully." || echo "Changing nameserver failed."

:wink:

Changing nameserver allowed both of my broken Piholes to update FTL, and resolved my problem: Thanks deHakkelaar!

deHakkelaarSuperuser

3d

Error: Unable to get latest release location from GitHub

connection timed out; no servers could be reached

Temporarily change nameserver in /etc/resolv.conf from 127.0.0.1 into 8.8.8.8 :

sudo sed -i 's/127.0.0.1/8.8.8.8/' /etc/resolv.conf

And run repair:

pihole -r

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.