Openwrt出现/usr/lib/lua/luci/dispatcher.lua:569解决办法

2022-10-08 Views 技术107字1 min read

用了很久的路由进入系统,莫名其妙出现如下错误:

/usr/lib/lua/luci/dispatcher.lua:569: bad argument #1 to 'pairs' (table expected, got nil)
stack traceback:
[C]: in function 'pairs'
/usr/lib/lua/luci/dispatcher.lua:569: in function 'createtree'
/usr/lib/lua/luci/dispatcher.lua:238: in function 'dispatch'
/usr/lib/lua/luci/dispatcher.lua:121: in function </usr/lib/lua/luci/dispatcher.lua:120>

解决办法如下:

用ssh连接openwrt的主机,输入
rm -r /tmp/luci-indexcache
即可进入后台

EOF