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

Install and run problems #3863

Open
ZhuYin1990 opened this issue Dec 31, 2024 · 2 comments
Open

Install and run problems #3863

ZhuYin1990 opened this issue Dec 31, 2024 · 2 comments
Labels

Comments

@ZhuYin1990
Copy link

Describe the bug
Describe what your problem is.

To Reproduce

  1. Install Multipass on Windows11.
  2. Open Command Prompt or PowerShell with administrator privileges.
  3. Run multipass set local.passphrase.
  4. It prompts to authenticate with multipass authenticate.
  5. When I run multipass authenticate, it prompts to set the passphrase again.

Expected behavior
I expected to be able to set the passphrase and authenticate successfully without encountering a loop.

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

Additional info

  • OS: Windows11 professional or Windows10 professional

  • multipass version
    1.14.1 and 1.15.0

  • multipass info

  • multipass get local.driver

Additional context

image

@ZhuYin1990 ZhuYin1990 added bug needs triage Issue needs to be triaged labels Dec 31, 2024
@Sploder12
Copy link
Contributor

Hi @ZhuYin1990,
Could you try uninstalling and then reinstalling Multipass using the installer? This issue might be from a bad install. If the problem persists can you share your installations logs as well? This page has instructions on how to access your installation logs. Thanks!

@Sploder12 Sploder12 removed the needs triage Issue needs to be triaged label Jan 6, 2025
@sharder996
Copy link
Contributor

Hi @ZhuYin1990, not sure why this is happening. It might be because of some leftover files due to a previous installation of Multipass. You should be able to workaround this by executing the following command from an elevated Powershell instance. The command will copy the client certificate of your current user and add it to the cert store that the Multipass service uses. Then the Multipass service will restart in order to load the new certs.

Get-Content -Path $env:LOCALAPPDATA\multipass-client-certificate\multipass_cert.pem | Add-Content -Path $env:PROGRAMDATA\Multipass\data\authenticated-certs\multipass_client_certs.pem; Restart-Service -Name Multipass -Force

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants