Wednesday, January 17, 2018

OpenWRT /usr/lib/lua/luci/dispatcher.lua:582: bad argument #1 to 'pairs'

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





Solution:

Login through ssh

rm -r /tmp/luci-indexcache