https://rancher.com/ logo
#rancher-desktop
Title
# rancher-desktop
b

brainy-pencil-91477

11/14/2022, 2:49 PM
Rancher -Desktop on my Mac is now proper broken. I added a PV in Kubectl and the HostPath didn’t exist. I created it and still couldn’t delete the PV. I’d removed the PVClaim previously. This was the last thing I did and it appears to have broken Kube with Rancher-Desktop. I’ve tried to do “Reset Kubernetes” and a “Factory Reset”, but the “Reset Kubernetes” just gives
Copy code
2022-11-14T14:35:20.398Z: Lima: executing: sudo /sbin/rc-service --ifstarted buildkitd stop: 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 255
I’ve tried moving my .kube/config so it got recreated with clean, empty set.
Copy code
{
  "apiVersion": "v1",
  "clusters": [],
  "contexts": [],
  "current-context": null,
  "kind": "Config",
  "preferences": {},
  "users": []
}
I’ve also restarted my OS. The logs don’t appear to show much either. All the above was with v1.19.16 and I’ve tried the latest, stable version (v1.25.3) Rancher Version: 1.6.2 Any help appreciated.
Any advice on this, please? I’ve uninstalled and re-installed Rancher Desktop App It now takes 10 mins to start and eventually times out with :-
Copy code
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
…and any further attempts beyond that with the original error code :-
Copy code
<http://Desktop.app/Contents/Resources/resources/darwin/lima/bin/limactl|Desktop.app/Contents/Resources/resources/darwin/lima/bin/limactl> exited with code 255
Any pointers on this one, please?
p

proud-jewelry-46860

11/16/2022, 7:02 PM
Hmm, we could try manually deleting the VM to try to unwedge it. Quit Rancher Desktop, and run
LIMA_HOME="~/Library/Application Support/rancher-desktop/lima" "/Applications/Rancher <http://Desktop.app/Contents/Resources/resources/darwin/lima/bin/limactl|Desktop.app/Contents/Resources/resources/darwin/lima/bin/limactl>" delete -f 0
to try to get rid of it?
b

brainy-pencil-91477

11/17/2022, 8:39 AM
@proud-jewelry-46860 Thanks for the response - really appreciated. That
0
instance doesn’t exist. I don’t have ANY instances.
Copy code
$ LIMA_HOME="~/Library/Application Support/rancher-desktop/lima" "/Applications/Rancher <http://Desktop.app/Contents/Resources/resources/darwin/lima/bin/limactl|Desktop.app/Contents/Resources/resources/darwin/lima/bin/limactl>" delete -f 0
WARN[0000] Ignoring non-existent instance "0"

$ LIMA_HOME="~/Library/Application Support/rancher-desktop/lima" "/Applications/Rancher <http://Desktop.app/Contents/Resources/resources/darwin/lima/bin/limactl|Desktop.app/Contents/Resources/resources/darwin/lima/bin/limactl>" list
WARN[0000] No instance found. Run `limactl start` to create an instance.
NAME    STATUS    SSH    ARCH    CPUS    MEMORY    DISK    DIR
Are there any manual locations I should be looking to completely remove Rancher-Desktop and try again. I ask that because uninstalling and re-installing hasn’t worked and when I configure Rancher Desktop for no Kubernetes, no Traefik and just containerd, I’m still getting errors.
p

proud-jewelry-46860

11/18/2022, 6:46 PM
Odd. The manual location is
~/Library/Application Support/rancher-desktop/
, basically (unless I made a typo somewhere…); that's why it needed to be on the command line.
b

brainy-pencil-91477

11/21/2022, 1:30 PM
@proud-jewelry-46860 - Thanks for that. Uninstalling Rancher Desktop, manually deleting that directory and re-installing appears to have fixed the issue. 🙂
p

proud-jewelry-46860

11/21/2022, 4:11 PM
Glad that worked for you, but it's still odd that a factory reset didn't wipe that for you :(
225 Views