Got error while running fwconsole ma install core

hi all,

I run the command “fwconsole moduleadmin refreshsignatures” and I got this output

Getting Data from Online Server…
Done
Checking Signatures of Modules…
Checking accountcodepreserve…
Good
Checking announcement…
Good
Checking areminder…
Good
Checking arimanager…
Good
Checking asterisk-cli…
Good
Checking asteriskinfo…
Good
Checking backup…
Good
Checking blacklist…
Good
Checking bria…
Good
Checking broadcast…
Good
Checking builtin…
Good
Checking bulkdids…
Good
Checking bulkextensions…
Good
Checking callback…
Good
Checking callerid…
Good
Checking callforward…
Good
Checking calllimit…
Good
Checking callrecording…
Good
Checking callwaiting…
Good
Checking campon…
Good
Checking cdr…
Good
Checking certman…
Good
Checking cidlookup…
Good
Checking conferences…
Good
Checking conferencespro…
Good
Checking contactmanager…
Good
Checking core…
Signature Invalid
Refreshing core
Starting core download…
Processing core
Downloading…
1085132/1085132 [============================] 100%
Finished downloading
Extracting…Done
Module core successfully downloaded
Unable to install module core:

  • FreePBX version 13.0.188.12 or higher is required, you have 13.0.1alpha51
    Verifying GPG…
    Done
    Checking cos…
    Good
    Checking customappsreg…
    Good
    Checking cxpanel…
    Good
    Checking dahdiconfig…
    Good
    Checking dashboard…
    Good
    Checking daynight…
    Good
    Checking dictate…
    Good
    Checking digium_phones…
    Good
    Checking digiumaddoninstaller…
    Good
    Checking directory…
    Good
    Checking disa…
    Good
    Checking donotdisturb…
    Good
    Checking endpoint…
    Good
    Checking extensionroutes…
    Good
    Checking fax…
    Good
    Checking faxpro…
    Good
    Checking featurecodeadmin…
    Good
    Checking findmefollow…
    Good
    Checking framework…
    Good
    Checking freepbx_ha…
    Good
    Checking fw_langpacks…
    Good
    Checking hotelwakeup…
    Good
    Checking iaxsettings…
    Good
    Checking infoservices…
    Good
    Checking irc…
    Good
    Checking ivr…
    Good
    Checking javassh…
    Good
    Checking languages…
    Good
    Checking logfiles…
    Good
    Checking manager…
    Good
    Checking miscapps…
    Good
    Checking miscdests…
    Good
    Checking music…
    Good
    Checking outroutemsg…
    Good
    Checking paging…
    Good
    Checking pagingpro…
    Good
    Checking parking…
    Good
    Checking parkpro…
    Good
    Checking pbdirectory…
    Good
    Checking phonebook…
    Good
    Checking phpinfo…
    Good
    Checking pinsets…
    Good
    Checking pinsetspro…
    Good
    Checking presencestate…
    Good
    Checking printextensions…
    Good
    Checking queueprio…
    Good
    Checking queues…
    Good
    Checking recording_report…
    Good
    Checking recordings…
    Good
    Checking restapi…
    Good
    Checking restapps…
    Good
    Checking restart…
    Good
    Checking ringgroups…
    Good
    Checking setcid…
    Good
    Checking sipsettings…
    Good
    Checking sipstation…
    Good
    Checking sms…
    Good
    Checking sng_mcu…
    Good
    Checking speeddial…
    Good
    Checking superfecta…
    Good
    Checking sysadmin…
    Good
    Checking timeconditions…
    Good
    Checking tts…
    Good
    Checking ttsengines…
    Good
    Checking ucp…
    Good
    Checking ucpnode…
    Good
    Checking userman…
    Good
    Checking vmblast…
    Good
    Checking vmnotify…
    Good
    Checking voicemail…
    Good
    Checking voicemail_report…
    Good
    Checking vqplus…
    Good
    Checking weakpasswords…
    Good
    Checking webcallback…
    Good
    Checking webrtc…
    Good
    Checking xmpp…
    Good
    Done
    Setting Permissions…
    0 [>---------------------------]
    Finished setting permissions

after that I run this command “fwconsole ma showupgrades” and I have got framework version

framework | 13.0.1alpha51 | 13.0.190.11

I run the command “fwconsole ma upgrade framework” and got the output

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

Starting framework download…
Processing framework
Downloading…
9502691/9502691 [============================] 100%
Finished downloading
Extracting…Done
Module framework successfully downloaded
installing files to /var/www/html…done
installing files to /var/lib/asterisk/bin…done
installing files to /var/lib/asterisk/agi-bin…done
Checking for upgrades…
4 found
Upgrading to 13.0.50…
-> Running PHP script /var/www/html/admin/modules/framework/upgrades//13.0.50/upgrade.php
Upgrading to 13.0.50…OK
Upgrading to 13.0.143…
-> Running PHP script /var/www/html/admin/modules/framework/upgrades//13.0.143/upgrade.php
Upgrading to 13.0.143…OK
Upgrading to 13.0.190.2…
-> Running PHP script /var/www/html/admin/modules/framework/upgrades//13.0.190.2/upgrade.php
Upgrading to 13.0.190.2…OK
Upgrading to 13.0.190.10…
-> Running PHP script /var/www/html/admin/modules/framework/upgrades//13.0.190.10/upgrades.php
Upgrading to 13.0.190.10…OK
framework file install done, removing packages from module
file/directory: /var/www/html/admin/modules/framework/amp_conf removed successfully
file/directory: /var/www/html/admin/modules/framework/upgrades removed successfully
file/directory: /var/www/html/admin/modules/framework/start_asterisk removed successfully
file/directory: /var/www/html/admin/modules/framework/install removed successfully
file/directory: /var/www/html/admin/modules/framework/installlib removed successfully
which: no amportal in (/usr/local/sbin:/usr/lib64/qt-3.3/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin)
Generating CSS…Done
Updating Hooks…Done
Module framework successfully installed
Setting Permissions…
21664/21664 [============================] 100%
Finished setting permissions

now when i run for upgrade core command “fwconsole ma upgrade core” i got this error

Whoops\Exception\ErrorException: file_get_contents(/etc/schmooze/operator-panel-brand): failed to open stream: No such file or directory in file /var/www/html/admin/modules/cxpanel/brand.php on line 3
Stack trace:

  1. Whoops\Exception\ErrorException->() /var/www/html/admin/modules/cxpanel/brand.php:3
  2. Whoops\Run->handleError() :0
  3. file_get_contents() /var/www/html/admin/modules/cxpanel/brand.php:3
  4. require_once() /var/www/html/admin/modules/cxpanel/functions.inc.php:28
  5. require_once() /var/www/html/admin/bootstrap.php:382
  6. require_once() /etc/freepbx.conf:9
  7. include_once() /var/lib/asterisk/bin/fwconsole:12

Now I am not able to access gui as well not even I am able to access fwconsole ma

need help on this on urgent basis as this pbx is in production

Do you use iSymphony? If not, get rid of the module with one of these

fwconsole ma delete cxpanel

or if that won’t work, try:

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

after deleting then what to do?

fwconsole restart?

Looks like Framework is out of date:

fwconsole ma upgrade framework
fwconsole ma upgradeall

thanks issue is resolved by upgrading the modules.

1 Like