FWConsole Errors after data restore to a new server

Edit by xrobau: This has nothing to do with anything dicko has said in this thread. Please read my reply, if you’re coming to this in the future.


I backed up the everything from Server1 so I could install a “warm” server. Restored to Server2.

It would be nice if a template could be created just for New Server provisioning.

Restoring with the “config” ticked off and the IVR recordings/sounds.

Upon restoring to the new server I get a red pop up just noting an error and hovering over the red sprocket I get a message about ajax error check the console. I assume it means the fwconsole.

In Fwconsole debug I see -

==> /var/log/asterisk/freepbx.log <==
[2016-Jul-31 16:54:37] [WARNING] (libraries/modulefunctions.legacy.php:7) - Depreciated Function module_getinfo detected in /var/www/html/admin/modules/cxpanel/functions.inc.php on line 52
[2016-Jul-31 16:54:37] [WARNING] (libraries/modulefunctions.legacy.php:7) - Depreciated Function module_getinfo detected in /var/www/html/admin/modules/cxpanel/functions.inc.php on line 61
[2016-Jul-31 16:54:45] [WARNING] (libraries/modulefunctions.legacy.php:7) - Depreciated Function module_getinfo detected in /var/www/html/admin/modules/cxpanel/functions.inc.php on line 52
[2016-Jul-31 16:54:45] [WARNING] (libraries/modulefunctions.legacy.php:7) - Depreciated Function module_getinfo detected in /var/www/html/admin/modules/cxpanel/functions.inc.php on line 61
[2016-Jul-31 16:56:46] [WARNING] (libraries/modulefunctions.legacy.php:7) - Depreciated Function module_getinfo detected in /var/www/html/admin/modules/cxpanel/functions.inc.php on line 52
[2016-Jul-31 16:56:46] [WARNING] (libraries/modulefunctions.legacy.php:7) - Depreciated Function module_getinfo detected in /var/www/html/admin/modules/cxpanel/functions.inc.php on line 61
[2016-Jul-31 16:56:54] [WARNING] (libraries/modulefunctions.legacy.php:7) - Depreciated Function module_getinfo detected in /var/www/html/admin/modules/cxpanel/functions.inc.php on line 52
[2016-Jul-31 16:56:54] [WARNING] (libraries/modulefunctions.legacy.php:7) - Depreciated Function module_getinfo detected in /var/www/html/admin/modules/cxpanel/functions.inc.php on line 61
[2016-Jul-31 16:57:04] [WARNING] (libraries/modulefunctions.legacy.php:7) - Depreciated Function module_getinfo detected in /var/www/html/admin/modules/cxpanel/functions.inc.php on line 52
[2016-Jul-31 16:57:04] [WARNING] (libraries/modulefunctions.legacy.php:7) - Depreciated Function module_getinfo detected in /var/www/html/admin/modules/cxpanel/functions.inc.php on line 61

fwconsole ma list

No repos specified, using: [standard,commercial,extended,unsupported] from last GUI settings

±---------------------±-------------±--------+
| Module | Version | Status |
±---------------------±-------------±--------+
| accountcodepreserve | 13.0.2 | Enabled |
| announcement | 13.0.6 | Enabled |
| areminder | 13.0.9 | Enabled |
| arimanager | 13.0.4 | Enabled |
| asterisk-cli | 13.0.4 | Enabled |
| asteriskinfo | 13.0.7 | Enabled |
| backup | 13.0.24 | Enabled |
| blacklist | 13.0.13 | Enabled |
| bria | 13.0.18 | Enabled |
| broadcast | 13.0.11 | Enabled |
| builtin | | Enabled |
| bulkdids | 13.0.2 | Enabled |
| bulkextensions | 13.0.3 | Enabled |
| bulkhandler | 13.0.13 | Enabled |
| callback | 13.0.5 | Enabled |
| callerid | 13.0.5 | Enabled |
| callforward | 13.0.4 | Enabled |
| calllimit | 13.0.3 | Enabled |
| callrecording | 13.0.11 | Enabled |
| callwaiting | 13.0.4 | Enabled |
| campon | 13.0.3 | Enabled |
| cdr | 13.0.29.4 | Enabled |
| cel | 13.0.23 | Enabled |
| certman | 13.0.25 | Enabled |
| cidlookup | 13.0.10 | Enabled |
| conferences | 13.0.20 | Enabled |
| conferencespro | 13.0.25 | Enabled |
| configedit | 13.0.7 | Enabled |
| contactmanager | 13.0.28 | Enabled |
| core | 13.0.98 | Enabled |
| cos | 13.0.9 | Enabled |
| customappsreg | 13.0.5 | Enabled |
| cxpanel | 4.1.18 | Enabled |
| dahdiconfig | 13.0.15 | Enabled |
| dashboard | 13.0.24 | Enabled |
| daynight | 13.0.13 | Enabled |
| dictate | 13.0.5 | Enabled |
| digium_phones | 13.0.2 | Enabled |
| digiumaddoninstaller | 2.11.0.12 | Enabled |
| directory | 13.0.16 | Enabled |
| disa | 13.0.6 | Enabled |
| donotdisturb | 13.0.3 | Enabled |
| endpoint | 13.0.61 | Enabled |
| extensionroutes | 13.0.9.2 | Enabled |
| fax | 13.0.32 | Enabled |
| faxpro | 13.0.31 | Enabled |
| featurecodeadmin | 13.0.6 | Enabled |
| findmefollow | 13.0.32 | Enabled |
| firewall | 13.0.35.2 | Enabled |
| framework | 13.0.163 | Enabled |
| freepbx_ha | 13.0.9 | Enabled |
| fw_langpacks | 12.0.7 | Enabled |
| hotelwakeup | 13.0.14 | Enabled |
| iaxsettings | 13.0.4 | Enabled |
| infoservices | 13.0.1 | Enabled |
| irc | 2.11.0.7 | Enabled |
| ivr | 13.0.25 | Enabled |
| languages | 13.0.6 | Enabled |
| logfiles | 13.0.10 | Enabled |
| manager | 13.0.2.5 | Enabled |
| miscapps | 13.0.2.3 | Enabled |
| miscdests | 13.0.3 | Enabled |
| music | 13.0.20 | Enabled |
| outroutemsg | 13.0.2 | Enabled |
| paging | 13.0.21 | Enabled |
| pagingpro | 13.0.17 | Enabled |
| parking | 13.0.17 | Enabled |
| parkpro | 13.0.22 | Enabled |
| pbdirectory | 2.11.0.5 | Enabled |
| phonebook | 13.0.5.4 | Enabled |
| phpinfo | 13.0.2 | Enabled |
| pinsets | 13.0.7 | Enabled |
| pinsetspro | 13.0.6 | Enabled |
| presencestate | 13.0.7 | Enabled |
| printextensions | 13.0.3 | Enabled |
| queueprio | 13.0.2 | Enabled |
| queues | 13.0.27 | Enabled |
| qxact_reports | 13.0.14 | Enabled |
| recording_report | 13.0.22 | Enabled |
| recordings | 13.0.26 | Enabled |
| restapi | 13.0.19 | Enabled |
| restapps | 13.0.64 | Enabled |
| ringgroups | 13.0.21 | Enabled |
| setcid | 13.0.4 | Enabled |
| sipsettings | 13.0.23.5 | Enabled |
| sipstation | 13.0.13.12 | Enabled |
| sms | 13.0.9 | Enabled |
| sng_mcu | 13.0.5 | Enabled |
| soundlang | 13.0.15 | Enabled |
| speeddial | 2.11.0.4 | Enabled |
| superfecta | 13.0.3.17 | Enabled |
| sysadmin | 13.0.63.1 | Enabled |
| timeconditions | 13.0.32 | Enabled |
| tts | 13.0.7 | Enabled |
| ttsengines | 13.0.5 | Enabled |
| ucp | 13.0.37 | Enabled |
| ucpnode | 13.0.31 | Enabled |
| userman | 13.0.69 | Enabled |
| vmblast | 13.0.8 | Enabled |
| vmnotify | 13.0.15 | Enabled |
| voicemail | 13.0.50 | Enabled |
| voicemail_report | 13.0.11 | Enabled |
| vqplus | 13.0.24 | Enabled |
| weakpasswords | 13.0.1alpha1 | Enabled |
| webcallback | 13.0.10 | Enabled |
| webrtc | 13.0.28 | Enabled |
| xmpp | 13.0.14 | Enabled |
| zulu | 13.0.43 | Enabled |
±---------------------±-------------±--------+

Could you help me understand what I need to read about to understand how to fix this.

I did see another message about -
rm -Rf /var/www/html/admin/modules/extensionroutes

But that seemed to be more about a blank page issue.

Thanks!!

Edit by xrobau: This problem has nothing to do with cxpanel. Dicko is confused.


Do you need or use cxpanel?

No. It means the Browser console.

Thanks - Andrew.

I open the Chrome console [ctrl + shift + j] and it looks like when you open the web interface it goes and checks the Schmoozecom shopping cart.

https: / / katanafpbx.schmoozecom.com/store/cart/2548… Failed to load resource: net::ERR_NAME_NOT_RESOLVED.

true true 0 There are no items in your cart.

I know why the name won’t resolve - it’s on a closed network as I need to setup this as a rip and replace thus everything except my license keys are the same on both systems…including IP’s.

Can this be turned off?

Thanks!

As far as I know, and at the risk of being accused of trolling, the only thing FreePBX distro includes which is in any way ajax related is cxpanel, it is solely a feed to Isymphony which has well known memory leaks. If you need it then caveate emptor, if you don’t delete it.

Thanks Dicko!

So

rm -Rf /var/www/html/admin/modules/cxpanel

I’ll use Putty as it will take me all week type that out correctly. : )

  • For those of you who don’t know what Putty (Putty.org) it’s a great way around files - delete, move, find, etc. In fact I had to use this to get my backup on a different server as the FreePBX didn’t want to play right*

Thanks!

This has nothing to do with cxpanel which is why I didn’t comment on dicko

Dicko isn’t trolling he’s just providing inaccurate information.

Even though you removed cxpanel it still is in no way related to cxpanel. At all.

You’ll find the errors will still be present because the Url is generated by sysadmin

That won’t work. The machine needs unfettered internet access outbound, or a bunch of the commercial modules won’t work properly (sysadmin, activation and endpoint manager at least).

If I understand what you’re trying to do, you’ll need to set it up as a warm standby. This is a feature of the Backup module, and is pretty trivial to set up. When you want to fail over, you simply change the IP addresses, and that’s it.

[quote=“dicko, post:5, topic:36232, full:true”]
As far as I know, and at the risk of being accused of trolling, the only thing FreePBX distro includes which is in any way ajax related is cxpanel,[/quote]

Dicko, I think you should take the night off. I don’t know what you think you’re saying, but that is either incomprehensible, or shows a fundamental lack of understanding of 1. what ajax is, and 2. what it does.

Perhaps I should have better stated that there is no java in FreePBX’ open source code to my knowledge.

What does that have to do with anything in this thread?

Nevermind eff it… just fix it.

Really. I’m serious. I don’t know what you’re trying to say here, but I’m going to have to start hiding your posts if you keep this up. Please do not confuse users.

Edit, slightly later: Dicko continued, and a bunch of his posts were deleted. Sorry for anyone who watched that happen.

As a major supporter of this forum , I am often bemused that I am banned regularly and have my posts suppressed.

Oh well.

And now you’re suspended, because you cannot take the hint that I am trying to get you to stop telling people factually incorrect stuff. There is nothing to argue about here, you’re wrong, and you refuse to accept that.

1 Like