[Bug] 0.46.075升级到0.47.015失败
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 开发并解决此问题
- [x] Meaningless 我提交的是无意义的催促更新或修复请求
OpenClash Version
0.46.075
Bug on Environment
Lean
OpenWrt Version
OpenWrt SNAPSHOT r5800-5bfe3bd9f
Bug on Platform
Linux-arm64
Describe the Bug
升级不成功,UI进不去,UI界面报错如下:
/usr/lib/lua/luci/dispatcher.lua:387: Failed to execute function dispatcher target for entry '/admin/services/openclash'. The called action terminated with an exception: /usr/lib/lua/luci/dispatcher.lua:387: Failed to execute cbi dispatcher target for entry '/admin/services/openclash/client'. The called action terminated with an exception: /usr/lib/lua/luci/model/cbi/openclash/client.lua:16: attempt to call field 'uci_get_config' (a nil value) stack traceback: [C]: in function 'assert' /usr/lib/lua/luci/dispatcher.lua:387: in function 'dispatch' /usr/lib/lua/luci/dispatcher.lua:101: in function </usr/lib/lua/luci/dispatcher.lua:100>
尝试下载ipk包安装,安装成功,但依然进入不了UI,报以上错误。进入/etc/ini.d/openclash start提示要从UI启动,无解。
To Reproduce
在UI界面点击一键升级,没有反应,进入UI界面报错。重新下载安装包进行安装也无效,错误见以上描述
OpenClash Log
2025-10-19 21:27:30 Warning: OpenClash Now Disabled, Need Start From Luci Page, Exit...
2025-10-19 21:29:08 【/tmp/clash_last_version】Download Failed:【curl: (6) Could not resolve host: raw.githubusercontent.com】
2025-10-19 21:29:21 OpenClash Restart...
2025-10-19 21:29:21 OpenClash Stoping...
2025-10-19 21:29:21 Step 1: Backup The Current Groups State...
2025-10-19 21:29:21 Step 2: Delete OpenClash Firewall Rules...
2025-10-19 21:29:22 Step 3: Close The OpenClash Daemons...
2025-10-19 21:29:22 Step 4: Close The Clash Core Process...
2025-10-19 21:29:22 Step 5: Restart Dnsmasq...
2025-10-19 21:29:24 Step 6: Delete OpenClash Residue File...
2025-10-19 21:29:24 OpenClash Already Stop!
2025-10-19 21:29:24 Warning: OpenClash Now Disabled, Need Start From Luci Page, Exit...
2025-10-19 21:29:34 Warning: OpenClash Now Disabled, Need Start From Luci Page, Exit...
2025-10-19 21:30:12 OpenClash Restart...
2025-10-19 21:30:12 OpenClash Stoping...
2025-10-19 21:30:12 Step 1: Backup The Current Groups State...
2025-10-19 21:30:12 Step 2: Delete OpenClash Firewall Rules...
2025-10-19 21:30:13 Step 3: Close The OpenClash Daemons...
2025-10-19 21:30:13 Step 4: Close The Clash Core Process...
2025-10-19 21:30:13 Step 5: Restart Dnsmasq...
2025-10-19 21:30:15 Step 6: Delete OpenClash Residue File...
2025-10-19 21:30:15 OpenClash Already Stop!
2025-10-19 21:30:15 Warning: OpenClash Now Disabled, Need Start From Luci Page, Exit...
2025-10-19 21:30:22 Warning: OpenClash Now Disabled, Need Start From Luci Page, Exit...
OpenClash Config
Expected Behavior
告知如何修复
Additional Context
No response
#/etc/init.d/openclash restart OpenClash Restart... OpenClash Already Stop! Command failed: Not found
覆写设置里面的GitHub地址修改是不是能搞定这个问题?
重启设备