yonggekkk / x-ui-yg

x-ui精简修改版脚本,集成argo固定临时双隧道(可共存)、本地WARP+Psiphon赛风VPN多国家分流功能,支持部分节点聚合订阅、sing-box订阅、clash-meta订阅的配置输出
https://ygkkk.blogspot.com/2023/05/reality-xui-chatgpt.html
1.71k stars 707 forks source link

x-ui命令报错 #6

Closed tao-shen closed 1 year ago

tao-shen commented 1 year ago

(base) ➜ ~ x-ui
/usr/bin/x-ui: 12: eval: [[: not found /usr/bin/x-ui: 13: eval: [[: not found /usr/bin/x-ui: 302: eval: Syntax error: "(" unexpected

已测试多台服务器。系统是ubuntu 18.04和20.04。

另外请问能否加入手动重选一次warp ip的功能 \doge

tao-shen commented 1 year ago

另外能不能优化一下显示,比如显示当前warp获得的ip。

us254 commented 1 year ago

The error seems to be related to the shell script that runs the x-ui command. [It might be caused by using an incompatible shell such as dash instead of bash] (https://github.com/vaxilu/x-ui)

[A possible solution is to change the default shell to bash or run the command with bash explicitly]

(https://github.com/NidukaAkalanka/x-ui-english)

yonggekkk commented 1 year ago

(base) ➜ ~ x-ui /usr/bin/x-ui: 12: eval: [[: not found /usr/bin/x-ui: 13: eval: [[: not found /usr/bin/x-ui: 302: eval: Syntax error: "(" unexpected

已测试多台服务器。系统是ubuntu 18.04和20.04。

另外请问能否加入手动重选一次warp ip的功能 \doge

我试了没问题。。。你是什么VPS?方便的进TG群,私下我远程看下

yonggekkk commented 1 year ago

另外能不能优化一下显示,比如显示当前warp获得的ip。

带warp显示会拖慢脚本,之前有显示,现在移除了,我到时优化下XUI进入warp的选项吧

14790897 commented 1 year ago

甬哥怎么赚钱的?出期视频讲讲

yonggekkk commented 1 year ago

甬哥怎么赚钱的?出期视频讲讲

下回油管直播你直接提问吧。哈哈