Got a packet bigger than 'max_allowed_packet' bytes

I have installed Passbolt, It runs perfectly but after some days it gives the error on the frontend.

  • – Server operating system name and version Ubuntu 20.04
  • – Web server name and version Nginx latest
  • – Database server name and version MYSQL 5.7.33 in a docker container
  • – Php version 7.2-fpm
  • – Passbolt version Latest
    ![WhatsApp Image 2021-04-05 at 10.42.47 AM|521x500]

And in logs it shows the error:

> Got a packet bigger than 'max_allowed_packet' bytes

And when I change the max_allowed_packet in mysql.conf, it gets resolved.
I am confused as, why the query size is getting bigger and bigger, first, it was 16M, then 32M, and now it’s 64M.
Why is it growing?

Hi @fahadkhancchughtai I know you are not asking about this, but you are going to need to use PHP7.3-fpm.

Please show your mysql config including the bracket section. Also check to see that the configuration is used when mysql is running using SHOW VARIABLES LIKE "max_allowed_packet"