I have HA-Core 2023.1.7 running on my “old-PC”.
Now i want to move HA to a new PC.
For that i installed Debian11 and HA-Core, HACS, Cockpit and updated Python to 3.10.12.
HA is running now on the new System.
First question: Why does HA says, There is Python 3.9.2 even i just updated it to 3.10.12 ?
How can i fix this?
Second Question: Can i copy all the files like configruation.yaml, the folders and so on from old system to new system? Do i have take care of something special?
or
Third Question: are in the ha-backup also all integrations,frontends,automations included? Or do i have to reinstall them by hand?
Fourth Question: in HACS i can install Frontends, Automations but NOT Integrations!
When trying any Integration, the circle keeps on turning forever!
OK, i just upgraded to Debian12. It also update Python3 to 3.11.2. You need to re-create the venv with the new version.
what is venv and how do i recreate this?
When i try to start HA it shows me a error:
root@I3-Server:~# systemctl status home-assistant@homeassistant
● [email protected] - Home Assistant
Loaded: loaded (/etc/systemd/system/[email protected]; enabled; preset: enabled)
Active: activating (auto-restart) (Result: exit-code) since Wed 2023-08-30 13:55:02 CEST; 4s ago
Process: 1243 ExecStart=/usr/local/bin/hass -c /home/homeassistant/.homeassistant (code=exited, status=1/FAILURE)
Main PID: 1243 (code=exited, status=1/FAILURE)
CPU: 32ms
I checked the path of HA with wheris hass and put it into /etc/systemd/system/[email protected]:
HAOS is no option for me (not yet) because some other Software is running on that PC like Motion-Eye, Cockpit and some small tools.
BTW: the “Using a venv” describes exactly the way i did, so everything should be fine now.
After some Integrations-Update with HACS the new System is running well!
Everything is back there. Time to make a Disk-Backup…