Broken Module Repair

Hello everyone, I need help to repair a broken module in my FreePBX 12.0.74 installation.
I’ve those error message in the System Status Report Page

[RED] Critical Errors found
Please check for errors in the notification section

[RED] You have a broken Module
The following modules are disabled because they are broken:
sysadmin
You should go to the module admin page to fix these.

[YELLOW] You have 1 unsigned modules
Module “sysadmin [not enabled]” is unsigned and should be re-downloaded

So, going in the Modules Admin page i can find this message:
[RED] You have some broken FreePBX Modules. We advise you take care of these as soon as possible: View

And find the SysAdmin Module under the Broken Section.

Trying to install the SysAdmin 12.0.28.5 Module I obtain the following error:
Installing sysadmin
Error(s) installing sysadmin:
Module is broken and cannot be installed. You should try to download it again.

Trying to remove the SysAdmin 12.0.28.5 Module I obtain the following error:
Uninstalling sysadmin
Error(s) uninstalling sysadmin:
Cannot disable: The following modules depend on this one: endpoint,faxpro,restapi

In this situation I’m also unable to update the dependent modules (endpoint,faxpro,restapi).

So, what can i’ve to do to solve the problem?
I’ve search but I’ve not found anything on how to fix a broken module situation. Where can I find a guide or a tutorial?

Thank you in advance

I think that, from the console “amportal ma download sysadmin” should get you out of trouble

Seems doesn’t works

[root@freepbx ~]# amportal ma download sysadmin

Fetching FreePBX settings with gen_amp_conf.php..

-------------FreePBX Control Script---------------------------------------------                               --

Usage:       amportal start|stop|restart|kill|chown

start:       Starts Asterisk and Flash Operator Panel server if enabled
stop:        Gracefully stops Asterisk
restart:     Stop and Starts
kill:        Kills Asterisk
chown:       Sets appropriate permissions on files

[root@freepbx ~]#

Sorry, it’s amportal a ma download

Great !!!

after correctly download the sysadmin module by the command

[root@freepbx~]# amportal a ma download sysadmin

Fetching FreePBX settings with gen_amp_conf.php..

Downloading 305255 of 305255 (100%)

Untaring..Done
Module sysadmin successfully downloaded

SETTING FILE PERMISSIONS...................Done
Removing any dangling symlinks
Dangling symlinks removed
[root@freepbx~]#

I’ve perform an upgrade and enabling procedure in the Module Admin Page

Please wait while module actions are performed

Installing sysadmin
checking for ftp_server field..already exists
checking for tftp_server field..already exists
checking for ups_enabled field..already exists
Generating CSS...Done
sysadmin installed successfully

everything is all right now
Thank you very much