4.0 to 4.1 update fails

Please follow the below template, it will help us to help you!

Expected Behaviour:

Pihole updates to 4.1

Actual Behaviour:

pi@PiHole01:~ $ pihole -up
[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.

Debug Token:

debug token is: 5fou1b8o33

Note: I hit this issue on my primary pihole but not my secondary.

Strange... looking like it updated Pi-Hole core to 4.1 but everything else is still on 4.0

Pi-hole Version v4.1 Web Interface Version v4.0 FTL Version v4.0

pi@PiHole01:/var/www/html/admin $ git status
On branch master
Your branch is behind 'origin/master' by 107 commits, and can be fast-forwarded.
(use "git pull" to update your local branch)
nothing to commit, working tree clean

pi@PiHole01:/var/www/html/admin $ pihole -r

[✓] Root user check

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

[i] Existing PHP installation detected : PHP version 7.0.33-0+deb9u1
[i] Repair option selected
[✓] Disk space check
[✓] Update local cache of available packages

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

[i] Installer Dependency checks...
[✓] Checking for apt-utils
[✓] Checking for dialog
[✓] Checking for debconf
[✓] Checking for dhcpcd5
[✓] Checking for git
[✓] Checking for iproute2
[✓] Checking for whiptail

[i] Performing reconfiguration, skipping download of local repos
[✓] Resetting repository within /etc/.pihole...
[i] Resetting repository within /var/www/html/admin...... Unable to reset /var/www/html/admin, exiting installer

What does git remote -v show for the /var/www/html/admin directory?

pi@PiHole01:/var/www/html/admin $ sudo git remote -v show
origin https://github.com/pi-hole/AdminLTE.git (fetch)
origin https://github.com/pi-hole/AdminLTE.git (push)

I copied everything in /var/www/html/admin & /var/www/html/admin/.git from my secondary pihole and reran pihole -up and everything looks good.

sudo scp -rp pi@x.x.x.x:/var/www/html/admin/* /var/www/html/admin/
sudo scp -rp pi@x.x.x.x:/var/www/html/admin/.git /var/www/html/admin/.git

2 Likes

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