Please follow the below template, it will help us to help you!
Pihole installs cleanly
RPI2 latest updated stretch installing pihole using curl pipe bash command it does not install FTL throwing
“Error: Unable to get latest release location from GitHub”
Then other network stuff seems to break cannot upload tokens, cannot resolve github, cannot install another curl pipe bash app am able to ping 188.8.131.52
Cant upload debug log
HOWEVER after reading around I looked in resolv.conf
There were only two # lines nothing that started with nameserver.
So I added the line nameserver 184.108.40.206
Then ran pihole -r
Success it then downloaded and installed FTL.
I have close to zero understanding of how the pi accesses the internet but suspect the issues I have been having were beacuse the resolv.conf file had no nameserver line?
Anyway problem now solved if others are having similar issues.