freepbx framework upgrade is stuck on the PHP script…
…/13.0.143/upgrade.php
Been on this step for over 2 hours.
Looks like it’s looping on some cp commands?
cp -rf /var/www/html/admin/modules/framework/amp_conf/htdocs/admin /var/www/html/admin/modules/framework/amp_conf/htdocs/index.php /var/www/html/admin/modules/framework/amp_conf/htdocs/robots.txt /var/www/html
Load shoots up (7+ and system became unresponsive). I tried rebooting the system, came back except the dashboard didn’t work. Noticed that the framework was disabled, so tried to reenable it from module admin (its trying to upgrade to 13.0.151).
Stuck in same loop again.
Here is what is in freepbx.log
[2016-Jul-02 17:57:56] [INFO] (framework/install.php:90) - installing files to /var/www/html..done
[2016-Jul-02 17:58:00] [INFO] (framework/install.php:102) - installing files to /var/lib/asterisk/bin..done
[2016-Jul-02 17:58:02] [INFO] (framework/install.php:113) - installing files to /var/lib/asterisk/agi-bin..done
[2016-Jul-02 17:58:04] [INFO] (installlib/installer.class.php:17) - Checking for upgrades..
[2016-Jul-02 17:58:06] [INFO] (installlib/installer.class.php:17) - 1 found
[2016-Jul-02 17:58:06] [INFO] (installlib/installer.class.php:17) - Upgrading to 13.0.143..
[2016-Jul-02 17:58:06] [INFO] (installlib/installer.class.php:17) - -> Running PHP script /var/www/html/admin/modules/framework/upgrades//13.0.143/upgrade.php
[2016-Jul-02 18:01:20] [INFO] (framework/install.php:90) - installing files to /var/www/html..done
[2016-Jul-02 18:01:21] [INFO] (framework/install.php:102) - installing files to /var/lib/asterisk/bin..done
[2016-Jul-02 18:01:21] [INFO] (framework/install.php:113) - installing files to /var/lib/asterisk/agi-bin..done
[2016-Jul-02 18:01:21] [INFO] (installlib/installer.class.php:17) - Checking for upgrades..
[2016-Jul-02 18:01:21] [INFO] (installlib/installer.class.php:17) - 1 found
[2016-Jul-02 18:01:21] [INFO] (installlib/installer.class.php:17) - Upgrading to 13.0.143..
[2016-Jul-02 18:01:21] [INFO] (installlib/installer.class.php:17) - -> Running PHP script /var/www/html/admin/modules/framework/upgrades//13.0.143/upgrade.php
[2016-Jul-02 18:04:44] [INFO] (framework/install.php:90) - installing files to /var/www/html..done
[2016-Jul-02 18:04:45] [INFO] (framework/install.php:102) - installing files to /var/lib/asterisk/bin..done
[2016-Jul-02 18:04:45] [INFO] (framework/install.php:113) - installing files to /var/lib/asterisk/agi-bin..done
[2016-Jul-02 18:04:45] [INFO] (installlib/installer.class.php:17) - Checking for upgrades..
[2016-Jul-02 18:04:46] [INFO] (installlib/installer.class.php:17) - 1 found
[2016-Jul-02 18:04:46] [INFO] (installlib/installer.class.php:17) - Upgrading to 13.0.143..
[2016-Jul-02 18:04:46] [INFO] (installlib/installer.class.php:17) - -> Running PHP script /var/www/html/admin/modules/framework/upgrades//13.0.143/upgrade.php