PM2 Installation Issues for FreePBX15


(Dpbx71) #1

Running “fwconsole ma downloadinstall pm2” and get this error:
rollbackFailedOptional: verb npm-session ###########

Attempted Solutions:

yum reinstall nodejs
npm cache verify
npm cache clean --force

fwconsole ma delete pm2 --force
rm -Rf /home/asterisk/{.npm,.npmrc,.node-gyp,.package_cache}
rm -Rf /var/www/html/admin/modules/pm2/node/node_modules
fwconsole ma downloadinstall pm2


(Dpbx71) #2

Interestingly, I could not get rid of the error message. But I left things open.

I got a timedout error eventually, with an eventual install. So, the attempted solutions steps seems to have (ultimately) resolved that.

Still, I wasn’t having this issue a couple weeks ago and loads of servers.

This is resolved.