Error on pihole -up - "Could not update local repository. Contact support."

The issue I am facing:
Can't update from pi-hole 4 to 5
Ran pihole -up and got the following.

[i] Checking for updates...
[i] Pi-hole Core: up to date
[i] Web Interface: update available
[i] FTL: update available

[i] Pi-hole Web Admin files out of date, updating local repo.
[✓] Check for existing repository in /var/www/html/admin
[i] Update repo in /var/www/html/admin...
: Could not update local repository. Contact support.

Details about my system:
pi-hole on rpi 4

What I have changed since installing Pi-hole:
just blocklist

Please post the token generated by

pihole -d

or do it through the Web interface:

Tools > Generate Debug Log

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

You made more than just blocklist modifications.

+ * Darkification-Author: LKD70

Oops. Totally forgot about that one. Is that what's causing my error?

We don't know. The debug log didn't generate fully. Please remove that mod and see if the problem resolves. If it does not then upload a new debug log.

That was it.
I browsed to /var/www/html/admin/`
Entered: git reset --hard
That returned me back to the default theme
I then re-entered pihole -up and it is now updating. So this issue is resolve.
If anything else pops up from the upgrade, I'll start a new topic.

Thanks for pointing me in the right direction. Much appreciated!

1 Like

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