How to Upgrade Home Assistant Ubuntu to 18.04.1 LTS
If you have recently logged into your Home Assistant terminal and have seen a message letting you know that there is a new release ‘18.04.1 LTS’ available and would like to upgrade, this blog post is for you. LTS stands for Long Term Support. Upgrading your Ubuntu OS to 18.04.1 LTS will give you support for the next 5 years (until April 2023). Here is the process I went through to upgrade my Home Assistant Ubuntu base OS to 18.04.1 LTS.
For a little context, my Ubuntu runs on a laptop which runs Docker and then all of my Home Assistant containers. This upgrade will affect just the Ubuntu OS layer. Depending on your set up and the frequency of your updates, you might also catch some app updates such as Docker.
You can watch this video if you want to see the entire upgrade process or read below for the major steps.
From the shell (or terminal – locally), run the following command:
sudo apt update
sudo apt upgrade
At this point, I was using putty remotely (DOH!) and was disconnected. Thankfully, I just walked over to my laptop, typed in
and the process kicked back in right where it left off.. You’ll see the breaks in the video above.
The whole process took about 30 minutes but with very minimal interaction. A few keypresses here and there and presto blammo: Ubuntu 18.04.1 LTS