v2ray / v2ray-core

A platform for building proxies to bypass network restrictions.
https://www.v2ray.com/
MIT License
45.37k stars 8.94k forks source link

通过 bash go.sh命令升级到V2ray-3.47失败 #1308

Closed mxparson closed 6 years ago

mxparson commented 6 years ago

提交 Issue 之前请先阅读 Issue 指引,然后回答下面的问题,谢谢。 除非特殊情况,请完整填写所有问题。不按模板发的 issue 将直接被关闭。 如果你遇到的问题不是 V2Ray 的 bug,比如你不清楚要如何配置,请使用Discussion进行讨论。

1) 你正在使用哪个版本的 V2Ray?(如果服务器和客户端使用了不同版本,请注明) ubuntu 18.04 LTS+V2Ray-3.46(VMess+mKCP(utp)) 2) 你的使用场景是什么?比如使用 Chrome 通过 Socks/VMess 代理观看 YouTube 视频。 使用 Chrome 通过 Socks/VMess 代理观看 YouTube 视频,科学上网。 3) 你看到的不正常的现象是什么?(请描述具体现象,比如访问超时,TLS 证书错误等) 计划通过 bash go.sh命令升级到V2ray-3.47失败服务器反馈错误信息如下: root@XXX:~# bash go.sh Installing V2Ray v3.47 on x86_64 Downloading V2Ray. % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 608 0 608 0 0 886 0 --:--:-- --:--:-- --:--:-- 885 100 11.0M 100 11.0M 0 0 900k 0 0:00:12 0:00:12 --:--:-- 1052k Extracting V2Ray package to /tmp/v2ray. Archive: /tmp/v2ray/v2ray.zip creating: /tmp/v2ray/doc/ inflating: /tmp/v2ray/doc/readme.md
inflating: /tmp/v2ray/geoip.dat
inflating: /tmp/v2ray/geosite.dat
creating: /tmp/v2ray/systemd/ inflating: /tmp/v2ray/systemd/v2ray.service
creating: /tmp/v2ray/systemv/ inflating: /tmp/v2ray/systemv/v2ray
inflating: /tmp/v2ray/v2ctl
extracting: /tmp/v2ray/v2ctl.sig
inflating: /tmp/v2ray/v2ray
extracting: /tmp/v2ray/v2ray.sig
inflating: /tmp/v2ray/vpoint_socks_vmess.json
inflating: /tmp/v2ray/vpoint_vmess_freedom.json
Shutting down V2Ray service. cp: cannot stat '/tmp/v2ray/v2ray-v3.47-linux-64/v2ray': No such file or directory Failed to copy V2Ray binary and resources. root@XXX:~# 4) 你期待看到的正确表现是怎样的?

5) 请附上你的配置(提交 Issue 前请隐藏服务器端IP地址)。

服务器端配置:

{ "log": { "access": "/var/log/v2ray/access.log", "error": "/var/log/v2ray/error.log", "loglevel": "warning" }, "inbound": { "port": 38067, "protocol": "vmess", "settings": { "clients": [ { "id": "xxxxxxxxxxxxxxx", "level": 1, "alterId": 32, "security":"aes-128-gcm" }, { "id": "xxxxxxxxxxxxxxxxx", "level": 1, "alterId": 32, "security":"aes-128-gcm" }, { "id": "xxxxxxxxxxxxxxxxxxx", "level": 2, "alterId": 32, "security":"aes-128-gcm" }, { "id": "xxxxxxxxxxxxxxxxxxxxx", "level": 1, "alterId": 32, "security":"aes-128-gcm" } ] }, "streamSettings": { "network": "kcp", "kcpSettings":{ "mtu":1350, "tti":100, "uplinkCapacity":20, "downlinkCapacity":100, "congestion":false, "readBufferSize":2, "writeBufferSize":2, "header":{ "type":"utp" } } } }, "outbound": { "protocol": "freedom", "settings": {} }, "inboundDetour": [], "outboundDetour": [ { "protocol": "blackhole", "settings": {}, "tag": "blocked" } ], "routing": { "strategy": "rules", "settings": { "rules": [ { "type": "field", "ip": [ "0.0.0.0/8", "10.0.0.0/8", "100.64.0.0/10", "127.0.0.0/8", "169.254.0.0/16", "172.16.0.0/12", "192.0.0.0/24", "192.0.2.0/24", "192.168.0.0/16", "198.18.0.0/15", "198.51.100.0/24", "203.0.113.0/24", "::1/128", "fc00::/7", "fe80::/10" ], "outboundTag": "blocked" } ] } }, "dns":{ "server":[ "1.1.1.1", "1.0.0.1", "localhost" ] } }

客户端配置: { "log": { "access": "", "error": "", "loglevel": "warning" }, "inbound": { "port": 1080, "listen": "127.0.0.1", "protocol": "socks", "sniffing": { "enabled": true, "destOverride": [ "http", "tls" ] }, "settings": { "auth": "noauth", "udp": true, "ip": "127.0.0.1", "clients": null }, "streamSettings": null }, "outbound": { "tag": "agentout", "protocol": "vmess", "settings": { "vnext": [ { "address": "x.x.x.x", "port": 38067, "users": [ { "id": "xxxxxxxxxxxxxxxxxxxxxxxx", "alterId": 32, "email": "t@t.tt", "security": "aes-128-gcm" } ] } ], "servers": null }, "streamSettings": { "network": "kcp", "security": "", "tlsSettings": null, "tcpSettings": null, "kcpSettings": { "mtu": 1350, "tti": 50, "uplinkCapacity": 12, "downlinkCapacity": 100, "congestion": false, "readBufferSize": 2, "writeBufferSize": 2, "header": { "type": "utp", "request": null, "response": null } }, "wsSettings": null, "httpSettings": null }, "mux": { "enabled": true } }, "inboundDetour": null, "outboundDetour": [ { "protocol": "freedom", "settings": { "response": null }, "tag": "direct" }, { "protocol": "blackhole", "settings": { "response": { "type": "http" } }, "tag": "blockout" } ], "dns": { "servers": [ "8.8.8.8", "8.8.4.4", "localhost" ] }, "routing": { "strategy": "rules", "settings": { "domainStrategy": "IPIfNonMatch", "rules": [ { "type": "field", "port": null, "outboundTag": "direct", "ip": [ "0.0.0.0/8", "10.0.0.0/8", "100.64.0.0/10", "127.0.0.0/8", "169.254.0.0/16", "172.16.0.0/12", "192.0.0.0/24", "192.0.2.0/24", "192.168.0.0/16", "198.18.0.0/15", "198.51.100.0/24", "203.0.113.0/24", "::1/128", "fc00::/7", "fe80::/10" ], "domain": null } ] } } }

6) 请附上出错时软件输出的错误日志。在 Linux 中,日志通常在 /var/log/v2ray/error.log 文件中。

服务器端错误日志:

    // 在这里附上服务器端日志

客户端错误日志:

    // 在这里附上客户端日志

7) 请附上访问日志。在 Linux 中,日志通常在 /var/log/v2ray/access.log 文件中。

    // 在这里附上服务器端日志

8) 其它相关的配置文件(如 Nginx)和相关日志。

9) 如果 V2Ray 无法启动,请附上 --test 输出。

通常的命令为 /usr/bin/v2ray/v2ray --test --config /etc/v2ray/config.json。请按实际情况修改。

10) 如果 V2Ray 服务运行不正常,请附上 journal 日志。

通常的命令为 journalctl -u v2ray

请预览一下你填的内容再提交。

mxparson commented 6 years ago

重新下载go.sh已经成功升级