cannot access web interface even after reinstall

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

Expected Behaviour:

be able to open web interface
I've tried doing pihole -r both for 'repair' and 'reinstall', but the same behaviour continues.

Actual Behaviour:

get a 503 Service Not Available error

Debug Token:

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

Are you running this install in Docker or on bare metal?

Bare metal with raspbian. just using the device solely for pihole right now.

There are a number of unusual things in your debug log. Comparing to a bare metal install on Buster, same version of Pi-hole as you are running.

*** [ DIAGNOSING ]: php version
[✗] php version could not be detected.

What is the output of:

dpkg --list | grep php

*** [ DIAGNOSING ]: Name resolution (IPv4) using a random blocked domain and a known ad-serving domain
[✗] Failed to resolve media-adrunner.mycomputer.com via localhost (127.0.0.1)
[✗] Failed to resolve media-adrunner.mycomputer.com via Pi-hole (192.168.1.186)
[✗] Failed to resolve doubleclick.com via a remote, public DNS server (8.8.8.8)

What his the output of the following command from the Pi terminal:

sudo netstat -nltup | grep 'Proto\|:53 \|:5053 \|:5353 \|:5335 \|:8953 \|:67 \|:80 \|:471'

$ dpkg --list | grep php
ii  php-cgi                          2:7.3+69                            all          server-side, HTML-embedded scripting language (CGI binary) (default)
ii  php-common                       2:69                                all          Common files for PHP packages
ii  php-sqlite3                      2:7.3+69                            all          SQLite3 module for PHP [default]
ii  php7.3-cgi                       7.3.14-1~deb10u1                    armhf        server-side, HTML-embedded scripting language (CGI binary)
ii  php7.3-cli                       7.3.14-1~deb10u1                    armhf        command-line interpreter for the PHP scripting language
ii  php7.3-common                    7.3.14-1~deb10u1                    armhf        documentation, examples and common module for PHP
rc  php7.3-fpm                       7.3.14-1~deb10u1                    armhf        server-side, HTML-embedded scripting language (FPM-CGI binary)
ii  php7.3-json                      7.3.14-1~deb10u1                    armhf        JSON module for PHP
ii  php7.3-opcache                   7.3.14-1~deb10u1                    armhf        Zend OpCache module for PHP
ii  php7.3-readline                  7.3.14-1~deb10u1                    armhf        readline module for PHP
ii  php7.3-sqlite3                   7.3.14-1~deb10u1                    armhf        SQLite3 module for PHP
$ sudo netstat -nltup | grep 'Proto\|:53 \|:5053 \|:5353 \|:5335 \|:8953 \|:67 \|:80 \|:471'
Proto Recv-Q Send-Q Local Address           Foreign Address         State       PID/Program name
tcp        0      0 127.0.0.1:4711          0.0.0.0:*               LISTEN      845/pihole-FTL
tcp        0      0 0.0.0.0:80              0.0.0.0:*               LISTEN      838/lighttpd
tcp        0      0 0.0.0.0:53              0.0.0.0:*               LISTEN      845/pihole-FTL
tcp6       0      0 ::1:4711                :::*                    LISTEN      845/pihole-FTL
tcp6       0      0 :::80                   :::*                    LISTEN      838/lighttpd
tcp6       0      0 :::53                   :::*                    LISTEN      845/pihole-FTL
udp        0      0 0.0.0.0:5353            0.0.0.0:*                           319/avahi-daemon: r
udp        0      0 0.0.0.0:53              0.0.0.0:*                           845/pihole-FTL
udp6       0      0 :::5353                 :::*                                319/avahi-daemon: r
udp6       0      0 :::53                   :::*                                845/pihole-FTL

Could try purge lighttpd including config files:

sudo dpkg -P lighttpd

Ans run repair to have lighttpd reinstalled and conditioned for Pi-hole:

pihole -r

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