Web Ui and Failed to start Lighttpd Daemon

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

Expected Behaviour:

[Lighttpd starts allowing me to access the web interface of pihole]

Actual Behaviour:

[webui doesn't work because Lighttpd Daemon Failed to start ]

Debug Token:

[kbp7y9lvn0]

It is likely something else is bound to port 80, preventing lighttpd from running. You are using hass and if I recall, that installs it own web interface. Run this command to see what is listening on ports used by Pi-Hole:

sudo netstat -nltup | grep 'Proto\|:53 \|:67 \|:80 \|:471'

hi,
thanks for your help...
the result of

sudo netstat -nltup | grep 'Proto|:53 |:67 |:80 |:471'

> Proto Recv-Q Send-Q Local Address           Foreign Address         State       PID/Program name
> tcp        0      0 127.0.0.1:4711          0.0.0.0:*               LISTEN      1224/pihole-FTL
> tcp        0      0 0.0.0.0:53              0.0.0.0:*               LISTEN      1224/pihole-FTL
> tcp6       0      0 ::1:4711                :::*                    LISTEN      1224/pihole-FTL
> tcp6       0      0 :::53                   :::*                    LISTEN      1224/pihole-FTL
> udp        0      0 0.0.0.0:53              0.0.0.0:*                           1224/pihole-FTL
> udp6       0      0 :::53                   :::*                                1224/pihole-FTL
> udp6       0      0 :::47172                :::*                                1372/rpc.mountd

in the Lighttpd.conf i have already changed the port

server.document-root        = "/var/www/html"
server.error-handler-404    = "pihole/index.php"
server.upload-dirs          = ( "/var/cache/lighttpd/uploads" )
server.errorlog             = "/var/log/lighttpd/error.log"
server.pid-file             = "/var/run/lighttpd.pid"
server.username             = "www-data"
server.groupname            = "www-data"

> server.port                 = 8765

accesslog.filename          = "/var/log/lighttpd/access.log"
accesslog.format            = "%{%s}t|%V|%r|%s|%b"

Hass(aka Homeassistant) has a webui on port 8123 so it's not hass.. I have also reinstalled pihole but
it still doesn't work :(((((

What is the output of sudo journalctl -u lighttpd

Logs begin at Thu 2016-11-03 17:16:49 GMT, end at Sat 2019-01-05 15:03:02 GMT. --

> Jan 05 13:21:51 DietPi systemd[1]: Starting Lighttpd Daemon...
> Jan 05 13:21:52 DietPi systemd[1]: Started Lighttpd Daemon.
> Jan 05 13:21:52 DietPi lighttpd[713]: 2019-01-05 13:21:52: (log.c.171) opening errorlog '/var/log/lighttpd/error.log' failed: No such file or directory
> Jan 05 13:21:52 DietPi systemd[1]: lighttpd.service: Main process exited, code=exited, status=255/n/a
> Jan 05 13:21:52 DietPi systemd[1]: lighttpd.service: Unit entered failed state.
> Jan 05 13:21:52 DietPi systemd[1]: lighttpd.service: Failed with result 'exit-code'.
> Jan 05 13:21:52 DietPi systemd[1]: lighttpd.service: Service hold-off time over, scheduling restart.
> Jan 05 13:21:52 DietPi systemd[1]: Stopped Lighttpd Daemon.
> Jan 05 13:21:52 DietPi systemd[1]: Starting Lighttpd Daemon...
> Jan 05 13:21:52 DietPi systemd[1]: Started Lighttpd Daemon.
> Jan 05 13:21:52 DietPi lighttpd[747]: 2019-01-05 13:21:52: (log.c.171) opening errorlog '/var/log/lighttpd/error.log' failed: No such file or directory

This thread may provide a solution:

Thanksssssss
I have:
-Created the missing log folder and error file
-set log folder, error file and light... Folder and internal file with chmod 777 (i know rude mode)
And now it Works
Thanks