This repository has been archived by the owner on Nov 2, 2024. It is now read-only.
to upgrade HA LXC or not to upgrade, that’s the question #2341
LubomirH
started this conversation in
Show and tell
Replies: 2 comments 1 reply
-
(from https://github.com/tteck/Proxmox/blob/main/misc/copy-data/README.md)
Done |
Beta Was this translation helpful? Give feedback.
1 reply
-
Starting fresh can help avoid potential issues that may arise from the accumulation of configurations, dependencies, or changes over time. It allows for a clean slate, potentially improving system performance and reducing the risk of conflicts or errors. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
It began at the end of 2022 when I started with HA and decided to save the precious resources on my Proxmox server and choose to go the path of LXC with HA core and use your script to install it.
But in summer 2023 I found out that I was stuck on the HA 2023.7 version due to the Python 3.10 version.
As I am no expert in the field of linux, proxmox, LXC, python and or it's virtualization techniques, I strugled quite few days to collect the steps which need to be done
and eventually found an important piece of the puzzle to finally be able to achieve my goal to do an inplace upgrade of the Home Assistant Core LXC.
I am lucky to share the procedure I have used, but I am wondering if this could be a proper and future-proof way for anyone and what might be its benefits or disadvantages.
For me is the main benefit, that the LXC stays in place with the same ID, without extra effort to clone it.
I think the procedure could be part of ttecks update script or maybe this could be an extra upgrade script in his collection.
The HA LXC upgrade consists of 3 main steps:
Prerequisites
not sure if this is crucial, but I upgraded the whole Proxmox server,
first to the latest Proxmox version (7.4-17) on Debian 11 (bullseye)
and then did dist-upgrade the OS to Debian 12 (bookworm) and the last Proxmox version (8.1.3)
after this step the HA was left intact, still version 2023.7 on Python 3.10
after this step the HA was also left intact, still version 2023.7 on Python 3.10
the Python 3.11 was installed side by side to the 3.10 version
after this step the HA was running the version 2024.1.2 on Python 3.11
this step is pending, had no time to analyze the leftovers
thanks for any reply ;)
Lubomir
PS: thanks a lot for your Proxmox script library ;)
LXC HomeAssistant - Upgrade 1.OS.cmd.txt
LXC HomeAssistant - Upgrade 2.PYENV.cmd.txt
LXC HomeAssistant - Upgrade 3.venv+HA.cmd.txt
Beta Was this translation helpful? Give feedback.
All reactions