Which Installation category am I using? (old installation on RPI4)

Hi,
Many moons ago, I installed HA on a RaspberryPi4
Now I see in the documentation that there are 3 deployment methods.
How can I find out which one I have?
I googled, searched the docs, but I could find it. (some things seemed to contradict each other; probably me not understanding it)

Here is some info on my setup:
(my apologies of some items are not relevant)

$ cat /etc/os-release 
PRETTY_NAME="Raspbian GNU/Linux 10 (buster)"
NAME="Raspbian GNU/Linux"
VERSION_ID="10"
VERSION="10 (buster)"
VERSION_CODENAME=buster
ID=raspbian
ID_LIKE=debian
HOME_URL="http://www.raspbian.org/"
SUPPORT_URL="http://www.raspbian.org/RaspbianForums"
BUG_REPORT_URL="http://www.raspbian.org/RaspbianBugs"
$ docker ps --format '{{.Names}}'
addon_a0d7b954_nodered
addon_a0d7b954_esphome
addon_core_configurator
addon_a0d7b954_influxdb
addon_a0d7b954_grafana
addon_core_samba
addon_core_mariadb
hassio_multicast
hassio_audio
hassio_dns
hassio_cli
homeassistant
hassio_supervisor
hassio_observer
  • my HA is under /usr/share/hassio/homeassistant
  • I have HA → Settings → Add-ons → Add on store
  • I used to have a menu setting to “restart Core”, but after an upgrade it seems to have disappeared (or maybe it got moved I have not found it yet)
  • I run a crontab to make a backup every Monday
    0 3 * * 1 ha snapshots new --name "Cron-date |tr -d ‘[:blank:]’ | awk -F. '{print $1} ’"

Hopefully someone can give me some indicators on how to find out which deployment category I have:

  1. Home Assistant Operating System: Minimal Operating System optimized to power Home Assistant.
  2. Home Assistant Container: Standalone container-based installation of Home Assistant Core (e.g. Docker).
  3. Home Assistant Supervised: Manual installation of the Supervisor.
  4. Home Assistant Core

thanks,
chrisV

Supervisor isn’t in 2 or 4.
2 and 3 and the same except for supervisor.
2 and 4 are core, except 4 doesn’t use docker.

It looks you have 3, but it may have actually been 1 at the time.

1 no longer uses raspbian.
3 usually uses debian bullseye now.

1 Like

You should be able to upgrade buster to bullseye…

You will probably be able to search up a better guide. It goes along the lines of…

Update your source files.

sudo sed -i 's/buster/bullseye/' /etc/apt/sources.list

sudo sed -i 's/buster/bullseye/' /etc/apt/sources.list.d/*.list

sudo sed -i 's|bullseye/updates|bullseye-security|' /etc/apt/sources.list

sudo sed -i 's/buster/bullseye/' /etc/apt/apt.conf

sudo sed -i 's/bullseye/buster/' /etc/apt/sources.list.d/*mosquitto*.list

sudo apt update

sudo apt upgrade

sudo apt full-upgrade

sudo apt autopurge

make sure you have all dependencies

sudo apt-get install jq wget curl avahi-daemon udisks2 libglib2.0-bin network-manager dbus apparmor -y

check you arch with to match the next step.

uname -a or uname -i

Install OS agent

wget https://github.com/home-assistant/os-agent/releases/download/1.2.2/os-agent_1.2.2_linux_armv7.deb

sudo dpkg -i os-agent_1.2.2_linux_armv7.deb

I probably missed something.

1 Like

Thank you @HasQT

2 and 3 and the same except for supervisor.
2 and 4 are core, except 4 doesn’t use docker.
It looks you have 3, but it may have actually been 1 at the time.

OMGeee This IS rocket science :slight_smile:

To add to the confusion: I used to have a setting “Restart Core” (which was 4 in the above), but you ruled that out pretty quick…

Also thank you on the info on upgrading from Buster to Bullseye.
I will do some further reading on this, because as I know Linux… this is very tricky and I don’t want to mess up my OS. This runs on a harddisk, not on an SD card. So, a bit more complicated to back, maybe dd will do the trick. Anyhow… I will have to bite the bullet at some point in time.

thanks !
c-

1 Like

Restart core has moved

To

settings > system > top right
It is just called restart. It just restarts the core container.

Reboot and shutdown the host

settings > system > hardware > 3 bubbles in the top right

Oh and OS agent is 1.3.0 now

cool, thank you so much,
you’re very kind @HasQT
chrisV

1 Like