aleskxyz / reality-ezpz

Install sing-box/xray and configure vless / tuic / hysteria2 / shadowtls for reality or tls (letsencrypt) over different transport protocols (tcp, http, grpc and websocket) with user management capability in CLI, TUI and Telegram bot by a single command in docker compose!
Apache License 2.0
1.18k stars 184 forks source link

/usr/local/bin/docker-compose: cannot execute binary file: Exec format error #170

Closed RiskierSubset closed 1 month ago

RiskierSubset commented 3 months ago

I'm a big noob. I'm getting this error when running the command. My gut feeling is that this is because I'm using an arm VPS. Any help is appreciated. Thanks.

RiskierSubset commented 3 months ago

Nevermind I forked repo and replaced the x86 download in the script with the aarch download and it worked. But now, I can't connect to it using my GUI client. The only thing I did was running the script and changing SNI to m.zoom.us Any help is appreciated in fixing this issue. I am running the script on an oracle cloud VPS with canonical ubuntu 22.04 with the ampere arm processor.

aleskxyz commented 3 months ago

@RiskierSubset Thanks for your feedback I will look at this problem soon and update the issue

aleskxyz commented 3 months ago

@RiskierSubset I have tested the code with arm cpu and it works without problem. I recommend to rebuild the vm and try to install again.

RiskierSubset commented 3 months ago

I went through the script and found that it was installing the x86 version of docker. I forked the project and replaced the x86 download link with the arm download and it worked flawlessly. Thank you for maintaining this awesome project.

aleskxyz commented 3 months ago

I think this commit will fix the problem: https://github.com/aleskxyz/reality-ezpz/commit/cb6c82e92d4ac6fcfd41ab320eedc6530b9ec990