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

Fail to update addon #41

Open
creativetags opened this issue Mar 24, 2024 · 11 comments
Open

Fail to update addon #41

creativetags opened this issue Mar 24, 2024 · 11 comments

Comments

@creativetags
Copy link

IMG_4200

@denisgolius
Copy link
Contributor

denisgolius commented Mar 24, 2024

IMG_4200

Hey @creativetags , could you please share more information about the device which you are using for home-assistant?
For now it looks like https://github.com/fuslwusl/homeassistant-addon-victoriametrics don't support your device architecture. I would be great if you run uname -a from terminal on your device and share the output of this command.

@creativetags
Copy link
Author

It’s a raspberry pi 4

@denisgolius
Copy link
Contributor

It’s a raspberry pi 4

What OS you run on raspberry? There is some different behavior with uname -m output for example on debian or arch linux. Please share the output:

  • from uname -m
  • from uname -a
  • from lscpu

Thanks!

@creativetags
Copy link
Author

aarch64
Linux a0d7b954-ssh 6.1.73-haos-raspi #1 SMP PREEMPT Wed Mar 13 12:10:55 UTC 2024 aarch64 Linux

lscpu is not installed. It's the standard Home Assistant install from https://www.home-assistant.io/installation/raspberrypi The only non-standard thing is I've moved data to a USB memory stick via Settings > System > Storage > Three Dots Menu > Move datadisk

@creativetags
Copy link
Author

Still an issue with version 1.9.2

Error updating Victoria Metrics: The command '/bin/ash -o pipefail -c /bin/bash -c 'set -ex && ARCH=$(uname -m) && if [ "$ARCH" == "x86_64" ]; then wget https://github.com/VictoriaMetrics/VictoriaMetrics/releases/download/$VERSION/victoria-metrics-linux-amd64-$VERSION.tar.gz -qO- | tar xvz -C /; elif [[ "$ARCH" == "arm"* ]]; then wget https://github.com/VictoriaMetrics/VictoriaMetrics/releases/download/$VERSION/victoria-metrics-linux-arm-$VERSION.tar.gz -qO- | tar xvz -C /; elif [ "$ARCH" == "aarch64" ]; then wget https://github.com/VictoriaMetrics/VictoriaMetrics/releases/download/$VERSION/victoria-metrics-linux-arm64-$VERSION.tar.gz -qO- | tar xvz -C /; else echo "Unsupported architecture $ARCH"; return -1; fi'' returned a non-zero code: 1

@robvolgers
Copy link

same here

@denisgolius
Copy link
Contributor

Hey @creativetags @robvolgers , please share the output of uname -m and echo $SHELLfrom your devices.

@creativetags
Copy link
Author

aarch64
/bin/sh

@robvolgers
Copy link

robvolgers commented Sep 10, 2024

aarch64
/bin/zsh

@robvolgers
Copy link

Update: Home Assistant crashed shortly after. After a new clean install + recent backup I could update Victoria Metrics with no problem.

@denisgolius
Copy link
Contributor

denisgolius commented Sep 30, 2024

Hey @creativetags @robvolgers , could you please try to update to the latest version? I've just updated the VM version and pushed a new tag.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants