I first followed this thread, and deleted the index.lighthttpd.html file. Then, I only got a 403 error. Therefore, I followed this thread and purged the lighttpd package with
sudo dpkg -P lighttpd
Reinstalled it with
sudo apt install --reinstall lighttpd
Then I tried to repair pihole with
pihole -r
But instead I got the error
root@Alexandria:~# pihole -r
[✓] Root user check
[i] Existing PHP installation detected : PHP version 5.6.40-0+deb8u9
[i] Repair option selected
[✗] Disk space check
[i] Unknown free disk space!
We were unable to determine available free disk space on this system.
You may override this check, however, it is not recommended.
The option '--i_do_not_follow_recommendations' can override this.
e.g: curl -L https://install.pi-hole.net | bash /dev/stdin <option>
Even the option --i_do_not_follow_recommendations did not work and gave me the same error.
I cannot tail the lighthttpd access.log, as it does not exist:
root@Alexandria:~# tail -f /var/log/lighttpd/access.log
tail: cannot open '/var/log/lighttpd/access.log' for reading: No such file or directory
What placeholder page are you getting? Please post a screen shot of what you are seeing, including the address window in the snap. In this forum you can paste a screen capture directly into a reply.
Your /etc/lighttpd/lighttpd.conf file is not the one installed by the pi-hole.net distribtuion of Pi-hole. From what source did you install your Pi-hole?
Run pihole -r and select "repair", and see if this resolves the problem.
The interesting thing is that things used to work up until today. I had absolutely no issues with lighttpd beforehand.
I simply followed this guide, and installed pihole by using
curl -L https://install.pi-hole.net | bash
Repairing pihole does not work:
root@Alexandria:~# pihole -r
[✓] Root user check
[i] Existing PHP installation detected : PHP version 5.6.40-0+deb8u9
[i] Repair option selected
[✗] Disk space check
[i] Unknown free disk space!
We were unable to determine available free disk space on this system.
You may override this check, however, it is not recommended.
The option '--i_do_not_follow_recommendations' can override this.
e.g: curl -L https://install.pi-hole.net | bash /dev/stdin <option>
Where is this running? What virualization are you using? Your df shows no root partition so the free space check fails. Nevertheless, without a root partition there's no place to put anything.
If this is in docker, then kill the container and start over. Don't run any apt commands inside the container. If this is on a NAS or another similar setup then please explain.
Sorry for taking so long, I have finally gotten around to checking this.
I grabbed the one from the pi-hole install, restarted lighttpd, but to no avail. Still getting 403 Forbidden.
root@Alexandria:/# sudo tail -20 /var/log/lighttpd/error.log
2020-05-05 12:20:39: (log.c.217) server started
2020-05-11 10:46:21: (server.c.1828) server stopped by UID = 0 PID = 21550
2020-05-11 10:46:22: (log.c.217) server started
root@Alexandria:/# sudo tail -20 /var/log/lighttpd/access.log
1589186794|pi.hole|GET /admin/index.php HTTP/1.1|403|345
That 403 error is related to permissions.
Either for the files its trying to publish or other things that fail to load like for example PHP mods.
Dont have tips for Synology though.