FreePBX | Register | Issues | Wiki | Portal | Support

FREEPBX 13: After module upgrade I have got permanent error at http://asterisk:9980/admin/config.php


(zserge) #1

in_array() expects parameter 2 to be array, boolean given


(Mike Halsey) #2

I have the same arror. Any help much appreciated.


(TheJames) #3

please supply the output of

fwconsole ma list

(Mike Halsey) #4
+----------------------+---------------+--------------------------------------------+
| Module               | Version       | Status                                     |
+----------------------+---------------+--------------------------------------------+
| accountcodepreserve  | 2.11.0.0      | Enabled                                    |
| announcement         | 13.0.1alpha2  | Enabled                                    |
| areminder            | 12.0.2        | Enabled                                    |
| arimanager           | 12.0.3        | Enabled                                    |
| asterisk-cli         | 2.11.0.3      | Enabled                                    |
| asteriskinfo         | 13.0.1alpha1  | Enabled                                    |
| backup               | 13.0.1alpha2  | Enabled                                    |
| blacklist            | 13.0.1alpha1  | Enabled                                    |
| bria                 | 13.0.1        | Enabled                                    |
| broadcast            | 2.11.8.2      | Enabled                                    |
| builtin              |               | Enabled                                    |
| bulkdids             | 2.11.1.4      | Enabled                                    |
| bulkextensions       | 2.11.0.7      | Enabled                                    |
| callback             | 13.0.1alpha1  | Enabled                                    |
| callerid             | 12.0.1        | Enabled                                    |
| callforward          | 12.0.7        | Enabled                                    |
| calllimit            | 12.0.1        | Enabled                                    |
| callrecording        | 13.0.1alpha4  | Enabled                                    |
| callwaiting          | 12.0.3        | Enabled                                    |
| campon               | 13.0.1alpha1  | Enabled                                    |
| cdr                  | 13.0.6        | Enabled                                    |
| cel                  | 13.0.1alpha2  | Enabled                                    |
| certman              | 13.0.1        | Enabled                                    |
| cidlookup            | 13.0.1alpha2  | Enabled                                    |
| conferences          | 13.0.1alpha1  | Enabled                                    |
| conferencespro       | 13.0.1alpha1  | Enabled                                    |
| contactmanager       | 13.0.0beta3   | Enabled                                    |
| core                 | 13.0.1alpha15 | Disabled; Pending upgrade to 13.0.1alpha16 |
| cos                  | 12.0.17       | Enabled                                    |
| customappsreg        | 12.0.1        | Enabled                                    |
| customcontexts       | 2.11.0.1      | Enabled                                    |
| cxpanel              | 4.1.3         | Enabled                                    |
| dahdiconfig          | 13.0.1alpha1  | Enabled                                    |
| dashboard            | 13.0.6        | Enabled                                    |
| daynight             | 13.0.3        | Enabled                                    |
| dictate              | 2.11.0.3      | Enabled                                    |
| digium_phones        | 2.11.2.2      | Enabled                                    |
| digiumaddoninstaller | 2.11.0.10     | Enabled                                    |
| directory            | 13.0.1alpha2  | Enabled                                    |
| disa                 | 13.0.1alpha1  | Enabled                                    |
| donotdisturb         | 12.0.3        | Enabled                                    |
| dundicheck           | 2.11.0.3      | Enabled                                    |
| endpoint             | 12.0.0.59     | Enabled                                    |
| endpointman          |               | Not Installed (Locally available)          |
| extensionroutes      | 12.0.11       | Enabled                                    |
| extensionsettings    | 2.11.0.2      | Enabled                                    |
| fax                  | 13.0.1alpha5  | Enabled                                    |
| faxpro               | 13.0.3        | Enabled                                    |
| featurecodeadmin     | 13.0.1alpha1  | Enabled                                    |
| findmefollow         | 13.0.1alpha1  | Enabled                                    |
| framework            | 13.0.1alpha38 | Enabled                                    |
| freepbx_ha           | 13.0.1        | Enabled                                    |
| fw_langpacks         | 12.0.7        | Enabled                                    |
| hotelwakeup          | 2.11.3        | Enabled                                    |
| iaxsettings          | 13.0.1alpha1  | Enabled                                    |
| infoservices         | 12.0.1        | Enabled                                    |
| irc                  | 2.11.0.4      | Enabled                                    |
| ivr                  | 13.0.1alpha1  | Enabled                                    |
| javassh              | 2.11.2        | Enabled                                    |
| languages            | 2.11.0.2      | Enabled                                    |
| logfiles             | 12.0.6        | Enabled                                    |
| manager              | 12.0.2        | Enabled                                    |
| miscapps             | 13.0.1alpha1  | Enabled                                    |
| miscdests            | 13.0.1alpha1  | Enabled                                    |
| motif                | 12.0.3        | Enabled                                    |
| music                | 12.0.1        | Enabled                                    |
| outroutemsg          | 2.11.0.2      | Enabled                                    |
| paging               | 13.0.1alpha2  | Enabled                                    |
| pagingpro            | 12.0.6        | Enabled                                    |
| parking              | 13.0.1alpha3  | Enabled                                    |
| parkpro              | 12.0.8        | Enabled                                    |
| pbdirectory          | 2.11.0.2      | Enabled                                    |
| phonebook            | 2.11.0.2      | Enabled                                    |
| phpagiconf           | 2.11.0.0      | Enabled                                    |
| phpinfo              | 13.0.1alpha1  | Enabled                                    |
| pinsets              | 13.0.1alpha1  | Enabled                                    |
| pinsetspro           | 2.11.0.11     | Enabled                                    |
| presencestate        | 13.0.2        | Enabled                                    |
| printextensions      | 2.11.0.1      | Enabled                                    |
| queuemetrics         | 2.11.0.1      | Enabled                                    |
| queueprio            | 2.11.0.2      | Enabled                                    |
| queues               | 13.0.1alpha3  | Enabled                                    |
| recording_report     | 2.11.0.9      | Enabled                                    |
| recordings           | 12.0.7        | Enabled                                    |
| restapi              | 12.0.1        | Enabled                                    |
| restapps             | 12.0.30       | Enabled                                    |
| restart              | 12.0.1        | Enabled                                    |
| ringgroups           | 13.0.1alpha2  | Enabled                                    |
| setcid               | 2.11.0.4      | Enabled                                    |
| sipsettings          | 13.0.1alpha3  | Enabled                                    |
| sipstation           | 12.0.8.2      | Enabled                                    |
| sms                  | 13.0.1alpha1  | Enabled                                    |
| sng_mcu              | 2.11.0.3      | Enabled                                    |
| speeddial            | 2.11.0.2      | Enabled                                    |
| superfecta           | 2.11.16       | Enabled                                    |
| sysadmin             | 13.0.1        | Enabled                                    |
| timeconditions       | 13.0.2        | Enabled                                    |
| tts                  | 2.11.0.10     | Enabled                                    |
| ttsengines           | 2.11.0.3      | Enabled                                    |
| ucp                  | 13.0.1alpha6  | Enabled                                    |
| ucpnode              | 13.0.1alpha2  | Enabled                                    |
| userman              | 13.0.1alpha8  | Enabled                                    |
| vmblast              | 13.0.1alpha1  | Enabled                                    |
| vmnotify             | 12.0.2        | Enabled                                    |
| voicemail            | 13.0.1alpha10 | Enabled                                    |
| voicemail_report     | 12.0.1        | Enabled                                    |
| vqplus               | 12.0.8        | Enabled                                    |
| weakpasswords        | 12.0.3        | Enabled                                    |
| webcallback          | 12.0.1        | Enabled                                    |
| webrtc               | 13.0.1alpha2  | Enabled                                    |
| xmpp                 | 13.0.1alpha1  | Enabled                                    |
+----------------------+---------------+--------------------------------------------+

(Mike Halsey) #5

My guess is that it’s related to the Core module being disabled…but I don’t know how to update/install it manually.


(TheJames) #6

try

fwconsole ma install core

(Mike Halsey) #7
+----------------------+---------------+-----------------------------------+
| Module               | Version       | Status                            |
+----------------------+---------------+-----------------------------------+
| accountcodepreserve  | 2.11.0.0      | Enabled                           |
| announcement         | 13.0.1alpha2  | Enabled                           |
| areminder            | 12.0.2        | Enabled                           |
| arimanager           | 12.0.3        | Enabled                           |
| asterisk-cli         | 2.11.0.3      | Enabled                           |
| asteriskinfo         | 13.0.1alpha1  | Enabled                           |
| backup               | 13.0.1alpha2  | Enabled                           |
| blacklist            | 13.0.1alpha1  | Enabled                           |
| bria                 | 13.0.1        | Enabled                           |
| broadcast            | 2.11.8.2      | Enabled                           |
| builtin              |               | Enabled                           |
| bulkdids             | 2.11.1.4      | Enabled                           |
| bulkextensions       | 2.11.0.7      | Enabled                           |
| callback             | 13.0.1alpha1  | Enabled                           |
| callerid             | 12.0.1        | Enabled                           |
| callforward          | 12.0.7        | Enabled                           |
| calllimit            | 12.0.1        | Enabled                           |
| callrecording        | 13.0.1alpha4  | Enabled                           |
| callwaiting          | 12.0.3        | Enabled                           |
| campon               | 13.0.1alpha1  | Enabled                           |
| cdr                  | 13.0.6        | Enabled                           |
| cel                  | 13.0.1alpha2  | Enabled                           |
| certman              | 13.0.1        | Enabled                           |
| cidlookup            | 13.0.1alpha2  | Enabled                           |
| conferences          | 13.0.1alpha1  | Enabled                           |
| conferencespro       | 13.0.1alpha1  | Enabled                           |
| contactmanager       | 13.0.0beta3   | Enabled                           |
| core                 | 13.0.1alpha16 | Enabled                           |
| cos                  | 12.0.17       | Enabled                           |
| customappsreg        | 12.0.1        | Enabled                           |
| customcontexts       | 2.11.0.1      | Enabled                           |
| cxpanel              | 4.1.3         | Enabled                           |
| dahdiconfig          | 13.0.1alpha1  | Enabled                           |
| dashboard            | 13.0.6        | Enabled                           |
| daynight             | 13.0.3        | Enabled                           |
| dictate              | 2.11.0.3      | Enabled                           |
| digium_phones        | 2.11.2.2      | Enabled                           |
| digiumaddoninstaller | 2.11.0.10     | Enabled                           |
| directory            | 13.0.1alpha2  | Enabled                           |
| disa                 | 13.0.1alpha1  | Enabled                           |
| donotdisturb         | 12.0.3        | Enabled                           |
| dundicheck           | 2.11.0.3      | Enabled                           |
| endpoint             | 12.0.0.59     | Enabled                           |
| endpointman          |               | Not Installed (Locally available) |
| extensionroutes      | 12.0.11       | Enabled                           |
| extensionsettings    | 2.11.0.2      | Enabled                           |
| fax                  | 13.0.1alpha5  | Enabled                           |
| faxpro               | 13.0.3        | Enabled                           |
| featurecodeadmin     | 13.0.1alpha1  | Enabled                           |
| findmefollow         | 13.0.1alpha1  | Enabled                           |
| framework            | 13.0.1alpha38 | Enabled                           |
| freepbx_ha           | 13.0.1        | Enabled                           |
| fw_langpacks         | 12.0.7        | Enabled                           |
| hotelwakeup          | 2.11.3        | Enabled                           |
| iaxsettings          | 13.0.1alpha1  | Enabled                           |
| infoservices         | 12.0.1        | Enabled                           |
| irc                  | 2.11.0.4      | Enabled                           |
| ivr                  | 13.0.1alpha1  | Enabled                           |
| javassh              | 2.11.2        | Enabled                           |
| languages            | 2.11.0.2      | Enabled                           |
| logfiles             | 12.0.6        | Enabled                           |
| manager              | 12.0.2        | Enabled                           |
| miscapps             | 13.0.1alpha1  | Enabled                           |
| miscdests            | 13.0.1alpha1  | Enabled                           |
| motif                | 12.0.3        | Enabled                           |
| music                | 12.0.1        | Enabled                           |
| outroutemsg          | 2.11.0.2      | Enabled                           |
| paging               | 13.0.1alpha2  | Enabled                           |
| pagingpro            | 12.0.6        | Enabled                           |
| parking              | 13.0.1alpha3  | Enabled                           |
| parkpro              | 12.0.8        | Enabled                           |
| pbdirectory          | 2.11.0.2      | Enabled                           |
| phonebook            | 2.11.0.2      | Enabled                           |
| phpagiconf           | 2.11.0.0      | Enabled                           |
| phpinfo              | 13.0.1alpha1  | Enabled                           |
| pinsets              | 13.0.1alpha1  | Enabled                           |
| pinsetspro           | 2.11.0.11     | Enabled                           |
| presencestate        | 13.0.2        | Enabled                           |
| printextensions      | 2.11.0.1      | Enabled                           |
| queuemetrics         | 2.11.0.1      | Enabled                           |
| queueprio            | 2.11.0.2      | Enabled                           |
| queues               | 13.0.1alpha3  | Enabled                           |
| recording_report     | 2.11.0.9      | Enabled                           |
| recordings           | 12.0.7        | Enabled                           |
| restapi              | 12.0.1        | Enabled                           |
| restapps             | 12.0.30       | Enabled                           |
| restart              | 12.0.1        | Enabled                           |
| ringgroups           | 13.0.1alpha2  | Enabled                           |
| setcid               | 2.11.0.4      | Enabled                           |
| sipsettings          | 13.0.1alpha3  | Enabled                           |
| sipstation           | 12.0.8.2      | Enabled                           |
| sms                  | 13.0.1alpha1  | Enabled                           |
| sng_mcu              | 2.11.0.3      | Enabled                           |
| speeddial            | 2.11.0.2      | Enabled                           |
| superfecta           | 2.11.16       | Enabled                           |
| sysadmin             | 13.0.1        | Enabled                           |
| timeconditions       | 13.0.2        | Enabled                           |
| tts                  | 2.11.0.10     | Enabled                           |
| ttsengines           | 2.11.0.3      | Enabled                           |
| ucp                  | 13.0.1alpha6  | Enabled                           |
| ucpnode              | 13.0.1alpha2  | Enabled                           |
| userman              | 13.0.1alpha8  | Enabled                           |
| vmblast              | 13.0.1alpha1  | Enabled                           |
| vmnotify             | 12.0.2        | Enabled                           |
| voicemail            | 13.0.1alpha10 | Enabled                           |
| voicemail_report     | 12.0.1        | Enabled                           |
| vqplus               | 12.0.8        | Enabled                           |
| weakpasswords        | 12.0.3        | Enabled                           |
| webcallback          | 12.0.1        | Enabled                           |
| webrtc               | 13.0.1alpha2  | Enabled                           |
| xmpp                 | 13.0.1alpha1  | Enabled                           |
+----------------------+---------------+-----------------------------------+

Looks like it’s installed now but FreePBX gui still gives the same error


(TheJames) #8

can you run

fwconsole dbug

Then load the page and post the output from the console


(Mike Halsey) #9
[root@localhost asterisk]# fwconsole dbug
+-----------------------+
| FreePBX Notifications |
+-----------------------+
Warning: The use of weak SIP/IAX passwords can compromise this system resulting in toll theft of your telephony service.  You should change the reported devices and trunks to use strong secrets.

SIP Trunk: Plivo / Secret less than 6 digits

Retrieve conf failed to copy file(s) from a module's agi-bin dir: copy(/var/lib/asterisk/agi-bin/areminder-manager.php): failed to open stream: Permission denied
copy(/var/lib/asterisk/agi-bin/areminder-main.php): failed to open stream: Permission denied
copy(/var/lib/asterisk/agi-bin/areminder/areminder-main.php): failed to open stream: Permission denied
copy(/var/lib/asterisk/agi-bin/areminder/areminder-manager.php): failed to open stream: Permission denied
copy(/var/lib/asterisk/agi-bin/broadcast_log.php): failed to open stream: Permission denied
copy(/var/lib/asterisk/agi-bin/broadcast_manage.php): failed to open stream: Permission denied
copy(/var/lib/asterisk/agi-bin/calllimit/calllimit.agi): failed to open stream: Permission denied
copy(/var/lib/asterisk/agi-bin/calllimit.agi): failed to open stream: Permission denied
copy(/var/lib/asterisk/agi-bin/cos.agi): failed to open stream: Permission denied
copy(/var/lib/asterisk/agi-bin/enc/fax.agi): failed to open stream: Permission denied
copy(/var/lib/asterisk/agi-bin/fax.agi): failed to open stream: Permission denied
copy(/var/lib/asterisk/agi-bin/pagingpro_call_spooler.agi): failed to open stream: Permission denied
copy(/var/lib/asterisk/agi-bin/enc/backuprecordings.php): failed to open stream: Permission denied
copy(/var/lib/asterisk/agi-bin/backuprecordings.php): failed to open stream: Permission denied
copy(/var/lib/asterisk/agi-bin/vm-greeting-record.php): failed to open stream: Permission denied
copy(/var/lib/asterisk/agi-bin/abnormal.php): failed to open stream: Permission denied
copy(/var/lib/asterisk/agi-bin/update_license.php): failed to open stream: Permission denied
copy(/var/lib/asterisk/agi-bin/ddns_client.php): failed to open stream: Permission denied
copy(/var/lib/asterisk/agi-bin/vmnotify-newvm.php): failed to open stream: Permission denied
copy(/var/lib/asterisk/agi-bin/enc/vmnotify-common.php): failed to open stream: Permission denied
copy(/var/lib/asterisk/agi-bin/enc/vmnotify-main.php): failed to open stream: Permission denied
copy(/var/lib/asterisk/agi-bin/enc/vmnotify-audit.php): failed to open stream: Permission denied
copy(/var/lib/asterisk/agi-bin/enc/vmnotify-newvm.php): failed to open stream: Permission denied
copy(/var/lib/asterisk/agi-bin/vmnotify-audit.php): failed to open stream: Permission denied
copy(/var/lib/asterisk/agi-bin/vmnotify-main.php): failed to open stream: Permission denied
copy(/var/lib/asterisk/agi-bin/vmnotify-common.php): failed to open stream: Permission denied


DEST STATUS: EMPTY
   Directory: H Tempest Ltd


The FreePBX project is collecting anonymous browser statistics using google analytics. These are used to focus development efforts based on real user input. All information is anonymous. You can disable this in Advanced Settings with the Browser Stats setting.
OUT > ==> /var/log/asterisk/freepbx_dbug <==

==> /var/log/httpd/error_log <==
[Mon May 11 14:27:21 2015] [error] [client 10.1.0.1] PHP Fatal error:  Cannot redeclare class FreePBX\\modules\\Core\\Driver in /var/www/html/admin/modules/core/functions.inc/Driver.class.php on line 6, referer: http://10.0.0.12/admin/config.php?display=modules
[Mon May 11 14:54:03 2015] [error] [client 10.100.100.165] PHP Fatal error:  Uncaught exception 'Exception' with message 'Unable to locate the FreePBX BMO Class 'Core'A required module might be disabled or uninstalled. Recommended steps (run from the CLI): 1) fwconsole ma install core 2) fwconsole ma enable core' in /var/www/html/admin/libraries/BMO/Self_Helper.class.php:216\nStack trace:\n#0 /var/www/html/admin/libraries/BMO/Self_Helper.class.php(104): FreePBX\\Self_Helper->loadObject('Core')\n#1 /var/www/html/admin/libraries/BMO/Self_Helper.class.php(37): FreePBX\\Self_Helper->autoLoad('Core')\n#2 /var/www/html/admin/modules/webrtc/Webrtc.class.php(46): FreePBX\\Self_Helper->__get('Core')\n#3 /var/www/html/admin/libraries/BMO/Self_Helper.class.php(125): FreePBX\\modules\\Webrtc->__construct(Object(FreePBX))\n#4 /var/www/html/admin/libraries/BMO/Self_Helper.class.php(37): FreePBX\\Self_Helper->autoLoad('Webrtc')\n#5 /var/www/html/admin/modules/webrtc/ucp/Webrtc.class.php(16): FreePBX\\Self_Helper->__get('Webrtc')\n#6 /var/www/html/admin/modules/ucp/htdocs/includes/Module_Helpers.class.php(119): UCP in /var/www/html/admin/libraries/BMO/Self_Helper.class.php on line 216, referer: http://telephony.htempest.co.uk/ucp/?display=dashboard
which: no amportal in (/usr/local/sbin:/sbin:/usr/sbin:/bin:/usr/bin)
[Mon May 11 14:55:16 2015] [error] [client 10.1.0.1] File does not exist: /var/www/html/favicon.ico
[Mon May 11 14:55:16 2015] [error] [client 10.1.0.1] File does not exist: /var/www/html/favicon.ico
[Mon May 11 15:47:41 2015] [notice] caught SIGTERM, shutting down
[Mon May 11 15:47:41 2015] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Mon May 11 15:47:41 2015] [notice] Digest: generating secret for digest authentication ...
[Mon May 11 15:47:41 2015] [notice] Digest: done
[Mon May 11 15:47:41 2015] [notice] Apache/2.2.15 (Unix) DAV/2 PHP/5.3.28 mod_ssl/2.2.15 OpenSSL/1.0.1e-fips configured -- resuming normal operations

==> /var/log/asterisk/freepbx_security.log <==
[2015-05-06 09:20:46] Authentication failure for FreePBX from 10.1.0.1
[2015-05-06 09:48:06] Authentication failure for 1576 from 10.1.0.1
[2015-05-06 16:02:19] Authentication failure for 1577 from 10.100.101.54
[2015-05-07 22:54:14] Authentication failure for admin from 82.205.27.149
[2015-05-07 22:54:58] Authentication failure for freebpx from 82.205.27.149

==> /var/log/asterisk/freepbx.log <==
')
[2015-May-11 14:49:12] [WARNING] (libraries/modulefunctions.legacy.php:7) - Depreciated Function module_getinfo detected in /var/www/html/admin/modules/cxpanel/functions.inc.php on line 48
[2015-May-11 14:49:12] [WARNING] (admin/bootstrap.php:271) - Tried to investigate file /var/www/html/admin/modules/recording_report/functions.inc.php, and can't tell if it's obfs or licenced ('
')
[2015-May-11 14:51:53] [WARNING] (libraries/modulefunctions.legacy.php:7) - Depreciated Function module_getinfo detected in /var/www/html/admin/modules/cxpanel/functions.inc.php on line 48
[2015-May-11 14:51:53] [WARNING] (admin/bootstrap.php:271) - Tried to investigate file /var/www/html/admin/modules/recording_report/functions.inc.php, and can't tell if it's obfs or licenced ('
')
[2015-May-11 07:52:46] [WARNING] (libraries/modulefunctions.legacy.php:7) - Depreciated Function module_getinfo detected in /var/www/html/admin/modules/cxpanel/functions.inc.php on line 48
[2015-May-11 07:52:46] [WARNING] (admin/bootstrap.php:271) - Tried to investigate file /var/www/html/admin/modules/recording_report/functions.inc.php, and can't tell if it's obfs or licenced ('
')

(Mike Halsey) #10

Thanks for jumping on this so quickly btw. :slight_smile:


(zserge) #11
[root@asterisk ~]# fwconsole dbug
+-----------------------+
| FreePBX Notifications |
+-----------------------+

The system detected a problem trying to access external server data and changed internal setting MODULEADMINWGET (Use wget For Module Admin) to true, see the tooltip in Advanced Settings for more details.

The FreePBX project is collecting anonymous browser statistics using google analytics. These are used to focus development efforts based on real user input. All information is anonymous. You can disable this in Advanced Settings with the Browser Stats setting.
OUT > ==> /var/log/asterisk/freepbx_dbug <==

==> /var/log/httpd/error_log <==
Unable to open /dev/dahdi/ctl: Permission denied
Unable to open /dev/dahdi/ctl: Permission denied
Unable to open /dev/dahdi/ctl: Permission denied
Unable to open /dev/dahdi/ctl: Permission denied
Unable to open /dev/dahdi/ctl: Permission denied
[Mon May 11 12:56:59 2015] [error] [client ] PHP Fatal error:  Call to undefined function freepbx\\modules\\restapi_user_get_user_tokens() in /var/www/html/admin/modules/restapi/Restapi.class.php on line 36, referer: http://asterisk:9980/admin/config.php?display=modules
[Mon May 11 13:00:40 2015] [error] [client ] File does not exist: /var/www/html/favicon.ico, referer: http://asterisk:9980/admin/config.php?display=modules
[Mon May 11 14:13:22 2015] [error] [client ] File does not exist: /var/www/html/favicon.ico, referer: http://asterisk9980/admin/config.php
[Mon May 11 14:13:28 2015] [error] [client ] File does not exist: /var/www/html/favicon.ico, referer: http://asterisk9980/admin/config.php
[Mon May 11 14:13:59 2015] [error] [client ] File does not exist: /var/www/html/favicon.ico, referer: http://asterisk9980/admin/config.php

==> /var/log/asterisk/freepbx_security.log <==
[2014-11-18 17:39:28] Authentication failure for admin from 192.168.1.166
[2014-12-09 23:29:01] Authentication failure for admin from 192.168.1.109
[2014-12-09 23:29:10] Authentication failure for tm-admin from 192.168.1.109
[2015-01-02 03:58:27] Authentication failure for admin from 37.145.91.118
[2015-03-02 11:51:18] Authentication failure for admin from 192.168.1.107
[2015-03-02 11:51:44] Authentication failure for tm-admin from 192.168.1.107
[2015-03-02 11:51:58] Authentication failure for tm-admin from 192.168.1.107
[2015-03-10 00:29:41] Authentication failure for tm-admin from 93.80.194.144
[2015-04-22 03:54:45] Authentication failure for admin from 93.80.130.236
[2015-04-22 03:55:03] Authentication failure for admin from 93.80.130.236

==> /var/log/asterisk/freepbx.log <==
[2015-May-11 14:32:02] [WARNING] (admin/bootstrap.php:271) - Tried to investigate file /var/www/html/admin/modules/recording_report/functions.inc.php, and can't tell if it's obfs or licenced ('
')
[2015-May-11 14:33:01] [WARNING] (libraries/modulefunctions.legacy.php:7) - Depreciated Function module_getinfo detected in /var/www/html/admin/modules/cxpanel/functions.inc.php on line 48
[2015-May-11 14:33:02] [WARNING] (admin/bootstrap.php:271) - Tried to investigate file /var/www/html/admin/modules/recording_report/functions.inc.php, and can't tell if it's obfs or licenced ('
')
[2015-May-11 15:00:01] [WARNING] (admin/bootstrap.php:271) - Tried to investigate file /var/www/html/admin/modules/recording_report/functions.inc.php, and can't tell if it's obfs or licenced ('
')
[2015-May-11 08:06:22] [WARNING] (libraries/modulefunctions.legacy.php:7) - Depreciated Function module_getinfo detected in /var/www/html/admin/modules/cxpanel/functions.inc.php on line 48
[2015-May-11 08:06:22] [WARNING] (admin/bootstrap.php:271) - Tried to investigate file /var/www/html/admin/modules/recording_report/functions.inc.php, and can't tell if it's obfs or licenced ('
')





OUT > [2015-May-11 15:06:31] [WARNING] (libraries/modulefunctions.legacy.php:7) - Depreciated Function module_getinfo detected in /var/www/html/admin/modules/cxpanel/functions.inc.php on line 48
OUT > [2015-May-11 15:06:32] [WARNING] (admin/bootstrap.php:271) - Tried to investigate file /var/www/html/admin/modules/recording_report/functions.inc.php, and can't tell if it's obfs or licenced ('
')

(Mike Halsey) #12

OK…

Picked up on a couple of things in my debug so… I ran…
fwconsole ma install core followed by…
fwconsole ma enable core

Then re-ran debug and got the following…so…got rid of a couple of errors at least!

[root@localhost ~]# fwconsole dbug
±----------------------+
| FreePBX Notifications |
±----------------------+
Warning: The use of weak SIP/IAX passwords can compromise this system resulting in toll theft of your telephony service. You should change the reported devices and trunks to use strong secrets.

SIP Trunk: Plivo / Secret less than 6 digits

Retrieve conf failed to copy file(s) from a module’s agi-bin dir: copy(/var/lib/asterisk/agi-bin/areminder-manager.php): failed to open stream: Permission denied
copy(/var/lib/asterisk/agi-bin/areminder-main.php): failed to open stream: Permission denied
copy(/var/lib/asterisk/agi-bin/areminder/areminder-main.php): failed to open stream: Permission denied
copy(/var/lib/asterisk/agi-bin/areminder/areminder-manager.php): failed to open stream: Permission denied
copy(/var/lib/asterisk/agi-bin/broadcast_log.php): failed to open stream: Permission denied
copy(/var/lib/asterisk/agi-bin/broadcast_manage.php): failed to open stream: Permission denied
copy(/var/lib/asterisk/agi-bin/calllimit/calllimit.agi): failed to open stream: Permission denied
copy(/var/lib/asterisk/agi-bin/calllimit.agi): failed to open stream: Permission denied
copy(/var/lib/asterisk/agi-bin/cos.agi): failed to open stream: Permission denied
copy(/var/lib/asterisk/agi-bin/enc/fax.agi): failed to open stream: Permission denied
copy(/var/lib/asterisk/agi-bin/fax.agi): failed to open stream: Permission denied
copy(/var/lib/asterisk/agi-bin/pagingpro_call_spooler.agi): failed to open stream: Permission denied
copy(/var/lib/asterisk/agi-bin/enc/backuprecordings.php): failed to open stream: Permission denied
copy(/var/lib/asterisk/agi-bin/backuprecordings.php): failed to open stream: Permission denied
copy(/var/lib/asterisk/agi-bin/vm-greeting-record.php): failed to open stream: Permission denied
copy(/var/lib/asterisk/agi-bin/abnormal.php): failed to open stream: Permission denied
copy(/var/lib/asterisk/agi-bin/update_license.php): failed to open stream: Permission denied
copy(/var/lib/asterisk/agi-bin/ddns_client.php): failed to open stream: Permission denied
copy(/var/lib/asterisk/agi-bin/vmnotify-newvm.php): failed to open stream: Permission denied
copy(/var/lib/asterisk/agi-bin/enc/vmnotify-common.php): failed to open stream: Permission denied
copy(/var/lib/asterisk/agi-bin/enc/vmnotify-main.php): failed to open stream: Permission denied
copy(/var/lib/asterisk/agi-bin/enc/vmnotify-audit.php): failed to open stream: Permission denied
copy(/var/lib/asterisk/agi-bin/enc/vmnotify-newvm.php): failed to open stream: Permission denied
copy(/var/lib/asterisk/agi-bin/vmnotify-audit.php): failed to open stream: Permission denied
copy(/var/lib/asterisk/agi-bin/vmnotify-main.php): failed to open stream: Permission denied
copy(/var/lib/asterisk/agi-bin/vmnotify-common.php): failed to open stream: Permission denied

DEST STATUS: EMPTY
Directory: H Tempest Ltd

The FreePBX project is collecting anonymous browser statistics using google analytics. These are used to focus development efforts based on real user input. All information is anonymous. You can disable this in Advanced Settings with the Browser Stats setting.
OUT > ==> /var/log/asterisk/freepbx_dbug <==

==> /var/log/httpd/error_log <==
[Mon May 11 15:47:41 2015] [notice] caught SIGTERM, shutting down
[Mon May 11 15:47:41 2015] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Mon May 11 15:47:41 2015] [notice] Digest: generating secret for digest authentication …
[Mon May 11 15:47:41 2015] [notice] Digest: done
[Mon May 11 15:47:41 2015] [notice] Apache/2.2.15 (Unix) DAV/2 PHP/5.3.28 mod_ssl/2.2.15 OpenSSL/1.0.1e-fips configured – resuming normal operations
[Mon May 11 16:01:52 2015] [notice] caught SIGTERM, shutting down
[Mon May 11 16:02:59 2015] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Mon May 11 16:02:59 2015] [notice] Digest: generating secret for digest authentication …
[Mon May 11 16:02:59 2015] [notice] Digest: done
[Mon May 11 16:03:00 2015] [notice] Apache/2.2.15 (Unix) DAV/2 PHP/5.3.28 mod_ssl/2.2.15 OpenSSL/1.0.1e-fips configured – resuming normal operations

==> /var/log/asterisk/freepbx_security.log <==
[2015-05-06 09:20:46] Authentication failure for FreePBX from 10.1.0.1
[2015-05-06 09:48:06] Authentication failure for 1576 from 10.1.0.1
[2015-05-06 16:02:19] Authentication failure for 1577 from 10.100.101.54
[2015-05-07 22:54:14] Authentication failure for admin from 82.205.27.149
[2015-05-07 22:54:58] Authentication failure for freebpx from 82.205.27.149

==> /var/log/asterisk/freepbx.log <==
’)
[2015-May-11 08:18:35] [WARNING] (libraries/modulefunctions.legacy.php:7) - Depreciated Function module_getinfo detected in /var/www/html/admin/modules/cxpanel/functions.inc.php on line 48
[2015-May-11 08:18:35] [WARNING] (admin/bootstrap.php:271) - Tried to investigate file /var/www/html/admin/modules/recording_report/functions.inc.php, and can’t tell if it’s obfs or licenced (’
’)
[2015-May-11 08:18:46] [WARNING] (libraries/modulefunctions.legacy.php:7) - Depreciated Function module_getinfo detected in /var/www/html/admin/modules/cxpanel/functions.inc.php on line 48
[2015-May-11 08:18:46] [WARNING] (admin/bootstrap.php:271) - Tried to investigate file /var/www/html/admin/modules/recording_report/functions.inc.php, and can’t tell if it’s obfs or licenced (’
’)
[2015-May-11 08:19:10] [WARNING] (libraries/modulefunctions.legacy.php:7) - Depreciated Function module_getinfo detected in /var/www/html/admin/modules/cxpanel/functions.inc.php on line 48
[2015-May-11 08:19:10] [WARNING] (admin/bootstrap.php:271) - Tried to investigate file /var/www/html/admin/modules/recording_report/functions.inc.php, and can’t tell if it’s obfs or licenced (’
’)
OUT > [2015-May-11 15:19:59] [WARNING] (libraries/modulefunctions.legacy.php:7) - Depreciated Function module_getinfo detected in /var/www/html/admin/modules/cxpanel/functions.inc.php on line 48
OUT > [2015-May-11 15:19:59] [WARNING] (admin/bootstrap.php:271) - Tried to investigate file /var/www/html/admin/modules/recording_report/functions.inc.php, and can’t tell if it’s obfs or licenced (’
’)


(Andrew Nagy) #13
fwconsole ma download framework
fwconsole ma install framework

(zserge) #14

Invalid argument supplied for foreach()

Whoops\Exception\ErrorException
/­var/­www/­html/­admin/­libraries/­BMO/­GuiHooks.class.php:41

	$allHooks = $this->FreePBX->Hooks->getAllHooks();
	if(empty($allHooks['GuiHooks'])) {
		return $retarr;
	}
	foreach ($allHooks['GuiHooks'] as $module => $hookArr) {
		\modgettext::push_textdomain(strtolower($module));
		foreach ($hookArr as $key => $val) {

			// Check for INTERCEPT Hooks.

(Andrew Nagy) #15
fwconsole ma download framework
fwconsole ma install framework

(zserge) #16

Thank you!
it works!


(Mike Halsey) #17

Thank you very much. Worked for me too. :slight_smile:


(Mike Halsey) #18

I am however missing the WebRTC (Enable) option from the User Management page since the update of the WebRTC module. Has it been moved?


(Andrew Nagy) #19

No. I suggest you make sure all modules are updated and hit apply changes. WebRTC is under UCP in Usermanager. It’s a subtab


(Mike Halsey) #20

Yep…it’s missing from the UCP tab. It was enabled and working before the updates though.