FreePBX 2.9.0 Install problem, please help

Hello all

Trying to install FreePBX from tar ball
and getting error:

Checking for PEAR DB…OK
Checking for PEAR Console::Getopt…OK
Checking user…OK
Checking if Asterisk is running…running with PID: 773…OK
Checking for /etc/amportal.conf…/etc/amportal.conf does not exist, copying default
Creating new /etc/amportal.conf
Enter your USERNAME to connect to the ‘asterisk’ database:
[asteriskuser]
Enter your PASSWORD to connect to the ‘asterisk’ database:
[amp109]
Enter the hostname of the ‘asterisk’ database:
[localhost]
Enter a USERNAME to connect to the Asterisk Manager interface:
[admin]
Enter a PASSWORD to connect to the Asterisk Manager interface:
[amp111]
Enter the path to use for your AMP web root:
[/var/www/html]
/www/htdocs/pbx
Created /www/htdocs/pbx
Enter the IP ADDRESS or hostname used to access the AMP web-admin:
[xx.xx.xx.xx] 192.168.3.11
Enter a PASSWORD to perform call transfers with the Flash Operator Panel:
[passw0rd]
Use simple Extensions [extensions] admin or separate Devices and Users [deviceanduser]?
[extensions]
Enter directory in which to store AMP executable scripts:
[/var/lib/asterisk/bin]

Enter directory in which to store super-user scripts:
[/usr/local/sbin]

/etc/amportal.conf writtenAssuming new install, --install-moh added to command line
OK
Reading /etc/amportal.conf…OK
Checking for /etc/asterisk/asterisk.conf…OK
Reading /etc/asterisk/asterisk.conf…OK
Using asterisk as PBX Engine
Checking for Asterisk version…1.8.20.1
Checking for selinux…PHP Notice: Undefined offset: 0 in /usr/src/freepbx-2.9.0/install_amp on line 902
OK
Connecting to database…OK
Checking current version of AMP…2.10.0
Installing new FreePBX files…OK (764 files copied, 0 skipped)
linking libfreepbx.javascripts.js to theme/js…ok
Configuring install for your environment…amportal…fpbx…freepbx_engine…done
apply username/password changes to conf files…done
creating missing #include files…OK
OK
Setting permissions on files…chown: cannot access /var/www/html/admin': No such file or directory chmod: cannot access/var/www/html/admin’: No such file or directory
chown: cannot access /var/www/html/panel': No such file or directory chmod: cannot access/var/www/html/panel’: No such file or directory
chown: cannot access /var/www/html/recordings': No such file or directory chmod: cannot access/var/www/html/recordings’: No such file or directory
chown: cannot access /var/www/html/_asterisk': No such file or directory chmod: cannot access/var/www/html/panel/*.pl’: No such file or directory
chmod: cannot access `/var/www/html/panel/safe_opserver’: No such file or directory
OK
Checking for upgrades…No upgrades found
Creating or updating freepbx_conf settings…OK
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
Generating AMP configs…OK
PHP Notice: Undefined index: FOPRUN in /usr/src/freepbx-2.9.0/install_amp on line 1166
Checking recordings… dependencies pending
Checking core… The following error(s) occured:

  • Cannot find module
    The following error(s) occured:
  • Module core cannot be enabled
    installed
    Checking customappsreg… The following error(s) occured:
  • Cannot find module
    The following error(s) occured:
  • Module customappsreg cannot be enabled
    installed
    Checking fw_fop… dependencies pending
    Checking framework… The following error(s) occured:
  • Module framework cannot be enabled
    enabled
    Checking dashboard… The following error(s) occured:
  • Cannot find module
    The following error(s) occured:
  • Module dashboard cannot be enabled
    installed
    Checking voicemail… The following error(s) occured:
  • Cannot find module
    The following error(s) occured:
  • Module voicemail cannot be enabled
    installed
    Checking music… The following error(s) occured:
  • Cannot find module
    The following error(s) occured:
  • Module music cannot be enabled
    installed
    Checking featurecodeadmin… The following error(s) occured:
  • Cannot find module
    The following error(s) occured:
  • Module featurecodeadmin cannot be enabled
    installed
    Checking fw_ari… dependencies pending
    Checking infoservices… The following error(s) occured:
  • Cannot find module
    The following error(s) occured:
  • Module infoservices cannot be enabled
    installed
    Checking recordings… dependencies pending
    Checking fw_fop… dependencies pending
    Checking fw_ari… dependencies pending
    Checking recordings… The following error(s) occured:
  • Cannot find module
    The following error(s) occured:
  • Module recordings cannot be enabled
    installed
    Checking fw_fop… The following error(s) occured:
  • Module fw_fop cannot be enabled
    enabled
    Checking fw_ari… The following error(s) occured:
  • Module fw_ari cannot be enabled
    enabled
    Please update your modules and reload Asterisk by visiting http://192.168.3.11/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. *

what can be a problem here?

Add:

I find something here, I think this is an issue:

Setting permissions on files..chown: cannot access `/var/www/html/admin': No such file or directory chmod: cannot access `/var/www/html/admin': No such file or directory chown: cannot access `/var/www/html/panel': No such file or directory chmod: cannot access `/var/www/html/panel': No such file or directory chown: cannot access `/var/www/html/recordings': No such file or directory chmod: cannot access `/var/www/html/recordings': No such file or directory chown: cannot access `/var/www/html/_asterisk': No such file or directory chmod: cannot access `/var/www/html/panel/*.pl': No such file or directory chmod: cannot access `/var/www/html/panel/safe_opserver': No such file or directory

But I put another path for FreePBX why it is still trying to install to /var/www and not to /www/htdocs

Any reason you want 2.9 so badly?

We have 2.11 almost out (with these fixes already applied)

Hi tm1000byt ver 2.10 has the same issue. WEhat about beta 2.11 is there all ok?

I see in beta 11 the same issue

Checking core.. PHP Fatal error: require_once(): Failed opening required '/var/www/html/admin/libraries/modulelist.class.php' (include_path='.:/usr/local/lib/php') in /www/htdocs/pbx/admin/functions.inc.php on line 167 PHP Fatal error: require_once(): Failed opening required '/var/www/html/admin/libraries/modulelist.class.php' (include_path='.:/usr/local/lib/php') in /www/htdocs/pbx/admin/functions.inc.php on line 167

You need to install from our SVN.

please see https://wiki.freepbx.org/pages/viewpage.action?pageId=1048598

Hi tm1000
It helped me to install it
but now another issue, When I am trying to apply settings

Reload failed because retrieve_conf encountered an error: 20

click here for more info
1 error(s) occurred, you should view the notification log on the dashboard or main screen to check for more details.

If I run /var/lib/asterisk/bin/retrieve_conf from CLI
I am getting this error

Aborting reload because extension conflicts or bad destinations

What can be issue here?

Thanks

Did you install from scratch or install on top of a previous attempt.

I found the problem

There was 1 bad destination in parked lot
So I change it to some extensions and now all working perfect

Thanks