/etc/config/luci seems to be corrupt, unable to find section 'main'
See original GitHub issue- OpenWrt 18.06.1 on a WRT3200ACM
- Sometimes, when I try to access the main page on the router, I get this error:
/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>
- However, “
/etc/config/luci
” looks fine, and just rebooting the device fixes the issue. - When this happens, all other functionality on the router works fine., but f I log into the router and execute “
logread -l 100
”, all I can see is this single line:
Thu Jan 1 01:00:00 1970 kern.emerg kernel:
- A couple of minutes later, the logs fill again with normal messages, but luci never recovers.
- Restarting “
uhttpd
” does not fix the issue.
Issue Analytics
- State:
- Created 5 years ago
- Reactions:1
- Comments:13 (2 by maintainers)
Top Results From Across the Web
How I fixed OpenWRT LuCI error /etc/config/luci seems to be ...
How I fixed OpenWRT LuCI error /etc/config/luci seems to be corrupt, unable to find section 'main'. Problem: When you try to open your...
Read more >Recent upgrade broke Luci - Installing and Using OpenWrt
/usr/lib/lua/luci/dispatcher.lua:234: /etc/config/luci seems to be corrupt, unable to find section 'main' stack traceback…
Read more >Luci seems to be corrupt - Technical Support - GL.iNet Forum
The next day, I tried to go to the advanced section and I got the ... /etc/config/luci seems to be corrupt, unable to...
Read more >[OpenWrt-Users] Luci install but not create /etc/config/luci
I'm installing openwrt on a TL-WR740N and i try to install luci to get a ... /etc/config/luci seems to be corrupt, unable to...
Read more >/usr/lib/lua/luci/dispatcher.lua:370: /etc/config/luci seems to be ...
/usr/lib/lua/luci/dispatcher.lua:370: /etc/config/luci seems to be corrupt, unable to find section 'main'. OpenWrt.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
service rpcd restart
works for meI had the same error, after an upgrade from some LEDE version (from 2017 IIRC) to OpenWRT 18.06.08. I choosen to keep settings while upgrading, that was apparently a mistake.
To fix it, I did :
rcpd
(/etc/init.d/rcpd
did not work anymore)