That's the same error I've been getting. Despite resetting, reimaging and restoring the db, it keeps coming back.
compurandom mentioned he thinks calibre is corrupting the db on his forma but going to 5.x might have fixed it. I'm trying that now.
https://www.mobileread.com/forums/sh...d.php?t=334262