夜间模式暗黑模式
字体
阴影
滤镜
圆角
主题色
openwrt 打开网页bad argument #1 to ‘pairs’
/usr/lib/lua/luci/dispatcher.lua:533: bad argument #1 to 'pairs' (table expected, got nil)
stack traceback:
[C]: in function 'pairs'
/usr/lib/lua/luci/dispatcher.lua:533: in function 'createtree'
/usr/lib/lua/luci/dispatcher.lua:201: in function 'dispatch'
/usr/lib/lua/luci/dispatcher.lua:168: in function

fix

rm -r /tmp/luci-indexcache


update 2020年12月4日

如果还是有异常
需要修改 luci的indexcachevim /www/cgi-bin/luci

评论

  1. Chen

    每隔一段时间就会进不去,难道每次都要rm -r 一下吗

    4年前
    2020-8-07 22:51:50
    • TestSmirk 博主

      是不是空间满了,或者卸载一些插件.我这边是 OpenWrt R20.3.19 / LuCI Master (git-20.088.29068-cebe120) 删除一次就没有再出现了.

      4年前
      2020-8-11 9:54:21
  2. Zolobdz

    Hello how can I add this when machine launches. Because this problem seems to reproduce sometimes.

    4年前
    2020-9-16 21:30:24
    • TestSmirk 博主

      You can use cron or rc.local add rm -r /tmp/luci-indexcache?

      3年前
      2020-10-30 11:46:38

发送评论 编辑评论


				
上一篇
下一篇