pi@raspberrypi:/etc/.pihole $ pihole -v
Pi-hole version is v3.3 (Latest: v3.3)
AdminLTE version is v3.2.1-41-g114f4c90 (Latest: v3.3)
FTL version is v3.0 (Latest: v3.0)
Did something wrong I think. Can't check for updates anymore?
pi@raspberrypi:/etc/.pihole $ pihole -up
[i] Checking for updates...
fatal: HEAD does not point to a branch
Error: Remote revision could not be obtained, please contact Pi-hole Support
Additional debugging output:
HEAD detached at v3.3
nothing to commit, working tree clean
pi@raspberrypi:/etc/.pihole $
pi@raspberrypi:/etc/.pihole $ pihole -up
[i] Checking for updates...
[i] Pi-hole Core: up to date
[i] FTL: up to date
[i] Web Interface: update available
[i] Pi-hole Web Admin files out of date
[β] Check for existing repository in /var/www/html/admin
[i] Update repo in /var/www/html/admin...
Error: Could not update local repository. Contact support.
pi@raspberrypi:~ $ cd /var/www/html/admin
pi@raspberrypi:/var/www/html/admin $ sudo git status
On branch master
Your branch and 'origin/master' have diverged,
and have 41 and 65 different commits each, respectively.
(use "git pull" to merge the remote branch into yours)
nothing to commit, working tree clean
i@raspberrypi:/var/www/html/admin $ sudo git show
commit 114f4c90828feefb87125ef2d77d3d46ffcfbfa3
Author: Siddhu arevindh@gmail.com
Date: Wed Jan 17 21:38:21 2018 +0530
Error fixes to handle connection errors.
Now script will retry after 30 seconds, will abort if it fails the second time also.
pi@raspberrypi:~ $ sudo git fetch --tags
fatal: Not a git repository (or any of the parent directories): .git
pi@raspberrypi:~ $ sudo git pull
fatal: Not a git repository (or any of the parent directories): .git
pi@raspberrypi:~ $
You can click q to exit out of the git show command. Since you didn't go back to the repo directory the rest of the commands failed. Run them in the correct directory.