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

Failed to install add-on #15

Closed
seansassen opened this issue Nov 14, 2021 · 8 comments
Closed

Failed to install add-on #15

seansassen opened this issue Nov 14, 2021 · 8 comments

Comments

@seansassen
Copy link

seansassen commented Nov 14, 2021

Hi there,

Getting the following error when trying to install the add-on, any guidance would be appreciated.

Thanks.

_**Failed to install add-on**

The command '/bin/ash -o pipefail -c pip3 install --no-cache-dir paho-mqtt~=1.5.0 attrs requests~=2.24.0 icecream' returned a non-zero code: 1_
@seansassen
Copy link
Author

@kellerza any idea?

PS. Also from RSA :)

@kellerza
Copy link
Owner

Hey @seansassen sorry was a bit preoccupied mountain biking over your mountains this weekend.

The error does not say much, but likely just connectivity/DNS related. Do you have a static IP on your hass os? Do you use adguard/pihole etc?

@seansassen
Copy link
Author

No problem, that's obviously a more important hobby.

I do have a static ip, and I did have adguard installed - just tried to deactivate it, but still got the same error.

@kellerza
Copy link
Owner

Can you check the "supervisors" logs and see if you get any more information? What version of the supervisor are you running? "stable channel"?

In this chat someone had a similar problem, but was DNS related. That might also be a good place to check

@seansassen
Copy link
Author

seansassen commented Nov 16, 2021

21-11-16 20:10:29 ERROR (SyncWorker_2) [supervisor.docker.addon] Can't build 6a2c1c7a/armv7-addon-sma-em:2021.9.2: The command '/bin/ash -o pipefail -c pip3 install --no-cache-dir paho-mqtt~=1.5.0 attrs requests~=2.24.0 icecream' returned a non-zero code: 1
21-11-16 20:10:29 ERROR (SyncWorker_2) [supervisor.docker.addon] Build log: 
Step 1/14 : ARG BUILD_FROM
Step 2/14 : FROM ${BUILD_FROM}
 ---> 1c9cf6b54197
Step 3/14 : RUN pip3 install --no-cache-dir paho-mqtt~=1.5.0 attrs requests~=2.24.0 icecream
 ---> Running in 6bdb55034b7b
Fatal Python error: init_interp_main: can't initialize time
Python runtime state: core initialized
PermissionError: 
[Errno 1] Operation not permitted
Current thread 0xb6f47390 (most recent call first):
<no Python frame>

Removing intermediate container 6bdb55034b7b

@seansassen
Copy link
Author

Running supervisor-2021.10.8, but will look into the other chat and see if anything I can find.

Thanks for all your help.

@kellerza
Copy link
Owner

From the community there is also this - https://community.home-assistant.io/t/2021-7-a-new-entity-trigger-ids-and-script-debugging/320556/50?u=kellerza - expand the "Replies" on this topic

@seansassen
Copy link
Author

All resolved, thanks for your help @kellerza

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

2 participants