Working on a mostly-fresh install of the latest nethserver (based on centos 7) on a vm for testing, I installed freepbx for feasibility exploration. Some of the modules were not working, because core (current version 14.0.1rc1.6) has been disabled. It requires upgrade to 14.0.1rc1.9 to enable, but when trying to upgrade, I get the following error:
Whoops\Exception\ErrorException thrown with message "file_put_contents(/etc/asterisk/http_custom.conf): failed to open stream: Permission denied"
#6 Whoops\Exception\ErrorException in /var/www/html/freepbx/admin/modules/core/install.php:810
#5 file_put_contents in /var/www/html/freepbx/admin/modules/core/install.php:810
#4 include_once in /var/www/html/freepbx/admin/libraries/modulefunctions.class.php:2495
#3 module_functions:_doinclude in /var/www/html/freepbx/admin/libraries/modulefunctions.class.php:2447
#2 module_functions:_runscripts in /var/www/html/freepbx/admin/libraries/modulefunctions.class.php:1981
#1 module_functions:install in /var/www/html/freepbx/admin/page.modules.php:297
#0 include in /var/www/html/freepbx/admin/config.php:390
Please help me upgrade so I can properly test the software.
I’ve also logged the issue here: \https://issues.freepbx.org/browse/FREEPBX-15065