Freepbx 17, Module firewall is missung sysadmin, Errors also without Module firewall

Hi !
I have installed Freepbx 17 (17.0.19.21) on Debian 12 with recommended installer script.
After some testing I removed accidentally the module sysadmin.

I can not reinstall it :

fwconsole ma install sysadmin
Unable to install module sysadmin:

  • Cannot find module

no change after a fwconsole ma upgradeall / fwconsole restart

But the module firewall works not without it correctly:
every 5 secs in syslog

php: Unparseable output from getservices - 
["Exception: Unable to locate the FreePBX BMO Class 'Sysadmin'A 
required module might be disabled or uninstalled. 
Recommended steps (run fromthe CLI): 
1) fwconsole ma install sysadmin 
2) fwconsole ma enable sysadmin in file \/var\/www\/html\/admin\/libraries\/BMO\/Self_Helper.class.php on line 214","Stack trace:","  
1. Exception->() \/var\/www\/html\/admin\/libraries\/BMO\/Self_Helper.class.php:214","  
2. FreePBX\\Self_Helper->loadObject() \/var\/www\/html\/admin\/libraries\/BMO\/Self_Helper.class.php:108","  
3. FreePBX\\Self_Helper->autoLoad() \/var\/www\/html\/admin\/libraries\/BMO\/Self_Helper.class.php:39","  
4. FreePBX\\Self_Helper->__get() \/var\/www\/html\/admin\/libraries\/BMO\/FreePBX.class.php:127","  
5. FreePBX->__callStatic() \/var\/www\/html\/admin\/modules\/firewall\/Services.class.php:495","
6. FreePBX\\modules\\Firewall\\Services->getSvc_vpn() \/var\/www\/html\/admin\/modules\/firewall\/Services.class.php:49","  
7. FreePBX\\modules\\Firewall\\Services->getService() \/var\/www\/html\/admin\/modules\/firewall\/Firewall.class.php:1902","  
8. FreePBX\\modules\\Firewall->getService() \/var\/www\/html\/admin\/modules\/firewall\/bin\/getservices:40"] - returned 1

after removing Module firewall and fwconsole restart
every 5 secs will appear in syslog

php: Unparseable output from getservices - 
["Exception: Unable to locate the FreePBX BMO Class 'Firewall'A 
required module might be disabled or uninstalled. 
Recommended steps (run from the CLI): 
1) fwconsole ma install firewall 
2) fwconsole ma enable firewall in file \/var\/www\/html\/admin\/libraries\/BMO\/Self_Helper.class.php on line 214","Stack trace:","  
1. Exception->() \/var\/www\/html\/admin\/libraries\/BMO\/Self_Helper.class.php:214","  
2. FreePBX\\Self_Helper->loadObject() \/var\/www\/html\/admin\/libraries\/BMO\/Self_Helper.class.php:108","  
3. FreePBX\\Self_Helper->autoLoad() \/var\/www\/html\/admin\/libraries\/BMO\/Self_Helper.class.php:39","  
4. FreePBX\\Self_Helper->__get() \/var\/www\/html\/admin\/libraries\/BMO\/FreePBX.class.php:127","  
5. FreePBX->__callStatic() \/var\/www\/html\/admin\/modules\/firewall\/bin\/getservices:22"] - returned 1

==============

Can I reinstall sysadmin (for module firewall) ?
If not, how can I stop the errors every 5 secs in syslog ?
Thanks
Ed

Hi Ed,
Basically here it says what you need to do. Have you tried to do that ?

Hi Shahin,
yes, as i mentioned above the first fwconsole call returns:

fwconsole ma install sysadmin
Unable to install module sysadmin:
 - Cannot find module

I found in the installer script sng_freepbx_debian_install.sh from
GitHub - FreePBX/sng_freepbx_debian_install: FreePBX 17 Installation Script
that this will install via apt-get a package “sysadmin17”
It is installed on my system but could be a other sysadmin.

best regards
Ed

are you able to try below cli commands

fwconsole ma refreshsignatures
fwcconsole ma install sysadmin

Module must be present to be installed.

fwconsole ma download sysadmin
fwconsole ma install sysadmin

or more efficiently

fwconsole ma downloadinstall sysadmin

Hi @Ed9999
I can see on my FreePBX-17 sysadmin apt package installed. But Installation script removes that pacage.

apt search sysadmin17
Sorting... Done
Full Text Search... Done
sysadmin17/bookworm,bookworm,now 8.2-8.2.sng12 all [installed]
  Sysadmin helper RPM for the Sysadmin PBX Module

Hi kingarthur !
You got it !
After fwconsole ma download i can install sysadmin and after this module firewall
THANKS !

best regards
Ed