Pi-Hole web interface not working
-
My local Pi-Hole instance is not showing the web interface.
It is up and working, just I cannot admin it.
Running Fedora 28. Has been running for months.
-
Have you checked the service?
sudo service lighttpd status
-
SELinux acting up?
-
@danp said in Pi-Hole web interface not working:
Have you checked the service?
sudo service lighttpd status
I would probably assume that is what @JaredBusch did already.
-
@dbeato said in Pi-Hole web interface not working:
@danp said in Pi-Hole web interface not working:
Have you checked the service?
sudo service lighttpd status
I would probably assume that is what @JaredBusch did already.
No way to know with the limited information supplied at this time.
-
Sorry, yes,
lighttpd
is not running. states it is failing to parse the/etc/lighttpd/lighttpd.conf
file around line 94. Except that, the file only has 93 lines and is default. I have never touched it. Any changes, of which I have none, would be inexternal.conf
.This morning I poked around and the other Fedora 28 setup I have has the same error.
[jbusch@pihole ~]$ sudo systemctl status lighttpd | cat ā lighttpd.service - Lightning Fast Webserver With Light System Requirements Loaded: loaded (/usr/lib/systemd/system/lighttpd.service; enabled; vendor preset: disabled) Active: failed (Result: exit-code) since Tue 2018-08-28 08:36:36 CDT; 14min ago Process: 2372 ExecStart=/usr/sbin/lighttpd -D -f /etc/lighttpd/lighttpd.conf (code=exited, status=255) Main PID: 2372 (code=exited, status=255) Aug 28 08:36:36 pihole.jaredbusch.com systemd[1]: Started Lightning Fast Webserver With Light System Requirements. Aug 28 08:36:36 pihole.jaredbusch.com lighttpd[2372]: 2018-08-28 08:36:36: (configfile.c.1451) pclose "cat external.conf 2>/dev/null"failed: Success Aug 28 08:36:36 pihole.jaredbusch.com lighttpd[2372]: 2018-08-28 08:36:36: (configfile.c.1289) source: /etc/lighttpd/lighttpd.conf line: 94 pos: 1 parser failed somehow near here: (EOL) Aug 28 08:36:36 pihole.jaredbusch.com systemd[1]: lighttpd.service: Main process exited, code=exited, status=255/n/a Aug 28 08:36:36 pihole.jaredbusch.com systemd[1]: lighttpd.service: Failed with result 'exit-code'.
The
conf
file looks like it was updated on on both systems, but not the orig.[jbusch@pihole ~]$ ls -la /etc/lighttpd/ total 28 drwxr-xr-x. 4 root root 103 Aug 13 09:00 . drwxr-xr-x. 89 root root 8192 Aug 27 20:56 .. drwxr-xr-x. 2 root root 4096 Aug 13 09:00 conf.d -rw-r--r--. 1 root root 3560 Aug 13 14:46 lighttpd.conf -rw-r--r--. 1 root root 3560 Aug 8 23:00 lighttpd.conf.orig -rw-r--r--. 1 root root 3319 Aug 12 23:07 modules.conf drwxr-xr-x. 2 root root 29 Aug 13 09:00 vhosts.d
[jbusch@pihole ~]$ ls -la /etc/lighttpd/ total 28 drwxr-xr-x. 4 root root 103 Aug 13 09:00 . drwxr-xr-x. 84 root root 8192 Aug 27 17:56 .. drwxr-xr-x. 2 root root 4096 Aug 13 09:00 conf.d -rw-r--r--. 1 root root 3560 Aug 11 15:40 lighttpd.conf -rw-r--r--. 1 root root 3560 Apr 3 15:18 lighttpd.conf.orig -rw-r--r--. 1 root root 3319 Aug 12 23:07 modules.conf drwxr-xr-x. 2 root root 29 Aug 13 09:00 vhosts.d [jbusch@pihole ~]$
-
Replacing with the
.orig
did not help. same error. -
Does the original file have 94 lines?
-
@dustinb3403 said in Pi-Hole web interface not working:
Does the original file have 94 lines?
They are identical. So I did not expect a different response.
-
Looks like an issue is already opened.
https://github.com/pi-hole/pi-hole/issues/2391 -
The original file has not been touched in almost a year, so I do not think that the problem lies in the configuration file.
https://github.com/pi-hole/pi-hole/commits/master/advanced/lighttpd.conf.fedoraMore likely something else has changed with
lighttpd
-
@jaredbusch so you're saying don't update our systems.
Thanks for helping to find a bug.
-
@dustinb3403 said in Pi-Hole web interface not working:
@jaredbusch so you're saying don't update our systems.
Thanks for helping to find a bug.
I updated to 4 on the 13th obviously. Dunno if that was it or a
dnf
update. -
Commented out the include to
external.conf
and it starts. -
On the other system I created a blank
external.conf
and it works now.sudo touch /etc/lighttpd/external.conf
-
@jaredbusch said in Pi-Hole web interface not working:
On the other system I created a blank
external.conf
and it works now.sudo touch /etc/lighttpd/external.conf
Got it