chrisV
(ChrisV)
August 19, 2022, 8:28am
1
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:
Home Assistant Operating System: Minimal Operating System optimized to power Home Assistant.
Home Assistant Container: Standalone container-based installation of Home Assistant Core (e.g. Docker).
Home Assistant Supervised: Manual installation of the Supervisor.
Home Assistant Core
thanks,
chrisV
HasQT
(Has)
August 19, 2022, 9:48am
2
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
HasQT
(Has)
August 19, 2022, 3:33pm
3
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
chrisV
(ChrisV)
August 19, 2022, 7:37pm
4
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
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
HasQT
(Has)
August 19, 2022, 11:51pm
5
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
chrisV
(ChrisV)
August 20, 2022, 8:18am
6
cool, thank you so much,
youâre very kind @HasQT
chrisV
1 Like