rosywrt / nft-qos

QoS over Nftables (This packages is merged upstream, please visit openwrt/packages and openwrt/luci for more detail)
62 stars 24 forks source link

Cannot assign option to not existing tab "limitmac" #13

Open 68646 opened 3 years ago

68646 commented 3 years ago

Please Help, I get following error when opening Luci - Services - Qos Over Nftables

/usr/lib/lua/luci/cbi.lua:869: Cannot assign option to not existing tab "limitmac" stack traceback: [C]: in function 'assert' /usr/lib/lua/luci/cbi.lua:869: in function 'taboption' /usr/lib/lua/luci/model/cbi/nft-qos/nft-qos.lua:230: in function 'func' /usr/lib/lua/luci/cbi.lua:66: in function 'load' /usr/lib/lua/luci/dispatcher.lua:1353: in function '_cbi' /usr/lib/lua/luci/dispatcher.lua:1024: in function 'dispatch' /usr/lib/lua/luci/dispatcher.lua:479: in function </usr/lib/lua/luci/dispatcher.lua:478>

Please help

danielliu000 commented 3 years ago

This can be fixed by reinstalling nft-qos

  1. backup your config file /etc/config/nft-qos, if needed
  2. remove the orginal config file
  3. reinstall nft-qos the new config file may be renamed to nft-qos-okpg if it already existed.
jlawrence0710 commented 2 years ago

That is not a solution. Re-enabling "Traffic Priority" simply breaks it again. The code is bad.
The proper fix is here https://github.com/openwrt/luci/pull/5663