My little OpenWRT/Lede home router has run fine for years, no problems with installation or updates whatsoever. Yesterday, I apparently had to much time on my hands and started going through the extended Luci options, including the package managers UPGRADE options. I foolishly then started upgrading packages, not having read this:
Blindly upgrading packages (manually or via script) can lead you into all sorts of trouble.
https://openwrt.org/docs/guide-user/installation/sysupgrade.cli
I know, it's all my fault. Router still boots up and I can access the system via SSH, but Luci seems to have taken a hit.
If it's any help here is the error message I get, when trying to reach Luci:
/usr/lib/lua/luci/template.lua:97: Failed to execute template 'sysauth'.
A runtime error occurred: /usr/lib/lua/luci/template.lua:97: Failed to execute template 'header'.
A runtime error occurred: /usr/lib/lua/luci/template.lua:97: Failed to execute template 'themes/bootstrap/header'.
A runtime error occurred: [string "/usr/lib/lua/luci/view/themes/bootstrap/hea..."]:20: attempt to call field 'node_childs' (a nil value)
stack traceback:
[string "/usr/lib/lua/luci/view/themes/bootstrap/hea..."]:20: in main chunk
stack traceback:
[C]: in function 'error'
/usr/lib/lua/luci/template.lua:97: in function 'render'
/usr/lib/lua/luci/dispatcher.lua:755: in function 'include'
[string "/usr/lib/lua/luci/view/header.htm"]:3: in main chunk
stack traceback:
[C]: in function 'error'
/usr/lib/lua/luci/template.lua:97: in function 'render'
/usr/lib/lua/luci/dispatcher.lua:755: in function 'include'
[string "/usr/lib/lua/luci/view/sysauth.htm"]:1: in main chunk
stack traceback:
[C]: in function 'error'
/usr/lib/lua/luci/template.lua:97: in function </usr/lib/lua/luci/template.lua:85>
(tail call): ?
(tail call): ?
/usr/lib/lua/luci/dispatcher.lua:979: in function 'dispatch'
/usr/lib/lua/luci/dispatcher.lua:478: in function </usr/lib/lua/luci/dispatcher.lua:477>
Can you help me getting out of this mess?
I'm not very confident using OpenWrt on the command line, but I would now try to perform a systemupgrade to the last version I had running.
Is this the right approach, or is there something else I should do?
Thanks for your help.
Simon