FreePBX Admin interface not working after upgrade. Please help!

Hi,

I did an upgrade from FreePBX Module Admin. I also did a yum update.
After this I realised I’d lost my 4 DAHDI channels.
I decided to restore from backup.
Since then I cannot access FreePBX admin. I just get a white screen at http://192.168.1.250/admin/config.php

Digium have just helped me get my 4 DAHDI channels working again (the updates had over-written some config). All other telecom functions seem to work (ie I can make and receive calls). BUT I cannot access FreePBX which is where I do all my administration from. I’m not good with command line stuff.

Can anyone please help me get FreePBX working again?

If you have any questions (eg what version of xyz are you using?) Please be sure to tell me what to type on the command line to find out!

Patrick

So, I guess what I am really asking is, is there a very of recovering or reinstalling FreePBX without upsetting my config?

Patrick

It seems that my updates are all out of sync.
Is there a way of updating all FreePBX modules from the command line?

I guess I am going to need to seek paid support to get this fixed?

Patrick

You can use the /var/lib/asterisk/bin/module_admin to manage modules. As with most any program a ‘?’ will display the arguments.

Thanks for your reply, but I have no idea how to use it!

How would I update the Core module for example?

Patrick

If you hit module_admin ? all your questions will be answered.

You are quite Linux challenged. You would probably be a lot less frustrated if you ready a beginners guide to Linux.

Anyway, one quirk of Linux is it does not automatically put the current directory in the search path.

You have to specify the current directory, it is always referred to as ‘.’

So ‘./module_admin ?’ will get you the help page.

Hope that works for you.

[[email protected] ~]# cd /var/lib/asterisk/bin/
[[email protected] bin]# module_admin ?
-bash: module_admin: command not found

If I look in the directory, I can see that module_admin is there:

[[email protected] bin]# dir
ampbackup.php callerid_updater.php freepbx_engine_hook_fw_fop retrieve_conf
ampbackup.pl caller_updater.php freepbx_setting retrieve_op_conf_from_mysql.php
archive_recordings dumpastdb.php gen_amp_conf.php retrieve_op_conf_from_mysql.pl
audio-email.pl fax2mail.php generate_hints.php retrieve_parse_amportal_conf.pl
backup.php fax-process.pl libfreepbx.confgen.php schedtc.php
callback freepbx-cron-scheduler.php module_admin
callerid freepbx_engine restoreastdb.php

Hi SkyKingOH

Yes indeed! I think I started this thread by saying that I am indeed quite Linux-challenged! That’s why I depend on the wonderful FrePBX interface. Thanks for your patience.

Right… I’m getting there…

Presumably if I use the command -

./module_admin upgradeall

  • I might stand a chance of recovering things? (Or will have have to understand about all the dependancies and install modules one at a time?)

Patrick

You can try that, it may be an easy fix. I would thing you are going to have to get core and framework working first.

Here’s module status which explains why nothing works -

[[email protected] bin]# ./module_admin list
no repos specified, using: [standard,extended,commercial] from last GUI settings

Module Version Status


announcement 2.9.0.2 Disabled; Pending upgrade to 2.10.0.1
asterisk-cli 2.9.0.2 Disabled; Pending upgrade to 2.10.0.1
asteriskinfo 2.9.0.3 Disabled; Pending upgrade to 2.10.0.1
backup 2.9.0.4 Disabled; Pending upgrade to 2.10.0.26
blacklist 2.9.0.1 Disabled; Pending upgrade to 2.10.0.1
builtin Enabled
bulkdids 2.5.0.3 Disabled
bulkextensions 2.7.0.1 Disabled
callback 2.9.0.4 Disabled; Pending upgrade to 2.10.0.1
callerid 2.10.0.5 Enabled
callforward 2.9.0.1 Disabled; Pending upgrade to 2.10.0.1
callwaiting 2.9.0.0 Disabled; Pending upgrade to 2.10.0.1
cdr Not Installed (Locally available)
cidlookup 2.9.0.5 Disabled; Pending upgrade to 2.10.0.1
conferences 2.9.0.2 Disabled; Pending upgrade to 2.10.0.6
core 2.9.0.5 Disabled; Pending upgrade to 2.10.0.7
customappsreg 2.9.0.1 Disabled; Pending upgrade to 2.10.0.1
customcontexts 2.9.0.0 Disabled; Pending upgrade to 2.10.0.1
customerdb 2.5.0.4 Disabled
dahdiconfig 2.9.0.1 Disabled; Pending upgrade to 2.8.0
dashboard 2.9.0.4 Disabled; Pending upgrade to 2.10.0.3
daynight 2.9.0.4 Disabled; Pending upgrade to 2.10.0.2
dictate 2.8.0.0 Disabled
directory 2.9.0.12 Disabled; Pending upgrade to 2.10.0.10
disa 2.8.0.1 Disabled
donotdisturb 2.9.0.1 Disabled; Pending upgrade to 2.10.0.1
dundicheck 2.9.0.1 Disabled; Pending upgrade to 2.10.0.1
endpointman 2.9.2.9 Disabled; Pending upgrade to 2.10.3.7
extensionsettings 2.9.0.0 Disabled; Pending upgrade to 2.10.0.2
fax 2.9.0.6 Disabled; Pending upgrade to 2.10.0.4
featurecodeadmin 2.9.0.0 Disabled; Pending upgrade to 2.10.0.3
findmefollow 2.8.0.4 Disabled
framework 2.9.0.12 Disabled; Pending upgrade to 2.10.0.7
fw_ari 2.9.0.8 Disabled; Pending upgrade to 2.10.0.4
fw_fop 2.9.0.2 Disabled; Pending upgrade to 2.10.0.2
fw_langpacks 2.9.0.1 Disabled; Pending upgrade to 2.10.0.0
gabcast 2.5.0.1 Disabled
iaxsettings 2.9.0.5 Disabled; Pending upgrade to 2.10.0.2
infoservices 2.9.0.0 Disabled; Pending upgrade to 2.10.0.2
inventorydb 2.5.0.2 Disabled
irc 2.9.0.1 Disabled; Pending upgrade to 2.10.0.2
ivr 2.9.0.5 Disabled; Pending upgrade to 2.10.0.6
javassh 2.9.0.0 Disabled; Pending upgrade to 2.10.0.1
languages 2.8.0.2 Disabled
logfiles 2.9.0.1 Disabled; Pending upgrade to 2.10.0.1
manager 2.9.0.3 Disabled; Pending upgrade to 2.10.0.2
miscapps 2.9.0.2 Disabled; Pending upgrade to 2.10.0.1
miscdests 2.9.0.1 Disabled; Pending upgrade to 2.10.0.1
music 2.9.0.1 Disabled; Pending upgrade to 2.10.0.2
outroutemsg 2.9.0.1 Disabled; Pending upgrade to 2.10.0.1
paging 2.9.0.6 Disabled; Pending upgrade to 2.10.0.4
parking 2.9.0.4 Disabled; Pending upgrade to 2.10.0.1
pbdirectory 2.9.0.2 Disabled; Pending upgrade to 2.10.0.1
phonebook 2.9.0.3 Disabled; Pending upgrade to 2.10.0.1
phpagiconf 2.9.0.2 Disabled; Pending upgrade to 2.10.0.1
phpinfo 2.9.0.1 Disabled; Pending upgrade to 2.10.0.1
pinsets 2.9.0.2 Disabled; Pending upgrade to 2.10.0.2
printextensions 2.9.0.1 Disabled; Pending upgrade to 2.10.0.3
queueprio 2.8.0.0 Disabled
queues 2.8.0.3 Disabled
recordings 3.3.11.2 Disabled; Pending upgrade to 3.3.11.7
restart 2.8.0.1 Disabled
ringgroups 2.9.0.6 Disabled; Pending upgrade to 2.10.0.4
setcid 2.8.2 Disabled
sipsettings 2.9.0.5 Disabled; Pending upgrade to 2.10.0.3
sipstation 2.8.0.7 Disabled
speeddial 2.9.0.1 Disabled; Pending upgrade to 2.10.0.1
timeconditions 2.9.0.7 Disabled; Pending upgrade to 2.10.0.2
ttsengines 2.9.2 Disabled; Pending upgrade to 2.10.0.3
vmblast 2.8.0.2 Disabled
voicemail 2.9.0.6 Disabled; Pending upgrade to 2.10.0.3
weakpasswords 2.8.0.0 Disabled
[[email protected] bin]#

When I try and upgrade, I’m told that everything is already up to date -

[[email protected] bin]# ./module_admin upgradeall
no repos specified, using: [standard,extended,commercial] from last GUI settings

Up to date.

SETTING FILE PERMISSIONS
Permissions OK
[[email protected] bin]#

If I specify a module, I get this -

[[email protected] bin]# ./module_admin upgrade core
The following error(s) occured:

Sorry if I look very thick. Thanks again for your patience.

Not thick, just wondering how it got this screwed up. Do you have the FreePBX yum file in etc/repos.d ??

I dont appear to have a directory called repos.d

I have a directory called yum.repos.d

This must be a AsteriskNow install and anytime you do a yum update it installs a new FreePBX RPM which breaks your existing systems. That is how it got broke.

If Tony is right and you are running AsteriskNow you are going to struggle to fix it without Linux knowledge.

The various Distro’s all do things differently. It seems that FreePBX was an afterthought on AsteriskNow.

You might want to buy an a support package and let an expert solve this for you.

Yes, it is AsteriskNOW. So… I should avoid yum updates in future, is that right?

Right… looks like I need to spend some money on support. Thanks for your input guys.

Patrick

The only other command I did last night was a ‘reload’. Since then,none of my three trunks work and I cant even make internal call! Arrggggh! It’s gone critical.