Open GogoFC opened 2 years ago
Thanks @GogoFC for this extensive history!
Installing beta version 1.9.0 works, after win update, who knows maybe the update reset some things, did not try 1.8 after win update.
The update is likely what kicked it back to life. The error you saw when trying to run manually was Windows refusing Multipass the right to listen on the network socket.
The uninstaller doesn't directly deal with Hyper-V VMs, it asks the daemon to remove them - so if the daemon wasn't running, they were left over.
The original issue is that something in your user-data ended up with the VM not booting (you could troubleshoot in the Hyper-V console) and then Multipass got in a bad state for not being able to reach it.
The D:/
path is from the build machine, it just gets recorded in the binary for use in messages.
I kind of took a break from Windows and now came back to it, I haven't used multipass on windows at all but now it's broken all of a sudden, same error can't find daemon on the port number,
I tried to reinstall again doesn't work.
And after a month I even forgot everything :)
Same issue with Multipass 1.9.2+win and Windows 11, I'm using Virtual Box 6.1.34
PS C:\Users\my-user> multipass list
list failed: cannot connect to the multipass socket
Please ensure multipassd is running and 'localhost:50051' is accessible
@townsend2010 I find these ones:
# these appears repeatedly
Info: [hopeful-drongo] Got VMState: running
# Errors:
[primary] Could not unregister VM: 0%...10%...20%...
Progress state: VBOX_E_FILE_ERROR
VBoxManage.exe: error: Machine delete failed
VBoxManage.exe: error: Could not delete the medium storage unit 'C:\ProgramData\Multipass\data\virtualbox\vault\instances\primary\ubuntu-20.04-server-cloudimg-amd64.vdi'.
VBoxManage.exe: error: VD: error VERR_PATH_NOT_FOUND opening image file 'C:\ProgramData\Multipass\data\virtualbox\vault\instances\primary\ubuntu-20.04-server-cloudimg-amd64.vdi' (VERR_PATH_NOT_FOUND)
VBoxManage.exe: error: Details: code VBOX_E_FILE_ERROR (0x80bb0004), component MediumWrap, interface IMedium
VBoxManage.exe: error: Context: "enum RTEXITCODE __cdecl handleUnregisterVM(struct HandlerArg *)" at line 162 of file VBoxManageMisc.cpp
---
[sociable-lioness] Could not unregister VM: VBoxManage.exe: error: Could not find a registered machine named 'sociable-lioness'
VBoxManage.exe: error: Details: code VBOX_E_OBJECT_NOT_FOUND (0x80bb0001), component VirtualBoxWrap, interface IVirtualBox, callee IUnknown
VBoxManage.exe: error: Context: "FindMachine(Bstr(VMName).raw(), machine.asOutParam())" at line 150 of file VBoxManageMisc.cpp
---
# when run multipass start
[2022-06-16T11:56:02.581] [error] [primary] Could not unregister VM: VBoxManage.exe: error: Could not find a registered machine named 'primary'
VBoxManage.exe: error: Details: code VBOX_E_OBJECT_NOT_FOUND (0x80bb0001), component VirtualBoxWrap, interface IVirtualBox, callee IUnknown
VBoxManage.exe: error: Context: "FindMachine(Bstr(VMName).raw(), machine.asOutParam())" at line 150 of file VBoxManageMisc.cpp
launch failed: Could not create VM: VBoxManage.exe: error: Machine settings file 'C:\WINDOWS\system32\config\systemprofile\VirtualBox VMs\Multipass\primary\primary.vbox' already exists
VBoxManage.exe: error: Details: code VBOX_E_FILE_ERROR (0x80bb0004), component MachineWrap, interface IMachine, callee IUnknown
VBoxManage.exe: error: Context: "CreateMachine(bstrSettingsFile.raw(), bstrName.raw(), ComSafeArrayAsInParam(groups), bstrOsTypeId.raw(), createFlags.raw(), machine.asOutParam())" at line 280 of file VBoxManageMisc.cpp
# after remove C:\WINDOWS\system32\config\systemprofile\VirtualBox VMs\Multipass\primary\primary.vbox
[2022-06-16T12:00:37.573] [error] [primary] Could not unregister VM: VBoxManage.exe: error: Cannot unregister the machine 'primary' while it is locked
VBoxManage.exe: error: Details: code VBOX_E_INVALID_OBJECT_STATE (0x80bb0007), component MachineWrap, interface IMachine, callee IUnknown
VBoxManage.exe: error: Context: "Unregister(CleanupMode_DetachAllReturnHardDisksOnly, ComSafeArrayAsOutParam(aMedia))" at line 154 of file VBoxManageMisc.cpp
launch failed: Could not start VM: Waiting for VM "primary" to power on...
VBoxManage.exe: error: UUID {6bd719f9-bcde-472b-88b1-2f7377316d02} of the medium 'C:\ProgramData\Multipass\data\virtualbox\vault\instances\primary\ubuntu-20.04-server-cloudimg-amd64.vdi' does not match the value {523830b1-37f8-4a73-bd38-bb26e17aafcf} stored in the media registry ('C:\WINDOWS\system32\config\systemprofile\.VirtualBox\VirtualBox.xml')
VBoxManage.exe: error: Details: code E_FAIL (0x80004005), component MediumWrap, interface IMedium
$ multipass shell hopeful-drongo
shell failed: ssh connection failed: 'Timeout connecting to 127.0.0.1'
$ multipass list
Name State IPv4 Image
appeasing-stoat Running N/A Ubuntu 20.04 LTS
destined-kodiak Deleted -- Not Available
hopeful-drongo Running N/A Ubuntu 20.04 LTS
I also tried to install it again, same thing, daemon not found. I gave up on Windows anyway, here's my logs.
Same issue with Multipass 1.9.2+win and Windows 11, I'm using Virtual Box 6.1.34
PS C:\Users\my-user> multipass list list failed: cannot connect to the multipass socket Please ensure multipassd is running and 'localhost:50051' is accessible
I also getting same issue in windows 11 home with oracle virtual box 6.1 - multipass version 10.1
Any fix for the issue
PS C:\Users\HP> multipass info --all
info failed: cannot connect to the multipass socket
Please ensure multipassd is running and 'localhost:50051' is accessible
Hi. same issue here. Any hints to solve this problem? Or workaround?
PS C:\Users\david> multipass --version multipass 1.10.1+win multipassd 1.10.1+win
Same issue, pop_os 22.04 LTS
Guys, i had same trouble.
But I don't know what helped me from this Before change no_proxy: After:
I installed multipass for the ubuntu,the installation process tell me sometging wrong,but i don't screenshot。And i reinstall the software to solve the solution,but it still not work .
Hi Guys,
I had the same issue where i can't even open multipass from
Any fix please?
I got the same issue: Logs attached: logs.zip
I can't even uninstall Multipass without errors:
I've tried @nlelyavin workaround and started multipassd.exe manually and it got up and running. By comparing similar installation on Windows 11 I can see that the "Multipass Service" is not present (Have no idea about the reason)
But as a workaround we can create the windows service manually and add the "no_proxy" environment variable in the registry:
sc.exe create Multipass binPath=""C:\Program Files\Multipass\bin\multipassd.exe" /svc --verbosity debug" start= auto
Set-ItemProperty -Path "Registry::HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Multipass" -Name "Description" -Value "Provides a service to create and manage virtual machines"
Set-ItemProperty -Path "Registry::HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Multipass" -Name "DisplayName" -Value "Multipass Service"
$newMultiStringValue = @('no_proxy="localhost,127.0.0.1"')
Set-ItemProperty -Path "Registry::HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Multipass" -Name "Test" -Value $newMultiStringValue -Type MultiString
Same problem here
Please resolve this issue as soon as possible, as it is causing significant disruption.
Windows 11 v1.8.1
Error:
So this is what I did:
%programfiles%
and%appdata%
, there was some caches left over in Program Files, user appdata local and roaming. Still error persists after reinstall.Multipass GUI now runs twice, daemon doesn't start, GUI says failure to retrieve instances.
The Screenshot below shows the running VM named 'sad' even after reinstall of Multipass.
And this is how I broke the VM.