Issue on updating from 11.0.2 to 11.0.3 (2006 MySQL server has gone away)

I get an error during the update while making the code integretiy check:

Starting code integrity check...
Doctrine\DBAL\Exception\DriverException: An exception occurred while executing 'INSERT INTO `oc_appconfig` (`appid`,`configkey`,`configvalue`) SELECT ?,?,? FROM `oc_appconfig` WHERE `appid` = ? AND `configkey` = ? HAVING COUNT(*) = 0' with params ["core", "oc.integritycheck.checker", "[]", "core", "oc.integritycheck.checker"]:

SQLSTATE[HY000]: General error: 2006 MySQL server has gone away
Update failed

This happens in the web updater and when calling ./occ upgrade.

Two other installations did the update well.

Can you call the upgrade command from terminal? Could be that you run into some timeout (mysql, or php to mysql connection).

I just called “./occ upgrade”

Seems, that this was a server issue from the host. After repeating “./occ upgrade” the update went on and finished. No issues since then.