This message was deleted.
# rancher-desktop
a
This message was deleted.
g
@gentle-stone-75506 Can you update your WSL from administration mode. That will resolve your issue.
g
@gray-tomato-19653 I have the latest version installed. (Got this after running wsl --update "The most recent version of Windows Subsystem for Linux is already installed.")
g
Then try to uninstall rancher desktop and install it again
g
I've already done that many times. I believe this is my 5th time already, 2nd time today
Important to mention too, the computer is pretty new, got it from work a month ago
g
1. What is the version of rancher-desktop ? 2. Can you attach the screenshot when you run “WSL —update” command in your cmd in admin mode 3. And if you see any errors then attach those screenshots also here.
g
1. Rancher version is 1.12.3 2. I'm still new to Slack, couldn't attach it to this thread, it is attached on a new one below this thread 3. I attached the error I'm getting to the main thread. That's the only one I'm getting
g
I suggest you to go with older versions 1.10 or 1.11 as they are stable
g
Is 1.11.1 good?
g
Yaa
👍 1
g
@gray-tomato-19653 I'm still getting the exact same error on version 1.11.1
g
In cmd admin mode run these commands 1. WSL.exe —shutdown 2. WSL.exe —update my issue resolved by running these commands
g
Done it, (still getting "The most recent version of Windows Subsystem for Linux is already installed." btw) But it still does the same thing with the same error... It just seems like it doesn't create the rancher-dekstop-data on installation or startup...
@gray-tomato-19653 Any other suggestions maybe ?
a
I also would like to ask, whether this should be an issue at github? See also my slack post with a related behavior - https://rancher-users.slack.com/archives/C0200L1N1MM/p1709731576959239
g
@acceptable-soccer-28720 I actually didn't find anyone (including internet, friends or at my company) with the same behavior, it is kinda weird. For me switching to Docker Desktop worked super-smoothly, I fought this error for a week, and finally gave up. Docker Desktop took me 15 minutes to download and setup. I'd recommend this if you are unable to solve your problem :)
e
I'm having a very similar problem, where my WSL is updated and have tried wsl --shutdown'ing many times, but on any docker or rancher versions, I cannot get anything to launch. I don't know if this is related to this machine using an ARM processor, but I have installed relevant versions and cannot for the life of me get the wsl distro's to work
from the wsl.log file:
Copy code
2024-03-12T04:18:25.373Z: Running: wsl.exe --distribution rancher-desktop --exec /bin/busybox mkdir -p /etc/rancher
2024-03-12T04:18:25.381Z: Running: wsl.exe --distribution rancher-desktop --exec /bin/busybox mkdir -p /var/lib
2024-03-12T04:18:27.046Z: WSL: executing: /bin/busybox mkdir -p /var/lib: Error: wsl.exe exited with code 1

2024-03-12T04:18:27.047Z: Error registering data distribution: Error: wsl.exe exited with code 1

2024-03-12T04:18:27.047Z: Running: wsl.exe --unregister rancher-desktop-data
2024-03-12T04:18:27.135Z: WSL: executing: /bin/busybox mkdir -p /etc/rancher: Error: wsl.exe exited with code 1

2024-03-12T04:18:27.759Z: WSL failed to execute wsl.exe --unregister rancher-desktop-data: Error: wsl.exe exited with code 4294967295

2024-03-12T04:18:27.759Z: Error setting up data distribution: c [Error]: wsl.exe exited with code 4294967295
    at ChildProcess.<anonymous> (C:\Program Files\Rancher Desktop\resources\app.asar\dist\app\background.js:2:137486)
    at ChildProcess.emit (node:events:513:28)
    at Process.onexit (node:internal/child_process:291:12) {
  command: [ 'wsl.exe', '--unregister', 'rancher-desktop-data' ],
  code: 4294967295,
  [Symbol(child-process.command)]: 'wsl.exe --unregister rancher-desktop-data'
}
2024-03-12T04:18:27.776Z: Capturing output: wsl.exe --distribution rancher-desktop --exec /bin/sh -c [ -e /etc/os-release ] && . /etc/os-release ; echo ${VERSION_ID:-0.1}
2024-03-12T04:18:28.600Z: WSL: executing: /bin/sh -c [ -e /etc/os-release ] && . /etc/os-release ; echo ${VERSION_ID:-0.1}: Error: wsl.exe exited with code 1

2024-03-12T04:19:28.781Z: Running: wsl.exe --distribution rancher-desktop --exec wsl-service --ifstarted openresty stop
2024-03-12T04:19:30.298Z: WSL: executing: wsl-service --ifstarted openresty stop: Error: wsl.exe exited with code 1

2024-03-12T04:22:10.850Z: Running: wsl.exe --distribution rancher-desktop --exec wsl-service --ifstarted openresty stop
2024-03-12T04:22:13.084Z: WSL: executing: wsl-service --ifstarted openresty stop: Error: wsl.exe exited with code 1
a
For me it works with RD 1.11.1, but not with 1.12.x