Let me start out by saying, yes, I know its very old and should be upgraded to the latest. However, its not my server. I can only push them to upgrade so much. I am wondering if this issue they’ve run into may force them to switch though.
PBX Version:13.0.197.31
PBX Distro:10.13.66-18
Asterisk Version:13.29.2
The problem: Can’t Apply Config / Reload.
[root@localhost ~]# fwconsole reload
Reloading FreePBX
Error(s) have occured, the following is the retrieve_conf output:
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:
- Exception->() /var/www/html/admin/libraries/BMO/Self_Helper.class.php:216
- FreePBX\Self_Helper->loadObject() /var/www/html/admin/libraries/BMO/Self_Helper.class.php:104
- FreePBX\Self_Helper->autoLoad() /var/www/html/admin/libraries/BMO/Self_Helper.class.php:37
- FreePBX\Self_Helper->__get() /var/www/html/admin/modules/zulu/Zulu.class.php:39
- FreePBX\modules\Zulu->__construct() /var/www/html/admin/libraries/BMO/Self_Helper.class.php:125
- FreePBX\Self_Helper->autoLoad() /var/www/html/admin/libraries/BMO/Self_Helper.class.php:37
- FreePBX\Self_Helper->__get() /var/www/html/admin/libraries/BMO/Hooks.class.php:298
- FreePBX\Hooks->preloadBMOModules() /var/www/html/admin/libraries/BMO/Hooks.class.php:39
- FreePBX\Hooks->updateBMOHooks() /var/lib/asterisk/bin/retrieve_conf:61
/var/www/html/admin/modules/pm2/node/logs/install.log’
[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
/home/asterisk/.node/lib/node_modules/npm-cache/cacheDependencyManagers/npmConfig.js:49
logger.logInfo(`Generating hash from package-lock.json version ${lockfileV
^
SyntaxError: Unexpected token ILLEGAL
at exports.runInThisContext (vm.js:73:16)
at Module._compile (module.js:443:25)
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)
at require (module.js:384:17)
at startManager (/home/asterisk/.node/lib/node_modules/npm-cache/index.js:111:27)
at /home/asterisk/.node/lib/node_modules/npm-cache/node_modules/async/lib/async.js:181:20
at Object.async.forEachOf.async.eachOf (/home/asterisk/.node/lib/node_modules/npm-cache/node_modules/async/lib/async.js:233:13)
fwconsole chown
[root@localhost ~]# fwconsole chown
Taking too long? Customize the chown command, See http://wiki.freepbx.org/display/FOP/FreePBX+Chown+Conf
Setting Permissions…[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 pm2chown [-f|–file FILE] [-m|–module MODULE]
I tried uninstalling and reinstalling:
fwconsole ma uninstall pm2
fwconsole r --verbose
fwconsole ma downloadinstall pm2
[root@localhost ~]# fwconsole ma uninstall pm2
The following error(s) occured:
- Module not installed: cannot uninstall
[root@localhost ~]# fwconsole r --verbose
Reloading FreePBX
Error(s) have occured, the following is the retrieve_conf output:
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:
- Exception->() /var/www/html/admin/libraries/BMO/Self_Helper.class.php:216
- FreePBX\Self_Helper->loadObject() /var/www/html/admin/libraries/BMO/Self_Helper.class.php:104
- FreePBX\Self_Helper->autoLoad() /var/www/html/admin/libraries/BMO/Self_Helper.class.php:37
- FreePBX\Self_Helper->__get() /var/www/html/admin/modules/zulu/Zulu.class.php:39
- FreePBX\modules\Zulu->__construct() /var/www/html/admin/libraries/BMO/Self_Helper.class.php:125
- FreePBX\Self_Helper->autoLoad() /var/www/html/admin/libraries/BMO/Self_Helper.class.php:37
- FreePBX\Self_Helper->__get() /var/www/html/admin/libraries/BMO/Hooks.class.php:298
- FreePBX\Hooks->preloadBMOModules() /var/www/html/admin/libraries/BMO/Hooks.class.php:39
- FreePBX\Hooks->updateBMOHooks() /var/lib/asterisk/bin/retrieve_conf:61
[root@localhost ~]# fwconsole ma downloadinstall pm2
No repos specified, using: [standard,commercial] from last GUI settingsStarting pm2 download..
Processing pm2
Verifying local module download…Verified
Extracting…Done
Module pm2 successfully downloaded
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.8.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
/home/asterisk/.node/lib/node_modules/npm-cache/cacheDependencyManagers/npmConfig.js:49
logger.logInfo(`Generating hash from package-lock.json version ${lockfileV
^
SyntaxError: Unexpected token ILLEGAL
at exports.runInThisContext (vm.js:73:16)
at Module._compile (module.js:443:25)
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)
at require (module.js:384:17)
at startManager (/home/asterisk/.node/lib/node_modules/npm-cache/index.js:111:27)
at /home/asterisk/.node/lib/node_modules/npm-cache/node_modules/async/lib/async.js:181:20
at Object.async.forEachOf.async.eachOf (/home/asterisk/.node/lib/node_modules/npm-cache/node_modules/async/lib/async.js:233:13)Finished updating libraries!
There was an error installing. Please review the install log. (/var/www/html/admin/modules/pm2/node/logs/install.log)
Unable to install module pm2:
- Failed to run installation scripts
Updating Hooks…Done
Can anyone help or is it just too old?