I cannot upgrade before I fix the database issue. But I can tell you what happens when I run the upgrade after doing the database fixes.
Basically what happens is: I manually run the queries it tells me to run. I click check again and it let's me continue to the upgrade. I click upgrade and it upgrades, tells me it requires me to unzip the update file myself (which it has always done for me for some reason but it has always worked flawlessly) after I unzip it and upgrade it upgrades just fine, then the forums work for about 10-30 minutes and then the website just stops working. Nothing will load anymore, you can't even go to the website in your browser so I really am unsure what would cause it since I can't even reach the admin panel.