I am getting the message “You are running an unsupported installation” on the Supervisor-Assistant tab. I am pretty sure it is because I am not running the latest OS - Debian 11 (Bullseye). My question is this - Is there any way to have the system update the OS, or must I start from scratch with a clean drive (I am running on an SSD, not an SD card).
If I must start with a clean install, what is the easiest way - step by step - to get my Hassio back exactly as it is, without major issues.
In a console as the unprivileged user (not root) :
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
Only if you previously have installed Debian’s MQTT broker (mosquitto) on the OS level (not as a HA Add-on):
sudo sed -i 's/bullseye/buster/' /etc/apt/sources.list.d/*mosquitto*.list
Continue with the OS upgrade:
sudo apt update
Only if you see the following error message after “sudo apt update”:
The value 'buster' is invalid for APT::Default-Release as such a release is not available in the sources
Run:
sudo sed -i 's/buster/bullseye/' /etc/apt/apt.conf
sudo apt update
Now visit the OS Agent page and then replace the version number with the latest available, into the commands below. (i.e. replace all references to 1.2.2 with the latest available release):
Thank you so much for such detailed instruction. However, the process seems to be stuck. I had just executed the command “sudo apt upgrade”. After quite a bit of time has passed it seems to stopped as seen in the pic here:
Francis, thanks again. Ok, I have completed down to the reboot. When I run the sudden apt --fix-broken install command I am getting a message that 459 packages were not upgraded. Is that ok and should I proceed, or do I need to go back?
Francis, I finished the entire set of steps you provided and it all worked out well. My OS now shows Debian 11. However, my system still showed that I am running an unsupported installation. I noticed that my core was not the latest, so I upgraded it from Home Assistant supervisor tab.
Now my HA is not accessible from the web GUI.
I am not sure what is the cause. I think everything I run is standard except that I run MariaDB. Do you have recommended next steps?
I need help. I have upgraded to Debian 11 per the above steps and all works well - except AppArmor. When I enter command aa-enabled I get “No - disabled at boot”. I have searched and tried everything I could find on the web and nothing has worked. Can someone help ? This is casing my Home Assistant to show as bein an unsupported install.