Exception (404) Unable to locate the FreePBX BMO Class 'Userman'

Hello to the community,

After a power shutdown I am facing the following problems:
When I log into the CLI I see the following error:

Exception: Unable to locate the FreePBX BMO Class 'Userman’A required module might be disabled or uninstalled. Recommended steps (run from the CLI): 1) fwconin/libraries/BMO/Self_Helper.class.php on line 212
Stack trace:

  1. Exception->() /var/www/html/admin/libraries/BMO/Self_Helper.class.php:212
  2. FreePBX\Self_Helper->loadObject() /var/www/html/admin/libraries/BMO/Self_Helper.class.php:106
  3. FreePBX\Self_Helper->autoLoad() /var/www/html/admin/libraries/BMO/Self_Helper.class.php:37
  4. FreePBX\Self_Helper->__get() /var/www/html/admin/modules/faxpro/Faxpro.class.php:18
  5. FreePBX\modules\Faxpro->__construct() /var/www/html/admin/libraries/BMO/Self_Helper.class.php:124
  6. FreePBX\Self_Helper->autoLoad() /var/www/html/admin/libraries/BMO/Self_Helper.class.php:37
  7. FreePBX\Self_Helper->__get() /var/www/html/admin/libraries/BMO/FreePBX.class.php:105
  8. FreePBX->__callStatic() /var/www/html/admin/modules/faxpro/functions.inc.php:6
  9. FreePBX->Faxpro() /var/www/html/admin/modules/faxpro/functions.inc.php:6
  10. require_once() /var/www/html/admin/bootstrap.php:353
  11. require_once() /etc/freepbx.conf:11
  12. include_once() /var/lib/asterisk/bin/fwconsole:12
    Exception: Unable to locate the FreePBX BMO Class 'Userman’A required module might be disabled or uninstalled. Recommended steps (run from the CLI): 1) fwconin/libraries/BMO/Self_Helper.class.php on line 212
    Stack trace:
  13. Exception->() /var/www/html/admin/libraries/BMO/Self_Helper.class.php:212
  14. FreePBX\Self_Helper->loadObject() /var/www/html/admin/libraries/BMO/Self_Helper.class.php:106
  15. FreePBX\Self_Helper->autoLoad() /var/www/html/admin/libraries/BMO/Self_Helper.class.php:37
  16. FreePBX\Self_Helper->__get() /var/www/html/admin/modules/faxpro/Faxpro.class.php:18
  17. FreePBX\modules\Faxpro->__construct() /var/www/html/admin/libraries/BMO/Self_Helper.class.php:124
  18. FreePBX\Self_Helper->autoLoad() /var/www/html/admin/libraries/BMO/Self_Helper.class.php:37
  19. FreePBX\Self_Helper->__get() /var/www/html/admin/libraries/BMO/FreePBX.class.php:105
  20. FreePBX->__callStatic() /var/www/html/admin/modules/faxpro/functions.inc.php:6
  21. FreePBX->Faxpro() /var/www/html/admin/modules/faxpro/functions.inc.php:6
  22. require_once() /var/www/html/admin/bootstrap.php:353
  23. require_once() /etc/freepbx.conf:11
  24. include_once() /var/lib/asterisk/bin/fwconsole:12
    ±-----------------------------------------------------------+
    ±-----------------------------------------------------------+

#1. I tried
# fwconsole ma install userman
and
# fwconsole ma enable userman

Both times I got the same message:

Exception: Unable to locate the FreePBX BMO Class 'Userman’A required module might be disabled or uninstalled. Recommended steps (run from the CLI): 1) fwconsole ma install userman 2) fwconsole ma enable userman in file /var/www/html/admin/libraries/BMO/Self_Helper.class.php on line 212
Stack trace:

  1. Exception->() /var/www/html/admin/libraries/BMO/Self_Helper.class.php:212
  2. FreePBX\Self_Helper->loadObject() /var/www/html/admin/libraries/BMO/Self_Helper.class.php:106
  3. FreePBX\Self_Helper->autoLoad() /var/www/html/admin/libraries/BMO/Self_Helper.class.php:37
  4. FreePBX\Self_Helper->__get() /var/www/html/admin/modules/faxpro/Faxpro.class.php:18
  5. FreePBX\modules\Faxpro->__construct() /var/www/html/admin/libraries/BMO/Self_Helper.class.php:124
  6. FreePBX\Self_Helper->autoLoad() /var/www/html/admin/libraries/BMO/Self_Helper.class.php:37
  7. FreePBX\Self_Helper->__get() /var/www/html/admin/libraries/BMO/FreePBX.class.php:105
  8. FreePBX->__callStatic() /var/www/html/admin/modules/faxpro/functions.inc.php:6
  9. FreePBX->Faxpro() /var/www/html/admin/modules/faxpro/functions.inc.php:6
  10. require_once() /var/www/html/admin/bootstrap.php:353
  11. require_once() /etc/freepbx.conf:11
  12. include_once() /var/lib/asterisk/bin/fwconsole:12

#2. I tried the following commands:

# fwconsole ma list
# fwconsole ma upgradeall
# fwconsole ma downloadinstall userman
# fwconsole ma status
# fwconsole ma upgrade framework
# fwconsole ma refreshsignatures
# fwconsole ma install userman

Nothing works, every time I am using a command, I am getting the same error as previously.

Any idea?

Thank you.

Seems to me FaxPro modul ( paid or commercial ) module makes you trouble. If you are not using or not purchased FaxPro module, just remove it and try again.

Hello @shahin,

I am not using the FaxPro modul
I tried the command:

# fwconsole ma uninstall faxpro

But I am getting the same error as previously.

Hi @xristos
Try to do below commands.

fwconsole sa u
fwconsole chown
fwconsole ma upgradeall
fwconsole r --verbose

Hello @shahin and thanks for the help,

Same, each command gave me the same error as my first post.

Sorry to hear, So have you tried to re-install userman ? if not pls try it

fwconsole ma install userman

Or Try to remove all directory of the FaxPro module.

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

I’ve tried the command:

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

and after that, it seems to unstack from that error loop, now I see the following errors inside the CLI

In Self_Helper.class.php line 212:

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

motd []…

±-----------------------------------------------------------+
±-----------------------------------------------------------+

After that, I tried:

# fwconsole ma install core

And I am getting the following:

Detected Missing Dependency of: backup 15.0.22
Downloading Missing Dependency of: backup 15.0.22
Processing backup
Verifying local module download…Verified
Extracting…Done
Module backup successfully downloaded
Installing Missing Dependency of: backup 15.0.22
The following error(s) occured:

  • FreePBX version 15.0.23 or higher is required, you have 15.0.17.34
    Unable to resolve dependencies for module core
    Updating Hooks…Done
    Chowning directories…
    In Self_Helper.class.php line 212:

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

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] [–] []…

Any idea??

I think you have many broken modules. Can you pls pass here module list.

fwconsole ma list

Sure,

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

±---------------------±-----------±----------------------------------------±------------+
| Module | Version | Status | License |
±---------------------±-----------±----------------------------------------±------------+
| accountcodepreserve | 13.0.2.2 | Enabled | GPLv2 |
| adv_recovery | 15.0.21 | Enabled | Commercial |
| amd | 15.0.3 | Enabled | GPLv3+ |
| announcement | 15.0.3.13 | Enabled | GPLv3+ |
| api | 15.0.11 | Enabled | AGPLv3+ |
| areminder | 15.0.14.24 | Enabled | Commercial |
| arimanager | 15.0.3.11 | Enabled | GPLv3+ |
| asterisk-cli | 14.0.3 | Enabled | GPLv3+ |
| asteriskinfo | 15.0.14 | Enabled | GPLv3+ |
| backup | 15.0.10.51 | Disabled; Pending upgrade to 15.0.25 | GPLv3+ |
| blacklist | 15.0.2.12 | Disabled; Pending upgrade to 15.0.4 | GPLv3+ |
| broadcast | 15.0.13 | Enabled | Commercial |
| builtin | | Enabled | |
| bulkhandler | 15.0.4 | Enabled | GPLv3+ |
| calendar | 15.0.4.21 | Enabled | GPLv3+ |
| callaccounting | 15.0.24 | Enabled | Commercial+ |
| callback | 15.0.12 | Enabled | GPLv3+ |
| callerid | 15.0.16 | Enabled | Commercial |
| callforward | 15.0.13 | Enabled | AGPLv3+ |
| calllimit | 15.0.5.6 | Enabled | Commercial |
| callrecording | 15.0.7.18 | Enabled | AGPLv3+ |
| callwaiting | 15.0.4.4 | Enabled | GPLv3+ |
| cdr | 15.0.17.7 | Disabled; Pending upgrade to 15.0.24.2 | GPLv3+ |
| cel | 15.0.15.12 | Enabled | GPLv3+ |
| certman | 15.0.42 | Enabled | AGPLv3+ |
| cidlookup | 15.0.20 | Enabled | GPLv3+ |
| conferences | 15.0.7.8 | Enabled | GPLv3+ |
| conferencespro | 15.0.3.16 | Enabled | Commercial |
| configedit | 13.0.7.3 | Enabled | AGPLv3+ |
| contactmanager | 15.0.8.32 | Enabled | GPLv3+ |
| core | 15.0.12.61 | Disabled; Pending upgrade to 15.0.22.34 | GPLv3+ |
| cos | 15.0.14 | Enabled | Commercial |
| customappsreg | 15.0.14 | Enabled | GPLv3+ |
| cxpanel | 15.0.4 | Enabled | GPLv3 |
| dahdiconfig | 15.0.5.7 | Enabled | GPLv3+ |
| dashboard | 15.0.11 | Enabled | AGPLv3+ |
| daynight | 15.0.12 | Enabled | GPLv3+ |
| dictate | 15.0.7 | Enabled | GPLv3+ |
| digium_phones | 15.0.6 | Enabled | GPLv2 |
| digiumaddoninstaller | 13.0.1.1 | Enabled | GPLv2 |
| directory | 15.0.18 | Enabled | GPLv3+ |
| disa | 15.0.4.9 | Enabled | AGPLv3+ |
| donotdisturb | 15.0.8 | Enabled | GPLv3+ |
| dynroute | 15.0.2 | Enabled | GPLv3+ |
| endpoint | 15.0.39.59 | Disabled; Pending upgrade to 15.0.65.4 | Commercial |
| extensionroutes | 15.0.8 | Enabled | Commercial |
| extensionsettings | 13.0.4 | Enabled | GPLv3+ |
| fax | 15.0.21 | Enabled | GPLv3+ |
| faxpro | 15.0.8.12 | Broken | |
| featurecodeadmin | 13.0.6.11 | Enabled | GPLv3+ |
| filestore | 15.0.9 | Enabled | AGPLv3 |
| findmefollow | 15.0.25 | Enabled | GPLv3+ |
| framework | 15.0.17.34 | Enabled | GPLv2+ |
| fw_langpacks | 14.0.1 | Enabled | GPLv3+ |
| hotelwakeup | 15.0.5.5 | Enabled | GPLv2 |
| iaxsettings | 15.0.8 | Enabled | AGPLv3 |
| infoservices | 15.0.3 | Enabled | GPLv2+ |
| iotserver | 15.0.2.8 | Enabled | Commercial |
| irc | 13.0.1 | Enabled | GPLv3+ |
| ivr | 15.0.29 | Enabled | GPLv3+ |
| languages | 15.0.12 | Enabled | GPLv3+ |
| logfiles | 15.0.14 | Enabled | GPLv3+ |
| manager | 15.0.21 | Enabled | GPLv2+ |
| miscapps | 15.0.10 | Enabled | GPLv3+ |
| miscdests | 15.0.2.12 | Enabled | GPLv3+ |
| music | 15.0.22 | Enabled | GPLv3+ |
| oracle_connector | 15.0.7 | Enabled | Commercial |
| outroutemsg | 15.0.9 | Enabled | GPLv3+ |
| paging | 15.0.4.30 | Enabled | GPLv3+ |
| pagingpro | 15.0.1.21 | Enabled | Commercial |
| parking | 15.0.15.4 | Enabled | GPLv3+ |
| parkpro | 15.0.13 | Enabled | Commercial |
| pbdirectory | 2.11.0.6 | Enabled | GPLv3+ |
| phonebook | 15.0.12 | Enabled | GPLv3+ |
| phpinfo | 13.0.2 | Enabled | GPLv2+ |
| pinsets | 15.0.1.15 | Enabled | GPLv3+ |
| pinsetspro | 15.0.4 | Enabled | Commercial |
| pm2 | 15.0.10 | Enabled | AGPLv3+ |
| pms | 15.0.2.52 | Disabled; Pending upgrade to 15.0.8 | Commercial |
| presencestate | 15.0.11 | Enabled | GPLv3+ |
| printextensions | 13.0.3.4 | Enabled | GPLv3+ |
| queueprio | 15.0.10 | Enabled | GPLv3+ |
| queues | 15.0.33 | Enabled | GPLv2+ |
| queuestats | 15.0.3.31 | Enabled | Commercial |
| qxact_reports | 15.0.3.33 | Enabled | Commercial |
| recording_report | 15.0.4.33 | Enabled | Commercial |
| recordings | 15.0.3.15 | Enabled | GPLv3+ |
| restapps | 15.0.19.36 | Disabled; Pending upgrade to 15.0.42.1 | Commercial |
| ringgroups | 15.0.11.13 | Enabled | GPLv3+ |
| sangomaconnect | 15.0.18 | Enabled | Commercial |
| sangomacrm | 15.0.22 | Enabled | Commercial |
| setcid | 15.0.9 | Enabled | GPLv3+ |
| sipsettings | 15.0.6.36 | Enabled | AGPLv3+ |
| sipstation | 15.0.5.20 | Enabled | Commercial |
| sms | 15.0.18 | Disabled; Pending upgrade to 15.0.37 | Commercial |
| soundlang | 15.0.5.10 | Enabled | GPLv3+ |
| speeddial | 2.11.0.4 | Enabled | GPLv3+ |
| superfecta | 15.0.2.29 | Disabled; Pending upgrade to 15.0.5 | GPLv2+ |
| sysadmin | 15.0.21.46 | Enabled | Commercial |
| timeconditions | 15.0.15.10 | Enabled | GPLv3+ |
| tts | 15.0.12 | Enabled | GPLv3+ |
| ttsengines | 15.0.4.7 | Enabled | AGPLv3 |
| ucp | 15.0.6.26 | Disabled; Pending upgrade to 15.0.15 | AGPLv3+ |
| userman | 15.0.35 | Disabled; Pending upgrade to 15.0.69.16 | AGPLv3+ |
| vega | 15.0.10 | Enabled | Commercial+ |
| vmblast | 15.0.11.6 | Enabled | GPLv3+ |
| vmnotify | 15.0.12 | Enabled | Commercial |
| voicemail | 15.0.29 | Enabled | GPLv3+ |
| voicemail_report | 15.0.6 | Enabled | Commercial |
| vqplus | 15.0.7.21 | Enabled | Commercial |
| weakpasswords | 13.0.2 | Enabled | GPLv3+ |
| webcallback | 15.0.6.3 | Enabled | Commercial |
| webrtc | 15.0.10 | Enabled | GPLv3+ |
| xmpp | 15.0.6.9 | Enabled | AGPLv3 |
| zulu | 15.0.58.9 | Enabled | Commercial |
±---------------------±-----------±----------------------------------------±------------+

fwconsole upgrade backup blacklist cdr core endpoint pms restapps sms userman

Command “upgrade” is not defined.

sorry typos, update

fwconsole update backup blacklist cdr core endpoint pms restapps sms userman

I have received:

The setting backup was not found!

fwconsole ma update backup blacklist cdr core endpoint pms restapps sms userman

Here the output:

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

backup is the same as the online version, unable to upgrade
blacklist is the same as the online version, unable to upgrade
cdr is the same as the online version, unable to upgrade
core is the same as the online version, unable to upgrade
endpoint is the same as the online version, unable to upgrade
pms is the same as the online version, unable to upgrade
restapps is the same as the online version, unable to upgrade
sms is the same as the online version, unable to upgrade
userman 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 'Core’A required module might be disabled or uninstalled. Recommended steps (run from the CLI): 1) fwconsole ma install core 2) fwconsole ma enable core

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] [–] []…

^^ have you tried this steps.

Yes,

From the command:

fwconsole ma install core

I am getting:

Detected Missing Dependency of: backup 15.0.22
Downloading Missing Dependency of: backup 15.0.22
Processing backup
Verifying local module download…Verified
Extracting…Done
Module backup successfully downloaded
Installing Missing Dependency of: backup 15.0.22
The following error(s) occured:

  • FreePBX version 15.0.23 or higher is required, you have 15.0.17.34
    Unable to resolve dependencies for module core
    Updating Hooks…Done
    Chowning directories…
    In Self_Helper.class.php line 212:

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

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] [–] []…

From the command:

fwconsole ma enable core

I am getting:

The following error(s) occured:

  • Module core cannot be enabled

Try to Download and install with TAG… 1st from Backup try. If works do it 1by one other modules too.

fwconsole ma downloadinstall backup --tag 15.0.25

| backup | 15.0.10.51 | Disabled; Pending upgrade to 15.0.25 | GPLv3+ |
| blacklist | 15.0.2.12 | Disabled; Pending upgrade to 15.0.4 | GPLv3+ |
core | 15.0.12.61 | Disabled; Pending upgrade to 15.0.22.34 | GPLv3+ |

Check other Disabled and Pending modules.

I tried the command:

fwconsole ma downloadinstall backup --tag 15.0.25

I am getting:

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

Starting module download from https://mirror.freepbx.org/modules/packages/backup/backup-15.0.25.tgz.gpg
Processing
Downloading…
651750/651750 [============================] 100%
Finished downloading
Extracting…Done
Module https://mirror.freepbx.org/modules/packages/backup/backup-15.0.25.tgz.gpg successfully downloaded
Unable to install module backup:

  • FreePBX version 15.0.23 or higher is required, you have 15.0.17.34
    Updating Hooks…Done
    Chowning directories…
    In Self_Helper.class.php line 212:

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

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 do you think about the message:
FreePBX version 15.0.23 or higher is required, you have 15.0.17.34
Do I need to upgrade?