This is the second time in 3 days that I received this error:
The following commands failed with the listed error
/var/lib/asterisk/bin/module_admin listonline > /dev/null 2>&1 (255)
I deleted it the 1st time since I read that it may have been an intermittent connection error but now that it happened again I figured I would ask here. Is there something I should do for this error?
I check the GUI just about everyday and it always works and seems fine. In fact even today I checked the Admin Module and ran the XMPP update with no problems at all. I then checked the System Admin Updates function and it says the system is up top date with no obvious errors. I not sure how to run the command myself through CLI but I am going to clear the error in the system status and see if it comes back again.
I ran the command and it ran with no errors and showed a complete match for what I see on the GUI. After clearing the error last time it hasnāt come back and right now the GUI and the CLI show everything is up to date and seemingly fine.
I actually did Andrew and it came back fine again, which it seems to always do. Do you think its just a brief connection error to the list? Just seems odd to me that this is the only box that it ever happens on but once again I deleted the error and it hasnāt returned yet.
OK Thanks we will keep an eye on it and were changing this PBX to a new install at another network location so it will be interesting to see what happens
Iām having the same error shown in my Dashboard. Using FreePBX 13.0.195.18
I checked that GPG is installed as you can see in the commands and output below. Any idea/help?
[root ~]# yum install gpg
Loaded plugins: fastestmirror, kmod
Setting up Install Process
Loading mirror speeds from cached hostfile
base | 2.0 kB 00:00
extras | 1.3 kB 00:00
pbx | 2.9 kB 00:00
schmooze-commercial | 2.9 kB 00:00
updates | 1.3 kB 00:00
Package gnupg2-2.0.14-8.el6.x86_64 already installed and latest version
Nothing to do
[root ~]# /var/lib/asterisk/bin/module_admin listonline
no repos specified, using: [commercial,standard,extended] from last GUI settings
Whoops\Exception\ErrorException: Comments starting with ā#ā are deprecated in Unknown on line 23 in file /var/www/html/admin/libraries/BMO/GPG.class.php on line 613
Stack trace:
Getting exactly the same error on FreePBX 14.0.4.5:
[root@freepbx ~]# /var/lib/asterisk/bin/module_admin listonline
no repos specified, using: [standard,commercial] from last GUI settings
Whoops\Exception\ErrorException: Comments starting with '#' are deprecated in Unknown on line 23 in file /var/www/html/admin/libraries/BMO/GPG.class.php on line 624
Stack trace:
1. Whoops\Exception\ErrorException->() /var/www/html/admin/libraries/BMO/GPG.class.php:624
2. parse_ini_string() /var/www/html/admin/libraries/BMO/GPG.class.php:624
3. FreePBX\GPG->checkSig() /var/www/html/admin/libraries/BMO/GPG.class.php:174
4. FreePBX\GPG->verifyModule() /var/www/html/admin/libraries/modulefunctions.class.php:3263
5. module_functions->updateSignature() /var/www/html/admin/libraries/modulefunctions.class.php:3169
6. module_functions->getAllSignatures() /var/lib/asterisk/bin/module_admin:567
7. showList() /var/lib/asterisk/bin/module_admin:858
[root@freepbx ~]#
Running fwconsole ma listonline gives a similar result:
[root@freepbx ~]# fwconsole ma listonline
No repos specified, using: [standard,commercial] from last GUI settings
In GPG.class.php line 624:
Comments starting with '#' are deprecated in Unknown on line 23
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>]...
[root@freepbx ~]#
The error is because you have a module.sig in your modules folder with a # symbol as a starting line. We havenāt supported that since version 12. Youāll need to manually find a file like that and fix it.