Closed ChanterelleFan closed 4 years ago
不可能变成空文件啊,自动更新配置文件了?
我也觉得特别奇怪,突然出现的问题。 5:00 路由器自动重启 6:00 配置文件自动更新 在5:00的时候,配置文件是正常的。我观察了好几天,5:00的时候是正常的,提示2020-04-20 05:01:30 OpenClash Start Successful,15秒后就提示2020-04-20 05:01:45 Watchdog: Clash Core Problem, Restart. 守护程序重启clash后就会提示配置文件错误 Configuration file /etc/openclash/config/Dler.yaml is empty" 2020-04-20 05:01:46 OpenClash Can Not Start, Please Check The Error Info And Try Again. 不知道是哪里出了问题。我猜测配置文件丢失就发生在这15s之内。
知道了,最近订阅的问题有点多
vernesong先生,您好。 更新v0.37.3-beta,路由器定时重启后,openclash会出现故障。 每天早上五点,软路由定时重启,重启后openclash提示以下内容:
time="2020-04-19T21:01:36Z" level=info msg="Start initial compatible provider Microsoft" time="2020-04-19T21:01:36Z" level=info msg="Start initial compatible provider Apple" time="2020-04-19T21:01:36Z" level=info msg="Start initial compatible provider Spotify" time="2020-04-19T21:01:36Z" level=info msg="Start initial compatible provider Proxy" time="2020-04-19T21:01:36Z" level=info msg="Start initial compatible provider PayPal" time="2020-04-19T21:01:36Z" level=info msg="Start initial compatible provider AsianTV" time="2020-04-19T21:01:36Z" level=info msg="Start initial compatible provider AdBlock" time="2020-04-19T21:01:36Z" level=info msg="Start initial compatible provider Steam" time="2020-04-19T21:01:36Z" level=info msg="Start initial compatible provider Speedtest" time="2020-04-19T21:01:36Z" level=info msg="Start initial compatible provider Domestic" time="2020-04-19T21:01:36Z" level=info msg="Start initial compatible provider Netflix" time="2020-04-19T21:01:36Z" level=info msg="Start initial compatible provider GlobalTV" time="2020-04-19T21:01:36Z" level=info msg="Start initial compatible provider Others" time="2020-04-19T21:01:36Z" level=info msg="Start initial compatible provider Telegram" time="2020-04-19T21:01:36Z" level=info msg="Start initial compatible provider Netease Music" time="2020-04-19T21:01:36Z" level=info msg="Start initial compatible provider Auto - UrlTest" 2020-04-20 05:01:30 OpenClash Start Successful 2020-04-20 05:01:45 Watchdog: Clash Core Problem, Restart. time="2020-04-19T21:01:46Z" level=info msg="Start initial compatible provider Microsoft" time="2020-04-19T21:01:46Z" level=info msg="Start initial compatible provider AdBlock" time="2020-04-19T21:01:46Z" level=info msg="Start initial compatible provider Netease Music" time="2020-04-19T21:01:46Z" level=info msg="Start initial compatible provider Domestic" time="2020-04-19T21:01:46Z" level=info msg="Start initial compatible provider Spotify" time="2020-04-19T21:01:46Z" level=info msg="Start initial compatible provider Apple" time="2020-04-19T21:01:46Z" level=info msg="Start initial compatible provider Netflix" time="2020-04-19T21:01:46Z" level=info msg="Start initial compatible provider GlobalTV" time="2020-04-19T21:01:46Z" level=info msg="Start initial compatible provider Speedtest" time="2020-04-19T21:01:46Z" level=info msg="Start initial compatible provider Others" time="2020-04-19T21:01:46Z" level=info msg="Start initial compatible provider AsianTV" time="2020-04-19T21:01:46Z" level=info msg="Start initial compatible provider Auto - UrlTest" time="2020-04-19T21:01:46Z" level=info msg="Start initial compatible provider Steam" time="2020-04-19T21:01:46Z" level=info msg="Start initial compatible provider Telegram" time="2020-04-19T21:01:46Z" level=info msg="Start initial compatible provider PayPal" time="2020-04-19T21:01:46Z" level=info msg="Start initial compatible provider Proxy" time="2020-04-19T21:01:51Z" level=fatal msg="Parse config error: Configuration file /etc/openclash/config/Dler.yaml is empty" 2020-04-20 05:01:46 OpenClash Can Not Start, Please Check The Error Info And Try Again
查看对应的yaml文件,的确为0KB,手动更新托管配置后,openclash又可正常运行。重现问题的过程中,将内核、yaml文件均设为777。手动重启路由也故障,唯有早上自动重启后会出现此问题。
路由器及openclash相关配置如下:
您开发辛苦了!