UCP Node Server 13.0.7 to 13.0.8

Please wait while module actions are performed
Installing ucpnode
Installing/Updating Required Libraries. This may take a while…
Finished updating libraries!

There was an error installing. Please review the install log. (/var/www/html/admin/modules/ucpnode/node/logs/install.log)
Error(s) installing ucpnode:

Failed to run installation scripts

Updating Hooks…Done
[[email protected] logs]# cat install.log
npm ERR! Linux 2.6.32-504.8.1.el6.i686
npm ERR! argv “node” “/usr/bin/npm” "update"
npm ERR! node v0.10.29
npm ERR! npm v2.14.1
npm ERR! path /home/asterisk/.npm/asterisk-manager/0.1.13/package.tgz.79a782b13412136cb1f76032d4e74c94
npm ERR! code EACCES
npm ERR! errno 3

npm ERR! Error: EACCES, open '/home/asterisk/.npm/asterisk-manager/0.1.13/package.tgz.79a782b13412136cb1f76032d4e74c94’
npm ERR! { [Error: EACCES, open ‘/home/asterisk/.npm/asterisk-manager/0.1.13/package.tgz.79a782b13412136cb1f76032d4e74c94’]
npm ERR! errno: 3,
npm ERR! code: ‘EACCES’,
npm ERR! path: ‘/home/asterisk/.npm/asterisk-manager/0.1.13/package.tgz.79a782b13412136cb1f76032d4e74c94’,
npm ERR! parent: ‘ucp-server’ }
npm ERR!
npm ERR! Please try running this command again as root/Administrator.

npm ERR! Please include the following file with any support request:
npm ERR! /var/www/html/admin/modules/ucpnode/node/npm-debug.log

Remove the module and reinstall it:

rm -Rf /var/www/html/admin/modules/ucpnode
amportal a ma download ucpnode
amportal a ma install ucpnode

1 Like

Dear Andrew,

Thanks a lot for your reply your commands worked with below output. No more notification under the module admin only there is an error shown in the system overview summary (unable to launch UCP Node monitor)

[[email protected] ~]# rm -Rf /var/www/html/admin/modules/ucpnode
[[email protected] ~]# amportal a ma download ucpnode

Fetching FreePBX settings with gen_amp_conf.php…

!!!amportal is depreciated. Please use fwconsole!!!
forwarding all commands to 'fwconsole’
No repos specified, using: [standard,commercial] from last GUI settings

Starting ucpnode download…
Processing ucpnode
Verifying local module download…Verified
Extracting…Done
Module ucpnode successfully downloaded
[[email protected] ~]# amportal a ma install ucpnode

Fetching FreePBX settings with gen_amp_conf.php…

!!!amportal is depreciated. Please use fwconsole!!!
forwarding all commands to 'fwconsole’
Installing/Updating Required Libraries. This may take a while…
…/deps/libexpat/lib/xmltok.c:471: warning: missing initializer
…/deps/libexpat/lib/xmltok.c:471: warning: (near initialization for ‘latin1_encoding_ns.isName2’)
…/deps/libexpat/lib/xmltok.c:484: warning: missing initializer
…/deps/libexpat/lib/xmltok.c:484: warning: (near initialization for ‘latin1_encoding.isName2’)
…/deps/libexpat/lib/xmltok.c:504: warning: missing initializer
…/deps/libexpat/lib/xmltok.c:504: warning: (near initialization for ‘ascii_encoding_ns.isName2’)
…/deps/libexpat/lib/xmltok.c:517: warning: missing initializer
…/deps/libexpat/lib/xmltok.c:517: warning: (near initialization for ‘ascii_encoding.isName2’)
…/deps/libexpat/lib/xmltok.c:730: warning: missing initializer
…/deps/libexpat/lib/xmltok.c:730: warning: (near initialization for ‘little2_encoding_ns.isName2’)
…/deps/libexpat/lib/xmltok.c:749: warning: missing initializer
…/deps/libexpat/lib/xmltok.c:749: warning: (near initialization for ‘little2_encoding.isName2’)
…/deps/libexpat/lib/xmltok.c:762: warning: missing initializer
…/deps/libexpat/lib/xmltok.c:762: warning: (near initialization for ‘internal_little2_encoding_ns.isName2’)
…/deps/libexpat/lib/xmltok.c:775: warning: missing initializer
…/deps/libexpat/lib/xmltok.c:775: warning: (near initialization for ‘internal_little2_encoding.isName2’)
…/deps/libexpat/lib/xmltok.c:871: warning: missing initializer
…/deps/libexpat/lib/xmltok.c:871: warning: (near initialization for ‘big2_encoding_ns.isName2’)
…/deps/libexpat/lib/xmltok.c:890: warning: missing initializer
…/deps/libexpat/lib/xmltok.c:890: warning: (near initialization for ‘big2_encoding.isName2’)
Finished updating libraries!
Generating CSS…Done
Module ucpnode successfully installed
Updating Hooks…Done