Upgrade to 10.13.66-13 hangs

Attempting to upgrade from 10.13.66-12 to -13 hangs on

Running PHP script “/var/www/html/admin/modules/framework/upgrades//13.0.143/upgrade.php”

This script just keeps spawning “php /usr/sbin/fwconsole ma install framework --force” processes until the system runs out of memory and the script crashes.

freepbx.log show the following entries over and over again:

2016-Jul-06 12:55:07] [INFO] (framework/install.php:90) - installing files to /var/www/html…done
[2016-Jul-06 12:55:07] [INFO] (framework/install.php:102) - installing files to /var/lib/asterisk/bin…done
[2016-Jul-06 12:55:07] [INFO] (framework/install.php:113) - installing files to /var/lib/asterisk/agi-bin…done
[2016-Jul-06 12:55:07] [INFO] (installlib/installer.class.php:17) - Checking for upgrades…
[2016-Jul-06 12:55:07] [INFO] (installlib/installer.class.php:17) - 1 found
[2016-Jul-06 12:55:07] [INFO] (installlib/installer.class.php:17) - Upgrading to 13.0.143…
[2016-Jul-06 12:55:07] [INFO] (installlib/installer.class.php:17) - -> Running PHP script /var/www/html/admin/modules/framework/upgrades//13.0.143/upgrade.php
[2016-Jul-06 12:55:08] [WARNING] (libraries/modulefunctions.legacy.php:7) - Depreciated Function module_getinfo detected in /var/www/html/admin/modules/cxpanel/functions.inc.php on line 52
[2016-Jul-06 12:55:08] [WARNING] (libraries/modulefunctions.legacy.php:7) - Depreciated Function module_getinfo detected in /var/www/html/admin/modules/cxpanel/functions.inc.php on line 61
[2016-Jul-06 12:55:10] [INFO] (framework/install.php:90) - installing files to /var/www/html…done
[2016-Jul-06 12:55:10] [INFO] (framework/install.php:102) - installing files to /var/lib/asterisk/bin…done
[2016-Jul-06 12:55:10] [INFO] (framework/install.php:113) - installing files to /var/lib/asterisk/agi-bin…done
[2016-Jul-06 12:55:10] [INFO] (installlib/installer.class.php:17) - Checking for upgrades…
[2016-Jul-06 12:55:10] [INFO] (installlib/installer.class.php:17) - 1 found
[2016-Jul-06 12:55:10] [INFO] (installlib/installer.class.php:17) - Upgrading to 13.0.143…
[2016-Jul-06 12:55:10] [INFO] (installlib/installer.class.php:17) - -> Running PHP script /var/www/html/admin/modules/framework/upgrades//13.0.143/upgrade.php

I assume everytime it spawns a new process it writes the same lines to the log.

I have already tried to manually install the framework module using:

fwconsole ma download framework
fwconsole ma install framework

with the same results. The dashboard shows the framework module as disabled.

How do I get past this issue?

fwconsole ma download framework --edge
fwconsole ma install framework

Thanks! It’s working now.

1 Like