Freepbx Install Issues

Attempting to install Asterisk/Freepbx on a new RHEL8 server following guide on computingforgeeks. Have Asterisk up and running, and initial Freepbx install was successful, however just received a blank page when browsing to the IP Address (it did redirect to admin-config.php however was blank). Attempted to re-install Freepbx14 but now receive this error. Can anyone give some ideas on where to look as to why it wasn’t successful, how to get to the initial GUI? Now when I browse to the IP Address, I don’t even get a redirect to the admin/config - just a 503 Service Unavailable.

sudo ./install -n --dbuser root --dbpass
PHP Warning: Declaration of FreePBX\Install\FreePBXHelpCommand::setCommand(FreePBX\Install\FreePBXInstallCommand $command) should be compatible with Symfony\Component\Console\Command\HelpCommand::setCommand(Symfony\Component\Console\Command\Command $command) in /usr/src/freepbx/installlib/installhelpcommand.class.php on line 15
Assuming you are Database Root
Checking if SELinux is enabled…Its not (good)!
Reading /etc/asterisk/asterisk.conf…Done
Checking if Asterisk is running and we can talk to it as the ‘asterisk’ user…Yes. Determined Asterisk version to be: 16.16.0
Preliminary checks done. Starting FreePBX Installation
Checking if this is a new install…No (/etc/freepbx.conf file detected)
PHP Fatal error: Cannot redeclare composerRequirepbxframework() (previously declared in /usr/src/freepbx/amp_conf/htdocs/admin/libraries/Composer/vendor/composer/autoload_real.php:63) in /var/www/html/admin/libraries/Composer/vendor/composer/autoload_real.php on line 70

Asterisk appears to be running ok:

asterisk -rvv

Asterisk 16.16.0, Copyright © 1999 - 2018, Digium, Inc. and others.
Asterisk comes with ABSOLUTELY NO WARRANTY; type ‘core show warranty’ for details.
This is free software, with components licensed under the GNU General Public
License version 2 and other licenses; you are welcome to redistribute it under
certain conditions. Type ‘core show license’ for details.

Running as user ‘asterisk’
Running under group ‘asterisk’

cat /etc/freepbx.conf

<?php $amp_conf['AMPDBUSER'] = 'freepbxuser'; $amp_conf['AMPDBPASS'] = 'passwordstuff'; $amp_conf['AMPDBHOST'] = 'localhost'; $amp_conf['AMPDBNAME'] = 'asterisk'; $amp_conf['AMPDBENGINE'] = 'mysql'; $amp_conf['datasource'] = ''; //for sqlite3 require_once('/var/www/html/admin/bootstrap.php'); ?>

fwconsole restart

Running FreePBX shutdown…

In Self_Helper.class.php line 213:
Unable to locate the FreePBX BMO Class 'Array’A required module might be disabled or uninstalled. Recommended steps (run from the CLI): 1) fwconsole ma
install array 2) fwconsole ma enable array
restart [-i|–immediate] [–] []…

Thanks for any advice!

This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.