after upgrading from Buster to Bullseye with working DietPi-LetsEncrypt, some SSL-related-settings in lighttpd are broken and it won't start.
fdevent.c.1150) fdevent_load_file() /etc/lighttpd/server.pem: No such file or directory
server.c.1244) Initialization of plugins failed. Going down.
After upgrading, there is a new generic conf-file in place:
that refers to a non existent
ssl.pemfile = "/etc/lighttpd/server.pem"
ssl.pemfile = "/etc/letsencrypt/live/[i]yourdomain[/i]/combined.pem"
to respect the original LetsEncrypt certificate.
Further, there's a warning:
WARNING: include-conf-enabled.pl is deprecated and slated for removal.
Replace in lighttpd.conf with:
Just do as suggested, and the warning is gone.