Installing Home Assistant Supervised using Debian 12

You mean the cli* command to supress that “unhealty”-message?

Note 4.3 at the instructions:

4.3) Once logged in you can now execute the following command;

ha jobs options --ignore-conditions healthy

*cli = Command Line Interface

Need a bit help here,
So after an outage my sonoff usb dongle wont get detected

FileNotFoundError: [Errno 2] No such file or directory: '/dev/serial/by-id/usb-ITead_Sonoff_Zigbee_3.0_USB_Dongle_Plus_28bcffbd2f86ec11b67f5b1719c2d21c-if00-port0

As per instruction here

I need to install docker-compose first, however upon installing, it says

The following packages will be REMOVED:
containerd.io docker-ce docker-ce-cli docker-ce-rootless-extras
homeassistant-supervised

From my previous experience doing this, it wiped out my entire HA installation.
So how do i fix this ?
Also more importantly how do I permanently attach the zigbee usb to the container so that It’ll retain it even after reboots?

So something strange just happened,
My supervised HA was using different ip with the debian host, (because the old installation was from another machine)
So one of my cams went off and i checked the POE switch, and I accidentally reboot the modem.
Then somehow my supervised HA changes its ip to match the debian host, and
then the zigbee suddenly connected again!
Can anyone explain why?

Just a quick question; This affects existing running docker containers right?
Are they all deleted, or just stopped?
Maybe it is just easier to do a whole docker install and skip the whole supervisor?

Edit: already managed by moving my VMware machine from old W10 to new Debian, so still running my dockers as well as HAos Supervised :grin:
Nevertheless, Still would like to know the answer :thinking:

Hello,
I followed the instructions but I get error messages and I can’t install addon or restore since the system is unhealthy.
I am attaching two photos for more info, and also how to store all the containers under a single container under portainers?


This thread might help you (amongst many others in the forum discussing the “System is unhealthy” problem). Additionally Frenck’s comment on Github will shed some enlightement on the latter.

Anyone experimented with docker-in-docker??
https://hub.docker.com/_/docker

Hi
I have a supervised in debian installed with the help of this guide.
I am trying to update from 2022.11.0b00 to 2022.11.1 but it fails silently,
Os is updated

dvbit@homeassistant:~$ sudo apt-get update
[sudo] password for dvbit: 
Hit:1 http://security.debian.org/debian-security bullseye-security InRelease
Hit:2 http://deb.debian.org/debian bullseye InRelease       
Hit:3 http://deb.debian.org/debian bullseye-updates InRelease
Hit:4 https://download.docker.com/linux/debian bullseye InRelease
Reading package lists... Done
dvbit@homeassistant:~$ sudo apt-get upgrade
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
dvbit@homeassistant:~$ 

this is the result of ha resolution info is

dvbit@homeassistant:~$ ha resolution info
checks:
- enabled: true
  slug: free_space
- enabled: true
  slug: addon_pwned
- enabled: true
  slug: dns_server
- enabled: true
  slug: supervisor_trust
- enabled: true
  slug: dns_server_ipv6
- enabled: true
  slug: backups
- enabled: true
  slug: network_interface_ipv4
- enabled: true
  slug: core_security
issues: []
suggestions: []
unhealthy: []
unsupported:
- job_conditions

the system details are:

dvbit@homeassistant:~$ ha core info
arch: amd64
audio_input: null
audio_output: null
boot: true
image: ghcr.io/home-assistant/qemux86-64-homeassistant
ip_address: 172.30.32.1
machine: qemux86-64
port: 8123
ssl: false
update_available: true
version: 2022.11.0b0
version_latest: 2022.11.1
watchdog: true
dvbit@homeassistant:~$ 
dvbit@homeassistant:~$ ha supervisor info
addons:
- icon: true
  name: Home Assistant Google Drive Backup
  repository: cebe7a76
  slug: cebe7a76_hassio_google_drive_backup
  state: started
  update_available: false
  version: 0.108.4
  version_latest: 0.108.4
- icon: true
  name: AppDaemon
  repository: a0d7b954
  slug: a0d7b954_appdaemon
  state: started
  update_available: false
  version: 0.10.0
  version_latest: 0.10.0
- icon: true
  name: ESPHome
  repository: 5c53de3b
  slug: 5c53de3b_esphome
  state: started
  update_available: false
  version: 2022.10.2
  version_latest: 2022.10.2
- icon: true
  name: SSH & Web Terminal
  repository: a0d7b954
  slug: a0d7b954_ssh
  state: started
  update_available: false
  version: 12.1.2
  version_latest: 12.1.2
- icon: true
  name: Studio Code Server
  repository: a0d7b954
  slug: a0d7b954_vscode
  state: started
  update_available: false
  version: 5.4.0
  version_latest: 5.4.0
addons_repositories:
- name: Local add-ons
  slug: local
- name: Hass.IO Repository for snowzach
  slug: d5f40609
- name: Hass.io Addons by mKeRix
  slug: 6e66619d
- name: Hass.io Add-ons by petersendev
  slug: fec04c7c
- name: Hass.io Add-ons by petersendev
  slug: 79aa6cf0
- name: Home Assistant addons by Arne Gellhaus
  slug: c7744bff
- name: Frigate hass.io addons
  slug: ccab4aaf
- name: Hass.IO dianlight add-on repository
  slug: 1a32f091
- name: Moshe's HA Addons
  slug: f82d1e81
- name: Home Assistant add-on repository by Iesus
  slug: 224ec5dd
- name: Home Assistant addons by bertbaron
  slug: 5f3a9361
- name: Double Take Hass.io Add-ons
  slug: c7657554
- name: Home Assistant Google Drive Backup Repository
  slug: cebe7a76
- name: Asterisk Add-on
  slug: b35499aa
- name: 'Hass.io Addon: CORAL TPU Rest API'
  slug: d44241f3
- name: otmonitor Hass.io Add-on
  slug: a7902f0f
- name: AlexxIT addons repository
  slug: a889bffc
- name: The silly home add-on repository
  slug: "89141162"
- name: Helto4Real Hass.io Add-ons
  slug: 1e72b768
- name: Home Assistant Emoncms Repository
  slug: 24b9df28
- name: SDeSalve add-ons for Hassio
  slug: 89275b70
- name: Official add-ons
  slug: core
- name: ESPHome
  slug: 5c53de3b
- name: Poeschl Home Assistant Add-ons
  slug: 243ffc37
- name: Home Assistant Community Add-ons
  slug: a0d7b954
arch: amd64
auto_update: true
channel: stable
debug: false
debug_block: false
diagnostics: true
healthy: true
ip_address: 172.30.32.2
logging: info
supported: false
timezone: Europe/Rome
update_available: false
version: 2022.10.2
version_latest: 2022.10.2
wait_boot: 5

Any clue on what could be happening / how to extract a log of the update / make it verbose?

*** Edit ***: Solved
The issue was lack of space on /var in the linux vm.
Unfortunately there was no message at all on HA side

All this ubuntu things are new to me.
Now im trying to do all with this guide.

Im passing all things and get HA opened. But in home assistant there is warning:

Unsupported system - CGroup version

System is unsupported because the wrong version of Docker CGroup is in use. Use the link to learn the correct version and how to fix this.

There is learn more button, it leads to re-install these things. So it leads for nothing.

Im doing this to Orangepi 3 lts with server debian.

Anyone can help me? im pure noob with all these “things”.

Thx and sorry my bad english.

I had the same, apparantly something has been updated on the Docker side, and the script installed Docker_CE v2.
However, HA demands Docker_CE v1, but HA works…

Hello,

Please !!! can someone help me ??

Trying to install HA i have an issue i cannot solve since many weeks…(I am new on debian and home assistant)

I have downloaded the file “os-agent_1.4.1_linux_arm64.tar.gz” on my home folder. Debian in installed on VM with CPU ARM64 (Freebox delta)

I tried this sentence below (being Super User) :
dpkg -i os-agent_1.4.1_linux_arm64.tar.gz

The result is :
error : ‘os-agent_1.4.1_linux_arm64.tar.gz’ is not a Debian format archive. dpkg-deb --control subprocess returned error exit status 2

Thanks in advance to help me

Best regards

Patrick

Why not import a ready-to-go HA image as VM?

Presumably on Linux in general.

Please read the introductory chapter for this installation method again. It states:

As Peter already suggested:

Anyway,

Where did you get the above from? Can’t find this one with the instructions :thinking:

Hint: Read Section 2.2 again. More closely :wink:

1 Like

Are you trying to say tar.gz don’t exist?
It’s not really clear what you mean.

Are you replying to me?

I asked where is it written within the instructions to install os-agent by initiating

?

Additionally: As super user?

Well the instructions say use dkpg… There is a mix of files…

The dpkg-command is Debian (and derivatives) specific and expects *.deb but not *.tar.gz

Which file to choose is clearly written with Section 2.2

There is a reason why I did not provide the exact command and file the poster has to choose here.

Simply copy/paste-ing what ppl. post without understanding what is done doesn’t help anyone. Especially when choosing an installatiion method which according to the HA team is considered to be for advanced users.

2 Likes

Thanks so much Tamsy to help me

as my VM is under processor ARM64 and not X86_64 , I thought to download the file “os-agent_1.4.1_linux_arm64.tar.gz” and not “os-agent_1.3.0_linux_x86_64.deb”. and replace in the command the xxx.deb with the xxx.tar.gz downloaded. And so I tried this command “dpkg -i os-agent_1.4.1_linux_arm64.tar.gz”

Anyway I will follow your advice and try to run “Home Assistant OS” on my machine

all the best

Patrick

hello Tamsy

Home assistant OS is for machine with processor X86-64 so I think it’s not ok with my VM using processor ARM64 ?!

Br

Patrick

Hi Patrick,

Try this image (generic-aarch64). It should work for your device although I can not guarantee on this because I have no experience with Home Assistant OS on ARM64/AArch64.

Maybe some other folks want to jump in here to confirm?