I am getting the same error when upgrading UCP Node server from 12.0.4 to 12.0.6:
Installing ucpnode
Node Package Manager is not installed
Error(s) installing ucpnode: Failed to run installation scripts
Afterwards, in Module Admin, it says: Disabled; Pending Upgrade to 12.0.6
When I tried to install npm via the command line, I received this message:
Package npm-1.3.6-5.el6.noarch is obsoleted by nodejs-0.10.40-1.shmz65.1.6.x86_64 which is already installed
Nothing to do
module.js:340
throw err;
^
Error: Cannot find module 'inherits’
at Function.Module._resolveFilename (module.js:338:15)
at Function.Module._load (module.js:280:25)
at Module.require (module.js:364:17)
at require (module.js:380:17)
at Object. (/usr/lib/node_modules/npmconf/npmconf.js:3:16)
at Module._compile (module.js:456:26)
at Object.Module._extensions…js (module.js:474:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:312:12)
at Module.require (module.js:364:17)
I had done above to get UCP upgraded, but my system dashboard still doesn’t refresh and show correct status of Asterisk and other data.
Version: FreePBX 12.0.76.2