Lost luci settings

I cannot get into luci after the router did reboot i get this message

/usr/lib/lua/luci/dispatcher.lua:230: /etc/config/luci seems to be corrupt, unable to find section 'main'
stack traceback:
[C]: in function 'assert'
/usr/lib/lua/luci/dispatcher.lua:230: in function 'dispatch'
/usr/lib/lua/luci/dispatcher.lua:127: in function </usr/lib/lua/luci/dispatcher.lua:126>

does anyone have any idea whats wrong please

rm /overlay/upper/etc/config/luci
reboot

Should sort it out (at least on a release build, with included luci, on a snapshot with runtime installed luci, reinstalling that would be needed), I don't expect you to have any crucial/ irrecoverable configuration in that file.

4 Likes

That sorted it thank you very much for your help :smiley:

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.