Updating Home Assistant Core to 2022

If I follow these exact directions:

Home assistant gives me version 2021.12.10.
If I list available versions, I do not see any version beyond 2021.12.10.
I cannot see how I can get 2022 installed.
Is it the python version? Is there something else I need to do to get an updated package list?

NOTE: using something like this:

pip3 install homeassistant==2022.2.6

Does not work as it returns homeassistant 2022.2.6 (or .5, or .4 or anything beyond 2021.12.10) does not exist.

System Health

version: core-2021.12.10
installation_type: Home Assistant Core
dev: false
hassio: false
docker: false
user: homeassistant
virtualenv: true
python_version: 3.8.10
os_name: Linux
os_version: 5.4.0-99-generic
arch: x86_64
timezone: America/Los_Angeles

GitHub API: ok
Github API Calls Remaining: 4988
Installed Version: 1.22.0
Stage: running
Available Repositories: 978
Downloaded Repositories: 74
logged_in: false
can_reach_cert_server: ok
can_reach_cloud_auth: ok
can_reach_cloud: ok
dashboards: 3
resources: 38
views: 11
mode: storage
api_endpoint_reachable: ok

You are right, it is about python version check here: homeassistant · PyPI

It says python 3.9 is required.

Well I shall try. I am having a difficult time getting a virtual environment to use python3.9 which is installed. I cannot use 3.9 with Linux Mint unless I likely do a complete OS install. It seems to require 3.8 for now.

I wish someone had complete instructions for this.
Just running the venv with python 3.9 does not do it.

So confusing.

I am guessing it is something like this after I installed 3.9:

cd /srv
mv homeassistant homeassistant_old
mkdir homeassistant
chown homeassistant:homeassistant homeassistant
sudo -u homeassistant -H -s
cd /srv/homeassistant
python3.9 -m venv .
source bin/activate
pip install --upgrade pip
python3.9 -m pip install homeassistant
pip install home-assistant-frontend

In other words. I have to make sure I have python3.9 running in the virtual environment and then install homeassistant.

I like the lack or response to this.

I own a software company … and a reseller and an integration company.

It is really simple for me to see.
The developer’s expect that everyone is an expert and would understand.
Once you reach the realization that you need to click something and have it work, you will reach success.

Until then, you don’t have anything.

Fair call-out, on the other hands, devs are not checking anything on here, it is the community. Second, using core installation is an advanced option as you are agreeing to take care of all other dependencies, so it is agreed at the beginning :slight_smile:

1 Like

And as of this morning, 2022 is running. The issue was on multiple fronts. The process is:

  1. Install python 3.9 BUT leave python 3.8 for the OS
  2. Use the procedure above to reinstall homeassistant using python 3.9 through its venv

First mistake I made was trying to make python 3.9 as the default python. This breaks Linux Mint.
After recovering from that, the simple update would always use the OS default which is 3.8.
homeassistant must be reinstalled after creating a 3.9 venv.

Which means?

I know people calling themselves experts, but they don’t know their own name, walk backwards and don’t know the difference between left and right…:thinking:

True. I also know the same people.

I am lost here, not able to follow you both @aceindy @kbrown01

@anon63427907 Because it is off topic…
I was just wondering what

had to do with the problem at hand….

1 Like

Exactly correct or maybe not. It is the difference between a commercial organization and not. A play toy or a product. A marketable solution. Sorry you do not understand or do (and still sorry you do not get it). Perhaps to make you feel better I will just delete my comment. The last two LGPL products I handled went through much similar things. Those are gone now (sold).

You keep going with your happiness. It serves you well though.

1 Like