Updating to Pi-hole 5.1.1 not working with pihole -up

Expected Behaviour:

Running pihole -up on pihole 5.0 should upgrade pi-hole to 5.1.1
OS: Raspbian (Raspberry Pi OS) with Debian Buster
Hardware: Pi Zero Wireless

Actual Behaviour:

root@sdc-pi:/home/pi# pihole -up
[i] Checking for updates...
[i] Pi-hole Core: update available
error: cannot update the ref 'refs/remotes/origin/master': unable to append to '.git/logs/refs/remotes/origin/master': Structure needs cleaning
error: cannot update the ref 'refs/tags/v5.1.1': unable to append to '.git/logs/refs/tags/v5.1.1': Structure needs cleaning
fatal: log for refs/heads/master is empty

Error: Local revision could not be obtained, please contact Pi-hole Support
Additional debugging output:
On branch master
Your branch is up to date with 'origin/master'.

nothing to commit, working tree clean

Debug Token:

https://tricorder.pi-hole.net/6tbkh7rs2o

I tried a similar post requiring dnsmasq (for some reason it was not on my Pi) and change some values to be a different DNS but that didn't work still. it updated some interfaces to 5.1.1 but not all.

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