Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
FredericBabon opened this issue Jan 6, 2025 · 1 comment
Labels
bug high high importance jira Create a Jira ticket for this issue medium medium importance

Comments

@FredericBabon
Copy link

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 !

@FredericBabon FredericBabon added bug needs triage Issue needs to be triaged labels Jan 6, 2025
@Sploder12
Copy link
Contributor

Hi @FredericBabon,
Thank you for the report and workaround! This bug appears to be from Multipass always using /d Y regardless of language.

@Sploder12 Sploder12 added high high importance medium medium importance jira Create a Jira ticket for this issue and removed needs triage Issue needs to be triaged labels Jan 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug high high importance jira Create a Jira ticket for this issue medium medium importance
Projects
None yet
Development

No branches or pull requests

2 participants