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

Error installing Epinio on Windows #7280

Open
mook-as opened this issue Jul 30, 2024 · 3 comments
Open

Error installing Epinio on Windows #7280

mook-as opened this issue Jul 30, 2024 · 3 comments
Assignees
Labels
area/rdx kind/bug Something isn't working qase Issue is related to manual test in Qase

Comments

@mook-as
Copy link
Contributor

mook-as commented Jul 30, 2024

Actual Behavior

When attempting to install Epinio, we end up with an error:

image

Steps to Reproduce

  1. Start Rancher Desktop
  2. Install the Epinio extension
  3. Install Epinio from the extension

Result

Error message pops up.

Expected Behavior

Epinio is installed

Additional Information

Probably relevant line in the logs:

2024-07-30T19:26:34.188Z: ipcMain: "extensions/spawn/blocking" handle called with: {"command":["epinio-http.bat"],"execId":"ddaa54ec9fa5f08fb3ed5bc39b2d7b30-host-20","scope":"host"}

I don't think spawning batch files have worked since one of the Electron updates. See 4e850ab

Rancher Desktop Version

1.15.0-rc1 88b962c

Rancher Desktop K8s Version

1.29.6

Which container engine are you using?

moby (docker cli)

What operating system are you using?

Windows

Operating System / Build Version

Windows 11 Pro 23H2 (Build 22631.3880)

What CPU architecture are you using?

x64

Linux only: what package format did you use to install Rancher Desktop?

None

Windows User Only

No response

@mook-as mook-as added kind/bug Something isn't working area/rdx qase Issue is related to manual test in Qase labels Jul 30, 2024
@krumware
Copy link

👋 Can a project maintainer please assign this to me?
related to: epinio/extension-docker-desktop#66

@krumware
Copy link

Hi @mook-as, some questions. Was the Epinio extension installed prior to updating to 1.15, or is this a fresh install.
Also, what was the installation method you used (for the extension in general, not for the "Install/Upgrade" mentioned in this step)? rdctl or via UI?

Thanks!

@mook-as
Copy link
Contributor Author

mook-as commented Aug 20, 2024

This was a fresh install, installing from the Rancher Desktop built-in available extensions list in the UI.

See 4e850ab as mentioned in the Additional Information section — during an Electron update, it's been changed so that we can't directly spawn *.bat / *.cmd file anymore. I believe a possible fix is on the Rancher Desktop side to unshift cmd.exe /c in front of the command line (so that it works around the security restriction).

Another option is for the Epinio extension to use an .exe file instead of a .bat.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/rdx kind/bug Something isn't working qase Issue is related to manual test in Qase
Projects
None yet
Development

No branches or pull requests

2 participants