Unable to update web interface v3.3

Greetings,

I first want to start of with: i love your project.
However when i try to update my pihole to the latest version i get an error and im hoping you guys can fix it.
Im using dietpi as a host os, not sure if thats usefull info or not.
See below for the error message:
Imgur

Run pihole -d for a debug token.

debug token is: ys7stin5kk

Sorry, I was busy with other threads and couldn't get back in time (the debug token is expired). Please make a new debug token.

debug token: iw1c0mz3gg

I might have the same issue. I updated my pihole today and also got a msg "Could not update.. contact customer support". And looking thru the logs it seems to be lighttpd not starting, i have run pihole -up, pihole -r, apt-get update, upgrade, dist-upgrade and rebooted the device. It's not working.

Rpi 3 Model B
Debug token: f8notnxwpg

v3.2.1-0-g31dddd8a-dirty

You have some changes in the web directory. Try these commands then update:

cd /var/www/html/admin
git reset --hard HEAD

What was the full output of the update command? Also, what is the output of this command? sudo service lighttpd status

this fixed the issue.
Could you explain how these changes in the web dir came to pass?
aka. how can i prevent this in the future?

Pi-hole doesn't (shouldn't) make any changes to the directory, except updating (which would not trigger that). The most common cause of this is installing a mod like the speedtest mod or dark theme.

Hmm i did not do that, do you think its possible my pihole got compromised and edited?

It is probably benign. We've seen it happen a few times before.

Hello Mcat12, and thanks for your reply and sorry for my absence.
I do not know what the problem was, i had to replace my SD card anyways, and after a fresh install everything works fine of course. Thanks anyway and keep up the good work!

1 Like

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