Anki crashing repeatedly

When I try to open anki today i it crashes and does not open or it opens and takes me to the troubleshoot page and says there may be a problem with the “addons AnkiHub, AnkiHub”. I tried restarting my computer, checking for any anki updates, and this did not help. I was able to do my anki cards and “sync” today on my phone just fine, this issue is on my anki on my macbook. I tried seeing my list of add ons when holding shift and anki and i see a bunch of AnkiHub add ons (there are about 10 that say AnkiHub)


, I do not know why there are so many. Attached is a screenshot of my add-ons. I do not want to delete any of them because I am worried i will lose any of cards/information. I did try deleting the heatmap add-on and that did not help.

1 Like

Starting in safe mode was definitely the way to get past this. And you’re right, that 10 AnkiHub add-ons is probably bad news. [You might be better off asking the AnkiHub folks about how this might have happened.]

I don’t have any reason to think that deleting the extras would cause you to lose cards or information. But I suspect it’s more likely that there’s really only one there, so let’s try some baby-steps first.

What do you see when you click “View Files”? That should show you your add-ons folder (addons21), and there should be a folder there for each add-on with a unique ID number. AnkiHub is 1322529746. Do you have 11 of those (can’t be, so they’d have to have slightly different names?), or just 1?

Thanks for your speedy response! So I realized something that may be causing the issue. A few days ago I deleted all my downloads on my macbook and it all went to trash. So I may have accidentally deleted some important anki stuff. Attached are the anki files in my trash currently


However, when I look at anki and go on “view files” I see the attached screenshot below , which does not make sense to me either. They all have the same name and the same date. But i do know that is the date I was doing my housekeeping and deleted the downloads I had

I am unsure of how to proceed

I think the easiest thing would be to delete everything and install Anki again (if you have everything on your AnkiWeb account, you can just download again).

You can also backup your data folder (e.g. in a .zip) and then delete the duplicate entries from the extension that you’re seeing.

If everything works again you can delete the backup .zip. Else, just recover from the .zip file.

I just tried deleteing anki from my macbook (as well as deleting it from trash) and dowloading the latest version from ankiweb however when I open the new app it syncs with my account (automatically logs in) and has the same troubleshoot message appear happen. I do not know why even after deleting and reinstalling anki, it isn’t letting me start over and re-log in. Just a note, On my AnkiWeb website account my decks are there and seem “up to date”.

Should I try deleting all the add-ons and redownloading them or is there another possible solution? It’s hard to tell what add-on is causing the issue and redownloading the app didnt change anything.

Because your data folder is not deleted and addons are safed in the data folder.

You should do this:

(or just delete your data folder if you really have all of your data in the cloud)

I think a much more reasonable next step would have been to remove the 10 obviously wrong add-on folders. “1322529746” appears to be the right one, and the ones with numbered codes after them do not. Without those 10 unnecessary duplicates, everything might work just fine.

As long as Anki is not running, removing those from addons21 won’t hurt anything. You can move them somewhere just in case you need them.

You don’t need to do anything with the program folder (so I’m sorry you wasted time with that), and you don’t need to do anything with your profile folder (because add-ons are not in your profile).

1 Like

Is that different on a mac? On linux they most certainly are in Anki2.

They are in the Anki2 data folder – but they do not belong to a specific profile in that folder. They are in their own folder.

1 Like

Right. In that case everywhere where I mentioned “profile” should have been “data folder”. I’ll edit it.

1 Like

Thanks you @Danika_Dakika and @Anon_0000 for the thorough guidance!! I went ahead and deleted the 10 duplicates and I am not seeing the troubleshoot message pop up anymore when i close and reopen anki! I will do my cards for the day and see how it goes but it seems like the issue is resolved, thank yall so much!! If the issue pops again, ill drop another reply but hopefully not

3 Likes