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

Install fails on RPi4 #6

Closed
longmover opened this issue Jul 28, 2022 · 7 comments
Closed

Install fails on RPi4 #6

longmover opened this issue Jul 28, 2022 · 7 comments

Comments

@longmover
Copy link

System:
Home Assistant 2022.7.7
Supervisor 2022.07.0
Operating System 8.4
Frontend 20220707.1 - latest

This message pops up after a few seconds when attempting to install:
failed to create shim: OCI runtime create failed: runc create failed: unable to start container process: exec: "/bin/bash": stat /bin/bash: no such file or directory: unknown

Log:
Failed to to call /addons/d44241f3_coral-api/install - failed to create shim: OCI runtime create failed: runc create failed: unable to start container process: exec: "/bin/bash": stat /bin/bash: no such file or directory: unknown

@grinco
Copy link
Owner

grinco commented Aug 25, 2022

This might be related to the fact that I'm using x86 base image for this container: homeassistant/amd64-base-ubuntu:18.04

I'll need to think of a way to make this platform independent... Will try building it on one of my raspberries.

@Gfermoto
Copy link

Gfermoto commented Sep 2, 2022

d44241f3_coral-api - odroid n2+

@Levanterman
Copy link

Hi

I have home assistant running on a Rpi4-64, I added the repository ok , but when i try and install it i get an error :-( :

Failed to install add-on
The command '/bin/bash -o pipefail -c pip3 install --no-cache-dir -r requirements.txt' returned a non-zero code: 1

TPURest

@txprojects88
Copy link

Hi

I have home assistant running on a Rpi4-64, I added the repository ok , but when i try and install it i get an error :-( :

Failed to install add-on

The command '/bin/bash -o pipefail -c pip3 install --no-cache-dir -r requirements.txt' returned a non-zero code: 1

TPURest

Having same issue :(

@grinco
Copy link
Owner

grinco commented Feb 5, 2023

It probably has something to do with python 3.9 deprecation that has been announced in 2023.02. This addon uses an older version of
https://github.com/robmarkcole/coral-pi-rest-server/. I'll have a look if I can run the latest one - based on guidance here: robmarkcole/coral-pi-rest-server#66

I won't have time to look at it before Thursday however. So if anyone wants to have a look - please do.

grinco added a commit that referenced this issue Feb 6, 2023
Mitigating failed builds on 18.04 reported in #6
@grinco
Copy link
Owner

grinco commented Feb 6, 2023

Please try now. I was able to build it on my radxa rock 5b, looks like bumping the base image to Ubuntu 20.04 LTS solved it. I haven't done proper testing, though - did what I could from a cell phone while waiting at the gate.

@grinco
Copy link
Owner

grinco commented Feb 9, 2023

Confirmed working and bumped the release version up: 3644ce7

@grinco grinco closed this as completed Feb 9, 2023
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

5 participants