Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

aarch64 support broken #1455

Open
piraka9011 opened this issue Mar 24, 2025 · 2 comments
Open

aarch64 support broken #1455

piraka9011 opened this issue Mar 24, 2025 · 2 comments
Labels
bug Something isn't working

Comments

@piraka9011
Copy link

piraka9011 commented Mar 24, 2025

Describe the bug

I'm trying to run WrenAI on an Ubuntu 22.04 machine (aarch64).
Specifically, I am running a bare metal EC2 instance (Type: t4g.large).
I tried to follow the linux commands from the official documentation and I get the following errors

curl -L https://github.com/Canner/WrenAI/releases/latest/download/wren-launcher-linux.tar.gz | tar -xz && ./wren-launcher-linux

zsh: exec format error: ./wren-launcher-linux

I then tried to run the dockerfile setup by cloning the repo and following the instructions in the README.md
When I run docker compose --env-file .env up -d, I get exec errors in the logs too.

docker logs wrenai-wren-ui-1

exec /usr/local/bin/docker-entrypoint.sh: exec format error
exec /usr/local/bin/docker-entrypoint.sh: exec format error
exec /usr/local/bin/docker-entrypoint.sh: exec format error
...
docker logs wrenai-bootstrap-1

exec /bin/sh: exec format error
exec /bin/sh: exec format error
exec /bin/sh: exec format error

Works fine on my mac though and was able to test it out end-to-end there.

To Reproduce

See above

Expected behavior

WrenAI should work out of the box on aarch64

Desktop (please complete the following information):

  • OS: Ubuntu 22.04
uname -a

Linux ip-10-0-56-5 6.8.0-1024-aws #26~22.04.1-Ubuntu SMP Wed Feb 19 10:44:40 UTC 2025 aarch64 aarch64 aarch64 GNU/Linux
lsb_release -a

Distributor ID:	Ubuntu
Description:	Ubuntu 22.04.5 LTS
Release:	22.04
Codename:	jammy

Wren AI Information

  • Version: 0.17.0
@piraka9011 piraka9011 added the bug Something isn't working label Mar 24, 2025
@wwwy3y3
Copy link
Member

wwwy3y3 commented Mar 25, 2025

Hi @piraka9011 thanks for reaching out! We'll check that out.

Could you share you docker-compose file with us ?

@piraka9011
Copy link
Author

Could you share you docker-compose file with us ?

@wwwy3y3 The docker-compose file is the same one in the repo. The only change I made was to the .env file by setting the OPENAI_API_KEY

https://github.com/Canner/WrenAI/blob/0.17.0/docker/docker-compose.yaml

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants