Reinstalling uhttpd

Hello, I mistakenly removed uhttpd via the Luci web interface. I was trying to remove Bandwidth Monitor and thought it was related (and Luci was independent).

This immediately stopped the Luci web interface. Whoops.

I've ssh'ed in and run opkg update then opkg install uhttpd to reinstall uhttpd.

the opkg commands complete without error but then uhttpd cannot be started.

service uhttpd start generates no web interface or uhttpd process.

/etc/init.d/uhttpd start or stop or reload all do nothing and leave no uhttpd processing running.

There is no error showing in dmesg.

It's unclear what's failing.

How can I reinstall the uhttpd process and start it?

OpenWrt 22.03.2

This version is eol and unsupported. You should upgrade to the latest (23.05.5). The upgrade process will fix the issue along the way.

1 Like

Examine logread -e uhttpd , it will hint on what is wrong with configurations.
One possibility is to flash 22.03.7 default image which contains operable uhttpd then assess upgradability to 23.05.5, in worst case it means typing back confguration from configuration backup file ipo automatic upgrade. Please show output of

ubus call system board

To help us assist you on upgrade.

1 Like