Home Assistant VM / guest agent not running after restart

Tried to post this on r/proxmox reddit, but since the api changes it’s shut down.

I have HA running in a Vm on my proxmox setup. Every night i do a backup witch stops the VM for the backup and the restarts it. Once every 2 to 3 weeks, The VM restarts but without the guest agent running, so i have no IP to connect to HA. Is i want to restart from within the GUI the problem persists.

In the shell i need to do the following, to get the guest agent running again:

qm unlock 103

qm stop 103

qm start 103

Any idea how to solve this?

Do you see any errors in the host’s output of systemctl status qemu-guest-agent?