Running into this error when I tried to ssh into my raspi4 to update Pihole. Pihole coexists with Homebridge on the same raspi4. The error I get is:
pi@homebridge:~ $ pihole -up
[i] Checking for updates...
error: cannot lock ref 'refs/tags/v4.3.2': unable to resolve reference 'refs/tags/v4.3.2': reference broken
[i] Pi-hole Core: update available
[i] Web Interface: update available
[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.
pi@homebridge:~ $
Details about my system:
Raspi4 model B rev 1.1 running Raspbian v1.0.18
Pi-hole [v5.3.1] Web Interface [v5.5.1] FTL [v5.8.1]
What I have changed since installing Pi-hole:
Nothing other than applying the regular updates to Pihole and Homebridge
Please upload a debug log and post just the token URL that is generated after the log is uploaded by running the following command from the Pi-hole host terminal:
After the repair, the pi-hole install and FTL were updated, but the web interface still showed an update. So I ran pihole -up again and the web interface was updated.