Hello there,
Installed Pi-hole a couple of months ago on a brand new RPi Model 4B/4GB/32GB running Buster and all has been running nicely ever since AFAIK.
I did notice recently though that the Web Interface has been showing Update available for a few weeks now but when I clicked and was forwarded to Github it was showing the latest version as 5.1.1 which was the one I had installed so I ignored the update at that time.
However now with all 3 components now showing as Update Available ;
Pi-hole v5.1.2 - Update available!
Web interface - Update available! (Why does this one not show the current version like the others?)
FTL v5.2 - Update available!
I thought I'd run pihole -up but I get the following response;
[i] Checking for updates...
[i] Pi-hole Core: update available
Error: Web Admin repo is missing from system!
Please re-run install script from https://pi-hole.net pi@RaspberryPi-hole:
So after searching on here and finding a thread from just over a year ago that seemed to mirror my own problems I tried a few things that I saw including pihole -r which returned the following;
[✓] Root user check
.;;,.
.ccccc:,.
:cccclll:. ..,,
:ccccclll. ;ooodc
'ccll:;ll .oooodc
.;cll.;;looo:.
.. ','.
.',,,,,,'.
.',,,,,,,,,,.
.',,,,,,,,,,,,....
....''',,,,,,,'.......
......... .... .........
.......... ..........
.......... ..........
......... .... .........
........,,,,,,,'......
....',,,,,,,,,,,,.
.',,,,,,,,,'.
.',,,,,,'.
..'''.
[✓] Update local cache of available packages
[i] Existing PHP installation detected : PHP version 7.3.19-1~deb10u1
[i] Repair option selected
[✓] Disk space check
[✓] Checking apt-get for upgraded packages... up to date!
[i] Installer Dependency checks...
[✓] Checking for dhcpcd5
[✓] Checking for git
[✓] Checking for iproute2
[✓] Checking for whiptail
[✓] Checking for dnsutils
[✓] Supported OS detected
[i] SELinux not detected
[i] Performing reconfiguration, skipping download of local repos
[✓] Resetting repository within /etc/.pihole...
[i] Resetting repository within /var/www/html/admin...... Unable to reset /var/www/html/admin, exiting installer pi@RaspberryPi-hole:
So I then tried;
cd /etc/.pihole/
git status
which returned;
On branch master Your branch is behind 'origin/master' by 570 commits, and can be fast-forwarded.
(use "git pull" to update your local branch)
nothing to commit, working tree clean
I ran git pull and then tried pihole -up again to no avail so I then tried pihole checkout ftl master which returned;
Error: Web Admin repo is missing from system!
Please re-run install script from GitHub - pi-hole/pi-hole: A black hole for Internet advertisements
So is running the install script on a perfectly working Pi-hole installation the only resort I have left and if so;
- What is the full command to re-run the install script?
- What impact might that have on my Pi-hole installation?
- Will I have to setup Pi-hole all over again or will re-running the install script maintain any and all changes I might have made?
If there is no choice but to re-run the install script I might just leave everything as is because it took me a whole year to pluck up the courage to install Pi-hole on a perfectly working RPi in the first place!
Thanks & kind regards,
-=Glyn=-
UPDATE After a reboot I notice that at the bottom of the Admin page that Pi-hole is now at v5.2.1 so that looks to have updated but both Web Interface & FTL are still showing as Update available!