https://rancher.com/ logo
Title
h

high-toothbrush-33213

09/20/2022, 3:09 AM
I recently had trouble running my rancher-desktop, so I attempted reinstalling it. Uninstall didn't seem to actually uninstall anything. My WSL distros were still there among other things, so I removed them. Now after re-install, my distros are not re-appearing. Rancher desktop also still is not starting. Is there a proper way to uninstall rancher-desktop?
h

hallowed-forest-65526

09/20/2022, 3:15 AM
i would try a ‘factory reset’ then uninstall in that situation
f

fast-garage-66093

09/20/2022, 5:10 AM
I uninstall using the "Add/Remove Programs" feature, and it normally works
h

high-toothbrush-33213

09/20/2022, 5:13 AM
@fast-garage-66093 That's how I'm uninstalling. It's a very quick process. Unfortunately, it appears to leave a lot of files behind. When I re-install, existing files are not replaced.
@hallowed-forest-65526 "Factory reset" from the rancher desktop settings? Rancher desktop doesn't start, so I can't get to the settings. Is there another factory reset option"?
f

fast-garage-66093

09/20/2022, 5:16 AM
There is an open bug about the distros not being removed during uninstall: Uninstall leaves WSL distros behind · Issue #1504 · rancher-sandbox/rancher-desktop
I'll take a look tomorrow to see if there are any manual uninstall instructions
🙌 1
I'm sorry, I didn't find any script or instructions today; I'll see if I have time to research this myself tomorrow. I guess this shows that the "Factory Reset" functionality needs to be moved to
rdctl
so it is accessible even RD itself doesn't start.
rdctl factory-reset
exists, but it just sends a command to RD to perform the action, which obviously fails when RD isn't running.