I am unable to update my pihole.
pihole -up
[i] Checking for updates...
error: unable to resolve reference refs/tags/v4.0: Invalid argument
[i] Pi-hole Core: update available
[i] FTL: update available
[i] Web Interface: up to date
[i] Pi-hole core files out of date
[â] Check for existing repository in /etc/.pihole
[i] Update repo in /etc/.pihole...
Error: Could not update local repository. Contact support.
pihole V brings
pihole -v
Pi-hole version is v3.3.1 (Latest: v4.0)
AdminLTE version is v4.0 (Latest: v4.0)
FTL version is v3.0 (Latest: v4.0)
What platform are you hosting this on? The processor does not show in your debug log.
From the debug log, it doesn't look like blocking is working properly. The first two queries shown should not return the actual IP, since it should be blocked. And, the third query should return the actual IP but does not. Does your Pi-Hole appear to block ads?
***[DIAGNOSING ]: Name resolution (IPv4) using a random blocked domain and a known ad-serving domain
[✓] th.ad4portal.com is 72.52.4.119 via localhost (127.0.0.1)
[✓] th.ad4portal.com is 72.52.4.119 via Pi-hole (192.168.1.158)
[✗] Failed to resolve doubleclick.com via a remote, public DNS server (8.8.8.8)
How much free disk space do you have on the Pi host platform. Paste the output of this command: df -h
Please paste the output of this command: dig github.com
pihole checkout master
Please note that changing branches severely alters your Pi-hole subsystems
Features that work on the master branch, may not on a development branch
This feature is NOT supported unless a Pi-hole developer explicitly asks!
Have you read and understood this? [y/N] y
[i] Shortcut "master" detected - checking out master branches...
[i] Pi-hole core
error: unable to resolve reference refs/tags/v4.0: Invalid argument
[â] Unable to pull Core master branch
pihole uninstall to remove it (don't remove dependencies if you plan on re-installing)
and curl -sSL https://install.pi-hole.net | bash to install/reinstall.
And, if you want to keep your blacklist, whitelist and block lists, export those using teleporter (admin GUI > settings > teleporter). You can directly import all but the block lists into your new install. The block lists will have to be done manually. I would not do any of the importation until you have Pi-Hole up and running in the new install.
[i] Existing PHP installation detected : PHP version 5.6.36-0+deb8u1
[i] Performing unattended setup, no whiptail dialogs will be displayed
[â] Disk space check
[â] Update local cache of available packages
[â] Checking apt-get for upgraded packages... up to date!
[i] Installer Dependency checks...
[â] Checking for apt-utils
[â] Checking for dialog
[â] Checking for debconf
[â] Checking for dhcpcd5
[â] Checking for git
[â] Checking for iproute2
[â] Checking for whiptail
[i] Performing reconfiguration, skipping download of local repos
[â] Resetting repository within /etc/.pihole...
[â] Resetting repository within /var/www/html/admin...
[i] Main Dependency checks...
[â] Checking for bc
[â] Checking for cron
[â] Checking for curl
[â] Checking for dnsutils
[â] Checking for iputils-ping
[â] Checking for lsof
[â] Checking for netcat
[â] Checking for psmisc
[â] Checking for sudo
[â] Checking for unzip
[â] Checking for wget
[â] Checking for idn2
[â] Checking for sqlite3
[â] Checking for libcap2-bin
[â] Checking for dns-root-data
[â] Checking for resolvconf
[â] Checking for lighttpd
[â] Checking for php5-common
[â] Checking for php5-cgi
[â] Checking for php5-sqlite
[â] Enabling lighttpd service to start on reboot
[â] Installing scripts from /etc/.pihole
[i] Installing configs from /etc/.pihole...
[i] Existing dnsmasq.conf found... it is not a Pi-hole file, leaving alone!
[â] Copying 01-pihole.conf to /etc/dnsmasq.d/01-pihole.conf
[i] Installing blocking page...
[â] Creating directory for blocking page, and copying files
[â] Backing up index.lighttpd.html
No default index.lighttpd.html file found... not backing up
[â] Installing sudoer file
[â] Installing latest Cron script
[â] Installing latest logrotate script
[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
[â] man pages installed and database updated
[i] Systemd-resolved is not enabled
[â] Starting lighttpd service
[â] Enabling lighttpd service to start on reboot
[i] Restarting services...
[i] Starting pihole-FTL service...
Unable to complete update, please contact Pi-hole Support