Lighttpd Debian Stretch upgrade to Debian Buster Error:

09 Sep 2020

I encountered a problem with my Lighttpd configuration when upgrading from Debian Stretch (9) to Debian Buster (10). Lighttpd failed to boot and in the error logs I saw the following error:

(configfile.c.1461) command "/usr/share/lighttpd/" exited non-zero: 127

To fixed this error, find the following line in /etc/lighttpd/lighttpd.conf:

include_shell "/usr/share/lighttpd/"

Replace that line with:

include_shell "/usr/share/lighttpd/"

And then run

systemctl restart lighttpd

Lighttpd should now be working! It looks like the script location was renamed between versions.