Erorr with Freepbx gui (Non-Commercial)

Just want to say upfront thank you for anyone that is able to provided guidance with this issue that I am having with my freepbx system. I have having an issue where I can not at all apply configurations to the gui web interface.

I have removed all the commercial modules and when I go to apply the configuration I get this error shown below.

Raw format: https://pastebin.com/raw/p7K6Cfhh

Error I get when trying to reload fwconsole.

[[email protected] asterisk]# fwconsole r
Reloading FreePBX
Error(s) have occured, the following is the retrieve_conf output:
exit: 1
Unable to continue. Undefined index: GENERATE_LEGACY_QUEUE_CODES in /var/www/html/admin/modules/queues/functions.inc/dialplan.php on line 313
#0 /var/www/html/admin/modules/queues/functions.inc/dialplan.php(313): Whoops\Run->handleError(8, 'Undefined index...', '/var/www/html/a...', 313, Array)
#1 /var/www/html/admin/libraries/BMO/DialplanHooks.class.php(95): queues_get_config('asterisk')
#2 /var/lib/asterisk/bin/retrieve_conf(860): FreePBX\DialplanHooks->processHooks('asterisk', Array)
#3 {main}

Fwconsole debug output

 ==> /var/log/asterisk/freepbx.log <==
[2018-Dec-10 22:37:46] [WARNING] (timeconditions/functions.inc.php:871) - Depreciated Function timeconditions_get detected in /var/www/html/admin/modules/timeconditions/functions.inc.php on line 16
[2018-Dec-10 22:37:46] [WARNING] (timeconditions/functions.inc.php:871) - Depreciated Function timeconditions_get detected in /var/www/html/admin/modules/timeconditions/functions.inc.php on line 16
[2018-Dec-10 22:37:46] [WARNING] (callback/functions.inc.php:173) - Depreciated Function callback_list detected in /var/www/html/admin/modules/callback/functions.inc.php on line 87
[2018-Dec-10 22:37:46] [WARNING] (BMO/Notifications.class.php:507) - [NOTIFICATION]-[fax]-[invalid_email] - Invalid Email for Inbound Fax (User Manager users '100,105,106,107,108,109,110,111,113,114,115,101,116,117,118,119,120,121,122,123,102,1000,1001,112,103,104' have the ability to receive faxes but have no email address defined so they will not be able to receive faxes over email,)
[2018-Dec-10 22:37:46] [CRITICAL] (BMO/Notifications.class.php:507) - [NOTIFICATION]-[freepbx]-[RCONFFAIL] - retrieve_conf failed, config not applied (Reload failed because retrieve_conf encountered an error: 1)
[2018-Dec-10 22:38:01] [WARNING] (libraries/modulefunctions.legacy.php:7) - Depreciated Function module_getinfo detected in /var/www/html/admin/modules/bulkhandler/Console/Bulkimport.class.php on line 10
[2018-Dec-10 22:38:57] [WARNING] (libraries/modulefunctions.legacy.php:7) - Depreciated Function module_getinfo detected in /var/www/html/admin/modules/bulkhandler/Console/Bulkimport.class.php on line 10
[2018-Dec-10 22:39:01] [WARNING] (libraries/modulefunctions.legacy.php:7) - Depreciated Function module_getinfo detected in /var/www/html/admin/modules/bulkhandler/Console/Bulkimport.class.php on line 10
[2018-Dec-10 22:39:05] [WARNING] (libraries/modulefunctions.legacy.php:7) - Depreciated Function module_getinfo detected in /var/www/html/admin/modules/bulkhandler/Console/Bulkimport.class.php on line 10
[2018-Dec-10 22:39:11] [WARNING] (libraries/modulefunctions.legacy.php:7) - Depreciated Function module_getinfo detected in /var/www/html/admin/modules/bulkhandler/Console/Bulkimport.class.php on line 10
OUT > [2018-Dec-10 22:40:01] [WARNING] (libraries/modulefunctions.legacy.php:7) - Depreciated Function module_getinfo detected in /var/www/html/admin/modules/bulkhandler/Console/Bulkimport.class.php on line 10
OUT > [2018-Dec-10 22:41:01] [WARNING] (libraries/modulefunctions.legacy.php:7) - Depreciated Function module_getinfo detected in /var/www/html/admin/modules/bulkhandler/Console/Bulkimport.class.php on line 10
OUT > [2018-Dec-10 22:42:01] [WARNING] (libraries/modulefunctions.legacy.php:7) - Depreciated Function module_getinfo detected in /var/www/html/admin/modules/bulkhandler/Console/Bulkimport.class.php on line 10
OUT > [2018-Dec-10 22:43:02] [WARNING] (libraries/modulefunctions.legacy.php:7) - Depreciated Function module_getinfo detected in /var/www/html/admin/modules/bulkhandler/Console/Bulkimport.class.php on line 10
OUT > [2018-Dec-10 22:44:01] [WARNING] (libraries/modulefunctions.legacy.php:7) - Depreciated Function module_getinfo detected in /var/www/html/admin/modules/bulkhandler/Console/Bulkimport.class.php on line 10
OUT > [2018-Dec-10 22:45:01] [WARNING] (libraries/modulefunctions.legacy.php:7) - Depreciated Function module_getinfo detected in /var/www/html/admin/modules/bulkhandler/Console/Bulkimport.class.php on line 10
OUT > [2018-Dec-10 22:45:01] [WARNING] (libraries/modulefunctions.legacy.php:7) - Depreciated Function module_getinfo detected in /var/www/html/admin/modules/bulkhandler/Console/Bulkimport.class.php on line 10
OUT > [2018-Dec-10 22:46:01] [WARNING] (libraries/modulefunctions.legacy.php:7) - Depreciated Function module_getinfo detected in /var/www/html/admin/modules/bulkhandler/Console/Bulkimport.class.php on line 10
OUT > [2018-Dec-10 22:47:01] [WARNING] (libraries/modulefunctions.legacy.php:7) - Depreciated Function module_getinfo detected in /var/www/html/admin/modules/bulkhandler/Console/Bulkimport.class.php on line 10
OUT > [2018-Dec-10 22:48:01] [WARNING] (libraries/modulefunctions.legacy.php:7) - Depreciated Function module_getinfo detected in /var/www/html/admin/modules/bulkhandler/Console/Bulkimport.class.php on line 10
OUT > [2018-Dec-10 22:49:01] [WARNING] (libraries/modulefunctions.legacy.php:7) - Depreciated Function module_getinfo detected in /var/www/html/admin/modules/bulkhandler/Console/Bulkimport.class.php on line 10

fwconsole ma list output

[[email protected] asterisk]# fwconsole ma list
No repos specified, using: [standard] from last GUI settings

+---------------------+------------+---------+---------+
| Module              | Version    | Status  | License |
+---------------------+------------+---------+---------+
| accountcodepreserve | 13.0.2.2   | Enabled | GPLv2   |
| amd                 | 13.0.2     | Enabled | GPLv3+  |
| announcement        | 13.0.7.3   | Enabled | GPLv3+  |
| arimanager          | 13.0.4     | Enabled | GPLv3+  |
| asteriskinfo        | 13.0.7.1   | Enabled | GPLv3+  |
| backup              | 14.0.10.1  | Enabled | GPLv3+  |
| blacklist           | 14.0.1     | Enabled | GPLv3+  |
| builtin             |            | Enabled |         |
| bulkhandler         | 13.0.14.8  | Enabled | GPLv3+  |
| calendar            | 14.0.2.7   | Enabled | GPLv3+  |
| callback            | 13.0.5.3   | Enabled | GPLv3+  |
| callforward         | 14.0.1.3   | Enabled | AGPLv3+ |
| callrecording       | 14.0.10    | Enabled | AGPLv3+ |
| callwaiting         | 14.0.1.1   | Enabled | GPLv3+  |
| campon              | 13.0.4.1   | Enabled | GPLv3+  |
| cdr                 | 14.0.5.14  | Enabled | GPLv3+  |
| cel                 | 14.0.2.8   | Enabled | GPLv3+  |
| certman             | 14.0.3.1   | Enabled | AGPLv3+ |
| cidlookup           | 14.0.1.7   | Enabled | GPLv3+  |
| conferences         | 13.0.23.13 | Enabled | GPLv3+  |
| configedit          | 13.0.7.1   | Enabled | AGPLv3+ |
| contactmanager      | 14.0.4.10  | Enabled | GPLv3+  |
| core                | 14.0.18.44 | Enabled | GPLv3+  |
| customappsreg       | 13.0.5.5   | Enabled | GPLv3+  |
| dahdiconfig         | 14.0.1.3   | Enabled | GPLv3+  |
| dashboard           | 14.0.4.2   | Enabled | AGPLv3+ |
| daynight            | 14.0.1     | Enabled | GPLv3+  |
| dictate             | 13.0.5     | Enabled | GPLv3+  |
| directory           | 13.0.19.7  | Enabled | GPLv3+  |
| disa                | 13.0.6.10  | Enabled | AGPLv3+ |
| donotdisturb        | 14.0.1.1   | Enabled | GPLv3+  |
| dundicheck          | 2.11.0.3   | Enabled | GPLv3+  |
| extensionsettings   | 13.0.4     | Enabled | GPLv3+  |
| fax                 | 14.0.2.6   | Enabled | GPLv3+  |
| findmefollow        | 14.0.1.20  | Enabled | GPLv3+  |
| firewall            | 13.0.57.1  | Enabled | AGPLv3+ |
| framework           | 14.0.5.7   | Enabled | GPLv2+  |
| fw_langpacks        | 14.0.1     | Enabled | GPLv3+  |
| hotelwakeup         | 14.0.1.4   | Enabled | GPLv2   |
| iaxsettings         | 14.0.1.4   | Enabled | AGPLv3  |
| infoservices        | 13.0.1.3   | Enabled | GPLv2+  |
| irc                 | 13.0.1     | Enabled | GPLv3+  |
| ivr                 | 14.0.4     | Enabled | GPLv3+  |
| languages           | 14.0.1.3   | Enabled | GPLv3+  |
| logfiles            | 13.0.10.5  | Enabled | GPLv3+  |
| manager             | 13.0.2.5   | Enabled | GPLv2+  |
| miscapps            | 13.0.3.1   | Enabled | GPLv3+  |
| miscdests           | 13.0.5     | Enabled | GPLv3+  |
| motif               | 13.0.3.2   | Enabled | GPLv3+  |
| music               | 13.0.22.5  | Enabled | GPLv3+  |
| outroutemsg         | 13.0.2.1   | Enabled | GPLv3+  |
| paging              | 14.0.6     | Enabled | GPLv3+  |
| parking             | 13.0.19.9  | Enabled | GPLv3+  |
| pbdirectory         | 2.11.0.6   | Enabled | GPLv3+  |
| phonebook           | 13.0.6.1   | Enabled | GPLv3+  |
| phpinfo             | 13.0.2     | Enabled | GPLv2+  |
| pinsets             | 13.0.12    | Enabled | GPLv3+  |
| pm2                 | 13.0.5.1   | Enabled | AGPLv3+ |
| presencestate       | 14.0.1.7   | Enabled | GPLv3+  |
| printextensions     | 13.0.3.1   | Enabled | GPLv3+  |
| queuemetrics        | 2.11.0.3   | Enabled | GPLv3+  |
| queueprio           | 13.0.3     | Enabled | GPLv3+  |
| queues              | 14.0.2.22  | Enabled | GPLv2+  |
| recordings          | 13.0.30.12 | Enabled | GPLv3+  |
| restapi             | 13.0.21.2  | Enabled | AGPLv3  |
| ringgroups          | 14.0.1.5   | Enabled | GPLv3+  |
| setcid              | 13.0.6.2   | Enabled | GPLv3+  |
| sipsettings         | 14.0.27.7  | Enabled | AGPLv3+ |
| soundlang           | 14.0.5     | Enabled | GPLv3+  |
| speeddial           | 2.11.0.4   | Enabled | GPLv3+  |
| superfecta          | 14.0.7     | Enabled | GPLv2+  |
| timeconditions      | 14.0.2.15  | Enabled | GPLv3+  |
| tts                 | 13.0.10    | Enabled | GPLv3+  |
| ttsengines          | 13.0.7.3   | Enabled | AGPLv3  |
| userman             | 14.0.3.46  | Enabled | AGPLv3+ |
| vmblast             | 13.0.8     | Enabled | GPLv3+  |
| voicemail           | 14.0.4.1   | Enabled | GPLv3+  |
| weakpasswords       | 13.0.2     | Enabled | GPLv3+  |
+---------------------+------------+---------+---------+

This is for feedback only (so you know someone is reading this). This is honestly the first time I’ve ever seen that message and I have no idea what the h*ck just happened, but I’d turn on all of the respositories and see what happens first. I’m not sure that all of those modules are from just the Standard Repo.

I did notice that there was a BulkHandler warning that should have been taken care of and I also noticed that some of your modules are Version 13 and some are Version 14. I’m pretty sure that’s going to be a concern, at least.

Are you running the FreePBX distro?

@cynjut I am at a loss here with this.

@igaetz Yes I am please see the below:

[[email protected] etc]# cat redhat-release 
Sangoma Linux release 7.5.1805 (Core) 

Same error over and over on debug output

==> /var/log/asterisk/freepbx.log <==
[2018-Dec-11 10:42:01] [WARNING] (libraries/modulefunctions.legacy.php:7) - Depreciated Function module_getinfo detected in /var/www/html/admin/modules/bulkhandler/Console/Bulkimport.class.php on line 10
[2018-Dec-11 10:43:02] [WARNING] (libraries/modulefunctions.legacy.php:7) - Depreciated Function module_getinfo detected in /var/www/html/admin/modules/bulkhandler/Console/Bulkimport.class.php on line 10
[2018-Dec-11 10:43:59] [WARNING] (libraries/modulefunctions.legacy.php:7) - Depreciated Function module_getinfo detected in /var/www/html/admin/modules/bulkhandler/Console/Bulkimport.class.php on line 10
[2018-Dec-11 10:44:01] [WARNING] (libraries/modulefunctions.legacy.php:7) - Depreciated Function module_getinfo detected in /var/www/html/admin/modules/bulkhandler/Console/Bulkimport.class.php on line 10
[2018-Dec-11 10:44:07] [WARNING] (libraries/modulefunctions.legacy.php:7) - Depreciated Function module_getinfo detected in /var/www/html/admin/modules/bulkhandler/Console/Bulkimport.class.php on line 10
[2018-Dec-11 10:44:36] [WARNING] (libraries/modulefunctions.legacy.php:7) - Depreciated Function module_getinfo detected in /var/www/html/admin/modules/bulkhandler/Console/Bulkimport.class.php on line 10
[2018-Dec-11 10:44:42] [WARNING] (libraries/modulefunctions.legacy.php:7) - Depreciated Function module_getinfo detected in /var/www/html/admin/modules/bulkhandler/Console/Bulkimport.class.php on line 10
[2018-Dec-11 10:45:01] [WARNING] (libraries/modulefunctions.legacy.php:7) - Depreciated Function module_getinfo detected in /var/www/html/admin/modules/bulkhandler/Console/Bulkimport.class.php on line 10
[2018-Dec-11 10:45:01] [WARNING] (libraries/modulefunctions.legacy.php:7) - Depreciated Function module_getinfo detected in /var/www/html/admin/modules/bulkhandler/Console/Bulkimport.class.php on line 10
[2018-Dec-11 10:45:38] [WARNING] (libraries/modulefunctions.legacy.php:7) - Depreciated Function module_getinfo detected in /var/www/html/admin/modules/bulkhandler/Console/Bulkimport.class.php on line 10

Even when trying to installall missing updates I get this error shown below:

[[email protected] update]# fwconsole ma installall
No repos specified, using: [standard] from last GUI settings

Up to date.
Installing missing modules: cxpanel, digium_phones, digiumaddoninstaller, featurecodeadmin, pms, sipstation, sms, ucp, webrtc, xmpp
Downloading & Installing 'cxpanel'

In Moduleadmin.class.php line 441:
                            
  Undefined index: cxpanel  
                            

ma [-f|--force] [-d|--debug] [--edge] [--stable] [--color] [--skipchown] [-e|--autoenable] [--skipdisabled] [--snapshot SNAPSHOT] [--format FORMAT] [-R|--repo REPO] [-t|--tag TAG] [--onlystdout] [--willupdate] [--securityonly] [--sendemails] [--] [<args>]...

At this point I feel like I just need to reimage the machine and start over

You were told to make sure to use all repos. You are not.
image

I would use commercial at the least. Always. If a module is not installed, it will be ignored, but some modules are commercial but free, like sysadmin.

fwconsole ma enablerepo commercial

image

Here is my “normal” FreePBX install list. With only SysAdmin Pro purchased.

[[email protected] ~]$ sudo fwconsole ma list
No repos specified, using: [standard,commercial] from last GUI settings

+----------------------+------------+-----------------------------------+------------+
| Module               | Version    | Status                            | License    |
+----------------------+------------+-----------------------------------+------------+
| accountcodepreserve  | 13.0.2.2   | Enabled                           | GPLv2      |
| announcement         | 13.0.7.3   | Enabled                           | GPLv3+     |
| arimanager           | 13.0.4     | Enabled                           | GPLv3+     |
| asterisk-cli         | 14.0.1     | Enabled                           | GPLv3+     |
| asteriskinfo         | 13.0.7.1   | Enabled                           | GPLv3+     |
| backup               | 14.0.10.1  | Enabled                           | GPLv3+     |
| blacklist            | 14.0.1     | Enabled                           | GPLv3+     |
| builtin              |            | Enabled                           |            |
| bulkhandler          | 13.0.14.7  | Enabled                           | GPLv3+     |
| calendar             | 14.0.2.6   | Enabled                           | GPLv3+     |
| callback             | 13.0.5.3   | Enabled                           | GPLv3+     |
| callforward          | 14.0.1.3   | Enabled                           | AGPLv3+    |
| callrecording        | 14.0.5     | Enabled                           | AGPLv3+    |
| callwaiting          | 14.0.1.1   | Enabled                           | GPLv3+     |
| campon               | 13.0.4.1   | Enabled                           | GPLv3+     |
| cdr                  | 14.0.5.14  | Enabled                           | GPLv3+     |
| cel                  | 14.0.2.8   | Enabled                           | GPLv3+     |
| certman              | 14.0.3.1   | Enabled                           | AGPLv3+    |
| cidlookup            | 14.0.1.7   | Enabled                           | GPLv3+     |
| conferences          | 13.0.23.12 | Enabled                           | GPLv3+     |
| configedit           | 13.0.7.1   | Enabled                           | AGPLv3+    |
| contactmanager       | 14.0.4.10  | Enabled                           | GPLv3+     |
| core                 | 14.0.18.37 | Enabled                           | GPLv3+     |
| customappsreg        | 13.0.5.4   | Enabled                           | GPLv3+     |
| dahdiconfig          | 14.0.1.3   | Enabled                           | GPLv3+     |
| dashboard            | 14.0.4.1   | Enabled                           | AGPLv3+    |
| daynight             | 14.0.1     | Enabled                           | GPLv3+     |
| dictate              | 13.0.5     | Enabled                           | GPLv3+     |
| digium_phones        | 13.0.7.4   | Enabled                           | GPLv2      |
| digiumaddoninstaller | 13.0.1.1   | Enabled                           | GPLv2      |
| directory            | 13.0.19.5  | Enabled                           | GPLv3+     |
| disa                 | 13.0.6.6   | Enabled                           | AGPLv3+    |
| donotdisturb         | 14.0.1.1   | Enabled                           | GPLv3+     |
| endpoint             | 14.0.2.155 | Enabled                           | Commercial |
| fax                  | 14.0.2.6   | Enabled                           | GPLv3+     |
| featurecodeadmin     | 13.0.6.4   | Enabled                           | GPLv3+     |
| findmefollow         | 14.0.1.20  | Enabled                           | GPLv3+     |
| firewall             | 13.0.57.1  | Enabled                           | AGPLv3+    |
| framework            | 14.0.5.2   | Enabled                           | GPLv2+     |
| fw_langpacks         | 14.0.1     | Enabled                           | GPLv3+     |
| hotelwakeup          | 14.0.1.4   | Enabled                           | GPLv2      |
| iaxsettings          | 14.0.1.4   | Enabled                           | AGPLv3     |
| infoservices         | 13.0.1.3   | Enabled                           | GPLv2+     |
| irc                  | 13.0.1     | Enabled                           | GPLv3+     |
| ivr                  | 14.0.4     | Enabled                           | GPLv3+     |
| languages            | 14.0.1.2   | Enabled                           | GPLv3+     |
| logfiles             | 13.0.10.5  | Enabled                           | GPLv3+     |
| manager              | 13.0.2.5   | Enabled                           | GPLv2+     |
| miscapps             | 13.0.3.1   | Enabled                           | GPLv3+     |
| miscdests            | 13.0.5     | Enabled                           | GPLv3+     |
| music                | 13.0.22.4  | Enabled                           | GPLv3+     |
| outroutemsg          | 13.0.2.1   | Enabled                           | GPLv3+     |
| paging               | 14.0.6     | Enabled                           | GPLv3+     |
| parking              | 13.0.19.8  | Enabled                           | GPLv3+     |
| pbdirectory          | 2.11.0.6   | Enabled                           | GPLv3+     |
| phonebook            | 13.0.6.1   | Enabled                           | GPLv3+     |
| phpinfo              | 13.0.2     | Enabled                           | GPLv2+     |
| pinsets              | 13.0.10    | Enabled                           | GPLv3+     |
| pm2                  | 13.0.5.1   | Enabled                           | AGPLv3+    |
| pms                  |            | Not Installed (Locally available) | Commercial |
| presencestate        | 14.0.1.7   | Enabled                           | GPLv3+     |
| printextensions      | 13.0.3.1   | Enabled                           | GPLv3+     |
| queueprio            | 13.0.2     | Enabled                           | GPLv3+     |
| queues               | 14.0.2.22  | Enabled                           | GPLv2+     |
| recordings           | 13.0.30.12 | Enabled                           | GPLv3+     |
| restapi              | 13.0.21.1  | Enabled                           | AGPLv3     |
| restapps             | 13.0.92.23 | Enabled                           | Commercial |
| ringgroups           | 14.0.1.5   | Enabled                           | GPLv3+     |
| setcid               | 13.0.6.2   | Enabled                           | GPLv3+     |
| sipsettings          | 14.0.27.5  | Enabled                           | AGPLv3+    |
| sms                  | 14.0.4.6   | Enabled                           | Commercial |
| sng_mcu              | 13.0.5     | Enabled                           | Commercial |
| soundlang            | 14.0.5     | Enabled                           | GPLv3+     |
| speeddial            | 2.11.0.4   | Enabled                           | GPLv3+     |
| superfecta           | 14.0.7     | Enabled                           | GPLv2+     |
| sysadmin             | 14.0.22    | Enabled                           | Commercial |
| timeconditions       | 14.0.2.15  | Enabled                           | GPLv3+     |
| tts                  | 13.0.10    | Enabled                           | GPLv3+     |
| ttsengines           | 13.0.7.3   | Enabled                           | AGPLv3     |
| ucp                  | 14.0.3.1   | Enabled                           | AGPLv3+    |
| userman              | 14.0.3.44  | Enabled                           | AGPLv3+    |
| vmblast              | 13.0.8     | Enabled                           | GPLv3+     |
| voicemail            | 14.0.4.1   | Enabled                           | GPLv3+     |
| weakpasswords        | 13.0.2     | Enabled                           | GPLv3+     |
| webrtc               | 14.0.3.7   | Enabled                           | GPLv3+     |
| xmpp                 | 14.0.1.17  | Enabled                           | AGPLv3     |
| zulu                 | 14.0.4.6   | Enabled                           | Commercial |
+----------------------+------------+-----------------------------------+------------+

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.