• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Not a bug Error upgrading beta 1 to beta 8

Affected version
2.0.0 Beta 8

Jake B.

Well-known member
#1
Probably not a major issue, and isn't a big deal for us as we've just reinstalled since it was just a test install we had setup, but could be worth considering :)

XF\Db\Exception: MySQL statement prepare error [1146]: Table 'demo_xf2.xf_upgrade_job' doesn't exist in src/XF/Db/AbstractStatement.php at line 212
XF\Db\AbstractStatement->getException() in src/XF/Db/Mysqli/Statement.php at line 174
XF\Db\Mysqli\Statement->getException() in src/XF/Db/Mysqli/Statement.php at line 35
XF\Db\Mysqli\Statement->prepare() in src/XF/Db/Mysqli/Statement.php at line 46
XF\Db\Mysqli\Statement->execute() in src/XF/Db/AbstractAdapter.php at line 69
XF\Db\AbstractAdapter->query() in src/XF/Db/AbstractAdapter.php at line 96
XF\Db\AbstractAdapter->fetchAllKeyed() in src/XF/Install/Upgrader.php at line 487
XF\Install\Upgrader->getUpgradeJobs() in src/XF/Install/Upgrader.php at line 493
XF\Install\Upgrader->getExtraUpgradeJobsMap() in src/XF/Install/Controller/Upgrade.php at line 235
XF\Install\Controller\Upgrade->actionRebuild() in src/XF/Install/Controller/Upgrade.php at line 111
XF\Install\Controller\Upgrade->actionRun() in src/XF/Mvc/Dispatcher.php at line 249
XF\Mvc\Dispatcher->dispatchClass() in src/XF/Mvc/Dispatcher.php at line 88
XF\Mvc\Dispatcher->dispatchLoop() in src/XF/Mvc/Dispatcher.php at line 41
XF\Mvc\Dispatcher->run() in src/XF/App.php at line 1845
XF\App->run() in src/XF.php at line 328
XF::runApp() in install/index.php at line 14
 

Mike

XenForo developer
Staff member
#2
Are you sure you were actually running beta 1? This table would have existed in beta 1.

If I had to guess, you were running a developer preview (which can't be upgraded out of).
 

Jake B.

Well-known member
#3
Are you sure you were actually running beta 1? This table would have existed in beta 1.

If I had to guess, you were running a developer preview (which can't be upgraded out of).
I'm fairly certain it was Beta 1, but that may have been the case. Too late now to double check version number unfortunately as we've already reinstalled, but I'll assume that is the case if that table should've existed in Beta 1 :)
 

Mike

XenForo developer
Staff member
#4
We'll keep an eye out for any other reports, though this code is triggered at the end of every upgrade, so it should have been something we've seen already I think.