Ucp node server 12.0.6/ system dashboard 12.0.32 issues

upgrading ucp node server from 12.0.4 to 12.0.6 i get to below error ->

Installing ucpnode
Node Package Manager is not installed
Error(s) installing ucpnode:
Failed to run installation scripts

Also, system dash board 12.0.32 does not display the ‘online’ users.

jason

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

Seems like a bug?

Thanks,
Brian

What happens when you run:

node --version
npm --verison

from the CLI

[[email protected] ~]# node --version
v0.10.40
[[email protected] ~]# npm --version

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)

yum erase nodejs*
yum install nodejs

1 Like

[[email protected] ~]# node --version
v0.10.40
[[email protected] ~]# npm --version
1.4.28
[[email protected] ~]#

Now you can install!

1 Like

Thank you… It worked.

jason

Worked for me too! Thanks @tm1000 !!!

Duh, reinstall… worked for me…
Thank you, thank you…
Art

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

Attached is the output of amportal a dbug

Taday dashboard is showing correct data. No changes doen. Seems bit strange that why it was not working yesterday.