Expected Behaviour:
to be able to open the Web GUI on port 80
Actual Behaviour:
I get connection refused after every reboot.
pi-hole is running on bananapi zero with Ubuntu 20.04.
Nov 29 00:04:08 bpi-m2z systemd[1]: lighttpd.service: Main process exited, code=exited, status=255/EXCEPTION
Nov 29 00:04:08 bpi-m2z systemd[1]: lighttpd.service: Failed with result 'exit-code'.
Nov 29 00:04:09 bpi-m2z systemd[1]: lighttpd.service: Scheduled restart job, restart counter is at 5.
Nov 29 00:04:09 bpi-m2z systemd[1]: Stopped Lighttpd Daemon.
Nov 29 00:04:09 bpi-m2z systemd[1]: lighttpd.service: Start request repeated too quickly.
Nov 29 00:04:09 bpi-m2z systemd[1]: lighttpd.service: Failed with result 'exit-code'.
Nov 29 00:04:09 bpi-m2z systemd[1]: Failed to start Lighttpd Daemon.
pi@bpi-m2z:~$ systemctl status lighttpd
● lighttpd.service - Lighttpd Daemon
Loaded: loaded (/lib/systemd/system/lighttpd.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Wed 2023-11-29 00:04:09 UTC; 8min ago
Process: 352 ExecStartPre=/usr/sbin/lighttpd -tt -f /etc/lighttpd/lighttpd.conf (code=exited, status=0/SUCCESS)
Process: 355 ExecStart=/usr/sbin/lighttpd -D -f /etc/lighttpd/lighttpd.conf (code=exited, status=255/EXCEPTION)
Main PID: 355 (code=exited, status=255/EXCEPTION)
pi@bpi-m2z:~$
pi@bpi-m2z:~$ sudo /usr/sbin/lighttpd -D -f /etc/lighttpd/lighttpd.conf
pi@bpi-m2z:~$
the above command returns nothing.
pi@bpi-m2z:~$ sudo cat /etc/lighttpd/external.conf
cat: /etc/lighttpd/external.conf: No such file or directory
pi@bpi-m2z:~$
-----tail of error-pihole.log------
2023-11-29 00:04:04: (server.c.1496) Configuration of plugins failed. Going down.
2023-11-29 00:04:05: (server.c.1488) server started (lighttpd/1.4.55)
2023-11-29 00:04:05: (gw_backend.c.499) bind failed for: unix:/run/lighttpd/pihole-php-fastcgi.socket-0 No such file or directory
2023-11-29 00:04:05: (gw_backend.c.1490) [ERROR]: spawning gw failed.
2023-11-29 00:04:05: (server.c.1496) Configuration of plugins failed. Going down.
2023-11-29 00:04:07: (server.c.1488) server started (lighttpd/1.4.55)
2023-11-29 00:04:07: (gw_backend.c.499) bind failed for: unix:/run/lighttpd/pihole-php-fastcgi.socket-0 No such file or directory
2023-11-29 00:04:07: (gw_backend.c.1490) [ERROR]: spawning gw failed.
2023-11-29 00:04:07: (server.c.1496) Configuration of plugins failed. Going down.
2023-11-29 00:04:08: (server.c.1488) server started (lighttpd/1.4.55)
2023-11-29 00:04:08: (gw_backend.c.499) bind failed for: unix:/run/lighttpd/pihole-php-fastcgi.socket-0 No such file or directory
2023-11-29 00:04:08: (gw_backend.c.1490) [ERROR]: spawning gw failed.
2023-11-29 00:04:08: (server.c.1496) Configuration of plugins failed. Going down.
2023-11-29 00:07:14: (server.c.1488) server started (lighttpd/1.4.55)
2023-11-29 00:07:14: (gw_backend.c.499) bind failed for: unix:/run/lighttpd/pihole-php-fastcgi.socket-0 No such file or directory
2023-11-29 00:07:14: (gw_backend.c.1490) [ERROR]: spawning gw failed.
2023-11-29 00:07:14: (server.c.1496) Configuration of plugins failed. Going down.
2023-11-29 00:07:20: (server.c.1488) server started (lighttpd/1.4.55)
2023-11-29 00:07:20: (gw_backend.c.499) bind failed for: unix:/run/lighttpd/pihole-php-fastcgi.socket-0 No such file or directory
2023-11-29 00:07:20: (gw_backend.c.1490) [ERROR]: spawning gw failed.
2023-11-29 00:07:20: (server.c.1496) Configuration of plugins failed. Going down.
2023-11-29 00:14:03: (server.c.1488) server started (lighttpd/1.4.55)
2023-11-29 00:14:03: (gw_backend.c.499) bind failed for: unix:/run/lighttpd/pihole-php-fastcgi.socket-0 No such file or directory
2023-11-29 00:14:03: (gw_backend.c.1490) [ERROR]: spawning gw failed.
2023-11-29 00:14:03: (server.c.1496) Configuration of plugins failed. Going down.
If I execute "pihole -r" everything starts working again until next reboot.
This happens every time I reboot the board.
What could be the reason?