Please follow the below template, it will help us to help you!
If you are Experiencing issues with a Pi-hole install that has non-standard elements (e.g you are using nginx
instead of lighttpd
, or there is some other aspect of your install that is customised) - please use the Community Help category.
Expected Behaviour:
When I run the pihole -up should update Pi-hole.
Actual Behaviour:
I tried to update my Raspberry Pi, but got the following error.
sudo apt upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages were automatically installed and are no longer required:
coinor-libipopt1v5 libbluray2 libmumps-seq-4.10.0 libraw15 realpath
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
pi@newpi:/ $ pihole -up
[i] Checking for updates...
[i] Pi-hole Core: update available
[i] Web Interface: up to date
[i] FTL: update available
[i] Pi-hole core files out of date, updating local repo.
[✓] Check for existing repository in /etc/.pihole
[i] Update repo in /etc/.pihole...
: Could not update local repository. Contact support.
At first I couldn't update the Web Interface but running the following commands that I found online fixed the Web Interface update.
sudo rm -rf /var/www/html/admin
sudo git clone GitHub - pi-hole/web: Pi-hole Dashboard for stats and more /var/www/html/admin
pihole -up