Ankihub crashes on opening

Your AnkiHub database is corrupted. Please follow the steps if you still have the issue:

  1. Close Anki
  2. Go to the ~/Library/Application Support/AnkiHub folder. The Library folder is hidden by default, but can be revealed in Finder by holding down the option key while clicking on the Go menu.
  3. You should see multiple subfolders with random names. Open each subfolder and delete the ankihub.db file.