This message was deleted.
# rancher-desktop
a
This message was deleted.
r
Hi, Does the UI come up? If yes, Can you please share full logs? You can get to the logs folder via
Troubleshooting > Show logs
Looking at the error message, you problem seems to be similar/same as the one reported here - https://github.com/rancher-sandbox/rancher-desktop/issues/2738.. Can you please try this workaround suggested on the issue thread and see if it helps?
p
Copy code
2023-01-18T00:59:41.070Z: mainEvents settings-update: {"version":4,"kubernetes":{"version":"1.24.4","memoryInGB":24,"numberCPUs":8,"port":6443,"containerEngine":"moby","checkForExistingKimBuilder":false,"enabled":true,"WSLIntegrations":{},"options":{"traefik":false,"flannel":true},"suppressSudo":false,"hostResolver":true,"experimental":{"socketVMNet":false}},"portForwarding":{"includeKubernetesServices":true},"images":{"showAll":true,"namespace":"<http://k8s.io|k8s.io>"},"telemetry":false,"updater":true,"debug":true,"pathManagementStrategy":"rcfiles","containerEngine":{"imageAllowList":{"enabled":false,"locked":false,"patterns":[]}},"diagnostics":{"showMuted":false,"mutedChecks":{}}}
2023-01-18T00:59:41.210Z: openMain() webRoot: app://.
2023-01-18T00:59:41.289Z: createWindow() name: main  url: app://./index.html
2023-01-18T00:59:42.008Z: Checking if credential helper osxkeychain is working...
2023-01-18T00:59:42.016Z: Credential helper "docker-credential-osxkeychain" is not functional: Error: spawn docker-credential-osxkeychain EACCES
2023-01-18T00:59:43.601Z: ipcMain: "k8s-state" triggered with arguments: 
2023-01-18T00:59:44.218Z: ipcMain: "settings-read" triggered with arguments: 
2023-01-18T00:59:44.218Z: ipcMain: "settings-read" triggered with arguments: 
2023-01-18T00:59:44.218Z: event settings-read in main: {"version":4,"kubernetes":{"version":"1.24.4","memoryInGB":24,"numberCPUs":8,"port":6443,"containerEngine":"moby","checkForExistingKimBuilder":false,"enabled":true,"WSLIntegrations":{},"options":{"traefik":false,"flannel":true},"suppressSudo":false,"hostResolver":true,"experimental":{"socketVMNet":false}},"portForwarding":{"includeKubernetesServices":true},"images":{"showAll":true,"namespace":"<http://k8s.io|k8s.io>"},"telemetry":false,"updater":true,"debug":true,"pathManagementStrategy":"rcfiles","containerEngine":{"imageAllowList":{"enabled":false,"locked":false,"patterns":[]}},"diagnostics":{"showMuted":false,"mutedChecks":{}}}
2023-01-18T00:59:44.219Z: ipcMain: "get-app-version" triggered with arguments: 
2023-01-18T01:00:08.090Z: Kubernetes was unable to start: Error: spawn /Applications/Rancher <http://Desktop.app/Contents/Resources/resources/darwin/lima/bin/limactl|Desktop.app/Contents/Resources/resources/darwin/lima/bin/limactl> EACCES
    at Process.ChildProcess._handle.onexit (node:internal/child_process:282:19)
    at onErrorNT (node:internal/child_process:477:16)
    at processTicksAndRejections (node:internal/process/task_queues:83:21) {
  errno: -13,
  code: 'EACCES',
  syscall: 'spawn /Applications/Rancher <http://Desktop.app/Contents/Resources/resources/darwin/lima/bin/limactl|Desktop.app/Contents/Resources/resources/darwin/lima/bin/limactl>',
  path: '/Applications/Rancher <http://Desktop.app/Contents/Resources/resources/darwin/lima/bin/limactl|Desktop.app/Contents/Resources/resources/darwin/lima/bin/limactl>',
  spawnargs: [
    '--debug',
    'shell',
    '--workdir=.',
    '0',
    'sudo',
    'rm',
    '-f',
    '/tmp/rd-nginx.conf-Jo5AdT.nginx.conf'
  ]
}
2023-01-18T01:00:09.099Z: openDialog() id:  KubernetesError
2023-01-18T01:00:09.285Z: createWindow() name: KubernetesError  url: app://./index.html#KubernetesError
2023-01-18T01:00:10.216Z: ipcMain: "k8s-state" triggered with arguments: 
2023-01-18T01:00:10.410Z: ipcMain: "get-app-version" triggered with arguments: 
2023-01-18T01:36:30.804Z: openMain() webRoot: app://.
2023-01-18T01:36:32.615Z: ipcMain: "show-logs" triggered with arguments:
i am trying not to down grade to 1.2
r
Does the other workaround mentioned on the issue thread related to changing or removing the setting
PermitRootLogin no
in the file
/etc/ssh/sshd_config
help? https://github.com/rancher-sandbox/rancher-desktop/issues/2738#issuecomment-1221090656
p
i do not have PermitRootLogin no in /etc/ssh/sshd_config
mine was
Copy code
PermitRootLogin prohibit-password
r
Do you mind trying commenting out that line and then performing
Factory Reset
on Rancher Desktop to see if it helps?
p
sure, trying now
commenting it out and factory reset rancher desktop, got the exception
Copy code
Uncaught Exception:
Error: spawn /Applications/Rancher <http://Desktop.app/Contents/Resources/resources/darwin/bin/rdctl|Desktop.app/Contents/Resources/resources/darwin/bin/rdctl> EACCES
at Process.ChildProcess._handle.onexit (node:internal/child_process:282:19)
at onErrorNT (node:internal/child_process:477:16)
at processTicksAndRejections (node:internal/process/task_queues:83:21)
could not even do factory reset
what is this?
Copy code
Credential helper "docker-credential-osxkeychain" is not functional: Error: spawn docker-credential-osxkeychain EACCES
r
That's the credential helper to store the registry credentials.. In general, something (may be your corporate hardened environment) on your machine seem to be preventing you from running the components required for rancher desktop.
329 Views