→ Pi-Hole is a great way to protect your entire home from ads → Invest your thanks here: https://patreon.com/LinuxRenaissance Make sure to motivate me for more content by, at least, liking the vide...
I’ll definitely give those a spin when I’ve done a fresh install of pihole 6. I’ve been hesitant to do so because I don’t know how to do a fresh install easily when I’ve already used unbound to make my pi-hole a recursive DNS server and one of my pi-holes also doubles as an immich server so I have to do a lot of backing up I as of yet have been too lazy to do.
I had problems with the update on a previous pihole install already up and running with unbound and cloudflared. Did the v6 update as soon as it dropped just for some excitement. During install I did not disable lighttdp or remove it. When I started having failures to access the web portal it had to do with lighttpd running, stopping and disabling it with systemctl fixed most of my problems.
The git fsck failing showed a corrupt repository so I researched how to repair a git repository and found the tool git-repair - installed and ran this with the --force flag and this repaired the repository.
Then ran git pull and the repository was now healthy. My web UI also works now!!
Probably a silly feature request but would it be worthwhile to add a git fsck to all the pihole stores in the debug script?
To start you should go to your web admin folder at /var/www/html/admin and run a git fsck to make sure you’re having the same problem as the person above. If you get a lot of failures, its likely the same issue.
So based on this resolved thread, it looks like you need to install git-repair and then once again go to your pihole web admin interface folder at /var/www/html/admin.
Then once in that folder run git-repair --force and then when that completes run git pull. Hopefully that resolves this issue for you.
I’ll definitely give those a spin when I’ve done a fresh install of pihole 6. I’ve been hesitant to do so because I don’t know how to do a fresh install easily when I’ve already used unbound to make my pi-hole a recursive DNS server and one of my pi-holes also doubles as an immich server so I have to do a lot of backing up I as of yet have been too lazy to do.
Since the update my pi-hole is stoll blocking stuff, but I can not reach the interface anymore. I’m on DietPi and use Unbound as well.
I had problems with the update on a previous pihole install already up and running with unbound and cloudflared. Did the v6 update as soon as it dropped just for some excitement. During install I did not disable lighttdp or remove it. When I started having failures to access the web portal it had to do with lighttpd running, stopping and disabling it with systemctl fixed most of my problems.
https://discourse.pi-hole.net/t/cannot-access-web-interface-after-pihole-6-update/77366/4
To start you should go to your web admin folder at
/var/www/html/admin
and run agit fsck
to make sure you’re having the same problem as the person above. If you get a lot of failures, its likely the same issue.So based on this resolved thread, it looks like you need to install
git-repair
and then once again go to your pihole web admin interface folder at/var/www/html/admin
.Then once in that folder run
git-repair --force
and then when that completes rungit pull
. Hopefully that resolves this issue for you.Thanks! This sounded very promising but I don’t get any errors from
git fsck
, so I have to keep looking for other solutions.