icanos / hassio-plejd

Hass.io add-on for Plejd home automation devices
Apache License 2.0
126 stars 36 forks source link

Installation of 0.8.0-beta failed #235

Closed olajakobson closed 2 years ago

olajakobson commented 2 years ago

When trying to install this plejd add-on on my HA running in a VirtualBox image, I get below error message:

"Failed to install add-on The command '/bin/bash -o pipefail -c apk add --no-cache --virtual .build-dependencies g++ gcc libc-dev linux-headers make python3 bluez eudev-dev && apk add --no-cache git nodejs npm dbus-dev glib-dev && npm config set unsafe-perm true' returned a non-zero code: 2"

I've tried using the "easy installation" as well as the "manual installation" steps - both resulting the same issue (see above).

Any ideas of what goes wrong here?

Thanks!

Wronek commented 2 years ago

I have also problem with instalation of this version.

MarqsN commented 2 years ago

I Have the same issue

olajakobson commented 2 years ago

Okay, glad I'm not alone.. Just hoping a developer looks into this problem then :)

nik-linds commented 2 years ago

Same issue here... :(

SweVictor commented 2 years ago

Anyone digged into this more?

When did it last work? What was updated to make it not work? What specific underlying component failed?

nik-linds commented 2 years ago

Trying to install the add-on for the first time, on Home Assistant 2022.3.8, OS 7.6. I've also tried to auto install through the add-on store, was going to try manual install but then noticed this thread...

richardsorensson commented 2 years ago

I can confirm this issue, my previous installation stopped working for me, i uninstalled and tried to reinstall with the same error.

Failed to install add-on The command '/bin/bash -o pipefail -c apk add --no-cache --virtual .build-dependencies g++ gcc libc-dev linux-headers make python3 bluez eudev-dev && apk add --no-cache git nodejs npm dbus-dev glib-dev && npm config set unsafe-perm true' returned a non-zero code: 2

I've got the latest version of home assistant running.

System Version: core-2022.3.8 Operating System Family: Linux Operating System Version: 5.10.108

Home Assistant Supervisor Host Operating System: Home Assistant OS 7.6

richardsorensson commented 2 years ago

Just committed a PR (https://github.com/icanos/hassio-plejd/pull/236) that seems to fix these build issues with the latest hassio version.

SweVictor commented 2 years ago

Those of you who had the issue - please chime in here or in the PR thread if the fix indeed solves the issue. If so, I'll accept the PR into the master branch.

mrab95 commented 2 years ago

I Have the same issue

SweVictor commented 2 years ago

@mrab95 Do try to install @richardsorensson PR branch using the manual install method and please report back if that solves the problem.

nik-linds commented 2 years ago

@SweVictor I have done the manual install and yes, it solved the issue for me and I'm up and running with the addon!

SweVictor commented 2 years ago

Thanks for reporting back. Closing this after mergin PR to master, will be released as 0.8.1

SweVictor commented 2 years ago

New version set to 0.9.0, normal install should work now

olajakobson commented 2 years ago

Hi again. Sorry for late reply. FYI - installation now successfully works for me as well (ver 0.9.1). Great work and thank you all!! :)