k-szuster / luci-access-control

OpenWrt internet access scheduler
Apache License 2.0
150 stars 47 forks source link

error in latest OpenWrt 22.03.4 r20123-38ccc47687 / LuCI openwrt-22.03 branch git-23.093.57104-ce20b4a #36

Closed raulfg3 closed 1 year ago

raulfg3 commented 1 year ago

/usr/lib/lua/luci/dispatcher.lua:1379: module 'luci.cbi' not found: no field package.preload['luci.cbi'] no file './luci/cbi.lua' no file '/usr/share/lua/luci/cbi.lua' no file '/usr/share/lua/luci/cbi/init.lua' no file '/usr/lib/lua/luci/cbi.lua' no file '/usr/lib/lua/luci/cbi/init.lua' no file './luci/cbi.so' no file '/usr/lib/lua/luci/cbi.so' no file '/usr/lib/lua/loadall.so' no file './luci.so' no file '/usr/lib/lua/luci.so' no file '/usr/lib/lua/loadall.so' stack traceback: [C]: in function 'require' /usr/lib/lua/luci/dispatcher.lua:1379: in function '_cbi' /usr/lib/lua/luci/dispatcher.lua:1056: in function 'dispatch' /usr/lib/lua/luci/dispatcher.lua:483: in function </usr/lib/lua/luci/dispatcher.lua:482>

raulfg3 commented 1 year ago

solved installing luci-compat

info taken from here: https://github.com/MoetaYuko/openwrt-passwall-build/issues/3

or here:

https://forum.gl-inet.com/t/e750-mudi-luci-error-missing-luci-cbi/19505

raulfg3 commented 1 year ago

works fine once install luci-compat