Quantcast
Channel: FreePBX Community Forums - Latest posts
Viewing all articles
Browse latest Browse all 227874

FreePBX 13 Release Candidate

$
0
0

hello:
I reinstalled everything, but it shows such errors:

installing files to /var/lib/asterisk/bin..error copying files:
'cp -rf' from src: '/var/www/html/admin/modules/framework/amp_conf/bin/*' to dst: '/var/lib/asterisk/bin'...details follow
cp: cannot stat '/var/www/html/admin/modules/framework/amp_conf/bin/*': No such file or directory
done, see errors below
installing files to /var/lib/asterisk/agi-bin..error copying files:
'cp -rf' from src: '/var/www/html/admin/modules/framework/amp_conf/agi-bin/*' to dst: '/var/lib/asterisk/agi-bin'...details follow
cp: cannot stat '/var/www/html/admin/modules/framework/amp_conf/agi-bin/*': No such file or directory
done, see errors below
PHP Warning:  Uncaught exception 'Whoops\Exception\ErrorException' with message 'require_once(/var/www/html/admin/modules/framework/installlib/installer.class.php): failed to open stream: No such file or directory' in /var/www/html/admin/modules/framework/install.php:125
Stack trace:
#0 /var/www/html/admin/modules/framework/install.php(125): Whoops\Run->handleError(2, 'require_once(/v...', '/var/www/html/a...', 125, Array)
#1 /var/www/html/admin/modules/framework/install.php(125): require_once()
#2 /var/www/html/admin/libraries/modulefunctions.class.php(2363): include_once('/var/www/html/a...')
#3 /var/www/html/admin/libraries/modulefunctions.class.php(2315): module_functions->_doinclude('/var/www/html/a...', 'framework')
#4 /var/www/html/admin/libraries/modulefunctions.class.php(1878): module_functions->_runscripts('framework', 'install', Array)
#5 /var/www/html/admin/libraries/Console/Moduleadmin.class.php(196): module_functions->install('framework', true)
#6 /var/www/html/admin/libraries/Console/Moduleadmin.class.php(86 in /var/www/html/admin/modules/framework/install.php on line 125
PHP Fatal error:  main(): Failed opening required '/var/www/html/admin/modules/framework/installlib/installer.class.php' (include_path='.:/usr/share/pear:/usr/share/php') in /var/www/html/admin/modules/framework/install.php on line 125
Whoops\Exception\ErrorException: main(): Failed opening required '/var/www/html/admin/modules/framework/installlib/installer.class.php' (include_path='.:/usr/share/pear:/usr/share/php') in file /var/www/html/admin/modules/framework/install.php on line 125
Stack trace:
  1. () /var/www/html/admin/modules/framework/install.php:125
Done
---------------------------------------------------------------------------------------------------------------------------------------------

I copy the installlib files into to the required dir and can installed without problem. this is the final steps:

[root@localhost freepbx]# ./install -n
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...Done!
Preliminary checks done. Starting FreePBX Installation
Checking if this is a new install...No (/etc/amportal.conf file detected)
Initializing FreePBX Settings
Finished initalizing settings
Copying files (this may take a bit)....
  900/5415 [====>-----------------------]  16%/var/www/html/admin/i18n/de_DE/LC_MESSAGES/amp.po has been changed from the original version.
/var/www/html/admin/i18n/de_DE/LC_MESSAGES/amp.mo has been changed from the original version.
/var/www/html/admin/i18n/ja_JP/LC_MESSAGES/amp.po has been changed from the original version.
/var/www/html/admin/i18n/ja_JP/LC_MESSAGES/amp.mo has been changed from the original version.
/var/www/html/admin/i18n/fr_FR/LC_MESSAGES/amp.po has been changed from the original version.
/var/www/html/admin/i18n/fr_FR/LC_MESSAGES/amp.mo has been changed from the original version.
/var/www/html/admin/i18n/bg_BG/LC_MESSAGES/amp.po has been changed from the original version.
/var/www/html/admin/i18n/bg_BG/LC_MESSAGES/amp.mo has been changed from the original version.
/var/www/html/admin/i18n/he_IL/LC_MESSAGES/amp.po has been changed from the original version.
/var/www/html/admin/i18n/he_IL/LC_MESSAGES/amp.mo has been changed from the original version.
/var/www/html/admin/i18n/nl_NL/LC_MESSAGES/amp.po has been changed from the original version.
/var/www/html/admin/i18n/nl_NL/LC_MESSAGES/amp.mo has been changed from the original version.
/var/www/html/admin/i18n/hu_HU/LC_MESSAGES/amp.po has been changed from the original version.
/var/www/html/admin/i18n/hu_HU/LC_MESSAGES/amp.mo has been changed from the original version.
/var/www/html/admin/i18n/it_IT/LC_MESSAGES/amp.po has been changed from the original version.
/var/www/html/admin/i18n/it_IT/LC_MESSAGES/amp.mo has been changed from the original version.
/var/www/html/admin/i18n/amp.pot has been changed from the original version.
/var/www/html/admin/i18n/es_ES/LC_MESSAGES/amp.po has been changed from the original version.
/var/www/html/admin/i18n/es_ES/LC_MESSAGES/amp.mo has been changed from the original version.
 1000/5415 [=====>----------------------]  18%/var/www/html/admin/assets/js/module_admin.js has been changed from the original version.
/var/www/html/admin/assets/js/search.js has been changed from the original version.
/var/www/html/admin/assets/js/pbxlib.js has been changed from the original version.
/var/www/html/admin/assets/js/script.legacy.js has been changed from the original version.
/var/www/html/admin/assets/js/modernizr.js has been changed from the original version.
/var/www/html/admin/assets/js/jquery-ui-1.11.4.custom.min.js has been changed from the original version.
/var/www/html/admin/assets/less/freepbx/freepbx.less has been changed from the original version.
/var/www/html/admin/assets/less/freepbx/chosen.less has been changed from the original version.
/var/www/html/admin/assets/less/freepbx/jqueryui-overrides.less has been changed from the original version.
/var/www/html/admin/assets/less/freepbx/menu.less has been changed from the original version.
/var/www/html/admin/assets/less/freepbx/buttons.less has been changed from the original version.
/var/www/html/admin/functions.inc.php has been changed from the original version.
/var/www/html/admin/bootstrap.php has been changed from the original version.
/var/lib/asterisk/bin/retrieve_conf has been changed from the original version.
/etc/asterisk/modules.conf has been changed from the original version.
/etc/asterisk/cdr_adaptive_odbc.conf has been changed from the original version.
 5415/5415 [============================] 100%
Done
Finishing up directory processes...Done!
Creating missing #include files...Done
Running variable replacement...Done
Setting up Asterisk Manager Connection...Done
Running through upgrades...
Checking for upgrades..
No further upgrades necessary
Finished upgrades
Setting FreePBX version to 13.0.1RC1.3...Done
Writing out /etc/amportal.conf...Done
Setting Permissions...
 8711/8711 [============================] 100%
Finished setting permissions
Installing all modules...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.
Generating CSS...Done
Module cdr successfully installed
Updating Hooks...Done
Generating CSS...Done
Module music successfully installed
Updating Hooks...Done
Generating CSS...Done
Module infoservices successfully installed
Updating Hooks...Done
Checking if directdids need migrating..already done
updating zap callgroup, pickupgroup..not needed
checking for delay_answer field ..already exists
checking for reversal 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
Unable to add index to extensions field in users
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
Generating CSS...Done
Module core successfully installed
Updating Hooks...Done
Generating CSS...Done
Module featurecodeadmin successfully installed
Updating Hooks...Done
Refreshing all UCP Assets, this could take a while...
Generating Module Scripts...Done
Generating Module CSS...Done
Generating Main Scripts...Done
Generating Main CSS...Done
Done!
Generating CSS...Done
Module ucp successfully installed
Updating Hooks...Done
Generating CSS...Done
Module logfiles successfully installed
Updating Hooks...Done
Checking for General Setting migrations..not needed
checking if Voicemail Admin (vmailadmin) is installed..not installed, ok
Generating CSS...Done
Module voicemail successfully installed
Updating Hooks...Done
Creating cel if needed..OK
checking for extra field..already exists
checking for userfield field..already deleted
Generating CSS...Done
Module cel successfully installed
Updating Hooks...Done
Generating CSS...Done
Module customappsreg successfully installed
Updating Hooks...Done
Generating CSS...Done
Module dashboard successfully installed
Updating Hooks...Done
checking for sipsettings table..already exists
Migrate rtp.conf values if needed and initialize
Generating CSS...Done
Module sipsettings successfully installed
Updating Hooks...Done
Generating CSS...Done
Module callrecording successfully installed
Updating Hooks...Done
Generating CSS...Done
Module userman successfully installed
Updating Hooks...Done
Done installing modules
Installing framework...
installing files to /var/www/html..done
installing files to /var/lib/asterisk/bin..done
installing files to /var/lib/asterisk/agi-bin..done
Checking for upgrades..
No further upgrades necessary
framework file install done, removing packages from module
file/directory: /var/www/html/admin/modules/framework/amp_conf removed successfully
file/directory: /var/www/html/admin/modules/framework/upgrades removed successfully
file/directory: /var/www/html/admin/modules/framework/start_asterisk removed successfully
file/directory: /var/www/html/admin/modules/framework/install removed successfully
file/directory: /var/www/html/admin/modules/framework/installlib removed successfully
Generating CSS...Done
Module framework successfully installed
Updating Hooks...Done
Done
Generating default configurations...
Checking for PEAR Console::Getopt..OK
Skipping extension and destination registry checks
Please update your modules and reload Asterisk by browsing to your server.
Finished generating default configurations
Trusting FreePBX...Trusted
Setting Permissions...
 8200/8200 [============================] 100%
Finished setting permissions
You have successfully installed FreePBX
[root@localhost freepbx]# reboot


--------------------after installed everything, but i still can not access the GUI from broswer/empty------------  
it looks ok from asterisk -r command, but GUI dead:
[root@localhost admin]#  systemctl status -l freepbx.service
● freepbx.service
   Loaded: not-found (Reason: No such file or directory)
   Active: inactive (dead)
[root@localhost admin]#  systemctl start  -l freepbx.service
Failed to start freepbx.service: Unit freepbx.service failed to load: No such file or directory.
[root@localhost admin]# /usr/sbin/fwconsole restart
Running FreePBX shutdown...

Checking Asterisk Status...
Run Pre-Asterisk Shutdown Hooks

Shutting down Asterisk Gracefully...
Press C to Cancel
Press N to shut down NOW
Stopping Asterisk...
 120/120 [============================] 100%
Asterisk Stopped Successfuly

Running Post-Asterisk Stop Scripts
Running FreePBX startup...

Checking Asterisk Status...
Run Pre-Asterisk Hooks

Starting Asterisk...
 100/100 [============================] 100%
Asterisk Started on  3835

Running Post-Asterisk Scripts
[root@localhost admin]# ps
  PID TTY          TIME CMD
 1646 pts/0    00:00:00 bash
 3833 pts/0    00:00:00 safe_asterisk
 4342 pts/0    00:00:00 ps
[root@localhost admin]# asterisk -r
Asterisk 13.5.0, Copyright (C) 1999 - 2014, Digium, Inc. and others.
Created by Mark Spencer <markster@digium.com>
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.
=========================================================================
Connected to Asterisk 13.5.0 currently running on localhost (pid = 3835)
localhost*CLI>
-------------------------------------------------------------

Viewing all articles
Browse latest Browse all 227874


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>