Please follow the below template, it will help us to help you!
Expected Behaviour:
Pi-hole successfully installs
Actual Behaviour:
I have experienced the same problem expressed in Upgrade Fail Everytime After V4.0. In the past, I've always eventually given up and done a fresh install and it works thereafter.
This time I've tried two different ways to install and both have failed.
Hardware: Raspberry Pi 2 Model B Rev 1.1
OS: Raspbian Stretch Lite, 2019-04-08 release date
Steps:
Fresh burn of image with Etcher, added empty ssh file to root
test connection with ping google.com and get positive result
reboot
First attempt : curl -sSL https://install.pi-hole.net | bash
Result: -bash: bash: command not found
Second attempt: install git, clone project, run auto-install.sh
Result:
...
[i] FTL Checks...
[✓] Detected ARM-hf architecture (armv7+)
[i] Checking for existing FTL binary...
[✗] Downloading and Installing FTL
Error: Unable to get latest release location from GitHub
[✗] FTL Engine not installed
pi@pihole:~/Pi-hole/automated install $ sudo ping google.com
ping: google.com: Temporary failure in name resolution
As far as I can tell, everything I'm doing is on the basic recommended hardware using the basic recommended operating system and following the basic recommended procedure. What step did I miss? What did the pi-hole install script do to kill my connectivity and what can I do to get it back?
I've been without my pi-hole on my network for a week now and it's insufferable. Please help me get it back!
pi@noads:~ $ /bin/bash --version
GNU bash, version 4.4.12(1)-release (arm-unknown-linux-gnueabihf)
Copyright (C) 2016 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software; you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Anything different on your Pi ?
Could be power related as this should not happen.
Have you tried another power source (and maybe need to flash SD again too) ?
Otherwise identical. I can try another power supply, but the one I'm using is a 60 W Anker that at one point I had 3 pis and 2 hard drives plugged into. It's a beast. I will also try flashing again.
However, I will say that this has happened pretty much every time I've upgraded Pi-Hole. It updates, seems to work for a while, and then DNS resolution stops (thus pinging google to test). I end up searching around for fixes and usually end up giving up and doing a fresh install which up until now has fixed the problem. One time I even switched to another Pi and switched SD cards. Two updates ago I upgraded my router and I've moved across the country since the last update, so this is a problem that transcends time and space.
Not different, I only posted relevant info from my output.
Was looking for Size, if regular file and not symlinked, permissions and ownership of the file.
Did you install other software besides Pi-hole ?
The Pi-1B that I have Pi-hole running on is doing so for more then two years now with no issues at all.
Bash is part of the Raspbian installation and not Pi-hole.
Pi's are known to be power critical.
Dont connect too many power hungry USB devices to the Pi.
Also suspect the USB cable your using to power the Pi.
Less likely but still, it might be that your SD card is malfunctioning intermittently:
Only git. I previously had PADD installed and will be reinstalling, but that's been running just fine for the last 6 months.
Just before the failed update, my 2B had an uptime of 60+ days. It's been running pihole for two years without problems and the only reason I moved from the 1B to the 2B was because I bought a new 3 and had a spare 2B from another project and wanted the web interface to be a little snappier. The previous 1B had been running for a year before that. The only problems I ever have is when I try to install a pihole update. Once I fight my way through that, things run pretty smoothly.
OK, so things aren't perfect. Between the previous post and now, I was looking at my router setup and saw that I had 9.9.9.9 as my secondary backup DNS. I removed that line to make my pihole the only DNS. Before I did, I had run pihole -d and everything looked normal. After, I get this:
[?] Would you like to upload the log? [y/N] y
* Using curl for transmission.
[✗] There was an error uploading your debug log.
* Please try again or contact the Pi-hole team for assistance.
* A local copy of the debug log can be found at: /var/log/pihole_debug.log
The two entries with red text are for the IPv6 addresses don't match (they did match before I removed the quad9 DNS entry) and the IPv6 name resolution. I used to have a script setup with a cron entry to periodically check the IPv6 address and update it to match, but I haven't set that back up, yet.
Even though I can't upload the log, I can ping google.com and I opened some links that I know aren't in my cache and they loaded up quickly.
*** [ DIAGNOSING ]: Name resolution (IPv6) using a random blocked domain and a known ad-serving domain
[✓] webroot.112.2o7.net is :: via localhost (::1)
[✗] Failed to resolve webroot.112.2o7.net via Pi-hole (2605:e000:1523:cc:3b90:ae2c:27e6:ce73)
[✓] doubleclick.com is 2607:f8b0:4007:804::200e via a remote, public DNS server (2001:4860:4860::8888)