https://rancher.com/ logo
Title
b

bumpy-ocean-38261

03/13/2023, 9:26 PM
Hi, I have installed “Rancher Desktop” in my Macbook. I’m getting the below exception, Any suggestion,
Error Starting Kubernetes
Error: /Applications/Rancher <http://Desktop.app/Contents/Resources/resources/darwin/lima/bin/limactl|Desktop.app/Contents/Resources/resources/darwin/lima/bin/limactl> exited with code 1
Last command run:
/Applications/Rancher <http://Desktop.app/Contents/Resources/resources/darwin/lima/bin/limactl|Desktop.app/Contents/Resources/resources/darwin/lima/bin/limactl> start --tty=false /Users/jayachandran.nachimu/Library/Application Support/rancher-desktop/lima/_config/0.yaml

Context:
Starting virtual machine

Some recent logfile lines:
   'time="2023-03-13T15:54:42-04:00" level=fatal msg="instance name \\"0\\" too long: \\"/Users/jayachandran.nachimu/Library/Application Support/rancher-desktop/lima/0/ssh.sock.1234567890123456\\" must be less than UNIX_PATH_MAX=104 characters, but is 104"\n',
  code: 1,
  command: [
    '/Applications/Rancher <http://Desktop.app/Contents/Resources/resources/darwin/lima/bin/limactl|Desktop.app/Contents/Resources/resources/darwin/lima/bin/limactl>',
    'start',
    '--tty=false',
    '/Users/jayachandran.nachimu/Library/Application Support/rancher-desktop/lima/_config/0.yaml'
  ]
}
a

agreeable-oil-87482

03/14/2023, 8:16 AM
--> #rancher-desktop
b

bumpy-ocean-38261

03/14/2023, 1:34 PM
seems like error is Unix Path is too long. https://github.com/rancher-sandbox/rancher-desktop/issues/797 It’s working after the below changes.
$ mv ~/Library/Application\ Support/rancher-desktop/lima ~/.rdlima
$ ln -s ~/.rdlima ~/Library/Application\ Support/rancher-desktop/lima
Thanks @agreeable-oil-87482