Hi,
I managed to messup luci, I was trying wireguard and openvpn and I think it got messed up when i was trying uninstalled the packages. I got a yellow with red font error message similar to here:
I managed to fix it by runnging opkg install luci-app-uhttpd as advised in the thread above but then I uninstalled that too a bit later, and now have the error in the image attached.
I followed the other suggestions in that thread but nothing.
I do have a recent config back file (10kb), access to router through ssh and internet is working ok. I can't risk to do sysupgrade or adding firmware since this router is picky and can be bricked easily.
Something that can be done to get back luci? I tried to install luci-app-uhttpd again but it didn't solve it this time.
This is the luci config file:
root@OpenWrt:~# cat /etc/config/luci
config core 'main'
option lang 'auto'
option mediaurlbase '/luci-static/bootstrap'
option resourcebase '/luci-static/resources'
option ubuspath '/ubus/'
config extern 'flash_keep'
option uci '/etc/config/'
option dropbear '/etc/dropbear/'
option openvpn '/etc/openvpn/'
option passwd '/etc/passwd'
option opkg '/etc/opkg.conf'
option firewall '/etc/firewall.user'
option uploads '/lib/uci/upload/'
config internal 'languages'
config internal 'sauth'
option sessionpath '/tmp/luci-sessions'
option sessiontime '3600'
config internal 'ccache'
option enable '1'
config internal 'themes'
config internal 'apply'
option rollback '90'
option holdoff '4'
option timeout '5'
option display '1.5'
config internal 'diag'
option dns 'openwrt.org'
option ping 'openwrt.org'
option route 'openwrt.org'
All luci packages:
root@OpenWrt:~# opkg list-installed | grep luci
liblucihttp-lua - 2023-03-15-9b5b683f-1
liblucihttp-ucode - 2023-03-15-9b5b683f-1
liblucihttp0 - 2023-03-15-9b5b683f-1
luci-app-adblock-fast - 1.1.2
luci-app-ddns - git-24.346.66847-1bb28ba
luci-app-https-dns-proxy - 2023.12.26
luci-app-sqm - git-24.346.66847-1bb28ba
luci-app-uhttpd - git-24.346.66847-1bb28ba
luci-base - git-24.346.66847-1bb28ba
luci-compat - git-24.346.66847-1bb28ba
luci-lib-base - git-24.346.66847-1bb28ba
luci-lib-ip - git-24.346.66847-1bb28ba
luci-lib-jsonc - git-24.346.66847-1bb28ba
luci-lib-nixio - git-24.346.66847-1bb28ba
luci-lua-runtime - git-24.346.66847-1bb28ba
rpcd-mod-luci - 20240305-1
Update looking at: https://openwrt.org/packages/pkgdata/luci I did opkg install luci-theme-bootstrap and somehow got int a version of LUCI without most of the default menus, basically i see only 2 menus and the log out:
Following up I installed what was missing form the luci app (apperently those got deleted, and now the full menu is back)