Upgrade to 22 fails

Dear all I habe an issue with nu Docker Nextcloud since I wanted to perform an update from 21 to 22. When it runs the upgrade process it stops with an error message:

Doctrine\DBAL\Exception\DriverException: An exception occurred while executing a query: SQLSTATE[08S01]: Communication link failure: 1153 Got a packet bigger than ‘max_allowed_packet’ bytes

Now it is stuck in maintenance mode :frowning:

I followed already the guide here
https://docs.nextcloud.com/server/20/admin_manual/configuration_database/mysql_4byte_support.html?highlight=byte

But no success so far.

I use mariadb 10.3.29 on a Synology diskstation and Nextcloud as a Docker Container (official Image

Solved:

set global net_buffer_length=1000000; 
set global max_allowed_packet=1000000000; 

Did the trick :slight_smile: