Skip to content

Multipass service does not start properly on Windows (Installed in French language!) #3866

@FredericBabon

Description

@FredericBabon

Describe the bug
After Multipass setup, after first restart, if I try any command I get the error "cannot connect to the multipass socket" and if I check the status of the "Multipass service" it's turned off.

(Please see below Additional context for my own investigation about that issue and a way to circumvent it !)

To Reproduce
How, and what happened?

  1. Install Multipass on Windows (OS installed in French language!)
  2. Restart as expected by the setup process
  3. multipass info

Expected behavior
What did you expect to happen?

Multipass commands should run correctly after setup and first reboot (even when the OS is installed in French)

Logs
Please provide logs from the daemon, see accessing logs on where to find them on your platform.

[powershell.exe] [8556] started: powershell.exe takeown /a /r /d Y /f "C:\ProgramData\Multipass"

[chown] [8556] PowerShell finished abnormally: Process returned exit code: 1

[chown] [21032] stderr: Erreur�: Syntaxe incorrecte. La valeur ��Y�� n'est pas autoris�e pour l'option ��/d��.
Entrez "TAKEOWN /?" pour afficher la syntaxe.

Additional info

  • OS: Windows 11 pro (installed in French)
  • multipass version 1.15.0+win
  • multipass info
  • multipass get local.driver hyperv

Additional context
Add any other context about the problem here.

When I tried to execute "takeown /?" I've found that in French the "/d" option expects "O" or "N" values (instead of "Y" or "N" in english)
So I executed the command myself : takeown /a /r /d O /f "C:\ProgramData\Multipass"
It ran successfully and after I was able to start the Multipass service without issues ! And of course after that I got no errors when trying some multipass commands !

Metadata

Metadata

Assignees

Labels

bughighHigh priority. Combine with "medium" to signal intermediate medium-high priority.jiraCreate a Jira ticket for this issuemediumMedium priority. Combine with "low" or "high" to signal intermediate priority.

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions