Hi guys,
I have a Raspberry Pi with an Apache web server. Recently, I updated Pi-hole to version 6, and the web GUI stopped working. Before the update, everything worked fine. I was using Apache for Pi-hole as well.
Right after the update, my browser only browsed files instead of showing the web GUI. The problem was due to inactive Lua mode. After activating it, the web GUI returned a Internal Server Error.
Can anyone help me with this issue?
RaspberryPi 4b
Raspbian GNU/Linux 12
000-default.conf:
<Files "*.lp">
SetHandler lua-script
AddHandler lua-script .lp
</Files>
<IfModule mod_dir.c>
DirectoryIndex index.html index.php index.lp
</IfModule>
error.log
[Sun Feb 23 07:50:23.834170 2025] [lua:error] [pid 26931:tid 26931] AH01482: Error loading /var/www/html/admin/index.lp: @/var/www/html/admin/index.lp
[Sun Feb 23 07:50:25.118849 2025] [lua:error] [pid 26932:tid 26932] AH01482: Error loading /var/www/html/admin/index.lp: @/var/www/html/admin/index.lp
[Sun Feb 23 07:52:32.530875 2025] [lua:error] [pid 26934:tid 26934] AH01482: Error loading /var/www/html/admin/index.lp: @/var/www/html/admin/index.lp
[Sun Feb 23 08:24:42.485803 2025] [lua:error] [pid 26931:tid 26931] AH01482: Error loading /var/www/html/admin/index.lp: @/var/www/html/admin/index.lp
[Sun Feb 23 08:24:43.559603 2025] [lua:error] [pid 26932:tid 26932] AH01482: Error loading /var/www/html/admin/index.lp: @/var/www/html/admin/index.lp
[Sun Feb 23 08:24:55.877485 2025] [lua:error] [pid 27053:tid 27053] AH01482: Error loading /var/www/html/admin/index.lp: @/var/www/html/admin/index.lp
[Sun Feb 23 08:29:09.544691 2025] [lua:error] [pid 26934:tid 26934] AH01482: Error loading /var/www/html/admin/index.lp: @/var/www/html/admin/index.lp
[Sun Feb 23 08:29:11.165141 2025] [lua:error] [pid 26935:tid 26935] AH01482: Error loading /var/www/html/admin/index.lp: @/var/www/html/admin/index.lp
[Sun Feb 23 08:34:13.149158 2025] [lua:error] [pid 26932:tid 26932] AH01482: Error loading /var/www/html/admin/index.lp: @/var/www/html/admin/index.lp
[Sun Feb 23 08:57:05.997852 2025] [lua:error] [pid 26933:tid 26933] AH01482: Error loading /var/www/html/admin/index.lp: @/var/www/html/admin/index.lp
[Sun Feb 23 08:57:06.917346 2025] [lua:error] [pid 26934:tid 26934] AH01482: Error loading /var/www/html/admin/index.lp: @/var/www/html/admin/index.lp
[Sun Feb 23 09:05:03.456133 2025] [mpm_prefork:notice] [pid 26930:tid 26930] AH00170: caught SIGWINCH, shutting down gracefully
[Sun Feb 23 09:05:03.827736 2025] [mpm_prefork:notice] [pid 12370:tid 12370] AH00163: Apache/2.4.62 (Raspbian) configured -- resuming normal operations
Actual Behaviour:
Internal Server Error