I upgraded multipass version to 1.12.2, (of course by uninstalling 1.11.1) on my Windows 11. After the upgrade, the multipass was unable to start. I tried to uninstall 1.12.2 and then re-install 1.11.1; but the things couldn’t get back to good. I tried various things like disabling/rebooting/enabling/rebooting hyperV; marking my network connection as private and then re-installing but nothing helped. I then tried to run C:\Program Files\Multipass\bin\multipassd.exe as Administrator and it seems to have started. I could see all my old instances; stop/start them. But the workaround didn’t automate the multipass start on windows boot.
I managed to start multipass afterwards. I had previously set a non-default storage place for multipass instances. I changed it back to default. Opened power shell as administrator and ran:
PS> Stop-Service Multipass
PS> Remove-ItemProperty -Path “HKLM:System\CurrentControlSet\Control\Session Manager\Environment” -Name MULTIPASS_STORAGE
Then rebooted windows.
The multipass now seems to start properly. However, if I change the path back from default to custom:
PS> Stop-Service Multipass
PS> Set-ItemProperty -Path “HKLM:System\CurrentControlSet\Control\Session Manager\Environment” -Name MULTIPASS_STORAGE -Value “E:\Multipass”
It fails to start again.
So I rolled back the changes. Backed up old E:\Multipass and copied everything from C:\ProgramData\Multipass to E:\Multipass, changed path to custom storage. Then I copied my instances from backup to E:\Multipass\data\vault\instances. I also copied the files “E:\Multipass-backup\data\vault\multipassd-instance-image-records.json”, “E:\Multipass-backup\data\multipassd-vm-instances.json” and rebooted. multipass starts well but I can’t see my old instances:
multipass list
No instances found.
The file “E:\Multipass\data\multipassd-vm-instances.json” that I copied from backup looks empty again after multipass restart.
Now the problem is how to get my instances back and running in multipass.
The multipass upgrade is definitely not as simple as it should be :(.