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

Cannot use terminal after last update 2023.12.281947-latest #8000

Closed
izecy opened this issue Jan 17, 2024 · 9 comments
Closed

Cannot use terminal after last update 2023.12.281947-latest #8000

izecy opened this issue Jan 17, 2024 · 9 comments
Labels
bug Something isn't working

Comments

@izecy
Copy link

izecy commented Jan 17, 2024

Describe the bug
Cannot use terminal, stuck in Connecting ... state. Cannot execute to pod.

image
image

To Reproduce
Steps to reproduce the behavior:

  1. Go to File - Preferences - Terminal
  2. Default value is powershell.exe

image

  1. Try change to full path C:\Windows\System32\WindowsPowerShell\v1.0/powershell.exe
  2. Still not work

Expected behavior
Terminal work normally.

Screenshots
If applicable, add screenshots to help explain your problem.

Environment (please complete the following information):

  • Lens Version: 2023.12.281947-latest
  • OS: [e.g. OSX] Windows 10 Enterprise 22H2 19045.3803
  • Installation method (e.g. snap or AppImage in Linux): Windows installer
@izecy izecy added the bug Something isn't working label Jan 17, 2024
@MatGal01
Copy link

I have the same problem.

@rauny-henrique
Copy link

I have the same problem too.

@dhorner71
Copy link

dhorner71 commented Jan 19, 2024

i have the same problem.

Lens Version: 2024.1.170738-latest
Chrome: 114.0.5735.289
OS: windows 10 enterprise 19044.3803

lens.log entry:
error: [SHELL-SESSION]: failed to open a local shell Failed to get directory containing kubectl: Error: Failed to symlink bundled kubectl {"stack":"Error: Failed to get directory containing kubectl: Error: Failed to symlink bundled kubectl\n at C:\Program Files\Lens\resources\app.asar\node_modules\@lensapp\core-main\dist\index.js:4085:15"}

based on other similar issues, i deleted everything under:
C:\Users<uid>\AppData\Roaming\Lens\binaries\kubectl
and restarted lens. the bundled folder did reappear but with no content.

@alexcherka
Copy link

alexcherka commented Jan 19, 2024

Lens Version: 2023.12.281947-latest
Chrome: 114.0.5735.289
OS: Microsoft Windows 10 Pro 10.0.19045 Build 19045

I had the exact same issue for Windows. I was able to resolve by closing Lens application, deleting the C:\Users<USER>\AppData\Roaming\Lens\binaries\kubectl folder and then relaunching Lens as Admin.

Hope this helps someone else!


Looks like the final result of the binaries should be a folder called bundled with a app shortcut to C:\Users<USER>\AppData\Local\Programs\Lens\resources\x64 where the kubectl exe resides

@MatGal01
Copy link

Thanks alexcherka .. working good!!

@maximveksler
Copy link

Same for me on Mac. Not good, very bad.

@msa0311
Copy link
Contributor

msa0311 commented Jan 25, 2024

Thanks for reporting, a fix for this will be release soon.

@msa0311
Copy link
Contributor

msa0311 commented Jan 31, 2024

Fixed with latest release: https://github.com/lensapp/lens/releases/tag/v2024.1.300751-latest

Please let us know if the issue persists!

@msa0311 msa0311 closed this as completed Jan 31, 2024
@nowakmax
Copy link

nowakmax commented Feb 5, 2024

Issue still persist. Lens Setup 2024.1.300751-latest version. Cant connect with pod terminal. Same error.
image

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

8 participants