Fixed XF 1.5 -> 2.0 Beta 2 xengallery_exif error

Affected version
2.0.0 Beta 2

Liam W

Well-known member
I just got this redoing the upgrade from 1.5 to 2.0 Beta 2:

Screen Shot 2017-09-12 at 6.22.57 PM.png
You're only catching the database exceptions :)

(Although shouldn't that really only be in the media gallery upgrade?)


Chris D

XenForo developer
Staff member
The reason why it happens in the XF upgrade is because we know that this table would prevent the utf8mb4 conversion.

You're right, though, that we need to just catch all exceptions here, or just do the query in the DB adapter, or, arguably, we should be throwing XF\Db\Exception in the SM.


XenForo developer
Staff member
This is now fixed.

As of this post, a hotfix has been made to the beta 2 package to resolve this issue. Any downloads after the date on this post will include the fix below.

If you have already downloaded this and are testing upgrades from 1.x (without XFMG present), you can resolve this issue manually by changing the following in src/XF/Install/Upgrade/2000010-200a.php:
catch (\XF\Db\Exception $e) {}
catch (\Exception $e) {}