I get the following error message when i try to open advanced settings:
/usr/lib/lua/luci/dispatcher.lua:431: /etc/config/luci seems to be corrupt, unable to find section 'main'
After reboot, all works fine, but after some time its broken again.
I get the following error message when i try to open advanced settings:
/usr/lib/lua/luci/dispatcher.lua:431: /etc/config/luci seems to be corrupt, unable to find section 'main'
After reboot, all works fine, but after some time its broken again.
Hi
This appears to be an OpenWRT issue.
Please try the suggestions discussed in the following GitHub issue and see whether they resolve the problem for you:
it only states, that i have to enable swapp.. but it already is enabled and i did not change these settings at all. Looks like the device is simply unstable by design, maybe this is the reason for the option for scheduled restart … since the router is still working in this state, i do not care that much
Could you please let us know the following:
ps | grep rpcd
free -h
Model
GL-MT300N-V2
Architecture
MediaTek MT7628AN ver:1 eco:2
OpenWrt Version
OpenWrt 22.03.4 r20123-38ccc47687
Kernel Version
5.10.176
It should be just a firewall thing, so make sure to allow SSH via iptables
And maybe set rtty.general.ssh_en='1'
root@VpnGateway:~# ps | grep rpcd
1506 root 2240 S /sbin/rpcd -s /var/run/ubus/ubus.sock -t 30
2369 root 1312 S grep rpcd
root@VpnGateway:~# free h
total used free shared buff/cache available
Mem: 121960 28684 61392 2092 31884 72496
Swap: 0 0 0
root@VpnGateway:~#
Were these details collected when the issue occurred?
It appears that the relevant processes are running normally, and there is still sufficient free memory available.
it happened again… as every day and i collected the data again while the issue persists:
root@VpnGateway:~# ps | grep rpcd
4512 root 1312 S grep rpcd
root@VpnGateway:~# free -h
total used free shared buff/cache available
Mem: 121960 28572 64204 512 29184 74348
Swap: 0 0 0
It sounds to me to a malformed configuration.
If a key is invalid you get these kind of luci errors.
You can try copying /rom/etc/config/luci to /etc/config/luci and then type: /etc/init.d/rpcd restart, /etc/init.d/uhttpd restart, you can also try copying the rpcd config aswell in a similar fashion.
Or just reset the router to factory.
Also a note when editing files make sure your editor uses LF endings and not CRLF, don't use spaces but tabs.
This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.