Recently I noticed that my FreePBX is acting weird. It was a FreePBX 12 running on Ubuntu 12.04. The web ui response time is terrible slow + multiple menus (like Backup and Restore, Extensions etc) “greyed out”. I configured full backup for every night but my last backup is from 25th of August. I did not noticed anything sooner because every extension worked properly and I not logged in the webui for days.
I installed another system on Ubuntu 14.04 and destroyed the old one (which was a mistake probably) and restored everything from the last backup, but the result is the same.
Current config:
Ubuntu 14.04 64bit
FreePBX 12.0.76
Asterisk 12.8.2
Module list:
root@sc-asterisk:/home/username# amportal a ma list
Please wait…
no repos specified, using: [standard] from last GUI settings
Module Version Status
announcement 2.11.0.4 Enabled
arimanager 12.0.4 Enabled
asteriskinfo 12.0.2 Enabled
backup 12.0.19 Enabled
blacklist 12.0.3 Enabled
builtin Enabled
callforward 12.0.7 Enabled
callrecording 12.0.3 Enabled
callwaiting 12.0.3 Enabled
campon 2.11.0.2 Enabled
cdr 12.0.22 Enabled
certman 12.0.5 Enabled
cidlookup 2.11.1.12 Enabled
conferences 12.0.16 Enabled
contactmanager 12.0.3 Enabled
core 12.0.39 Enabled
customappsreg 12.0.3.2 Enabled
cxpanel 4.1.8 Enabled
dashboard 12.0.31.2 Enabled
daynight 2.11.0.6 Enabled
digium_phones 2.11.2.5 Disabled
digiumaddoninstaller Not Installed (Locally available)
donotdisturb 12.0.3 Enabled
featurecodeadmin 12.0.2 Enabled
findmefollow 12.0.11 Enabled
framework 12.0.76 Enabled
iaxsettings 2.11.0.3 Enabled
infoservices 12.0.3.2 Enabled
ivr 2.11.0.11 Enabled
logfiles 12.0.6 Enabled
manager 12.0.2 Enabled
music 12.0.1 Enabled
paging 12.0.14 Enabled
parking 12.0.12.1 Enabled
presencestate 12.0.30 Enabled
printextensions 2.11.0.1 Enabled
recordings 12.0.8 Enabled
ringgroups 12.0.3.2 Enabled
setcid 2.11.0.4 Enabled
sipsettings 12.0.14 Enabled
sipstation 12.0.8.6 Enabled
timeconditions 12.0.8 Enabled
ucp 12.0.24 Enabled
userman 12.0.26 Enabled
voicemail 12.0.40 Enabled
Only error messages (which I think irrelevant) from freepbx.log:
[2015-Aug-28 12:55:29] [ERROR] (core/install.php:569) - Failed to add index to extensions field in the users table
[2015-Aug-28 12:56:53] [ERROR] (BMO/Notifications.class.php:493) - [NOTIFICATION]-[framework]-[ASTCONFAPPMISSING] - No Conference Room App (Neither app_meetme nor app_confbridge is configured in Asterisk, conferencing, paging and other functionality will not work properly)
Error messages from /var/log/apache2/error.log:
[Mon Aug 31 18:07:52.431199 2015] [:error] [pid 28843] [client 10.1.10.33:40047] PHP Fatal error: Call to a member function connected() on a non-object in /var/www/html/admin/modules/digium_phones/functions.inc.php on line 130, referer: http : //10.1.10.32/admin/config.php
[Wed Sep 02 16:53:35.767156 2015] [:error] [pid 26199] [client 10.1.10.33:42031] script ‘/var/www/html/config.php’ not found or unable to stat
[Wed Sep 02 17:00:02.143674 2015] [:error] [pid 8966] [client 10.1.10.33:42456] PHP Fatal error: Call to a member function connected() on a non-object in /var/www/html/admin/modules/digium_phones/functions.inc.php on line 130, referer: http : //10.1.10.32/admin/config.php
[Wed Sep 02 17:51:41.587003 2015] [:error] [pid 9109] [client 10.1.10.33:46545] PHP Fatal error: Call to a member function connected() on a non-object in /var/www/html/admin/modules/digium_phones/functions.inc.php on line 130, referer: http : //10.1.10.32/admin/config.php
[Wed Sep 02 18:07:03.706297 2015] [:error] [pid 9110] [client 10.1.10.33:47872] PHP Fatal error: Call to a member function connected() on a non-object in /var/www/html/admin/libraries/BMO/Codecs.class.php on line 70, referer: http : //10.1.10.32/admin/config.php?display=extensions
[Wed Sep 02 18:09:04.165025 2015] [:error] [pid 9107] [client 10.1.10.33:47962] PHP Fatal error: Call to a member function send_request() on a non-object in /var/www/html/admin/modules/asteriskinfo/page.asteriskinfo.php on line 141, referer: http : //10.1.10.32/admin/config.php?display=extensions
[Wed Sep 02 18:28:28.680883 2015] [:error] [pid 15970] [client 10.1.10.33:49579] PHP Strict Standards: Only variables should be passed by reference in /var/www/html/admin/modules/dashboard/Dashboard.class.php on line 128, referer: http : //10.1.10.32/admin/config.php
Firsts I only see the error about the diginum_phone function, so I disabled that module. Now the new errors appeared.
I even tried (on another server) to install FreePBX 12 then upgrade to 13, restore the backup. Every menu worked fine, but when I clicked on an extension I got mysql error message. (long select command appeared in red).
Then I tried to install FreePBX 13 on Ubuntu 14.04 from scratch using this documentation:
http : //wiki.freepbx.org/display/HTGS/Installing+FreePBX+13+on+Ubuntu+Server+14.04.2+LTS
But I got error during this step: Compile and install pjproject when run the “make deb” command
make[2]: Leaving directory
/usr/src/pjproject-2.4/pjsip/build' make -f /usr/src/pjproject-2.4/build/rules.mak APP=PJSUA2_LIB app=pjsua2-lib depend make[2]: Entering directory
/usr/src/pjproject-2.4/pjsip/build’
.pjsua2-lib-x86_64-unknown-linux-gnu.depend:1: *** missing separator. Stop.
make[2]: Leaving directory/usr/src/pjproject-2.4/pjsip/build' make[1]: *** [depend] Error 2 make[1]: Leaving directory
/usr/src/pjproject-2.4/pjsip/build’
make: *** [dep] Error 1
So right now I have multiple server and none of them working 100% properly. Any help will be appreciated.