moetayuko / openwrt-passwall-build

Binary distribution of https://github.com/xiaorouji/openwrt-passwall built with official OpenWRT SDK.
MIT License
257 stars 58 forks source link

luci.cbi.datatypes not found #5

Closed cjayacopra closed 2 years ago

cjayacopra commented 2 years ago

Good Day again, sir

So I managed to install the v2ray-plugin manually, and I've proceeded on installing luci-app-passwall, but I encountered some errors.

root@OpenWrt:~# opkg install luci-app-passwall --force-overwrite
Installing luci-app-passwall (4.41) to root...
Downloading https://mirrors.tuna.tsinghua.edu.cn/osdn/storage/g/o/op/openwrt-passwall-build/releases/21.02.0/packages/aarch64_cortex-a53/passwall/luci-app-passwall_4.41_all.ipk
Configuring luci-app-passwall.
lua: /usr/lib/lua/luci/model/cbi/passwall/api/api.lua:6: module 'luci.cbi.datatypes' not found:
        no field package.preload['luci.cbi.datatypes']
        no file './luci/cbi/datatypes.lua'
        no file '/usr/share/lua/luci/cbi/datatypes.lua'
        no file '/usr/share/lua/luci/cbi/datatypes/init.lua'
        no file '/usr/lib/lua/luci/cbi/datatypes.lua'
        no file '/usr/lib/lua/luci/cbi/datatypes/init.lua'
        no file './luci/cbi/datatypes.so'
        no file '/usr/lib/lua/luci/cbi/datatypes.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/model/cbi/passwall/api/api.lua:6: in main chunk
        [C]: in function 'require'
        ...r/lib/lua/luci/model/cbi/passwall/server/api/app.lua:4: in main chunk
        [C]: ?
root@OpenWrt:~#

I can't even visit the web interface because it shows the same error on the browser I hope you can help me with this

moetayuko commented 2 years ago

3