Cannot access admin panel (DietPi + Pihole)

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

Expected Behaviour:

Admin panel access on either 192.168.0.111/admin or pi.hole/admin

Actual Behaviour:

Both links do not work, and curl -I localhost shows connection refused on port 80

Debug Token:

mrwaf61wiy

Upon further tinkering, I discovered that lighttpd failed to start (might be the problem)

● lighttpd.service - Lighttpd Daemon
Loaded: loaded (/lib/systemd/system/lighttpd.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Thu 2019-01-03 03:17:50 GMT; 2s ago
Process: 14320 ExecStart=/usr/sbin/lighttpd -D -f /etc/lighttpd/lighttpd.conf (co
de=exited, status=255)
Process: 14309 ExecStartPre=/usr/sbin/lighttpd -tt -f /etc/lighttpd/lighttpd.conf (code=e
xited, status=0/SUCCESS)
Main PID: 14320 (code=exited, status=255)

Jan 03 03:17:49 DietPi systemd[1]: lighttpd.service: Main process exited, code=exit
ed, status=255/n/a
Jan 03 03:17:49 DietPi systemd[1]: lighttpd.service: Unit entered failed state.
Jan 03 03:17:49 DietPi systemd[1]: lighttpd.service: Failed with result 'exit-code'
.
Jan 03 03:17:50 DietPi systemd[1]: lighttpd.service: Service hold-off time over, scheduling
restart.
Jan 03 03:17:50 DietPi systemd[1]: Stopped Lighttpd Daemon.
Jan 03 03:17:50 DietPi systemd[1]: lighttpd.service: Start request repeated too qui
ckly.
Jan 03 03:17:50 DietPi systemd[1]: Failed to start Lighttpd Daemon.
Jan 03 03:17:50 DietPi systemd[1]: lighttpd.service: Unit entered failed state.
Jan 03 03:17:50 DietPi systemd[1]: lighttpd.service: Failed with result 'exit-code'

I tried to restart the service but it's still failed.

Was Pi-Hole installed from the Diet Pi installer or from the Pi-Hole install curl script?

I tried installing through DietPi's installer at first, didn't work, then I installed via curl script - Currently using this version.

The DietPi version installs the web interface to /pihole. You may have issues because you switched versions. Try a fresh install with only one of the two versions.

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