hassio-addons/addon-influxdb

Exec format error qemuarm-64 #65

povlhp posted onGitHub

Problem/Motivation

InfluxDB will not start on hassocks.io built to qemuarm-64 target.

[17:00:42] INFO: Starting the Kapacitor
./run: line 33: /usr/bin/kapacitord: cannot execute binary file: Exec format error

Problem is capacitor is built as 32-bit app. kapacitor: ELF 32-bit LSB executable, ARM, EABI5 version 1 (SYSV), statically linked, not stripped

Expected behavior

That influxdb starts (all binaries built correct)

Actual behavior

Not starting

Steps to reproduce

Try to install and launch InfluxDB on qemuarm-64 target.

Proposed changes

Download page does NOT list arm64 target, only armhf (aka 32-bit). The downloaded version is the 32-bit version. From what I can see, some never aarch64 CPUs will not run 32-bit instructions. So hardware limitation. I will try to put pressure on influxdb.


:wave: Thanks for opening your first issue here! If you're reporting a :bug: bug, please make sure you include steps to reproduce it. Also, logs, error messages and information about your hardware might be useful.

posted by addons-assistant[bot] almost 5 years ago

Did some more research, trying to compile capacitor by hand, it uses Google go, which seems to also serve armhf when requesting arm64. So the troubles all traces back to google.

posted by povlhp almost 5 years ago

From what I can see, some never aarch64 CPUs will not run 32-bit instructions. So hardware limitation.

That is correct, the add-on installs the packages provided by Grafana, which works on most aarch64 devices. However, there is always a limitation if the CPU supports the 32 bits mode. For Home Assistant supported devices, that is no issue, with custom devices, you might end up with these types of things, which from an add-on perspective, can't be handled in all cases.

posted by frenck almost 5 years ago

This thread has been automatically locked because it has not had recent activity. Please open a new issue for related bugs and link to relevant comments in this thread.

posted by addons-assistant[bot] almost 5 years ago

Fund this Issue

$0.00
Funded

Pull requests