403 Forbidden Nginx 1.14.2

Expected Behaviour:

  • PiHole's admin page appears
  • Linux rotwang-pi 5.4.79-v7l+ #1373 SMP Mon Nov 23 13:27:40 GMT 2020 armv7l GNU/Linux
  • RPi 4b 2 GB RAM w/ Official POE Hat

Actual Behaviour:

nginx 1.14.2 403 Forbidden page.

Debug Token:

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

I have two RPis running pihole on a local network. One is solid, the other gets this 403 error occasionally. Blocking continues to work, but I still want access to my admin menu.

Lightpd fails to start:

● lighttpd.service - Lighttpd Daemon
   Loaded: loaded (/lib/systemd/system/lighttpd.service; enabled; vendor preset: enabled)
   Active: failed (Result: exit-code) since Tue 2020-12-08 06:59:48 CST; 3s ago
  Process: 3064 ExecStartPre=/usr/sbin/lighttpd -tt -f /etc/lighttpd/lighttpd.conf (code=exited, sta
  Process: 3071 ExecStart=/usr/sbin/lighttpd -D -f /etc/lighttpd/lighttpd.conf (code=exited, status=
 Main PID: 3071 (code=exited, status=255/EXCEPTION)

Dec 08 06:59:48 rotwang-pi systemd[1]: lighttpd.service: Service RestartSec=100ms expired, schedulin
Dec 08 06:59:48 rotwang-pi systemd[1]: lighttpd.service: Scheduled restart job, restart counter is a
Dec 08 06:59:48 rotwang-pi systemd[1]: Stopped Lighttpd Daemon.
Dec 08 06:59:48 rotwang-pi systemd[1]: lighttpd.service: Start request repeated too quickly.
Dec 08 06:59:48 rotwang-pi systemd[1]: lighttpd.service: Failed with result 'exit-code'.
Dec 08 06:59:48 rotwang-pi systemd[1]: Failed to start Lighttpd Daemon.

Tried to use the command found in this similar thread and I get the following:

pi@rotwang-pi:~ $ sudo dpkg -P lighttpd
dpkg: dependency problems prevent removal of lighttpd:
 lighttpd-modules-mysql depends on lighttpd (= 1.4.53-4+deb10u1).
 lighttpd-modules-ldap depends on lighttpd (= 1.4.53-4+deb10u1).

dpkg: error processing package lighttpd (--purge):
 dependency problems - not removing
Errors were encountered while processing:
 lighttpd

I have run the pihole -r command and I still get no difference in settings.

Reboots do not remediate the issue.

I hope I've provided enough information to help diagnose.

Nginx is not a supported web server for the web GUI. I have moved your post to Community Help.

Ah! That might be why. I removed nginx and it worked.
I don't know how it was added in the first place. I was not able to find any information on when it was installed going through 4 months of logs.

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