Pihole not updating

Please follow the below template, it will help us to help you!

Expected Behaviour:

Pihole -up should update the pihole to the latest version

Actual Behaviour:

Getting error message: could not update local repository. contact support.

Debug Token:

https://tricorder.pi-hole.net/o64jbdzsvf

Have you made any changes to any files in /etc/.pihole or /var/www/html/admin/

I never changed any setting since the default setup. Found out there's an update, so tried to run pihole -up to do the update. Gave me the error, so I googled for some answers and found this post: DietPi-Software | Pi-hole: Fails to update due to changed file permissions · Issue #2516 · MichaIng/DietPi · GitHub, so I followed the steps to make head updated to latest, but it still didn't work, so I made a post here.

Basically the only commands I have run apart from normal setup on my PiHole are:

cd /var/www/html/admin
git reset --hard HEAD
pihole -up

no other command, no other modification.

Did you install Pi-hole via the curl -sSL https://install.pi-hole.net way or via dietpi-software?

Used the curl, not dietpi.

My issue got resolved. After extensive researching and fine honing my google queries, I finally ran into this reddit post that solved my problem.

Followed the instructions and it worked perfectly. Hope it helps someone else!

1 Like

Thank you!

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.