DefGuard / client

Best WireGuard desktop client with Multi-Factor Authentication
124 stars 13 forks source link

Unable to run Windows client after trying Alpha release (install/uninstall) #319

Open tlamik opened 1 month ago

tlamik commented 1 month ago

I installed Windows Desktop Client v 0.4 on W11Pro, added some tunnels, seemed to me work nice. But then I tried to install an Alpha version 0.5. Installation was OK, but I was unable to add any tunnel or instance, I always ended up with "Creating tunnel failed" or "Unexpected error occured" So I uninstalled an alpha version and reinstall version 0.4, but I am unable to run it. GUI shows up for a couple of milliseconds a then disappear. Couple of uninstall/install, restarts computer.

No logs, no troubleshoot possibility at all.

t-aleksander commented 1 month ago

@tlamik after you uninstall Defguard, check the contents of C:\Users\<user>\AppData\Roaming (can also be quickly accessed by searching for %appdata%). If there is a net.defguard folder there, remove it (this will delete all your previous tunnels). After you're done, try to install it again and see if it works.

Upgrading the client makes changes to the database that can't be reverted automatically when you want to downgrade, so the easiest way of downgrading is to delete the whole client's database. It's also possible to revert the database by editing it by hand, but that's considerably harder.

tlamik commented 1 month ago

Thanks for advice. Unfortunately it didn't help. I was unable to add any tunnel in alpha version at all, always the same Unexpected error. There were only logs and db. BUT your advice help me undestood where could be a problem, why the old version is not working. It's because uninstall process do not delete a database. So when I uninstalled an alpha version, manualy deleted database, then I can install and run version 0.4.

t-aleksander commented 1 month ago

The issue with tunnels should be fixed in the next alpha release (https://github.com/DefGuard/client/pull/323)