Pihole -up error with git errors

Expected Behaviour:

run pihole -up
pihole updates to v 6.06

OS Raspbian GNU/Linux 11 (bullseye)
Hardware RPi 3B

Actual Behaviour:

sudo pihole -up
[✓] Update local cache of available packages
[i] Existing PHP installation detected : PHP version 7.4.33
[✓] Checking for git
[✓] Checking for iproute2
[✓] Checking for dialog
[✓] Checking for ca-certificates

[i] Checking for updates...
error: refs/tags/v5.18 does not point to a valid object!
error: refs/tags/v5.18 does not point to a valid object!
error: refs/tags/v5.18 does not point to a valid object!
error: refs/tags/v5.18 does not point to a valid object!
[i] Pi-hole Core: update available
[i] Web Interface: up to date
[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.

sudo git status
On branch master
error: Could not read 3c7a6ce5353071365273823084299493bd2278bb
error: Could not read 3c7a6ce5353071365273823084299493bd2278bb
fatal: Failed to traverse parents of commit 74a44cad7a7c033323a873e9808e8771a21b2286

I tried following some instructions I found that seemed to correspond to what I was experiencing, but I broke the web interface, if needed I can rebuild, but of course I'd rather not

Debug Token:

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

any help would be appreciated

You are halfway between V5 and V6.

Try this:

sudo pihole -r

It may not work, since you don't have the git status for the core element:

*** [ DIAGNOSING ]: Core version
git status failed

*** [ DIAGNOSING ]: Web version
[✓] Version: v6.0.2
[i] Remotes: origin	https://github.com/pi-hole/AdminLTE.git (fetch)
             origin	https://github.com/pi-hole/AdminLTE.git (push)
[i] Branch: master
[i] Commit: v6.0.2-0-g2544117

*** [ DIAGNOSING ]: FTL version
[✓] Version: v5.25.2
[i] Branch: master
[i] Commit: 8943e260

Thank you, here’s the result:

carl@pihole:~ $ sudo pihole -r

[✓] Root user check

    .;;,.
    .ccccc:,.
     :cccclll:.      ..,,
      :ccccclll.   ;ooodc
       'ccll:;ll .oooodc
         .;cll.;;looo:.
             .. ','.
            .',,,,,,'.
          .',,,,,,,,,,.
        .',,,,,,,,,,,,....
      ....''',,,,,,,'.......
    .........  ....  .........
    ..........      ..........
    ..........      ..........
    .........  ....  .........
      ........,,,,,,,'......
        ....',,,,,,,,,,,,.
           .',,,,,,,,,'.
            .',,,,,,'.
              ..'''.

[i] SELinux not detected
[✓] Update local cache of available packages
[i] Existing PHP installation detected : PHP version 7.4.33

[✓] Checking apt-get for upgraded packages... up to date!

[i] Checking for / installing Required dependencies for OS Check...
[✓] Checking for grep
[✓] Checking for dnsutils

[✓] Supported OS detected
[i] Checking for / installing Required dependencies for this install script...
[✓] Checking for git
[✓] Checking for iproute2
[✓] Checking for dialog
[✓] Checking for ca-certificates

[i] Repair option selected
[i] Performing reconfiguration, skipping download of local repos
[✓] Resetting repository within /etc/.pihole...
[i] Resetting repository within /var/www/html/admin [✓] Resetting repository within /var/www/html/admin...
[i] Checking for / installing Required dependencies for Pi-hole software...
[✓] Checking for cron
[✓] Checking for curl
[✓] Checking for iputils-ping
[✓] Checking for psmisc
[✓] Checking for sudo
[✓] Checking for unzip
[✓] Checking for idn2
[✓] Checking for libcap2-bin
[✓] Checking for dns-root-data
[✓] Checking for libcap2
[✓] Checking for netcat-openbsd
[✓] Checking for procps
[✓] Checking for jq
[✓] Checking for lighttpd
[✓] Checking for php7.4-common
[✓] Checking for php7.4-cgi
[✓] Checking for php7.4-sqlite3
[✓] Checking for php7.4-xml
[✓] Checking for php7.4-intl
[✓] Checking for php7.4-json

[✓] Enabling lighttpd service to start on reboot...
[✓] Checking for user 'pihole'

[i] FTL Checks...

[✓] Detected ARMv7 processor (with hard-float support)
[i] Checking for existing FTL binary...
[i] Downloading and Installing FTL...curl: (22) The requested URL returned error: 404
[✗] Downloading and Installing FTL
Error: URL https://github.com/pi-hole/ftl/releases/latest/download/pihole-FTL-armv7-linux-gnueabihf not found
[✗] FTL Engine not installed
carl@pihole:~ $

This is the result, didn’t seem to make a difference
Here’s the latest token https://tricorder.pi-hole.net/aizTAUey/

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