Script error

2024-04-08 14:31:50 - Starting installation.
2024-04-08 14:31:50 - Starting FreePBX 17 installation process for debian Linux debian 6.1.0-18-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.76-1 (2024-02-01) x86_64 GNU/Linux
2024-04-08 14:31:50 - Please refer to the /var/log/pbx/freepbx17-install-2024.04.08-14.31.50.log to know the process…
2024-04-08 14:31:50 - Making sure installation is sane
2024-04-08 14:31:54 - Setting up default configuration
2024-04-08 14:31:55 - Setting up repositories
2024-04-08 14:32:20 - Setting up Sangoma repository
2024-04-08 14:32:20 - Updating repository
2024-04-08 14:32:24 - Installing required packages
2024-04-08 14:32:31 - Setting up MongoDB
2024-04-08 14:32:31 - Setting up libfdk
2024-04-08 14:32:31 - Removing unnecessary packages
2024-04-08 14:32:32 - Execution time to install all the dependent packages : 42 s
2024-04-08 14:32:32 - Setting up folders and asterisk config
2024-04-08 14:32:33 - Installing Asterisk packages.
2024-04-08 14:32:35 - Installing FreePBX packages
2024-04-08 14:32:35 - Installing ionCube packages.
2024-04-08 14:32:35 - Enabling modules.
2024-04-08 14:32:35 - Restating fail2ban
2024-04-08 14:32:35 - Installing FreePBX 17
2024-04-08 14:32:35 - Installing Sysadmin module
2024-04-08 14:32:36 - Installation failed at step Installing Sysadmin module. Please check log /var/log/pbx/freepbx17-install-2024.04.08-14.31.50.log for details.
2024-04-08 14:32:36 - Error at line line: 593 exiting with code 199 (last command was: fwconsole ma install sysadmin >> $log 2>&1)
2024-04-08 14:32:36 - Exiting script
root@debian:/tmp#

Is there any issue with the script ?

@antonis77

Can you run below command manually, if its worked, rerun the installation script. If its still an issue please share the error output with us.

“fwconsole ma install sysadmin”

1 Like

Still the same

root@debian:/tmp# fwconsole ma install sysadmin

Script error: the ionCube Loader for PHP needs to be installed.

The ionCube Loader is the industry standard PHP extension for running protected PHP code,
and can usually be added easily to a PHP installation.

For Loaders please visit:

For an instructional video please see:

root@debian:/tmp#

Pretty sure that a later version of PHP is required. 8.2 possibly?

The script installs 8.2. The php version in the comment above is the tutorial video for ioncube

Details of the failure should be in /var/log/pbx/freepbx17-install-2024.04.08-14.31.50.log

Oh ha, I didn’t even look at the URL. Just assumed it was the PBX.