I am really upset, I checked everything that I can, but result is the same.
Please point me at some where.
I see the installation logs and see that Webroot is correct:
root@debian-6:/usr/src/freepbx-2.11.0# ./install_amp --webroot /var/www/freepbx/
Checking for PEAR DB…OK
Checking for PEAR Console::Getopt…OK
Using Webroot at /var/www/freepbx/
Checking user…OK
Checking if Asterisk is running…running with PID: 9943…OK
Checking for /etc/amportal.conf…OK
Reading /etc/amportal.conf…parsed amp_conf variables from /etc/amportal.conf:
amp_conf [HTTPENABLESTATIC] => [TRUE]
amp_conf [HTTPENABLED] => [TRUE]
amp_conf [HTTPBINDADDRESS] => [0.0.0.0]
amp_conf [HTTPBINDPORT] => [8088]
amp_conf [HTTPPREFIX] => []
amp_conf [ASTMANAGERHOST] => [localhost]
amp_conf [AMPMGRPASS] => [amp111]
amp_conf [ASTMANAGERPORT] => [5038]
amp_conf [ASTMANAGERPROXYPORT] => []
amp_conf [AMPMGRUSER] => [admin]
amp_conf [ASTMGRWRITETIMEOUT] => [5000]
amp_conf [AMPBACKUPEMAILFROM] => []
amp_conf [DAYNIGHTTCHOOK] => [TRUE]
amp_conf [AMPLOCALBIN] => []
amp_conf [FPBXDBUGFILE] => [/var/log/asterisk/freepbx_debug]
amp_conf [DEVEL] => [TRUE]
amp_conf [FPBXDBUGDISABLE] => [TRUE]
amp_conf [DEVELRELOAD] => [TRUE]
amp_conf [CFRINGTIMERDEFAULT] => [0]
amp_conf [ASTCONFAPP] => [app_confbridge]
amp_conf [ZAP2DAHDICOMPAT] => [TRUE]
amp_conf [ENABLECW] => [TRUE]
amp_conf [DISABLECUSTOMCONTEXTS] => [TRUE]
amp_conf [DYNAMICHINTS] => [TRUE]
amp_conf [USEDEVSTATE] => [TRUE]
amp_conf [CONCURRENCYLIMITDEFAULT] => [0]
amp_conf [FCBEEPONLY] => [TRUE]
amp_conf [DIVERSIONHEADER] => [TRUE]
amp_conf [NOOPTRACE] => [0]
amp_conf [CWINUSEBUSY] => [TRUE]
amp_conf [ASTSTOPPOLLINT] => [2]
amp_conf [AMPBADNUMBER] => [TRUE]
amp_conf [USEGOOGLEDNSFORENUM] => [TRUE]
amp_conf [ASTSTOPTIMEOUT] => [120]
amp_conf [TONEZONE] => [us]
amp_conf [RINGTIMER] => [15]
amp_conf [TIMEFORMAT] => [12\ Hour\ Format]
amp_conf [ASTAGIDIR] => [/var/lib/asterisk/agi-bin]
amp_conf [ASTVARLIBDIR] => [/var/lib/asterisk]
amp_conf [ASTETCDIR] => [/etc/asterisk]
amp_conf [ASTLOGDIR] => [/var/log/asterisk]
amp_conf [ASTMODDIR] => [/usr/lib/asterisk/modules]
amp_conf [ASTRUNDIR] => [/var/run/asterisk]
amp_conf [ASTSPOOLDIR] => [/var/spool/asterisk]
amp_conf [AMPCGIBIN] => [/var/www/cgi-bin\\\\\ ]
amp_conf [AMPBIN] => [/var/lib/asterisk/bin]
amp_conf [AMPSBIN] => [/usr/local/sbin]
amp_conf [AMPWEBROOT] => [/var/www/freepbx]
amp_conf [MOHDIR] => [moh]
amp_conf [FOPWEBROOT] => [/var/www/html/panel]
amp_conf [BADDESTABORT] => [TRUE]
amp_conf [XTNCONFLICTABORT] => [TRUE]
amp_conf [CHECKREFERER] => [TRUE]
amp_conf [SERVERINTITLE] => [TRUE]
amp_conf [CUSTOMASERROR] => [TRUE]
amp_conf [RELOADCONFIRM] => [TRUE]
amp_conf [SHOWLANGUAGE] => [TRUE]
amp_conf [MODULEADMINWGET] => [TRUE]
amp_conf [MAXCALLS] => []
amp_conf [USEQUEUESTATE] => [TRUE]
amp_conf [CDRDBHOST] => []
amp_conf [CDRDBNAME] => []
amp_conf [CDRDBPASS] => []
amp_conf [CDRDBPORT] => []
amp_conf [CDRDBTABLENAME] => []
amp_conf [CDRDBTYPE] => []
amp_conf [CDRDBUSER] => []
amp_conf [AMPSYSLOGLEVEL] => [FILE]
amp_conf [AMPDISABLELOG] => [TRUE]
amp_conf [AMPEXTENSIONS] => [extensions]
amp_conf [AUTHTYPE] => [database]
amp_conf [AMPVMUMASK] => [007]
amp_conf [AMPWEBADDRESS] => [192.168.1.1]
amp_conf [AMPASTERISKGROUP] => [asterisk]
amp_conf [AMPASTERISKUSER] => [asterisk]
amp_conf [AMPDEVGROUP] => [asterisk]
amp_conf [AMPDEVUSER] => [asterisk]
amp_conf [AMPASTERISKWEBGROUP] => [asterisk]
amp_conf [AMPASTERISKWEBUSER] => [asterisk]
amp_conf [AMPENGINE] => [asterisk]
amp_conf [AMPMPG123] => [TRUE]
amp_conf [SSHPORT] => []
amp_conf [AMPPLAYKEY] => []
amp_conf [TCMAINT] => [TRUE]
amp_conf [TCINTERVAL] => [60]
amp_conf [USERESMWIBLF] => [TRUE]
amp_conf [AMPDBUSER] => [asteriskuser]
amp_conf [AMPDBPASS] => [amp109]
amp_conf [AMPDBHOST] => [localhost]
amp_conf [AMPDBNAME] => [asterisk]
amp_conf [AMPDBENGINE] => [mysql]
amp_conf [datasource] => []
amp_conf [AMPENABLEDEVELDEBUG] => []
OK
Checking for /etc/asterisk/asterisk.conf…OK
Reading /etc/asterisk/asterisk.conf…OK
Using asterisk as PBX Engine
Checking for Asterisk version…11.7.0
Checking for selinux…OK
Connecting to database…OK
Checking current version of AMP…2.11.0
Installing new FreePBX files…OK (610 files copied, 0 skipped)
amportal…no fpbx…freepbx_engine…freepbx_setting…gen_amp_conf.php…done
apply username/password changes to conf files:
running apply_conf.sh from freepbx_settings
Bootstrapping Configuration Settings
Updating configuration…
/etc/asterisk/cdr_mysql.conf user: [asteriskuser] password: [amp109] hostname: [localhost]
/etc/asterisk/manager.conf user: [admin] secret: [amp111]
Adjusting File Permissions…
Please wait…
SETTING FILE PERMISSIONS
Permissions OK
Privilege escalation protection disabled!
See https://wiki.asterisk.org/wiki/x/1gKfAQ for more details.
Done
done with apply_conf.sh
creating missing #include files…OK
Privilege escalation protection disabled!
See https://wiki.asterisk.org/wiki/x/1gKfAQ for more details.
OK
Setting permissions on files…OK
Checking for upgrades…No further upgrades necessary
Creating or updating freepbx_conf settings…OK
Setting freepbx settings form /etc/amportal.conf
freepbx setting [HTTPENABLESTATIC] set to [TRUE]
freepbx setting [HTTPENABLED] set to [TRUE]
freepbx setting [HTTPBINDADDRESS] set to [0.0.0.0]
freepbx setting [HTTPBINDPORT] set to [8088]
freepbx setting [HTTPPREFIX] set to []
freepbx setting [ASTMANAGERHOST] set to [localhost]
freepbx setting [AMPMGRPASS] set to [amp111]
freepbx setting [ASTMANAGERPORT] set to [5038]
freepbx setting [ASTMANAGERPROXYPORT] set to []
freepbx setting [AMPMGRUSER] set to [admin]
freepbx setting [ASTMGRWRITETIMEOUT] set to [5000]
freepbx setting [AMPBACKUPEMAILFROM] set to []
freepbx setting [DAYNIGHTTCHOOK] set to [TRUE]
freepbx setting [AMPLOCALBIN] set to []
freepbx setting [FPBXDBUGFILE] set to [/var/log/asterisk/freepbx_debug]
freepbx setting [DEVEL] set to [TRUE]
freepbx setting [FPBXDBUGDISABLE] set to [TRUE]
freepbx setting [DEVELRELOAD] set to [TRUE]
freepbx setting [CFRINGTIMERDEFAULT] set to [0]
freepbx setting [ASTCONFAPP] set to [app_confbridge]
freepbx setting [ZAP2DAHDICOMPAT] set to [TRUE]
freepbx setting [ENABLECW] set to [TRUE]
freepbx setting [DISABLECUSTOMCONTEXTS] set to [TRUE]
freepbx setting [DYNAMICHINTS] set to [TRUE]
freepbx setting [USEDEVSTATE] set to [TRUE]
freepbx setting [CONCURRENCYLIMITDEFAULT] set to [0]
freepbx setting [FCBEEPONLY] set to [TRUE]
freepbx setting [DIVERSIONHEADER] set to [TRUE]
freepbx setting [NOOPTRACE] set to [0]
freepbx setting [CWINUSEBUSY] set to [TRUE]
freepbx setting [ASTSTOPPOLLINT] set to [2]
freepbx setting [AMPBADNUMBER] set to [TRUE]
freepbx setting [USEGOOGLEDNSFORENUM] set to [TRUE]
freepbx setting [ASTSTOPTIMEOUT] set to [120]
freepbx setting [TONEZONE] set to [us]
freepbx setting [RINGTIMER] set to [15]
freepbx setting [TIMEFORMAT] set to [12\ Hour\ Format]
freepbx setting [ASTAGIDIR] set to [/var/lib/asterisk/agi-bin]
freepbx setting [ASTVARLIBDIR] set to [/var/lib/asterisk]
freepbx setting [ASTETCDIR] set to [/etc/asterisk]
freepbx setting [ASTLOGDIR] set to [/var/log/asterisk]
freepbx setting [ASTMODDIR] set to [/usr/lib/asterisk/modules]
freepbx setting [ASTRUNDIR] set to [/var/run/asterisk]
freepbx setting [ASTSPOOLDIR] set to [/var/spool/asterisk]
freepbx setting [AMPCGIBIN] set to [/var/www/cgi-bin\\\\\ ]
freepbx setting [AMPBIN] set to [/var/lib/asterisk/bin]
freepbx setting [AMPSBIN] set to [/usr/local/sbin]
freepbx setting [AMPWEBROOT] set to [/var/www/freepbx]
freepbx setting [MOHDIR] set to [moh]
freepbx setting [FOPWEBROOT] set to [/var/www/html/panel]
freepbx setting [BADDESTABORT] set to [TRUE]
freepbx setting [XTNCONFLICTABORT] set to [TRUE]
freepbx setting [CHECKREFERER] set to [TRUE]
freepbx setting [SERVERINTITLE] set to [TRUE]
freepbx setting [CUSTOMASERROR] set to [TRUE]
freepbx setting [RELOADCONFIRM] set to [TRUE]
freepbx setting [SHOWLANGUAGE] set to [TRUE]
freepbx setting [MODULEADMINWGET] set to [TRUE]
freepbx setting [MAXCALLS] set to []
freepbx setting [USEQUEUESTATE] set to [TRUE]
freepbx setting [CDRDBHOST] set to []
freepbx setting [CDRDBNAME] set to []
freepbx setting [CDRDBPASS] set to []
freepbx setting [CDRDBPORT] set to []
freepbx setting [CDRDBTABLENAME] set to []
freepbx setting [CDRDBTYPE] set to []
freepbx setting [CDRDBUSER] set to []
freepbx setting [AMPSYSLOGLEVEL] set to [FILE]
freepbx setting [AMPDISABLELOG] set to [TRUE]
freepbx setting [AMPEXTENSIONS] set to [extensions]
freepbx setting [AUTHTYPE] set to [database]
freepbx setting [AMPVMUMASK] set to [007]
freepbx setting [AMPWEBADDRESS] set to [192.168.1.1]
freepbx setting [AMPASTERISKGROUP] set to [asterisk]
freepbx setting [AMPASTERISKUSER] set to [asterisk]
freepbx setting [AMPDEVGROUP] set to [asterisk]
freepbx setting [AMPDEVUSER] set to [asterisk]
freepbx setting [AMPASTERISKWEBGROUP] set to [asterisk]
freepbx setting [AMPASTERISKWEBUSER] set to [asterisk]
freepbx setting [AMPENGINE] set to [asterisk]
freepbx setting [AMPMPG123] set to [TRUE]
freepbx setting [SSHPORT] set to []
freepbx setting [AMPPLAYKEY] set to []
freepbx setting [TCMAINT] set to [TRUE]
freepbx setting [TCINTERVAL] set to [60]
freepbx setting [USERESMWIBLF] set to [TRUE]
freepbx setting [AMPDBUSER] DOES NOT EXIST, can’t set to [asteriskuser]
freepbx setting [AMPDBPASS] DOES NOT EXIST, can’t set to [amp109]
freepbx setting [AMPDBHOST] DOES NOT EXIST, can’t set to [localhost]
freepbx setting [AMPDBNAME] DOES NOT EXIST, can’t set to [asterisk]
freepbx setting [AMPDBENGINE] DOES NOT EXIST, can’t set to [mysql]
freepbx setting [datasource] DOES NOT EXIST, can’t set to []
freepbx setting [AMPENABLEDEVELDEBUG] DOES NOT EXIST, can’t set to []
Generating AMP configs…
Generating Configurations.conf, (if Asterisk is not running, you will get an error
In case of error, start Asterisk and hit the red bar in the GUI to generate the Configurations.conf files
Checking for PEAR Console::Getopt…OK
Running module install.php and install.sql scripts
Skipping extension and destination registry checks
Checking for General Setting migrations…not needed
checking if Voicemail Admin (vmailadmin) is installed…not installed, ok
adding preload for res_mwi_blf.so to modules.conf…ok
found language dir fr for directory, not installed on system, skipping
Checking if directdids need migrating…already done
updating zap callgroup, pickupgroup…not needed
checking for delay_answer field …already exists
checking for pricid field …already exists
Checking if trunk table migration required…not needed
Checking if privacy manager options exists…already exists
Checking for noanswer_cid field…already exists
Checking for busy_cid field…already exists
Checking for chanunavail_cid field…already exists
Checking for noanswer_dest field…already exists
Checking for busy_dest field…already exists
Checking for chanunavail_dest field…already exists
Checking for General Setting migrations…not needed
Deleting unused globals…done
Converting IAX notransfer to transfer if needed…updated 0000 records
deleting obsoleted record_in and record_out entries…ok
checking for dest field in outbound_routes…already exists
checking for continue field in trunks…already exists
upgrading any zap trunks to dahdi if foundok
Added to globals: ASTETCDIR = /etc/asterisk
Added to globals: ASTMODDIR = /usr/lib/asterisk/modules
Added to globals: ASTVARLIBDIR = /var/lib/asterisk
Added to globals: ASTAGIDIR = /var/lib/asterisk/agi-bin
Added to globals: ASTSPOOLDIR = /var/spool/asterisk
Added to globals: ASTRUNDIR = /var/run/asterisk
Added to globals: ASTLOGDIR = /var/log/asterisk
Added to globals: CWINUSEBUSY = true
Added to globals: AMPMGRUSER = admin
Added to globals: AMPMGRPASS = amp111
Added to globals: AMPDBENGINE = mysql
Added to globals: AMPDBHOST = localhost
Added to globals: AMPDBNAME = asterisk
Added to globals: AMPDBUSER = asteriskuser
Added to globals: AMPDBPASS = amp109
Added to globals: VMX_CONTEXT = from-internal
Added to globals: VMX_PRI = 1
Added to globals: VMX_TIMEDEST_CONTEXT =
Added to globals: VMX_TIMEDEST_EXT = dovm
Added to globals: VMX_TIMEDEST_PRI = 1
Added to globals: VMX_LOOPDEST_CONTEXT =
Added to globals: VMX_LOOPDEST_EXT = dovm
Added to globals: VMX_LOOPDEST_PRI = 1
Added to globals: MIXMON_DIR =
Added to globals: MIXMON_POST =
Added to globals: DIAL_OPTIONS = Ttr
Added to globals: TRUNK_OPTIONS = Tt
Added to globals: TRUNK_RING_TIMER = 300
Added to globals: MIXMON_FORMAT = wav
Added to globals: REC_POLICY = caller
Added to globals: RINGTIMER_DEFAULT = 15
Added to globals: TRANSFER_CONTEXT = from-internal-xfer
Please update your modules and reload Asterisk by visiting http://192.168.1.1/admin
Generating AMP configs…OK
Checking fw_ari… No directory /var/www/freepbx/admin/modules/fw_ari/htdocs_ari, install script not needed
Module fw_ari successfully installed
SETTING FILE PERMISSIONS
Permissions OK
installed
Checking featurecodeadmin… Module featurecodeadmin successfully installed
SETTING FILE PERMISSIONS
Permissions OK
The following error(s) occured:
- Module featurecodeadmin is already enabled
installed
Checking music… Module music successfully installed
SETTING FILE PERMISSIONS
Permissions OK
The following error(s) occured:
- Module music is already enabled
installed
Checking core… Checking if directdids need migrating…already done
updating zap callgroup, pickupgroup…not needed
checking for delay_answer field …already exists
checking for pricid field …already exists
Checking if trunk table migration required…not needed
Checking if privacy manager options exists…already exists
Checking for noanswer_cid field…already exists
Checking for busy_cid field…already exists
Checking for chanunavail_cid field…already exists
Checking for noanswer_dest field…already exists
Checking for busy_dest field…already exists
Checking for chanunavail_dest field…already exists
Checking for General Setting migrations…not needed
Deleting unused globals…done
Converting IAX notransfer to transfer if needed…updated 0000 records
deleting obsoleted record_in and record_out entries…ok
checking for dest field in outbound_routes…already exists
checking for continue field in trunks…already exists
upgrading any zap trunks to dahdi if foundok
Module core successfully installed
SETTING FILE PERMISSIONS
Permissions OK
The following error(s) occured:
- Module core is already enabled
installed
Checking customappsreg… Module customappsreg successfully installed
SETTING FILE PERMISSIONS
Permissions OK
The following error(s) occured:
- Module customappsreg is already enabled
installed
Checking logfiles… Module logfiles successfully installed
SETTING FILE PERMISSIONS
Permissions OK
The following error(s) occured:
- Module logfiles is already enabled
installed
Checking voicemail… Checking for General Setting migrations…not needed
checking if Voicemail Admin (vmailadmin) is installed…not installed, ok
Module voicemail successfully installed
SETTING FILE PERMISSIONS
Permissions OK
The following error(s) occured:
- Module voicemail is already enabled
installed
Checking infoservices… Module infoservices successfully installed
SETTING FILE PERMISSIONS
Permissions OK
The following error(s) occured:
- Module infoservices is already enabled
installed
Checking dashboard… Module dashboard successfully installed
SETTING FILE PERMISSIONS
Permissions OK
The following error(s) occured:
- Module dashboard is already enabled
installed
Checking cdr… Checking if field did is present in cdr table…
did field already present.
Checking if field recordingfile is present in cdr table…
recordingfile field already present.
Checking if field cnum is present in cdr table…
cnum field already present.
Checking if field cnam is present in cdr table…
cnam field already present.
Checking if field outbound_cnum is present in cdr table…
outbound_cnum field already present.
Checking if field outbound_cnam is present in cdr table…
outbound_cnam field already present.
Checking if field dst_cnam is present in cdr table…
dst_cnam field already present.
Creating cel if needed…OK
Module cdr successfully installed
SETTING FILE PERMISSIONS
Permissions OK
The following error(s) occured:
- Module cdr is already enabled
installed
Checking framework… No directory /var/www/freepbx/admin/modules/framework/amp_conf/htdocs, install script not needed
Module framework successfully installed
SETTING FILE PERMISSIONS
Permissions OK
installed
Checking recordings… checking for fcode field…already exists
checking for fcode_pass field…already exists
Module recordings successfully installed
SETTING FILE PERMISSIONS
Permissions OK
The following error(s) occured:
- Module recordings is already enabled
installed
Please update your modules and reload Asterisk by visiting http://192.168.1.1/admin
- Note: It’s possible that if you click the red ‘Update Now’ bar BEFORE *
- updating your modules, your machine will start dropping calls. Ensure *
- that all modules are up to date BEFORE YOU CLICK THE RED BAR. As long *
- as this is observed, your machine will be fully functional whilst the *
- upgrade is in progress. *