Cannot update Pi-hole Admin LTE

Expected Behaviour:

Upgrade to 5.0

Actual Behaviour:

Update fails

Debug Token:

f4t4o3iar9

I am running pihole on two different machines. The first machine is a vanilla install without much else on it. Update rant without out an issue. The second machine has more going on include a service running via apache on port 80. I moved pihole to port 8080 via lighttpd conf file. I have had no issues with it since moving it to the 8080 port some time ago. But it seems this is preventing the update to 5.0 from executing. It returns an error, "could not update repository. Contact support.

Any help appreciated and congrats on the spanking new version. Looks beautiful!

Please send us the token generated by

pihole -d

or do it through the Web interface:

Tools > Generate Debug Log

Also, please post the complete output of pihole -up

The toke was included above but here it is again f4t4o3iar9.

This is the output of pihole -up

[i] Checking for updates...
[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
[✓] Update repo in /etc/.pihole
[i] If you had made any changes in '/etc/.pihole/', they have been stashed using 'git stash'
[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.

You have a modified version of the web part of Pi-hole installed. Perhaps related to your Apache configuration.

*** [ DIAGNOSING ]: Web version
[i] Web: v4.3.3 (https://discourse.pi-hole.net/t/how-do-i-update-pi-hole/249)
[i] Branch: master
[i] Commit: v4.3.3-0-g62f2ffc-dirty
[i] Status:  M .github/ISSUE_TEMPLATE.md
             M .github/PULL_REQUEST_TEMPLATE.md
             M .gitignore
             M .pullapprove.yml
             M .user.php.ini
...

Let's try this to repair your current install:

sudo rm /var/www/html/admin
sudo git clone https://github.com/pi-hole/AdminLTE.git /var/www/html/admin
pihole -r and select repair

Yup that worked... mostly. The update complete without issue. I then edited lighttpd.conf to update port 8080 and restarted the service. however, when I go to :8080/admin I am presented with the previous install. Is there another .conf I need to edit/update? I generated another debug. 4sfx7xq7vp report. Unrelated, what needs to be tweaked in order to make pi.hole/admin point to the 8080 address?

Thank you for your help!!

Your debug log shows lighttpd on port 8080.

server.port = 8080

Yes. I moved it to 8080 b/c apache is using 80. Wasn't an issue previously.

Interestingly, the interface renders as 4.x but the footer reports 5.0.

Screen Region 2020-05-11 at 01.18.27|690x459

Clear the browser cache and reload the page. This should produce columns.

Duh... I always miss the obvious. Thanks.

1 Like

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