Home Assistant Core -- From Python 3.11.2 to Python 3.12.x #2458
Replies: 5 comments 4 replies
-
Expected Python Versions:
|
Beta Was this translation helpful? Give feedback.
-
The script works, all settings is imported well, but database is corrupted and homeassistant create a new one. All my historical data gone. So I remain with old lxc for now. |
Beta Was this translation helpful? Give feedback.
-
Update: the procedure is ok. Remind only to shutdown source LXC before use posted script otherwise homeassistant db will be corrupted. |
Beta Was this translation helpful? Give feedback.
-
In addition to the MAC address, make sure to copy over pertinent setting. I had set up my original home assistant on a different bridge and forgot to do so in the new version. If you're also running Node-red, you may have to restart it. Mine was getting connection errors after the switch. Restarting the service fixed it. |
Beta Was this translation helpful? Give feedback.
-
The above mentioned workaround doesnt work for me. I shut down the old home assistant lxc. |
Beta Was this translation helpful? Give feedback.
-
Begin by creating a new Home Assistant Core LXC.
Next, to transfer your data to the new LXC, execute the following command within the Proxmox shell:
bash -c "$(wget -qLO - https://github.com/tteck/Proxmox/raw/main/misc/copy-data/home-assistant-core-copy-data-home-assistant-core.sh)"
(From: https://github.com/tteck/Proxmox/blob/main/misc/copy-data/README.md)
If you wish to retain the same CTID, follow these additional steps:
Beta Was this translation helpful? Give feedback.
All reactions