Upgrade not working with Windows Qube

I tried to upgrade from Qubes 4.1 to 4.2. But I have a Windows Qube running and the script gave me an error in Step 1:

sudo qubes-dom0-update -y qubes-dist-upgrade

Updating all VMs worked but the script stops at step 1 after the Windows Qube:

2024-04-04 20:44:49,711 calling 'state.sls update.qubes-vm'...
2024-04-04 20:45:30,162 output: Win10:
2024-04-04 20:45:30,163 output:     ----------
2024-04-04 20:45:30,163 output:     _error:
2024-04-04 20:45:30,163 output:         Failed to return clean data
2024-04-04 20:45:30,163 output:     retcode:
2024-04-04 20:45:30,163 output:         1
2024-04-04 20:45:30,163 output:     stderr:
2024-04-04 20:45:30,163 output:         2024-04-04 20:45:29.458 qrexec-client-vm[667]: qrexec-agent-data.c:108:handle_handshake: Failed to read agent HELLO hdr
2024-04-04 20:45:30,163 output:     stdout:
2024-04-04 20:45:30,163 exit code: 20

and I also got this error:

WARNING: /!\ MAKE SURE YOU HAVE MADE A BACKUP OF ALL YOUR VMs AND dom0 DATA /!\
-> Launch upgrade process? [y/N] y
---> Allow shutdown of unnecessary VM (use --keep-running to exclude some): sys-firewall? [y/N] y
---> (STAGE 1) Do you want to make a dom0 snapshot? [y/N] y
  WARNING: Sum of all thin volume sizes (6.30 TiB) exceeds the size of thin pools and the size of whole volume group (<1.82 TiB).
  Logical volume "Qubes41UpgradeBackup" created.
--> If upgrade to 4.2 fails, you can restore your dom0 snapshot with sudo lvconvert --merge qubes_dom0/Qubes41UpgradeBackup. Reboot afte>
---> (STAGE 1) Updating dom0...
Using sys-whonix as UpdateVM to download updates for Dom0; this may take some time...
1 Like