No modules showing up in module setup freepbx

I’ve been trying to troubleshoot this problem without any resolution. I’ve been trying on and off for a month now lol. All the modules work but they don’t show up under the PBX settings page. The only thing that shows up is the System Status. I tried to search through the debug and the only things I thought were relevant are seen below:

[Mar 15 01:24:40] WARNING[5306] pbx.c: Context ‘app-miscapps-3’ tries to include nonexistent context ‘app-miscapps-3-custom’
[Mar 15 01:24:40] WARNING[5306] pbx.c: Context ‘cidlookup’ tries to include nonexistent context ‘cidlookup-custom’
[Mar 15 01:24:40] WARNING[5306] pbx.c: Context ‘app-cf-unavailable-on’ tries to include nonexistent context ‘app-cf-unavailable-on-custom’
[Mar 15 01:24:40] WARNING[5306] pbx.c: Context ‘app-cf-unavailable-off’ tries to include nonexistent context ‘app-cf-unavailable-off-custom’
[Mar 15 01:24:40] WARNING[5306] pbx.c: Context ‘app-cf-on’ tries to include nonexistent context ‘app-cf-on-custom’
[Mar 15 01:24:40] WARNING[5306] pbx.c: Context ‘app-cf-off-any’ tries to include nonexistent context ‘app-cf-off-any-custom’
[Mar 15 01:24:40] WARNING[5306] pbx.c: Context ‘app-cf-off’ tries to include nonexistent context ‘app-cf-off-custom’
[Mar 15 01:24:40] WARNING[5306] pbx.c: Context ‘app-cf-busy-on’ tries to include nonexistent context ‘app-cf-busy-on-custom’
[Mar 15 01:24:40] WARNING[5306] pbx.c: Context ‘app-cf-busy-off-any’ tries to include nonexistent context ‘app-cf-busy-off-any-custom’
[Mar 15 01:24:40] WARNING[5306] pbx.c: Context ‘app-cf-busy-off’ tries to include nonexistent context ‘app-cf-busy-off-custom’
[Mar 15 01:24:40] WARNING[5306] pbx.c: Context ‘callback’ tries to include nonexistent context ‘callback-custom’
[Mar 15 01:24:40] WARNING[5306] pbx.c: Context ‘disa-dial’ tries to include nonexistent context ‘disa-dial-custom’
[Mar 15 01:24:40] WARNING[5306] pbx.c: Context ‘disa’ tries to include nonexistent context ‘disa-custom’
[Mar 15 01:24:40] WARNING[5306] pbx.c: Context ‘ext-queues’ tries to include nonexistent context ‘ext-queues-custom’
[Mar 15 01:24:40] WARNING[5306] pbx.c: Context ‘app-blacklist-remove’ tries to include nonexistent context ‘app-blacklist-remove-custom’
[Mar 15 01:24:40] WARNING[5306] pbx.c: Context ‘app-blacklist-last’ tries to include nonexistent context ‘app-blacklist-last-custom’
[Mar 15 01:24:40] WARNING[5306] pbx.c: Context ‘app-blacklist-add’ tries to include nonexistent context ‘app-blacklist-add-custom’
[Mar 15 01:24:40] WARNING[5306] pbx.c: Context ‘app-blacklist’ tries to include nonexistent context ‘app-blacklist-custom’
[Mar 15 01:24:40] WARNING[5306] pbx.c: Context ‘app-blacklist-check’ tries to include nonexistent context ‘app-blacklist-check-custom’
[Mar 15 01:24:40] WARNING[5306] loader.c: Error loading module ‘app_dahdibarge.so’: /usr/lib/asterisk/modules/app_dahdibarge.so: undefined symbol: dahdi_cha$
[Mar 15 01:24:40] WARNING[5306] loader.c: Module ‘app_dahdibarge.so’ could not be loaded.
[Mar 15 01:24:40] WARNING[5306] chan_zap.c: Unable to specify channel 1: No such device or address
[Mar 15 01:24:40] ERROR[5306] chan_zap.c: Unable to open channel 1: No such device or address
here = 0, tmp->channel = 1, channel = 1
[Mar 15 01:24:40] ERROR[5306] chan_zap.c: Unable to register channel ‘1’
[Mar 15 01:24:40] WARNING[5306] cdr_csv.c: unable to load config: cdr.conf
[Mar 15 01:24:40] WARNING[5306] loader.c: Error loading module ‘app_dahdiras.so’: /usr/lib/asterisk/modules/app_dahdiras.so: undefined symbol: dahdi_chan_na$
[Mar 15 01:24:40] WARNING[5306] loader.c: Module ‘app_dahdiras.so’ could not be loaded.
[Mar 15 01:24:40] NOTICE[5306] chan_ooh323.c: ---------------------------------------------------------------------------------
— ******* IMPORTANT NOTE ***********

— This module is currently unsupported. Use it at your own risk.


[Mar 15 01:24:40] NOTICE[5306] chan_ooh323.c: Unable to load config ooh323.conf, OOH323 disabled
[Mar 15 01:24:40] WARNING[5306] chan_sip.c: Section ‘8076240373-in’ lacks type
[Mar 15 01:24:40] WARNING[5306] pbx_config.c: The use of ‘_.’ for an extension is strongly discouraged and can have unexpected behavior. Please use ‘X.’ i$
[Mar 15 01:24:40] WARNING[5306] pbx_config.c: The use of '
.’ for an extension is strongly discouraged and can have unexpected behavior. Please use ‘_X.’ i$
[Mar 15 01:24:39] WARNING[5306] app_followme.c: No follow me config file (followme.conf), so no follow me
er.c: Error loading module ‘format_au.so’: /usr/lib/asterisk/modules/format_au.so: cannot open shared object file: No su$
[Mar 15 01:24:39] WARNING[5306] res_musiconhold.c: Cannot open dir /var/lib/asterisk/mohmp3/none/ or dir does not exist
[Mar 15 01:24:39] WARNING[5306] loader.c: Error loading module ‘chan_dahdi.so’: /usr/lib/asterisk/modules/chan_dahdi.so: undefined symbol: dahdi_chan_name_l$
[Mar 15 01:24:39] NOTICE[5306] res_smdi.c: Unable to load config smdi.conf: SMDI disabled
[Mar 15 01:24:39] WARNING[5306] res_smdi.c: No SMDI interfaces are available to listen on, not starting SMDI listener.
[Mar 15 01:24:39] VERBOSE[5306] logger.c: [Mar 15 01:24:39] Loading [Sub]Agent Module
[Mar 15 01:24:39] NOTICE[5306] config.c: Registered Config Engine odbc
[Mar 15 01:24:39] WARNING[5306] res_odbc.c: Unable to load config file res_odbc.conf

99% of the time it is because of a third party module add on that you installed that does not work correctly for the version of FreePBX you are using (which you don’t say).

Go back and Disable it. If you need to know how to disable a module it without using the web GUI please see the http://freepbx.org/support/documentation/module-documentation/third-party-unsupported-modules page.

Here’s the installed apps:

blacklist 2.5.0.4 (current: 2.5.0.3)
queues 2.5.4.5 (current: 2.4.0.6)
javassh 2.5.0.1 (current: 2.5.0)
asteriskinfo 2.5.0.2 (current: 2.5.0.1)
disa 2.5.1.7 (current: 2.5.1.6)
callback 2.5.0.3 (current: 2.5.0.2)
manager 2.5.0.2 (current: 2.5.0.1)
callforward 2.5.0.2 (current: 2.4.0)
cidlookup 2.5.0.6 (current: 2.5.0.5)
logfiles 2.5.0.1 (current: 2.5.0)
customappsreg 2.5.0.5 (current: 2.4.0.4)
miscapps 2.5.0.4 (current: 2.5.0.3)
recordings 5.3.8.9 (current: 3.3.6.1)
vmblast 2.5.0.5 (current: 2.5.0.4)
donotdisturb 2.5.0.6 (current: 2.4.0)
languages 2.5.0.8 (current: 2.4.0.2)
pbdirectory 2.5.0.1 (current: 2.5.0)
voicemail 2.5.1.6 (current: 2.4.0.1)
dashboard 2.5.0.6 (current: 2.4.0.1)
callwaiting 2.5.0.1 (current: 2.4.0)
announcement 2.5.1.8 (current: 2.4.0.1)
fw_ari 5.5.2 (current: 2.5.2)
parking 2.5.1.4 (current: 2.4.0.5)
conferences 2.5.1.7 (current: 2.4.0.1)
printextensions 2.5.0.4 (current: 2.5.0.3)
inventorydb 2.5.0.2 (current: 2.5.0.1)
infoservices 2.5.0.2 (current: 2.4.0.1)
core 5.5.1.5 (current: 2.4.0.1)
pinsets 2.5.0.2 (current: 2.5.0.1)
daynight 2.5.0.11 (current: 2.4.0.1)
miscdests 2.5.0.3 (current: 2.5.0.2)
music 2.5.1.3 (current: 2.4.0.1)
timeconditions 2.5.0.9 (current: 2.4.4.2)
paging 2.5.0.7 (current: 2.4.0.4)
featurecodeadmin 2.5.0.4 (current: 2.4.0.1)
ivr 2.5.20.6 (current: 2.5.16.2)
customerdb 2.5.0.4 (current: 2.5.0.3)

The following modules are disabled because they need to be upgraded:
ringgroups, findmefollow, framework

When I try to click apply I get the follow error message:
exit: 1

Checking for PEAR DB…OK
Checking for PEAR Console::Getopt…OK
Checking for /etc/amportal.conf …OK
Bootstrapping /etc/amportal.conf …OK
Parsing /etc/amportal.conf …OK
Parsing /etc/asterisk/asterisk.conf …OK
Connecting to database…OK
Connecting to Asterisk manager interface…OK
array(2) {
[“featurename”]=>
string(10) “dnd_toggle”
[“description”]=>
string(10) “DND Toggle”
}
[FATAL] DB Error: no such field

Error selecting from announcement

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

Is there a way to update the modules straight from the CLI?

spiffyone,

I don’t know what tutorial you are referring to so I can’t help.

Let’s backup and start at square one.

Provide details of your setup. It looks like you attempted to do a upgrade (maybe from 2.4 to 2.5) and something went wrong, or you didn’t follow the directions correctly. So since 99.99998% of us will know nothing about your setup give us a complete run down. But at least one of the modules version numbers looks seriously wrong.

Versions of everything (that means): OS, FreePBX, Asterisk, was the a hand build or distro, who’s version and/or directions you used to build it, etc. there are way to many variables floating around to just start taking shots in the dark or using some unnamed tutorial in an attempt to fix things without knowing these important details and how you have gotten to this point currently.

ok using that module_admin command I was able to fix and upgrade all the modules without any errors now. I clicked apply and it worked. BUT! none of the modules show up in the web admin mode!

Here’s my system’s info:

Trixbox CE
CentOS release 5.2 (Final)
Kernel Version 2.6.18-92.1.18.el5 (SMP)
Asterisk 1.4.22-3 RPM

I built it from the auto setup provided during the install. Any other information you need?

To try to fix things I looked at the httpd and full logs and fixed all the small problems one by one in hopes that the module issue would be resolved.

which version of Trixbox CE? As the version number for the core does not look right.

I got version number: trixbox CE current release is 2.6.2.2

please re-verify the Core version number. If it is “core 5.5.1.5” then you must have attempted to first upgrade the web interface using the trixbox forked version of FreePBX and once you have gone down that road it’s almost impossible to come back from it due to them playing with the version numbers of things.

I think the only way to recover from it is to go back to trixbox “forked” version or do paid support from this site.

again it’s all in the details if you had gone down that road and said so we could have said this before hand and saved us both a lot of trouble.

Ok what’s the best way to obtain the core version number? Just so we’re on the same page here.

/var/www/html/admin/modules/framework/bin/module_admin list

Module Version Status


announcement 2.5.1.8 Enabled
asteriskinfo 2.5.0.2 Enabled
blacklist 2.5.0.4 Enabled
builtin Enabled
callback 2.5.0.3 Enabled
callforward 2.5.0.2 Enabled
callwaiting 2.5.0.1 Enabled
cidlookup 2.5.0.6 Enabled
conferences 2.5.1.7 Enabled
core 5.5.1.5 Enabled
customappsreg 2.5.0.5 Enabled
customerdb 2.5.0.4 Enabled
dashboard 2.5.0.6 Enabled
daynight 2.5.0.11 Enabled
disa 2.5.1.7 Enabled
donotdisturb 2.5.0.6 Enabled
endpointcfg Not Installed (Locally available)
featurecodeadmin 2.5.0.4 Enabled
findmefollow 2.5.1.8 Enabled
framework 2.5.1.0 Enabled
fw_ari 5.5.2 Enabled
fw_fop 2.5.0.1 Enabled
infoservices 2.5.0.2 Enabled
ivr 2.5.20.6 Enabled
javassh 2.5.0.1 Enabled
languages 2.5.0.8 Enabled
logfiles 2.5.0.1 Enabled
manager 2.5.0.2 Enabled
miscapps 2.5.0.4 Enabled
miscdests 2.5.0.3 Enabled
music 2.5.1.3 Enabled
paging 2.5.0.7 Enabled
parking 2.5.1.4 Enabled
pbdirectory 2.5.0.1 Enabled
pinsets 2.5.0.2 Enabled
printextensions 2.5.0.4 Enabled
queueprio 2.5.0.4 Enabled
queues 2.5.4.5 Enabled
recordings 5.3.8.9 Enabled
ringgroups 2.5.1.7 Enabled
timeconditions 2.5.0.9 Enabled
vmblast 2.5.0.5 Enabled
voicemail 2.5.1.6 Enabled

ok so that confirms it. Your core is NOT a FreePBX generated core file.

do /var/www/html/admin/modules/framework/bin/module_admin info core
and ls -l /var/www/html/admin/modules/core/

and post output

info corentax error near /var/www/html/admin/modules/framework/bin/module_admin

    rawname: core
       type: setup
   category: Basic
       name: Core
    version: 5.5.1.5
 candisable: no

canuninstall: no
changelog:
2.5.1.5 #3474
2.5.1.4 #3380, #3451, #932, #3358, #3426
2.5.1.3 #3380, #3358, #3387, localizations
2.5.1.2 #3345 inbound CID routing fix, adds vm-callme voicemail access option
2.5.1.1 #3311, revert #3266 (r7001)
2.5.1.0 #3304, #3276, #3299
2.5.0.4 #3299
2.5.0.3 #3266, #3267, #3281, #3042 (vm-callme context), localiztion fixes
2.5.0.2 #3219, #3241, #3240, #3251, #3215, localization fixes
2.5.0.1 minor bug not showing extensions
2.5.0.0 #3211, and final release
2.5.0rc3.3 #3193, #3200, localization fixes, Swedish
2.5.0rc3.2 #3124, #3180
2.5.0rc3.1 #3173, #3077 auto-blkvm, auto-confirm to auto generation, visual feedback to DAHDI compatibility
2.5.0rc3.0 #3150, #3152, #3142, #3167, #3077 (DAHDI Support)
2.5.0rc2.5 #3129, #3144, #3146 and some streamling of dialout-trunk and outbound-callerid
2.5.0rc2.4 #3128, #3140 sqlite3 fix and fixed typo introduced in dialparties.agi
2.5.0rc2.3 #3130, #2750, #3128, #3131 (requires r6519) added master recording disable (can be performance booster)
2.5.0rc2.2 lots of changed to be updated
2.5.0rc2.1 #3115, #3116 remove warning and add t option to nv_faxdetect
2.5.0rc2.0 #3091, #3099, #3100 Added return from voicemail/busy to IVR support, added CID Priority Route Inbound Route option
2.5.0rc1.1 #3060, #3072, #3078 mixmonitor recording dir typo, move disallow=all to top of all sip, iax sections, file call screening nomemory
2.5.0rc1.0 #3053 allow routing in CIDs like Private, Blocked, Restricted, etc. and bump to rc1
2.5.0beta1.4 #3046, #3019, #3047, #3040
2.5.0beta1.3 #2530 typo _GLOBALS should be GLOBALS, clean up conflicts when creating users/extensions
2.5.0beta1.2 #2913 Add pre-answer delay option to incoming routes, rearrange the order of options on incoming screen
2.5.0beta1.1 #2991, #2999, #2993, #3020, #3002, #3041, #2996, #3029, #3031
2.5.0beta1.0 #2976, #2778, #2413, #2974, #2962, #2894, #2073
2.5.0alpha1.1 #2930, #2938, #2922, #2939, #1568, #2949, #2779, #2953, #1911, #2807
2.5.0alpha1.0 #2853, #2925, #2391, #2785, #2923, #2671, #2585, #2908, #2909, #2510, #2976, #2845, #1715, #2760, #2926, #2927, #2838, also added misc icons, links between users/devices
2.4.0.4 #2857, #2848, #2791, #2449
2.4.0.3 #2851 forwarded/followme/ringgroup calls originating from outside fail
2.4.0.2 #2702, #2759, #2763, #2801, #2747, #2828, #2604, #2841, #2835 - review svn log or tickets for details
2.4.0.1 #2693 fix DID editing creating new DID route introduced from #2664 fix
2.4.0.0 CHANGELOG TRUNCATED See SVN Repository

    depends:
       version: 2.5.0rc3

requirements:
file: /usr/sbin/asterisk
menuitems:
extensions: Extensions
users: Users
devices: Devices
did: Inbound Routes
zapchandids: Zap Channel DIDs
routing: Outbound Routes
trunks: Trunks
general: General Settings
ampusers: Administrators
wiki: Support
location: release/2.5/core-2.5.1.4.tgz
md5sum: bf1e3b2180f9cb557efe6f46c0f7837c
displayname: Core
items:
extensions:
name: Extensions
type: setup
category: Basic
sort: -4
needsenginedb: yes
users:
name: Users
type: setup
category: Basic
sort: -3
needsenginedb: yes
devices:
name: Devices
type: setup
category: Basic
sort: -4
needsenginedb: yes
did:
name: Inbound Routes
type: setup
category: Inbound Call Control
sort: -5
zapchandids:
name: Zap Channel DIDs
type: setup
category: Inbound Call Control
sort: -5
routing:
name: Outbound Routes
type: setup
category: Basic
sort: 0
trunks:
name: Trunks
type: setup
category: Basic
sort: 0
general:
name: General Settings
type: setup
category: Basic
sort: 0
ampusers:
name: Administrators
type: setup
category: Basic
sort: 5
wiki:
name: Support
type: tool
category: Support
sort: 5
href: http://trixbox.org/support
target: _blank
access: all
status: Enabled
dbversion: 5.5.1.5

ls -l /var/www/html/admin/modules/core/
total 444
drwxrwxr-x 2 asterisk asterisk 4096 Oct 20 15:28 agi-bin
drwxrwxr-x 2 asterisk asterisk 4096 Aug 1 2008 bin
drwxrwxr-x 2 asterisk asterisk 4096 Jan 6 16:50 etc
-rw-rw-r-- 1 asterisk asterisk 215740 Jan 16 16:10 functions.inc.php
drwxrwxr-x 2 asterisk asterisk 4096 Jul 10 2008 images
-rw-rw-r-- 1 asterisk asterisk 7646 Oct 1 10:30 install.php
-rwxrwxr-x 1 asterisk asterisk 3715 Jan 16 16:10 module.xml
-rw-rw-r-- 1 asterisk asterisk 9920 Oct 1 10:30 page.ampusers.php
-rw-rw-r-- 1 asterisk asterisk 872 Sep 18 00:48 page.devices.php
-rw-rw-r-- 1 asterisk asterisk 19302 Jan 16 16:10 page.did.php
-rw-rw-r-- 1 asterisk asterisk 882 Sep 18 18:08 page.extensions.php
-rw-rw-r-- 1 asterisk asterisk 26677 Jan 16 16:10 page.general.php
-rw-rw-r-- 1 asterisk asterisk 26522 Sep 26 20:19 page.routing.php
-rw-rw-r-- 1 asterisk asterisk 38540 Jan 16 16:10 page.trunks.php
-rwxrwxr-x 1 asterisk asterisk 1590 Jul 1 2008 page.users.php
-rwxrwxr-x 1 asterisk asterisk 6197 Jul 6 2008 page.zapchandids.php
drwxrwxr-x 2 asterisk asterisk 4096 Aug 24 2008 sounds
-rwxrwxr-x 1 asterisk asterisk 18993 Jul 1 2008 XML_Parser.php
-rwxrwxr-x 1 asterisk asterisk 28446 Jul 1 2008 XML_Unserializer.php

my output is the same to spiffyone…what is the problem? and what to do next?

If, like him, you are running Trixbox CE, that is your problem. They are using a forked version of FreePBX. If it were me, I’d switch to a distribution that uses genuine FreePBX, such as Elastix, PBX in a Flash, Fonica PABX, AsteriskNOW, etc. - just any distribution that uses an un-forked FreePBX. Otherwise you are going to continue to encounter problems of this type and FreePBX users will generally not be able to help you because we are not experiencing these issues.

If you are NOT running Trixbox CE, then you need to provide more information, as was asked of the original poster.

If your core version number is as of April 2009 a value greater then 3.0.0.0 like 5.5.1.5 then you have a issue with trixbox and need ot talk to them and only them. They took FreePBX and “forked” it (aka totally screwed it up and you in the process). We can’t support something that somebody else bastardized and didn’t post the code back for review. The only place you’ll get support is at trixbox, good luck.

The only other thing you can do would be to scrap the whole system (basically because the screwed up the versioning system on purpose so you could not go back to FreePBX) and reload a good ISO from say AsteriskNow, PIAF, etc…