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

WSL and CLI issue #356

Open
tnTano opened this issue Nov 7, 2022 · 3 comments
Open

WSL and CLI issue #356

tnTano opened this issue Nov 7, 2022 · 3 comments
Labels
bug Something isn't working

Comments

@tnTano
Copy link

tnTano commented Nov 7, 2022

Describe the bug
when i try to run leapp session list command in WSL cli i receive the error:
Leapp app must be running to use this CLI. You can download it here: https://www.leapp.cloud/releases
the Leapp app is up and running on windows

Leapp Version
@noovolari/leapp-cli/0.1.25 wsl-x64 node-v18.12.0

To Reproduce
Steps to reproduce the behavior:

  1. open WSL cli
  2. run "leapp session list"
  3. See error

Expected behavior
list of session configured in the app

Screenshots
image

Desktop (please complete the following information):

  • OS: Windows - Ubuntu
  • OS Version: 22H2 19045.2193 - 20.04.5 LTS
  • Leapp Version 0.16.0 core 0.1.126
@tnTano tnTano added the bug Something isn't working label Nov 7, 2022
@urz9999
Copy link
Contributor

urz9999 commented Nov 8, 2022

We'll check and reach you as soon as possible. The app and the CLI talk via RPC calls, but it seems that they are unable to do so if you start the CLI in WSL.

@andreacavagna01
Copy link
Contributor

The problem can be correlated to this issue: microsoft/WSL#5718

I think one of the hacks you can try to use is this;

sudo chown -R my_username /root

Because it's seems like the CLI of Leapp is failing in communicating with the Desktop App

@mtb-xt
Copy link

mtb-xt commented Apr 19, 2024

This still doesn't work, the 'hack' doesn't help.
My WSL distro is running fine, it's only leapp-cli that can't find it's app.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants