Instalation HA on andoid box with Armbian

Hi

I installed my HA system on an android box with armbian, everything works fine until i restart the box.

After restarting the box I can no longer access the HA, but I can access the box with putty.

For everything to work again, I have to delete docker, HA and re-install everything again, but as soon as I remove the power, I am again without access by brower.

Can anyone help me try to find the problem?

Best Regards

Which install method are you using - I’m hoping you’re using Home Assistant Container - no Supervisor or add-ons?

Hi

I followed this manual

https://www.youtube.com/watch?v=oxzl1GGvU6g


Instalando pacotes necessários

# apt install apt-transport-https ca-certificates curl gnupg2 software-properties-common apparmor-utils avahi-daemon dbus jq network-manager socat ffmpeg

Adicionando o repositório do docker

# curl -fsSL https://download.docker.com/linux/debian/gpg | apt-key add -
# apt-key fingerprint 0EBFCD88
# add-apt-repository "deb https://download.docker.com/linux/debian $(lsb_release -cs) stable"

Atualizando o repositório

# apt update

Instalando o docker

# apt install docker-ce

Instalando o Home Assistant

# curl -fsSL get.docker.com | sh
# mkdir /root/homeassistant
# docker run --init -d --name="home-assistant" -e "TZ=America/Sao_Paulo" -v /root/homeassistant:/config --net=host homeassistant/home-assistant:stable

Agora acesse seu edenreço ip na porta 8123 ex: “http://seu ip:8123”

Container, that’s good.

I’d recommend using a Compose file, but I’d guess that you don’t have Docker starting on boot. Try

sudo systemctl enable docker

I’try it and return this, but don´t work:

root@armhassio:~# sudo systemctl enable docker
Synchronizing state of docker.service with SysV service script with /lib/systemd/systemd-sysv-install.
Executing: /lib/systemd/systemd-sysv-install enable docker

I think the problem is in some service that is not on startup, but I have no experience with linux and I don’t know how to solve this problem

If you have no Linux experience then you’ll need to gain some to keep using this install method.

I’d suggest the Armbian forum as a good place to get help with Docker not starting on boot. A quick search found a few threads that may be relevant, but they’re better able to help you.

1 Like

Only now I saw that this version was the Contairner and not the Supervised and what I wanted was the Supervised version

I finally got a clean install of Armbian.

What is the best procedure to install HA OS or Supervised

I believe for supervised version you require to run the latest debian. Else it wont run correctly nor you will get any support for it.

1 Like

Supervised is only supported on Debian - and right now only on the Bullseye release.

It’s also only for people who’re Linux and Docker experts.

Instead, buy some hardware capable of running Home Assistant OS (aka HAOS).

1 Like

Hi

I have HA work fine an Pi4, and all work fine, but because sd problems, I try upgrade to this TVbox for solve this…

Don’t is possivel put the same system on this box, and work like HA on Pi4?

Not unless you can get Debian running on it, following the requirements for Supervised. If you have to ask the answer is no.

Hi

I have this version installed in the box
Sem Título

I’ll go reinstall all for new HA acess, but after restart my problem return…
Where I can find if my system have home assistant on the boot?

You need to ensure that Docker starts on boot, and that your container is configured to start on boot.

Have you done either of those?

Hi

I don’t know what I ended up doing but now I’m not able to install the home assistant due to problems with Docker

root@armhassio:~# docker run --init -d --name=“home-assistant” -e “TZ=America/Sao_Paulo” -v /root/homeassistant:/config --net=host homeassistant/home-assistant:stable
docker: Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?.
See ‘docker run --help’.

Is it possible to re-install the image I have on the usb pen in this box, and make a clean instalation?

systemctl enable docker.service