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

Installer fails on raspberry pi 4 #49

Closed
surak opened this issue Oct 2, 2019 · 4 comments
Closed

Installer fails on raspberry pi 4 #49

surak opened this issue Oct 2, 2019 · 4 comments
Labels
wontfix This will not be worked on

Comments

@surak
Copy link

surak commented Oct 2, 2019

curl -sL https://raw.githubusercontent.com/home-assistant/hassio-installer/master/hassio_install.sh | sudo bash -s -- -m raspberrypi4 -p /opt
[Warning] No NetworkManager support on host.
[Warning] No AppArmor support on host.
[Info] Install supervisor Docker container
[Info] Install supervisor startup scripts
bash: line 142: /opt/sbin/hassio-supervisor: No such file or directory
@ChrisHaPunkt
Copy link

ChrisHaPunkt commented Nov 1, 2019

The curl command on this line (142) tries to download to /opt/sbin/ on your raspian-filesystem, wich does not exist.
Try to let the -p and -s flag untouched and only provide the -d flag for data-mountpoint for correct raspian integration

@surak
Copy link
Author

surak commented Nov 7, 2019

Plus, the machine name is wrong on the installer. If -m is left alone, it suggests you armv7l (which will fail) - while the correct is raspberrypi4

@laurent-martin
Copy link

laurent-martin commented Nov 8, 2019

I had a problem using the installer because I specified -m armv7l because of a misunderstanding of the error message when no -m option is given:
see: https://community.home-assistant.io/t/145697
Error message was:

[ERROR] Please set machine for armv7l

I erroneously used -m armv7l instead of -m raspberrypi3
And that created a difficult to recover problem... (basically needed to cleanup all docker).
My suggestion if to make this request in the script:

DOCKER_REPO=homeassistant
curl -s https://hub.docker.com/v2/repositories/$DOCKER_REPO/?page_size=1000| jq -r '.results|.[]|.name'|sed -ne 's/-homeassistant$//p'|sort|tr \\n ,

This lists all currently supported architectures for homeassistant in hassio
Based on that:
1- check that image exists if user specifies -m
2- if no -m, propose the list after the error message

@stale
Copy link

stale bot commented Dec 8, 2019

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the wontfix This will not be worked on label Dec 8, 2019
@stale stale bot closed this as completed Dec 15, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

3 participants