Good Day,
I have done a backup restore using a config from a virtual instance (FreePBX Distro 6.12.65-1) onto a PBXact UC50 appliance (FreePBXDistro: 6.12.65-30)
After performing the restore backup I receive the below Fatal Error on the Web UI.
**FATAL ERROR**
unknown type: [cselect]
Trace Back
/var/www/html/admin/libraries/BMO/Freepbx_conf.class.php:1136 die_freepbx()
[0]: unknown type: [cselect]
/var/www/html/admin/libraries/BMO/Freepbx_conf.class.php:241 Freepbx_conf->_prepare_conf_value()
[0]: inherit
[1]: cselect
[2]: 1
[3]: inherit,ring1,ring2,ring3,ring4,ring5
/var/www/html/admin/libraries/BMO/Self_Helper.class.php:116 Freepbx_conf->__construct()
[0]:
/var/www/html/admin/libraries/BMO/Self_Helper.class.php:50 Self_Helper->autoLoad()
[0]: Freepbx_conf
[1]:
/var/www/html/admin/bootstrap.php:102 Self_Helper->__call()
[0]: Freepbx_conf
[1]:
/var/www/html/admin/bootstrap.php:102 FreePBX->Freepbx_conf()
/etc/freepbx.conf:9 require_once()
[0]: /var/www/html/admin/bootstrap.php
/var/www/html/admin/config.php:99 include_once()
[0]: /etc/freepbx.conf
An attempt to restart amportal from the CLI gives the below errors.
[root@localhost ~]# amportal restart
Fetching FreePBX settings with gen_amp_conf.php..
/usr/local/sbin/amportal: line 52: [FATAL]: command not found
/var/lib/asterisk/bin/freepbx_engine: line 100: [FATAL]: command not found
**** WARNING: ERROR IN CONFIGURATION ****
astrundir in '/etc/asterisk' is set to but the directory
does not exists. Attempting to create it with: 'mkdir -p '
mkdir: missing operand
Try `mkdir --help' for more information.
**** ERROR: COULD NOT CREATE ****
Attempt to execute 'mkdir -p ' failed with an exit code of 1
You must create this directory and the try again.
Any ideas of how to fix this?
Thank you,