Good morning, still lost in Rancher Land.. Have 3...
# rancher-desktop
r
Good morning, still lost in Rancher Land.. Have 3 WSL Linux instances running; However, when I try to start the Windows Rancher Desktop client I never see any GUI and the C:\Users\KH027556\AppData\Local\rancher-desktop\logs\background.log contains the follow message. I've tried changing the port to 6444 with zero help after updating the config and recycling all instances.
Copy code
2023-06-07T14:18:33.571Z: Stopping background process Win32 socket proxy.
2023-06-07T14:18:33.574Z: mainEvents settings-update: {"version":4,"kubernetes":{"version":"1.25.3","memoryInGB":6,"numberCPUs":2,"port":6443,"containerEngine":"containerd","checkForExistingKimBuilder":false,"enabled":true,"WSLIntegrations":{},"options":{"traefik":true,"flannel":true},"suppressSudo":false,"hostResolver":true,"experimental":{"socketVMNet":false}},"portForwarding":{"includeKubernetesServices":false},"images":{"showAll":true,"namespace":"<http://k8s.io|k8s.io>"},"telemetry":false,"updater":false,"debug":false,"pathManagementStrategy":"notset","diagnostics":{"showMuted":false,"mutedChecks":{}}}
2023-06-07T14:18:33.656Z: Stopping background process Win32 socket proxy.
2023-06-07T14:18:35.966Z: UnhandledRejectionWarning: Error: C:\Windows\system32\wsl.exe exited with code 1
    at ChildProcess.<anonymous> (C:\Users\KH027556\AppData\Local\Programs\Rancher Desktop\resources\app.asar\dist\app\background.js:1:7750)
    at ChildProcess.emit (node:events:390:28)
    at Process.ChildProcess._handle.onexit (node:internal/child_process:290:12) {
  stdout: '',
  code: 1,
  command: [
    'C:\\Windows\\system32\\wsl.exe',
    '--distribution',
    'wsl-vpnkit',
    '--exec',
    '/bin/wslpath',
    '-a',
    '-u',
    'C:\\Users\\KH027556\\AppData\\Local\\Programs\\Rancher Desktop\\resources\\resources\\linux\\bin\\docker-compose'
  ]
}
2023-06-07T14:18:36.446Z: Error starting up: Error: C:\Windows\system32\wsl.exe exited with code 1
    at ChildProcess.<anonymous> (C:\Users\KH027556\AppData\Local\Programs\Rancher Desktop\resources\app.asar\dist\app\background.js:1:7750)
    at ChildProcess.emit (node:events:390:28)
    at Process.ChildProcess._handle.onexit (node:internal/child_process:290:12) {
  stdout: '',
  code: 1,
  command: [
    'C:\\Windows\\system32\\wsl.exe',
    '--distribution',
    'wsl-vpnkit',
    '--exec',
    '/bin/wslpath',
    '-a',
    '-u',
    'C:\\Users\\KH027556\\AppData\\Local\\Programs\\Rancher Desktop\\resources\\resources\\linux\\bin\\docker-compose'
  ]
}
I even tried to execute: C:\Windows\system32\wsl.exe --distribution wsl-vpnkit --exec /bin/wslpath -a -u C:\Users\KH027556\AppData\Local\Programs\Rancher Desktop\resources\resources\linux\bin\docker-compose Directly from PS and get;
Copy code
PS C:\data\deployment_tools> C:\Windows\system32\wsl.exe --distribution wsl-vpnkit --exec /bin/wslpath -a -u C:\Users\KH027556\AppData\Local\Programs\Rancher Desktop\resources\resources\linux\bin\docker-compose
Usage:
    -a    force result to absolute path format
    -u    translate from a Windows path to a WSL path (default)
    -w    translate from a WSL path to a Windows path
    -m    translate from a WSL path to a Windows path, with '/' instead of '\'

EX: wslpath 'c:\users'
C:\Windows\system32\wsl.exe : /bin/wslpath: Invalid argument
At line:1 char:1
+ C:\Windows\system32\wsl.exe --distribution wsl-vpnkit --exec /bin/wsl ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (/bin/wslpath: Invalid argument:String) [], RemoteException
    + FullyQualifiedErrorId : NativeCommandError
Any and all help greatly appreciated.
256 Views