How to fix the Discord infinite update loop on Linux

in #hive5 months ago

A while back I noticed that Discord would get stuck in an infinite update loop and never fully start up to the point where I could use it.

I fixed this once by downloading the .deb file again and reinstalling it but then after it auto-updated again the 'loop' began occurring again and this solution no longer worked.

I then saw that there was a new version of Discord (version 0.0.10) so I uninstalled the old version, manually downloaded the new version's .deb file and installed it which worked... for a few days before the same update loop started happening again!

After exhaustively looking around the internet for solutions I only found 'recommendations' for fixes and the user responses were all 'That solution does no work.'

Well if I had given up there my Discord would still be stuck in an infinite loop and hence not be working!

This was tested on Linux Mint 19 (Cinnamon) but should work on most other distributions.

Step 0

Download the latest .deb Discord version for Linux here: https://discord.com/

Step 1

Uninstall Discord. I used the following command from the terminal to do so but I am unsure if the --purge part actually did anything.

sudo apt-get remove --purge discord

Step 2

Open your File Manager and go to your Home folder. It should be something like:

/home/bob/

Once there if you do not have hidden files shown then press Ctrl+H
to show them.

Step 3

Locate the folder named .config and open it.

Step 4

Locate the folder named Discord and delete it.

This will delete all your login credentials so make sure you know them before doing it.

Step 5

Reinstall Discord from the .deb file.

Step 6

Open Discord and let it auto-update itself and if any errors appear just close the error windows and let it continue updating until it finishes.

That Is it. Your Discord should now work!

This guide is intended for novice Linux users and I am sure that all the Linux pros could do this from the terminal with one string of commands. Maybe one of them will drop said commands in the comments so that I can add them to this guide and simplify things!

discordfix.png

Thanks for reading!