vernesong / OpenClash

A Clash Client For OpenWrt
MIT License
16.79k stars 3.09k forks source link

0.40.10 越升级越无法启动了,哈哈 #865

Closed qin9125 closed 3 years ago

qin9125 commented 3 years ago

我方了,从40.7升级到40.8就开始不能正常开启,必须开启关闭开启这三个步骤才能启动成功,到了40.10直接变成不能启动了,哈哈,开发大佬看一下怎么处理,谢谢

OpenClash 调试日志

生成时间: 2020-10-14 21:25:45 插件版本: v0.40.10-beta


#===================== 系统信息 =====================#
主机型号: Default string Default string
固件版本: Openwrt Koolshare mod V2.36 r14941-67f6fa0a30
LuCI版本: git-20.074.84698-ead5e81
内核版本: 5.4.52
处理器架构: x86_64

#此项在使用Tun模式时应为ACCEPT
防火墙转发: ACCEPT

#此项有值时建议到网络-接口-lan的设置中禁用IPV6的DHCP
IPV6-DHCP: 

#此项结果应仅有配置文件的DNS监听地址
Dnsmasq转发设置: 

#===================== 依赖检查 =====================#
dnsmasq-full: 已安装
coreutils: 已安装
coreutils-nohup: 已安装
bash: 已安装
curl: 已安装
jsonfilter: 已安装
ca-certificates: 已安装
ipset: 已安装
ip-full: 已安装
iptables-mod-tproxy: 已安装
iptables-mod-extra: 已安装
libcap: 已安装
libcap-bin: 已安装
kmod-tun(TUN模式): 已安装
luci-compat(Luci-19.07): 已安装

#===================== 内核检查 =====================#
运行状态: 未运行
已选择的架构: linux-amd64

#下方无法显示内核版本号时请确认您的内核版本是否正确或者有无权限
Tun内核版本: 2020.10.09.g93e919b
Tun内核文件: 存在
Tun内核运行权限: 正常

Game内核版本: v0.17.0-206-gf8a1f1d
Game内核文件: 存在
Game内核运行权限: 正常

Dev内核版本: v1.2.0
Dev内核文件: 存在
Dev内核运行权限: 正常

#===================== 插件设置 =====================#
当前配置文件: /etc/openclash/config/Clash.yaml
运行模式: fake-ip
默认代理模式: rule
UDP流量转发: 启用
DNS劫持: 启用
自定义DNS: 停用
IPV6-DNS解析: 停用
禁用Dnsmasq缓存: 启用
自定义规则: 停用
仅允许内网: 停用
仅代理命中规则流量: 停用
绕过中国大陆IP: 停用

#启动异常时建议关闭此项后重试
保留配置: 停用
第三方规则: 停用

#===================== 配置文件 =====================#
port: 7890
socks-port: 7891
allow-lan: true
bind-address: "*"
ipv6: false
mode: rule
log-level: silent
external-controller: 0.0.0.0:9090

#===================== 防火墙设置 =====================#

#NAT chain

Chain PREROUTING (policy ACCEPT)
num  target     prot opt source               destination         
1    prerouting_rule  all  --  0.0.0.0/0            0.0.0.0/0            /* !fw3: Custom prerouting rule chain */
2    zone_lan_prerouting  all  --  0.0.0.0/0            0.0.0.0/0            /* !fw3 */
3    zone_wan_prerouting  all  --  0.0.0.0/0            0.0.0.0/0            /* !fw3 */
Chain OUTPUT (policy ACCEPT)
num  target     prot opt source               destination         

#Mangle chain

Chain PREROUTING (policy ACCEPT)
num  target     prot opt source               destination         
Chain OUTPUT (policy ACCEPT)
num  target     prot opt source               destination         

#===================== 路由表状态 =====================#
#route -n
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
0.0.0.0         100.78.0.1      0.0.0.0         UG    0      0        0 pppoe-wan
100.78.0.1      0.0.0.0         255.255.255.255 UH    0      0        0 pppoe-wan
192.168.1.0     0.0.0.0         255.255.255.0   U     0      0        0 br-lan
#ip route list
default via 100.78.0.1 dev pppoe-wan proto static 
100.78.0.1 dev pppoe-wan proto kernel scope link src 100.78.139.212 
192.168.1.0/24 dev br-lan proto kernel scope link src 192.168.1.1 
#ip rule show
0:  from all lookup local
32766:  from all lookup main
32767:  from all lookup default

#===================== 端口占用状态 =====================#

#===================== 测试本机DNS查询 =====================#

Name:      www.baidu.com
Address 1: 220.181.38.149
Address 2: 220.181.38.150

#===================== resolv.conf.d =====================#
# Interface wan
nameserver 61.178.0.93
nameserver 118.118.118.55

#===================== 测试本机网络连接 =====================#
HTTP/1.1 200 OK
Accept-Ranges: bytes
Cache-Control: private, no-cache, no-store, proxy-revalidate, no-transform
Connection: keep-alive
Content-Length: 277
Content-Type: text/html
Date: Wed, 14 Oct 2020 13:25:52 GMT
Etag: "575e1f60-115"
Last-Modified: Mon, 13 Jun 2016 02:50:08 GMT
Pragma: no-cache
Server: bfe/1.0.8.18

#===================== 测试本机网络下载 =====================#

#===================== 最近运行日志 =====================#
**2020-10-14 21:19:54 Warning: OpenClash Now Disabled, Need Start From Luci Page, **Exit...**
/bin/sh: can't create /tmp/openclash.log: Permission denied
2020-10-14 21:24:56 Error: OpenClash Can Not Start, Try Use Raw Config Restart Again
/bin/sh: can't create /tmp/openclash.log: Permission denied
2020-10-14 21:24:56 Error: OpenClash Can Not Start, Please Check The Error Info And Try Again**
hcym commented 3 years ago

全新安装的08和10都正常,还是不要升级的好

qin9125 commented 3 years ago

全新安装的08和10都正常,还是不要升级的好

其实我是覆盖安装,40.8开始升级安装就不行了,没反应然后菜单直接消失

michealhansun commented 3 years ago

为啥我全新安装都不行。。。

vivikuyo commented 3 years ago

0.40.10好像问题比较多。。我的也无法正常使用

qin9125 commented 3 years ago

0.40.10好像问题比较多。。我的也无法正常使用

我回退了,重启恢复出厂路由无数次,手动给权限才能启动,关了插件再次开启又要手动给权限777,这很麻烦

michealhansun commented 3 years ago

我 opkg remove luci-app-openclash ,然后重启路由,再重新安装,然后手动给777权限又可以了,奇怪。。。。。

qin9125 commented 3 years ago

我 opkg remove luci-app-openclash ,然后重启路由,再重新安装,然后手动给777权限又可以了,奇怪。。。。。

手动给权限当然可以启动,但是你关了再启动又gg了,必须再给权限,还有个问题日志静默yacd现在疯狂输出日志,