'403 - Forbidden' when trying to access web interface

Expected Behaviour:

Web interface being accessible

Actual Behaviour:

I've been forced to completely remove my Apache2 install and reinstall it. Also tried with nginx and lighttpd. Receiving a "403 - Forbidden" error when trying to access the web interface. I've also tried to reconfigure PiHole with pihole -r, but the issue is still there.

curl -I http://127.0.0.1/admin
HTTP/1.1 301 Moved Permanently
Location: http://127.0.0.1/admin/
Date: Sun, 27 Oct 2019 21:40:58 GMT
Server: lighttpd/1.4.45

Debug Token:

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

Have you run the uninstall script and can you provide the output from curl -I http://127.0.0.1/admin/

I've just uninstalled now Pihole using 'pihole uninstall'.

curl -I http://127.0.0.1/admin/
HTTP/1.1 404 Not Found
Content-Type: text/html
Content-Length: 345
Date: Mon, 28 Oct 2019 09:26:18 GMT
Server: lighttpd/1.4.45

I've solved the issue.

I've ran the below, reinstalled and it's now working.

sudo rm -rf /etc/.pihole /etc/pihole /opt/pihole /usr/bin/pihole-FTL /usr/local/bin/pihole /var/www/html/admin

If anyone comes across this as a solution make sure you back up your existing settings as the above command will remove everything.

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