[Bug] 最新版immwrtalort 24.10.4 升级安装openclash 0.47.028 后会自动删除 luci-compat 导致整个luci崩溃
Verify Steps
- [x] Tracker 我已经在 Issue Tracker 中找过我要提出的问题
- [x] Branch 我知道 OpenClash 的 Dev 分支切换开关位于插件设置-版本更新中,或者我会手动下载并安装 Dev 分支的 OpenClash
- [x] Latest 我已经使用最新 Dev 版本测试过,问题依旧存在
- [x] Relevant 我知道 OpenClash 与 内核(Core)、控制面板(Dashboard)、在线订阅转换(Subconverter)等项目之间无直接关系,仅相互调用
- [x] Definite 这确实是 OpenClash 出现的问题
- [x] Contributors 我有能力协助 OpenClash 开发并解决此问题
- [ ] Meaningless 我提交的是无意义的催促更新或修复请求
OpenClash Version
0.47.028
Bug on Environment
Immortalwrt
OpenWrt Version
v24.10.4
Bug on Platform
Linux-arm64
Describe the Bug
平台为mt7981,设备为 jcg q30 pro,升级 openclash 日志如下:
opkg install /tmp/luci-app-openclash_0.47.028_all.ipk Upgrading luci-app-openclash on root from 0.47.024 to 0.47.028... luci-compat was autoinstalled and is now orphaned, removing. Removing package luci-compat from root... OpenClash Already Stop!
之后刷新页面会报:
/usr/lib/lua/luci/ucodebridge.lua:23: /usr/lib/lua/luci/controller/openclash.lua:115: module 'luci.cbi.datatypes' not found:
然后整个luci瘫痪
目前的临时解决方案 opkg install luci-compat
To Reproduce
平台为mt7981,设备为 jcg q30 pro,升级 openclash 日志如下:
opkg install /tmp/luci-app-openclash_0.47.028_all.ipk Upgrading luci-app-openclash on root from 0.47.024 to 0.47.028... luci-compat was autoinstalled and is now orphaned, removing. Removing package luci-compat from root... OpenClash Already Stop!
之后刷新页面会报:
/usr/lib/lua/luci/ucodebridge.lua:23: /usr/lib/lua/luci/controller/openclash.lua:115: module 'luci.cbi.datatypes' not found:
然后整个luci瘫痪
目前的临时解决方案 opkg install luci-compat
OpenClash Log
opkg install /tmp/luci-app-openclash_0.47.028_all.ipk
Upgrading luci-app-openclash on root from 0.47.024 to 0.47.028...
luci-compat was autoinstalled and is now orphaned, removing.
Removing package luci-compat from root...
OpenClash Already Stop!
OpenClash Config
Expected Behavior
opkg install /tmp/luci-app-openclash_0.47.028_all.ipk Upgrading luci-app-openclash on root from 0.47.024 to 0.47.028... luci-compat was autoinstalled and is now orphaned, removing. Removing package luci-compat from root... OpenClash Already Stop!
Additional Context
No response
手动安装一次就行了,软件库默认的依赖手动升级被会删除