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

Cannot reproduce XF1.5.14 - 2.0.0 Beta 2 (upgrade XFMG - 1.1.13)

Affected version
2.0.0. Beta 2

Robru

Well-known member
#1
In continuation to: https://xenforo.com/community/threads/xf1-5-14-2-0-0-beta-2-upgrade-xfmg-1-1-13.134162/

Chris, after replace src/addons/XFMG/Setup.php

1505401982496.png

Code:
XF\Db\Exception: MySQL statement prepare error [1054]: Unknown column 'view_user_groups' in 'field list' in src/XF/Db/AbstractStatement.php at line 183
XF\Db\AbstractStatement->getException() in src/XF/Db/Mysqli/Statement.php at line 34
XF\Db\Mysqli\Statement->prepare() in src/XF/Db/Mysqli/Statement.php at line 44
XF\Db\Mysqli\Statement->execute() in src/XF/Db/AbstractAdapter.php at line 67
XF\Db\AbstractAdapter->query() in src/XF/Db/AbstractAdapter.php at line 94
XF\Db\AbstractAdapter->fetchAllKeyed() in src/addons/XFMG/Setup.php at line 700
XFMG\Setup->upgrade902000010Step3() in src/XF/AddOn/StepRunnerUpgradeTrait.php at line 143
XFMG\Setup->upgradeStepRunner() in src/XF/AddOn/StepRunnerUpgradeTrait.php at line 79
XFMG\Setup->upgrade() in src/XF/Admin/Controller/AddOn.php at line 424
XF\Admin\Controller\AddOn->actionUpgrade() in src/XF/Mvc/Dispatcher.php at line 232
XF\Mvc\Dispatcher->dispatchClass() in src/XF/Mvc/Dispatcher.php at line 85
XF\Mvc\Dispatcher->dispatchLoop() in src/XF/Mvc/Dispatcher.php at line 41
XF\Mvc\Dispatcher->run() in src/XF/App.php at line 1777
XF\App->run() in src/XF.php at line 320
XF::runApp() in admin.php at line 13
 

Mike

XenForo developer
Staff member
#2
Am I correct in thinking you didn't revert to a backup before attempting an upgrade again? If not, that would explain this.
 

Robru

Well-known member
#3
Am I correct in thinking you didn't revert to a backup before attempting an upgrade again? If not, that would explain this.
After the first upgrade attempt, all xengallery_ tables had disappeared.
I have all taken those tables from the backup and returned in the new database.
Then the 2nd attempt made to upgrade.
 

Chris D

XenForo developer
Staff member
#4
Did you have an opportunity to re-attempt the upgrade again from scratch (1.5 to 2.0 and then upgrading the add-ons) with Beta 3 and if so, was it slightly less problematic?