INSTALL ERROR: max_allowed_packet is read-only
-
Hi, I’m having a problem with my installation, it displays the error:
EXCEPTION: SESSION variable 'max_allowed_packet' is read-only. Use SET GLOBAL to assign the value
TRACE:
#0 /var/www/html/corsisdesign/dup-installer/ctrls/ctrl.s2.dbinstall.php(62): mysqli_query()
#1 /var/www/html/corsisdesign/dup-installer/ctrls/ctrl.s2.base.php(240): DUPX_DBInstall->__construct()
#2 /var/www/html/corsisdesign/dup-installer/main.installer.php(244): require_once('...')
#3 {main}
--------------------------------------
*** PHP Warning Message: chmod(): Operation not permitted (Code: 2, line 91 in /var/www/html/corsisdesign/dup-installer/classes/config/class.constants.php)I’ve tried searching but haven’t been able to solve the problem yet.
Thanks!
-
Hi natcorsi,
Thank you for contacting Duplicator support and I’m sorry that you ran into this issue.
I understand that you got this error during the backup restoration:
EXCEPTION: SESSION variable ‘max_allowed_packet’ is read-only. Use SET GLOBAL to assign the value
TRACE: 0 /var/www/html/corsisdesign/dup-installer/ctrls/ctrl.s2.dbinstall.php(62): mysqli_query() 1 /var/www/html/corsisdesign/dup-installer/ctrls/ctrl.s2.base.php(240): DUPX_DBInstall->__construct() 2 /var/www/html/corsisdesign/dup-installer/main.installer.php(244): require_once(‘…’) #3 {main}*** PHP Warning Message: chmod(): Operation not permitted (Code: 2, line 91 in /var/www/html/corsisdesign/dup-installer/classes/config/class.constants.php)
Please check this post for a solution to your issue:
If the above post didn’t help, please contact your host, share the above error with them, and ask them to increase the max_allowed_packet for you.
I hope this helps, and please let me know if you have any other questions, I’m happy to help you.
Thanks!
Hi @natcorsi ,
I’m closing this support topic for inactivity. Please don’t hesitate to contact us in a Support Topic if you need any help with Duplicator.
Thanks!
The topic ‘INSTALL ERROR: max_allowed_packet is read-only’ is closed to new replies.