vernesong / OpenClash

A Clash Client For OpenWrt
MIT License
17.51k stars 3.18k forks source link

OpenClash Now Disabled, Need Start From Luci Page #1096

Closed Jay54520 closed 3 years ago

Jay54520 commented 3 years ago
# cat /tmp/openclash.log | grep -B 10 -A 10 'OpenClash Now Disabled'
2020-12-19 04:01:13 Warning: OpenClash Now Disabled, Need Start From Luci Page, Exit...
// 手动启用后正常
time="2020-12-19T11:48:27+08:00" level=info msg="Start initial provider XXX"

怀疑是自动更新到 v0.41.12-beta 造成的,但是又没有之前的日志。

vernesong commented 3 years ago

正常的

Jay54520 commented 3 years ago

正常的

有什么办法避免手动启用?我定时 reload 行不行?

Jay54520 commented 3 years ago

2020-12-28 04:03:15 出现了同样的错误,版本自动更新到了 v0.41.13-beta。要在 Luci Page 点启动才行,命令行 /etc/init.d/openclash start 也显示同样的错误。

原因是 OpenWRT 系统自带自动升级软件包的计划任务,在系统-计划任务删除下面这行即可。 0 4 * * * sh /etc/rc.d/S99opkg >/tmp/opkgupdate.log 2>&1

# cat /tmp/opkgupdate.log | grep openclash
luci-app-openclash
Upgrading luci-app-openclash on root from 0.41.12-beta to 0.41.13-beta...
Downloading https://op.supes.top/packages/x64/luci-app-openclash_0.41.13-beta_all.ipk
Configuring luci-app-openclash.