mv ~/.kodi/userdata/Database/Addons27.db ~/.kodi/userdata/Database/Addons27.db.bad && sudo reboot
You got caught up in this it seems Kodi Krypton FAQ and Support
If the simple command I provided does not resolve the issue, follow the commands in the link above.