I installed pi-hole on my raspi4 4GB. I cannot access the webinterface, neither via http://pi.hole/admin nor via the correct ip http://192.168.178.10/admin
Instead I get
"This site can’t be reached
192.168.178.10 refused to connect."
Debug token: https://tricorder.pi-hole.net/EA4qreQl/
Thanks for your help
Your lighttpd
configuration is missing a module.
You need to create a symlink to activate the module:
ln -s /etc/lighttpd/conf-available/05-setenv.conf /etc/lighttpd/conf-enabled/05-setenv.conf
Then, restart lighttpd
:
sudo service lighttpd restart
Hi,
Thanks for the help. Unfortunately this does not work since the file /etc/lighttpd/conf-available/05-setenv.conf does not exist :-/
What now?
Kind Regards
What is the output of lighttpd -v
?
Also, what is the output of ls -la /etc/lighttpd/conf-available
?
Here the requested outputs:
pi@raspberrypi:~ $ lighttpd -v
lighttpd/1.4.53 (ssl) - a light and fast webserver
pi@raspberrypi:~ $ ls -la /etc/lighttpd/conf-available
total 116
drwxr-xr-x 2 root root 4096 May 4 13:46 .
drwxr-xr-x 4 root root 4096 May 4 13:21 ..
-rw-r--r-- 1 root root 839 Oct 3 2022 05-auth.conf
-rw-r--r-- 1 root root 91 Feb 17 2021 10-accesslog.conf
-rw-r--r-- 1 root root 396 Feb 17 2021 10-cgi.conf
-rw-r--r-- 1 root root 63 Feb 17 2021 10-dir-listing.conf
-rw-r--r-- 1 root root 36 Feb 17 2021 10-evasive.conf
-rw-r--r-- 1 root root 128 Feb 17 2021 10-evhost.conf
-rw-r--r-- 1 root root 104 Feb 17 2021 10-expire.conf
-rw-r--r-- 1 root root 177 Feb 17 2021 10-fastcgi.conf
-rw-r--r-- 1 root root 42 Oct 3 2022 10-flv-streaming.conf
-rw-r--r-- 1 root root 82 Feb 17 2021 10-no-www.conf
-rw-r--r-- 1 root root 849 Feb 17 2021 10-proxy.conf
-rw-r--r-- 1 root root 176 Feb 17 2021 10-rewrite.conf
-rw-r--r-- 1 root root 253 Feb 17 2021 10-rrdtool.conf
-rw-r--r-- 1 root root 398 Feb 17 2021 10-simple-vhost.conf
-rw-r--r-- 1 root root 449 Feb 17 2021 10-sockproxy.conf
-rw-r--r-- 1 root root 99 Feb 17 2021 10-ssi.conf
-rw-r--r-- 1 root root 203 Oct 3 2022 10-ssl.conf
-rw-r--r-- 1 root root 460 Feb 17 2021 10-status.conf
-rw-r--r-- 1 root root 450 Feb 17 2021 10-userdir.conf
-rw-r--r-- 1 root root 38 Feb 17 2021 10-usertrack.conf
-rw-r--r-- 1 root root 168 Oct 3 2022 11-extforward.conf
-rw-r--r-- 1 root root 575 Oct 3 2022 15-fastcgi-php.conf
-rw-r--r-- 1 root root 4015 May 4 13:46 15-pihole-admin.conf
-rw-r--r-- 1 root root 508 Feb 17 2021 90-debian-doc.conf
-rw-r--r-- 1 root root 56 Jul 28 2013 90-javascript-alias.conf
-rw-r--r-- 1 root root 162 Feb 17 2021 99-unconfigured.conf
-rw-r--r-- 1 root root 843 Oct 3 2022 README
Thanks for your help!
I think the file doesn't exist on this version, but you can enable the module creating a new file /etc/lighttpd/conf-enabled/05-setenv.conf
with this content:
server.modules += ( "mod_setenv" )
system
Closed
June 11, 2023, 4:34pm
7
This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.