carp757
Posts: 3
Joined: Wed Jun 26, 2019 12:57 am

Pi Hole Web Interface Not Working (lighttpd issue?)

Wed Jun 26, 2019 1:18 am

Inexperienced Linux user so please bear with me.

Fresh install of NOOBS Raspbian on Rp3

Updated and then installed Pi Hole.

hard wired directly to router

Can ping and RDP from Windows workstation just fine. When I try to access web page at

http://10.50.1.30/admin/

I get "unable to connect"

I believe the issue is lighttpd is not listening on TCP port 80 and I found that the daemon failed to start

pi@raspberrypi:~ $ sudo /etc/init.d/lighttpd status
● lighttpd.service - Lighttpd Daemon
Loaded: loaded (/lib/systemd/system/lighttpd.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Tue 2019-06-25 21:03:48 EDT; 6s ago
Process: 3852 ExecStartPre=/usr/sbin/lighttpd -tt -f /etc/lighttpd/lighttpd.conf (code=exited, status=255/EXCEPTION)

Jun 25 21:03:48 raspberrypi systemd[1]: lighttpd.service: Service RestartSe…art.
Jun 25 21:03:48 raspberrypi systemd[1]: lighttpd.service: Scheduled restart…t 5.
Jun 25 21:03:48 raspberrypi systemd[1]: Stopped Lighttpd Daemon.
Jun 25 21:03:48 raspberrypi systemd[1]: lighttpd.service: Start request rep…kly.
Jun 25 21:03:48 raspberrypi systemd[1]: lighttpd.service: Failed with resul…de'.
Jun 25 21:03:48 raspberrypi systemd[1]: Failed to start Lighttpd Daemon.
Hint: Some lines were ellipsized, use -l to show in full.

pi@raspberrypi:~ $ pihole status
[✓] DNS service is running
[✓] Pi-hole blocking is Enabled
pi@raspberrypi:~ $ pihole -v
Pi-hole version is v4.3 (Latest: v4.3)
AdminLTE version is v4.3 (Latest: v4.3)
FTL version is v4.3.1 (Latest: v4.3.1)
pi@raspberrypi:~ $

pi@raspberrypi:~ $ lighttpd -v
lighttpd/1.4.53 (ssl) - a light and fast webserver

A stop job for unit lighttpd.service has finished.
--
-- The job identifier is 5056 and the job result is done.
Jun 25 21:16:24 raspberrypi systemd[1]: lighttpd.service: Start request repeated too quickly.
Jun 25 21:16:24 raspberrypi systemd[1]: lighttpd.service: Failed with result 'exit-code'.
-- Subject: Unit failed
-- Defined-By: systemd
-- Support: https://www.debian.org/support
--
-- The unit lighttpd.service has entered the 'failed' state with result 'exit-code'.
Jun 25 21:16:24 raspberrypi systemd[1]: Failed to start Lighttpd Daemon.
-- Subject: A start job for unit lighttpd.service has failed
-- Defined-By: systemd
-- Support: https://www.debian.org/support

pcmanbob
Posts: 9465
Joined: Fri May 31, 2013 9:28 pm
Location: Mansfield UK

Re: Pi Hole Web Interface Not Working (lighttpd issue?)

Wed Jun 26, 2019 9:32 am

Hi.

As its a fresh install I assume you are running raspbian buster.

if you look at the community page on the pi hole site you will see there is a problem with pi hole running on buster.

https://discourse.pi-hole.net/t/pi-hole ... ctly/21087
We want information… information… information........................no information no help
The use of crystal balls & mind reading are not supported

carp757
Posts: 3
Joined: Wed Jun 26, 2019 12:57 am

Re: Pi Hole Web Interface Not Working (lighttpd issue?)

Wed Jun 26, 2019 12:25 pm

pcmanbob wrote:
Wed Jun 26, 2019 9:32 am
Hi.

As its a fresh install I assume you are running raspbian buster.

if you look at the community page on the pi hole site you will see there is a problem with pi hole running on buster.

https://discourse.pi-hole.net/t/pi-hole ... ctly/21087
I'll take a look at the conf file when I get home today and report back.

speeli
Posts: 1
Joined: Wed Jun 26, 2019 1:27 pm

Re: Pi Hole Web Interface Not Working (lighttpd issue?)

Wed Jun 26, 2019 1:28 pm

had the same issue.
try:
cd /usr/share/lighttpd/
sudo ln -s create-mime.conf.pl create-mime.assign.pl

carp757
Posts: 3
Joined: Wed Jun 26, 2019 12:57 am

Re: Pi Hole Web Interface Not Working (lighttpd issue?)

Wed Jun 26, 2019 8:03 pm

speeli wrote:
Wed Jun 26, 2019 1:28 pm
had the same issue.
try:
cd /usr/share/lighttpd/
sudo ln -s create-mime.conf.pl create-mime.assign.pl
That worked perfectly. Thank you! Would you mind giving a quick explanation on how this fixed it and why was it broken? I just looked at the create-mime.assign.pl and I can't make any sense of how this is tied to lighttpd?

BlueFyre
Posts: 5
Joined: Tue Jun 25, 2019 9:28 pm

Re: Pi Hole Web Interface Not Working (lighttpd issue?)

Wed Jun 26, 2019 9:22 pm

carp757 wrote:
Wed Jun 26, 2019 8:03 pm
That worked perfectly. Thank you! Would you mind giving a quick explanation on how this fixed it and why was it broken? I just looked at the create-mime.assign.pl and I can't make any sense of how this is tied to lighttpd?
This is a bug in Pi-hole's generated lighttpd config
See:
https://github.com/pi-hole/pi-hole/issues/2557
https://github.com/pi-hole/pi-hole/pull/2816

Gomoto
Posts: 126
Joined: Tue Feb 12, 2013 1:21 am

Re: Pi Hole Web Interface Not Working (lighttpd issue?)

Sat Jun 29, 2019 2:12 pm

Thanks for the workaround!

Return to “Troubleshooting”