FreePBX 13.0.195.19 Current Asterisk Version: 13.23.1
Error: Exception (404) HELP Unable to locate the FreePBX BMO Class 'Pm2’A required module might be disabled or uninstalled. Recommended steps (run from the CLI): 1) fwconsole ma install pm2 2) fwconsole ma enable pm2
Have attempted to install fwconsole & pm2, but no such luck.
Constantly have “Apply Config” button, but when clicked, gives this error:
Reload failed because retrieve_conf encountered an error: 1
exit: 1
Exception: Unable to locate the FreePBX BMO Class 'Pm2’A required module might be disabled or uninstalled. Recommended steps (run from the CLI): 1) fwconsole ma install pm2 2) fwconsole ma enable pm2 in file /var/www/html/admin/libraries/BMO/Self_Helper.class.php on line 216
Stack trace:
FreePBX\Hooks->updateBMOHooks() /var/lib/asterisk/bin/retrieve_conf:61
1 error(s) occurred, you should view the notification log on the dashboard or main screen to check for more details.
Any tips on resolving? I have spent hours searching and trying various solutions, but none have worked thus far.
fwconsole ma install pm2
No such command ‘fwconsole ma install pm2’ (type ‘core show help fwconsole ma’ for other possible commands)
Asterisk CLI CLI Command
fwconsole ma enable pm2
No such command ‘fwconsole ma enable pm2’ (type ‘core show help fwconsole ma’ for other possible commands)
From SSH Session:
[root@sip ~]# fwconsole ma install pm2
Installing/Updating Required Libraries. This may take a while…The following messages are ONLY FOR DEBUGGING. Ignore anything that says ‘WARN’ or is just a warning
Found npm-cache v0.7.0
Running installation…
[npm-cache] [INFO] using /home/asterisk/.package_cache as cache directory
[npm-cache] [INFO] [composer] Dependency config file /var/www/html/admin/modules/pm2/node/composer.json does not exist. Skipping install
[npm-cache] [INFO] [npm] config file exists
[npm-cache] [INFO] [npm] cli exists
[npm-cache] [INFO] [npm] hash of /var/www/html/admin/modules/pm2/node/package.json: 72e37e0910b4ea542a3fc885a90f5372
[npm-cache] [INFO] [npm] cache exists
[npm-cache] [INFO] [npm] clearing installed dependencies at /var/www/html/admin/modules/pm2/node/node_modules
[npm-cache] [INFO] [npm] …cleared
[npm-cache] [INFO] [npm] retrieving dependencies from /home/asterisk/.package_cache/npm/2.15.11/72e37e0910b4ea542a3fc885a90f5372.tar.gz
[npm-cache] [INFO] [bower] Dependency config file /var/www/html/admin/modules/pm2/node/bower.json does not exist. Skipping install
[npm-cache] [INFO] [npm] done extracting
[npm-cache] [INFO] successfully installed all dependencies
module.js:338
throw err;
^
Error: Cannot find module ‘lodash/noop’
at Function.Module._resolveFilename (module.js:336:15)
at Function.Module._load (module.js:278:25)
at Module.require (module.js:365:17)
at require (module.js:384:17)
at Object. (/var/www/html/admin/modules/pm2/node/node_module
s/pm2/node_modules/async/internal/parallel.js:8:13)
at Module._compile (module.js:460:26)
at Object.Module._extensions…js (module.js:478:10)
at Module.load (module.js:355:32)
at Function.Module._load (module.js:310:12)
at Module.require (module.js:365:17)
[root@sip ~]# fwconsole ma enable pm2
The following error(s) occured: