-
Star
(108)
You must be signed in to star a gist -
Fork
(22)
You must be signed in to fork a gist
-
-
Save frenck/32b4f74919ca6b95b30c66f85976ec58 to your computer and use it in GitHub Desktop.
Unbuntu is no longer support by the Home Assistant project. | |
The installation commands previous listed here, are not up 2 date, not recommended, not supported and, therefore, removed. |
Can you provide some instructions/installation method on this?
I have QNAP TS-253Be and trying hard to not use VM.
thank you in advance.
Hi @mercenaruss
Unfortunately I abandoned the installation via docker or LXC because of many complications. I am currently using it on a linux VM in Virtualization Station on Ubuntu 18.04, and with a core and 1 GB of RAM it is more than enough.
any news on this failure ?
OCI runtime create failed: container_linux.go:346: starting container process caused "process_linux.go:449: container init caused "write sysctl key kernel.domainname: open /proc/sys/kernel/domainname: permission denied"": unknown")#033[0m
I'm trying this script on Debian 10 and got to the end then when I run this command:-
curl -sL "https://raw.githubusercontent.com/home-assistant/hassio-installer/master/hassio_install.sh" | bash -s
I get this:-
bash line 1: 404:: command not found
Has the github location changed as hassio is now called Home Assistant?
Thanks
Just looking around and I think it might have changed to this link now??
curl -sL "https://raw.githubusercontent.com/home-assistant/supervised-installer/master/installer.sh" | bash -s
I'll try it and let you know how I get on.
Yep, I can confirm the link has changed and is working. Please use this one in the future:-
curl -sL "https://raw.githubusercontent.com/home-assistant/supervised-installer/master/installer.sh" | bash -s
I am using OMV(openmediavault) where already docker and portainer is installed on.
Now I wanted to install hassio in my docker.
After doing the following commands:
sudo -i
sudo apt-get install apt-transport-https ca-certificates curl gnupg-agent software-properties-common
apt-get install apparmor-utils avahi-daemon dbus jq network-manager socat
curl -sL https://raw.githubusercontent.com/home-assistant/supervised-installer/master/installer.sh | bash -s -- -m raspberrypi3
i cannot reach my OMV and portainer installation.
Anyone idea what broke my installation?
Yep, I can confirm the link has changed and is working. Please use this one in the future:-
curl -sL "https://raw.githubusercontent.com/home-assistant/supervised-installer/master/installer.sh" | bash -s
Worked several days ago. Today it doesn't work.
Is there any update on this issue?
Yep, I can confirm the link has changed and is working. Please use this one in the future:-
curl -sL "https://raw.githubusercontent.com/home-assistant/supervised-installer/master/installer.sh" | bash -sWorked several days ago. Today it doesn't work.
Is there any update on this issue? I am having the same problem. Thanks
Get this one locally and go on with it: https://gist.githubusercontent.com/frenck/28ead2ef4ed2b3d3d3aa9b4084e66484/raw/9acf6d699ba0a24788c254d9ef9ff16548e630f3/hassio-install.sh
I encountered the same error (bash: line 1: 404:: command not found) while running the command curl -sL "https://raw.githubusercontent.com/home-assistant/hassio-installer/master/hassio_install.sh" | bash -s
Using the command from the official website did the trick :
docker run --init -d --name="home-assistant" -e "TZ=America/New_York" -v /PATH_TO_YOUR_CONFIG:/config --net=host homeassistant/home-assistant:stable
I encountered the same error (bash: line 1: 404:: command not found) while running the command
curl -sL "https://raw.githubusercontent.com/home-assistant/hassio-installer/master/hassio_install.sh" | bash -s
Using the command from the official website did the trick :
docker run --init -d --name="home-assistant" -e "TZ=America/New_York" -v /PATH_TO_YOUR_CONFIG:/config --net=host homeassistant/home-assistant:stable
This was for Home Assistant and not HASSIO.
The command for HASSIO docker installation is curl -sL "https://raw.githubusercontent.com/home-assistant/supervised-installer/master/installer.sh" | bash -s
The link has changed.
Actually, as I saw, theres no relation between this script and debian/ubuntu based distros. It's work for any non-obscure distro.
When trying to run this curl -sL "https://raw.githubusercontent.com/home-assistant/supervised-installer/master/installer.sh" | bash -s
I get this msg:
[Warning] This installer is no longer supported.
[Warning]
[Warning] Home Assistant might work today, tomorrow maybe not.
[Warning]
[Warning] If you want more control over your own system, run
[Warning] Home Assistant as a VM or run Home Assistant Core
[Warning] via a Docker container.
[Warning]
Please typ "not supported" to continue this installation
bash: rad 17: syntaxfel nära den oväntade symbolen ”then”
Sorry for the last row, its in swedish.
Im runing docker in OVM. curl -sL "https://raw.githubusercontent.com/home-assistant/supervised-installer/master/installer.sh" | bash -s this worked before, but now it doesn´t.
/jerry
When trying to run this curl -sL "https://raw.githubusercontent.com/home-assistant/supervised-installer/master/installer.sh" | bash -s
I get this msg:
[Warning] This installer is no longer supported.
[Warning]
[Warning] Home Assistant might work today, tomorrow maybe not.
[Warning]
[Warning] If you want more control over your own system, run
[Warning] Home Assistant as a VM or run Home Assistant Core
[Warning] via a Docker container.
[Warning]
Please typ "not supported" to continue this installation
bash: rad 17: syntaxfel nära den oväntade symbolen ”then”Sorry for the last row, its in swedish.
Im runing docker in OVM. curl -sL "https://raw.githubusercontent.com/home-assistant/supervised-installer/master/installer.sh" | bash -s this worked before, but now it doesn´t.
/jerry
I have the very same issue when installing hassio on Ubuntu 18.0.4 running on a Oracle VM machine.....
Is there any fix for this or is just not longer supported?
Is there any fix for this or is just not longer supported?
You can use this script instead: https://raw.githubusercontent.com/uherting/supervised-installer/master/installer.sh
I forked the repository yesterday and changed the installer.sh file only. It is literally the same without the annoying error and the question.
This looks like it was great - but unfortunately as of 26th May 2020 - it would appear that the support from this has been removed. To save hunting for it - for anyone wondering why and what to do about it, see this forum post: https://www.home-assistant.io/blog/2020/05/26/installation-methods-and-community-guides-wiki/ with some apparent back-history for bedtime reading: https://www.home-assistant.io/blog/2020/05/09/deprecating-home-assistant-supervised-on-generic-linux/
I need some help... while i started hassio supervisor by using command journalctl -f -u hassio-supervisor i've got following errors:
May 28 12:08:00 ubuntu-xenial-armhf-1 systemd[1]: Started Hass.io supervisor.
May 28 12:08:01 ubuntu-xenial-armhf-1 hassio-supervisor[27046]: time="2020-05-28T12:08:01Z" level=error msg="error waiting for container: context canceled"
May 28 12:08:01 ubuntu-xenial-armhf-1 hassio-supervisor[27046]: Error response from daemon: OCI runtime create failed: container with id exists: e2ebd34e2380cd96b534215e90d6b4c0040139abaa05eade7c2642dfd7c53c8f: unknown
May 28 12:08:02 ubuntu-xenial-armhf-1 hassio-supervisor[27046]: hassio_supervisor
May 28 12:08:05 ubuntu-xenial-armhf-1 hassio-supervisor[27046]: docker: Error response from daemon: cgroups: cannot find cgroup mount destination: unknown.
May 28 12:08:05 ubuntu-xenial-armhf-1 hassio-supervisor[27046]: time="2020-05-28T12:08:05Z" level=error msg="error waiting for container: context canceled"
May 28 12:08:05 ubuntu-xenial-armhf-1 systemd[1]: hassio-supervisor.service: Main process exited, code=exited, status=125/n/a
May 28 12:08:05 ubuntu-xenial-armhf-1 docker[27205]: hassio_supervisor
May 28 12:08:05 ubuntu-xenial-armhf-1 systemd[1]: hassio-supervisor.service: Unit entered failed state.
May 28 12:08:05 ubuntu-xenial-armhf-1 systemd[1]: hassio-supervisor.service: Failed with result 'exit-code'.
May 28 12:08:11 ubuntu-xenial-armhf-1 systemd[1]: hassio-supervisor.service: Service hold-off time over, scheduling restart.
May 28 12:08:11 ubuntu-xenial-armhf-1 systemd[1]: Stopped Hass.io supervisor.
May 28 12:08:11 ubuntu-xenial-armhf-1 systemd[1]: Starting Hass.io supervisor...
May 28 12:08:11 ubuntu-xenial-armhf-1 docker[27214]: hassio_supervisor
bash: line 1: 404:: command not found
Please help
Any updates to this? trying to install hassio on ubuntu 18.04
bash: line 1: 404:: command not found
Please help
I'm having the same issue.
Hi guys. Line 8 can be replaced with:
curl -Lo installer.sh https://raw.githubusercontent.com/home-assistant/supervised-installer/master/installer.sh
bash installer.sh
This should not be used anymore.
I'm therefore removing the content of this gist.
Why has this been broken? I removed my containers and re-ran the script only to be surprised by 404 errors. I'm running the newer installer.sh and it's ALMOST working ....except that homeassistant frontend won't install it seems. Very sad if this isn't supported anymore.. This was working great on my Fedora 31 system (docker) with a few tweaks to the script (minimal detection of apparmor and dbus).
@gr33k lol this has been long gone.... Here are the officially supported ways to install HomeAssistant:
Thank you @snipes040 - I am trying the Supervised version here and the same results - it installs after commenting out dbus and apparmor (Fedora 31..got it working like this in hassio_installer.sh) as expected. However, I still don't have homeassistant installed/running...am I missing something? I don't see any errors and the output shows:
[info] Home Assistant supervised is now installed
[info] First setup will take some time, when it's ready you can reach it here:
[info] http://192.168.10.144:8123
I'm not sure why it's not attempting to install it. Supervisor is setup and working properly as far as I can tell...I can remove the containers and it appears to rebuild/start them. This is great! but no HA ? puzzled here :(
Note: I am using -d to tell it where my previous installation was located at - not sure if that's relevant perhaps:
sudo ./installer.sh -d /data/Containers/hassio
Script as I am using it is almost like original besides the two commented out lines:
https://paste.thec0de.com/?f3fcd70c26f617c9#4YFwnSdVSSkQcqCSkM1U237S6i3hrnctjSZfxUs8St9D
Sadly nobody has an answer to a script that was working fine before the creator decided to pull the original code.
Could you please put back the old code the way it was - post that it's NOT supported, and make old and new users happy? I hate it when code is pulled folks. There's no need to kill old code that works great for people :(
@gr33k I guess you meant to say:
"I don't now how to look into revision history in GitHub"
Or
"Where can I find information about installing a Home Assistant Supervised system?"
So revisions can be found here:
However, as I stated in the current contents, that is outdated, doesn't work and isn't supported either.
The installer Home Assistant Supervised installer can be found here: https://github.com/home-assistant/supervised-installer
There's no need to kill old code that works great for people :(
I didn't. Your own knowledge of GitHub is the thing lacking here. And honestly, if you don't know how this stuff here on GitHub works already, I would strongly recommend NOT to use the Supervised based installation method. It is expected someone to have an independent and sufficiently of level technical knowledge (which considering your answer is not the case).
@frenck the script itself gets 404 because the links no longer are valid. It would have been nice if they didn't 404 - but if you're saying they wouldn't work anymore anyway....ok fair enough.
I'd love to have a currently supported script that works I suppose - I did use that link you and snipes040 provided. Everything installs except for Home Assistant itself. Any idea why it wouldn't install the container? I've removed the old one and nothing is listening on 8123 of course. How can I debug this? No errors are displayed and I'm not sure what part of the script is particularly failing...I thought supervisor was supposed to create it?
Thank you
@gr33k I linked the source repository containing the installer script: https://github.com/home-assistant/supervised-installer. Which is actively maintained.
If you need support on setting up an instance, I highly recommend joining the Home Assistant Discord server: https://www.home-assistant.io/join-chat. Please, be sure to have a supported setup, one that matches the requirements listed in the supervised-installer
repository.
Can you provide some instructions/installation method on this?
I have QNAP TS-253Be and trying hard to not use VM.
thank you in advance.