"Unable to locate the FreePBX BMO Class 'Pms'A required module might be disabled" error after updates

System did automatic updates as expected but the Apply Config button was lit. Pressing it results in a message
“Unknown Error. Please Run: fwconsole reload --verbose”

fwconsole reload --verbose results in the error:

[Exception (404)]
Unable to locate the FreePBX BMO Class 'Pms’A required module might be disabled or uninstalled. Recommended steps (run from the CLI): 1) fwconsole ma install pms 2) fwconsole ma enable pms

fwconsole ma install pms

Detected Missing Dependency of: restapps 16.0.10
Found local Dependency of: restapps 16.0.34.23
Detected Missing Dependency of: endpoint 16.0.80.8
Downloading Missing Dependency of: endpoint 16.0.80.8
The following error(s) occured:

  • Retrieved Module XML Was Empty
    Unable to resolve dependencies for module pms
    Updating Hooks…Done
    Chowning directories…
    In Self_Helper.class.php line 212:

Unable to locate the FreePBX BMO Class 'Pms’A required module might be disabled or uninstalled. Rec
ommended steps (run from the CLI): 1) fwconsole ma install pms 2) fwconsole ma enable pms

fwconsole ma install pms
moduleadmin [-f|–force] [-d|–debug] [–edge] [–ignorecache] [–stable] [–color] [–skipchown] [-e|–autoenable] [–skipdisabled] [–snapshot SNAPSHOT] [–format FORMAT] [-R|–repo REPO] [-t|–tag TAG] [–skipbreakingcheck] [–sendemail] [–onlystdout] [–] []…

fwconsole ma enable pms
[root@pbx backup]# fwconsole ma enable pms
The following error(s) occured:

  • Module pms cannot be enabled

Modules Admin shows diabled modules as follows:

Phone Apps - Missing Requirements * EndPoint Manager module version 16.0.80.8 or higher is required, you have 16.0.77.1
SangomaConnect - Missing Requirements Phoneapps
Sangoma Property Management - Missing Requirements Phoneapps
Sangoma Realtime API - Missing Requirements Phoneapps

EndPoint Manager is version 16.0.77.1 Stable and shows Enabled

BTW, we have no Sangomma equipment and Endpointmanager is the only commercial module installed.

try

fwconsole ma downloadinstall pms

We have the same problem as discussed in the ticket.

After trying to execute the fwconsole ma download pms command, the following appears:

[root@freepbx ~]# fwconsole ma download pms
No repos specified, using: [commercial,extended,unsupported,standard] from last GUI settings

Downloading module ‘pms’
Processing pms
Verifying local module download…Verified
Extracting…Done
Download completed in 0 seconds
Chowning directories…
In Self_Helper.class.php line 212:

Unable to locate the FreePBX BMO Class 'Pms’A required module might be disabled or uninstalled. Recommended steps (run from the CLI): 1) fwconsole ma install
pms 2) fwconsole ma enable pms

moduleadmin [-f|–force] [-d|–debug] [–edge] [–ignorecache] [–stable] [–color] [–skipchown] [-e|–autoenab

The command is fwconsole ma downloadinstall pms not download.

Good afternoon.

I have executed the command that you mention “fwconsole ma downloadinstall pms[root@freepbx ~]# fwconsole ma downloadinstall pms”, the following occurs:

[root@freepbx ~]# fwconsole ma downloadinstall pms
No repos specified, using: [commercial,extended,unsupported,standard] from last GUI settings

Downloading module ‘pms’
Processing pms
Verifying local module download…Verified
Extracting…Done
Download completed in 1 seconds
Detectado Dependencia Fallida de: restapps 16.0.10
Encontrado dependencia local de: restapps 16.0.34.23
Detectado Dependencia Fallida de: endpoint 16.0.80.8
Bajando Dependencias Faltantes de: endpoint 16.0.80.8
Processing endpoint
Verifying local module download…Verified
Extracting…Done
Module endpoint successfully downloaded
Instalando Dependencias Fallidas de : endpoint 16.0.80.8
Create symlink…Hecho
Checking database tables…Hecho
Migrating tables as required…Hecho
Checking Settings and Defaults…Hecho
Generating Configs…Hecho
Downloading Firmware…Done (Background)
Generando Css…Hecho
Instalada Dependencia Fallida de: endpoint 16.0.80.8
Dependency module endpoint version 16.0.80.8 is Enabled
Instalando Dependencias Fallidas de : restapps 16.0.10
El error(s) siguiente ha ocurrido:

  • Se requiere EndPoint Manager module versión 16.0.80.8 o superior, usted tiene 16.0.72.6
    Unable to resolve dependencies for module pms
    Actualizando ganchos (hooks)…Hecho
    Chowning directories…
    In Self_Helper.class.php line 212:

Unable to locate the FreePBX BMO Class 'Pms’A required module might be disabled or uninstalled. Recommended steps (run from the CLI): 1) fwconsole ma install
pms 2) fwconsole ma enable pms

moduleadmin [-f|–force] [-d|–debug] [–edge] [–ignorecache] [–stable] [–color] [–skipchown] [-e|–autoenable] [–skipdisabled] [–snapshot SNAPSHOT] [–format FORMAT] [-R|–repo REPO] [-t|–tag TAG] [–skipbreakingcheck] [–sendemail] [–onlystdout] [–] []…

What happens if you fwconsole ma upgradeall?

Same issue here I have tried upgradeall and downloadinstall

Unable to locate the FreePBX BMO Class 'Pms’A required module might be disa
bled or uninstalled. Recommended steps (run from the CLI): 1) fwconsole ma
install pms 2) fwconsole ma enable pms

Unable to resolve dependencies for module pms
Updating Hooks…Done
Chowning directories…
In Self_Helper.class.php line 212:

Same error and it recommends trying “fwconsole ma install pms” with same error.


[root@pbx ~]# fwconsole ma install pms
Detected Missing Dependency of: restapps 16.0.10
Found local Dependency of: restapps 16.0.34.23
Detected Missing Dependency of: endpoint 16.0.80.8
Downloading Missing Dependency of: endpoint 16.0.80.8
The following error(s) occured:

  • Retrieved Module XML Was Empty
    Unable to resolve dependencies for module pms
    Updating Hooks…Done
    Chowning directories…
    In Self_Helper.class.php line 212:

Unable to locate the FreePBX BMO Class 'Pms’A required module might be disa
bled or uninstalled. Recommended steps (run from the CLI): 1) fwconsole ma
install pms 2) fwconsole ma enable pms

Same error saying it cannot find PMS

Detected Missing Dependency of: endpoint 16.0.80.8
Downloading Missing Dependency of: endpoint 16.0.80.8
The following error(s) occured:

  • Retrieved Module XML Was Empty
    Unable to resolve dependencies for module restapps
    Updating Hooks…Done
    Chowning directories…
    In Self_Helper.class.php line 212:

Unable to locate the FreePBX BMO Class 'Pms’A required module might be disa
bled or uninstalled. Recommended steps (run from the CLI): 1) fwconsole ma
install pms 2) fwconsole ma enable pms

I am following this as I am having the EXACT same issue today. I will add that on my dashboard it is saying that it is unable to find asterisk results on the status of asterisk. Our phone system is basically completely down. I have tried all the same commands with the same results.

“Unable to locate the FreePBX BMO Class 'Pms’A required module might be disabled or uninstalled. Recommended steps (run from the CLI): 1) fwconsole ma install
pms 2) fwconsole ma enable pms”

"Detected Missing Dependency of: endpoint 16.0.80.8
Downloading Missing Dependency of: endpoint 16.0.80.8
The following error(s) occured:

  • Retrieved Module XML Was Empty"

Looks like the Endpoint Manager download is empty which seems like it might be the issue. Maybe a different repository, I’m using Standard?
Any thoughts?

1 Like

Any solution to this yet?

This is still a problem for at least several posters here. The messages seem clear but everything ends up with “Unable to locate the FreePBX BMO Class ‘Pms.’

The dependency failures point to Endpoing Manager, in Module Admin Phone App is disabled due to “EndPoint Manager module version 16.0.80.8 or higher is required, you have 16.0.77.1.

Trying to manually upgrade Endpoint Manager beyond 16.0.77.1 and get the following error. Similar error for each module Phoneapp and PMS.

[root@pbx ~]# fwconsole ma downloadinstall endpoint --tag 16.0.79.6
No repos specified, using: [standard,commercial,extended] from last GUI settings

Unable to update module endpoint - 16.0.79.6, it does not exist:
Updating Hooks…Done
Chowning directories…
In Self_Helper.class.php line 212:

Unable to locate the FreePBX BMO Class 'Pms’A required module might be disa
bled or uninstalled. Recommended steps (run from the CLI): 1) fwconsole ma
install pms 2) fwconsole ma enable pms

why don’t you try to install the version of endpoint manager it is suggesting?

fwconsole ma downloadinstall endpoint --tag 16.0.80.8

Thanks for the input. Had done this with earlier version number to the same effect. The following error is what happens with all the things we try.

[root@pbx ~]# fwconsole ma downloadinstall endpoint --tag 16.0.80.8
No repos specified, using: [standard,commercial,extended] from last GUI settings

Unable to update module endpoint - 16.0.80.8, it does not exist:
Updating Hooks…Done
Chowning directories…
In Self_Helper.class.php line 212:

Unable to locate the FreePBX BMO Class 'Pms’A required module might be disa
bled or uninstalled. Recommended steps (run from the CLI): 1) fwconsole ma
install pms 2) fwconsole ma enable pms

moduleadmin [-f|–force] [-d|–debug] [–edge] [–ignorecache] [–stable] [–color] [–skipchown] [-e|–autoenable] [–skipdisabled] [–snapshot SNAPSHOT] [–format FORMAT] [-R|–repo REPO] [-t|–tag TAG] [–skipbreakingcheck] [–sendemail] [–onlystdout] [–] []…

what is the output of

fwconsole setting MODULE_REPO

[root@pbx ~]# fwconsole setting MODULE_REPO
Setting of “MODULE_REPO” is (text)[https://mirror.freepbx.org]

Down the rabbit hole elsewhere it ws suggested to upgrade framework. This fails the same as the other modules. This seems to imply a more general issue, not specific to EPM as is my original issue.

[root@pbx ~]# fwconsole ma upgrade framework
No repos specified, using: [standard,commercial,extended] from last GUI settings

framework is the same as the online version, unable to upgrade
Updating Hooks…Done
Chowning directories…
In Self_Helper.class.php line 212:

Unable to locate the FreePBX BMO Class 'Pms’A required module might be disa
bled or uninstalled. Recommended steps (run from the CLI): 1) fwconsole ma
install pms 2) fwconsole ma enable pms

Automatic emails from freePBX regarding updates indicate that the updates “happened” but show they are upgradng to the same version, not a newer one. The modules that need updating are the ones in question in the OP.


Module(s) requiring upgrades:
pms, restapps, sangomaconnect, sangomartapi
Upgrading module ‘pms’ from 16.0.23 to 16.0.23 Module pms successfully downloaded in 1 seconds
Upgrading module ‘restapps’ from 16.0.34.23 to 16.0.34.23 Module restapps successfully downloaded in 1 seconds
Upgrading module ‘sangomaconnect’ from 16.0.44.27 to 16.0.44.27 Module sangomaconnect successfully downloaded in 1 seconds
Upgrading module ‘sangomartapi’ from 16.0.46.22 to 16.0.46.22 Module sangomartapi successfully downloaded in 0 seconds
All upgrades completed successfully!

add --force to the end of the first command listed.

fwconsole ma downloadinstall pms --force