Errors during rebuild app

I’m afraid your database is corrupted. I’d try recovering from a recent backup.