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

influxdb container failing on host with arm64 CPU architecture #13

Open
2 tasks done
christianmqm opened this issue Jan 12, 2024 · 0 comments
Open
2 tasks done
Labels
bug Something isn't working

Comments

@christianmqm
Copy link

👟 Reproduction steps

Run container on host with arm64 CPU (M1 Mac in my case).

👍 Expected behavior

Container should start.

👎 Actual Behavior

Container crashes with following output:

/entrypoint.sh: line 12: /usr/bin/influxd: cannot execute binary file: Exec format error
/entrypoint.sh: line 12: /usr/bin/influxd: No error information

The image shows the correct architecture:

podman image inspect docker.io/appwrite/influxdb:1.5.0 | jq '(.[0].Os) + "/" + (.[0].Architecture)'
"linux/arm64"

I started the container manually and tried to run influxd:

/ # influxd 
/usr/bin/influxd: line 1: syntax error: unexpected word (expecting ")")

🎲 Appwrite version

Different version (specify in environment)

💻 Operating system

MacOS

🧱 Your Environment

  • self hosted
  • MacOS Sonoma 14.2.1 on M1
  • docker via podman -> linux/arm64
  • appwrite-influxdb: 1.5.0

👀 Have you spent some time to check if this issue has been raised before?

  • I checked and didn't find similar issue

🏢 Have you read the Code of Conduct?

@christianmqm christianmqm added the bug Something isn't working label Jan 12, 2024
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

1 participant