appwrite / appwrite/docker-influxdb

influxdb container failing on host with arm64 CPU architecture

Open
#13 0 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
Shell
Stars
26
Forks
5
PR merge metrics
No merged PRs in 30d

Description

### ๐Ÿ‘Ÿ 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?

- [X] I checked and didn't find similar issue

### ๐Ÿข Have you read the Code of Conduct?

- [X] I have read the [Code of Conduct](https://github.com/appwrite/appwrite/blob/HEAD/CODE_OF_CONDUCT.md)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.