Framework is disabled and can’t be upgraded or enabled. (13.0.137 to 13.0.153). FreePBX distro.
fwconsole ma upgradeall
Upgrading framework…
Starting framework download…
Processing framework
Verifying local module download…Verified
Extracting…Done
Module framework successfully downloaded
installing files to /var/www/html…done
installing files to /var/lib/asterisk/bin…done
installing files to /var/lib/asterisk/agi-bin…done
Checking for upgrades…
1 found
Upgrading to 13.0.143…
-> Running PHP script /drbd/httpd/www/html/admin/modules/framework/upgrades//13.0.143/upgrade.php
Here the upgrade hangs for about 20 minutes, taking up the entire memory of the machine.
Then:
[PDOException]
_ SQLSTATE[HY000]: General error: 2006 MySQL server has gone away_
ma [-f|–force] [-d|–debug] [–edge] [–color] [–skipchown] [-e|–autoenable] [–skipdisabled] [–format="…"] [-R|–repo="…"] [args1] … [argsN]
_ [PDOException]_
_ SQLSTATE[HY000]: General error: 2006 MySQL server has gone away_
ma [-f|–force] [-d|–debug] [–edge] [–color] [–skipchown] [-e|–autoenable] [–skipdisabled] [–format="…"] [-R|–repo="…"] [args1] … [argsN]
Upgrading to 13.0.143…OK
_ [PDOException]_
_ SQLSTATE[HY000]: General error: 2006 MySQL server has gone away_
ma [-f|–force] [-d|–debug] [–edge] [–color] [–skipchown] [-e|–autoenable] [–skipdisabled] [–format="…"] [-R|–repo="…"] [args1] … [argsN]