Process Management

Hi all

I’m having some issues upgrading/installing the Process Management module
My PBX version is FreePBX 13.0.191.11, Current Asterisk Version: 13.9.1

When I go to Module Admin and try to install the PM I get this message

Installing pm2
Node version is: 0.10.29 requirement is 0.12.18. Run ‘yum upgrade nodejs’ from the CLI as root
Error(s) installing pm2:
Failed to run installation scripts
Updating Hooks…Done
Setting Permissions…Done

Now, when I follow the instructions and install it in the CLI as root I get loads of these
Transaction Check Error:
file /usr/lib/node_modules/npm/node_modules/semver/package.json from install of nodejs-0.12.18-1nodesource.el6.x86_64 conflicts with file from package nodejs-semver-2.1.0-1.el6.noarch
file /usr/lib/node_modules/npm/node_modules/semver/bin/semver from install of nodejs-0.12.18-1nodesource.el6.x86_64 conflicts with file from package nodejs-semver-2.1.0-1.el6.noarch
file /usr/lib/node_modules/npm/node_modules/semver/semver.js from install of nodejs-0.12.18-1nodesource.el6.x86_64 conflicts with file from package nodejs-semver-2.1.0-1.el6.noarch
file /usr/lib/node_modules/npm/node_modules/mkdirp/package.json from install of nodejs-0.12.18-1nodesource.el6.x86_64 conflicts with file from package nodejs-mkdirp-0.3.5-3.el6.noarch
file /usr/lib/node_modules/npm/node_modules/mkdirp/index.js from install of nodejs-0.12.18-1nodesource.el6.x86_64 conflicts with file from package nodejs-mkdirp-0.3.5-3.el6.noarch
file /usr/lib/node_modules/npm/node_modules/graceful-fs/package.json from install of nodejs-0.12.18-1nodesource.el6.x86_64 conflicts with file from package nodejs-graceful-fs-2.0.0-2.el6.noarch
file /usr/lib/node_modules/npm/node_modules/graceful-fs/graceful-fs.js from install of nodejs-0.12.18-1nodesource.el6.x86_64 conflicts with file from package nodejs-graceful-fs-2.0.0-2.el6.noarch
file /usr/lib/node_modules/npm/node_modules/graceful-fs/polyfills.js from install of nodejs-0.12.18-1nodesource.el6.x86_64 conflicts with file from package nodejs-graceful-fs-2.0.0-2.el6.noarch
file /usr/lib/node_modules/npm/node_modules/rimraf/package.json from install of nodejs-0.12.18-1nodesource.el6.x86_64 conflicts with file from package nodejs-rimraf-2.2.2-1.el6.noarch
file /usr/lib/node_modules/npm/node_modules/rimraf/rimraf.js from install of nodejs-0.12.18-1nodesource.el6.x86_64 conflicts with file from package nodejs-rimraf-2.2.2-1.el6.noarch
file /usr/lib/node_modules/npm/node_modules/fstream/package.json from install of nodejs-0.12.18-1nodesource.el6.x86_64 conflicts with file from package nodejs-fstream-0.1.24-1.el6.noarch
file /usr/lib/node_modules/npm/node_modules/fstream/lib/reader.js from install of nodejs-0.12.18-1nodesource.el6.x86_64 conflicts with file from package nodejs-fstream-0.1.24-1.el6.noarch
file /usr/lib/node_modules/npm/node_modules/fstream/fstream.js from install of nodejs-0.12.18-1nodesource.el6.x86_64 conflicts with file from package nodejs-fstream-0.1.24-1.el6.noarch
file /usr/lib/node_modules/npm/node_modules/fstream/lib/abstract.js from install of nodejs-0.12.18-1nodesource.el6.x86_64 conflicts with file from package nodejs-fstream-0.1.24-1.el6.noarch
file /usr/lib/node_modules/npm/node_modules/fstream/lib/collect.js from install of nodejs-0.12.18-1nodesource.el6.x86_64 conflicts with file from package nodejs-fstream-0.1.24-1.el6.noarch
file /usr/lib/node_modules/npm/node_modules/fstream/lib/dir-reader.js from install of nodejs-0.12.18-1nodesource.el6.x86_64 conflicts with file from package nodejs-fstream-0.1.24-1.el6.noarch
file /usr/lib/node_modules/npm/node_modules/fstream/lib/dir-writer.js from install of nodejs-0.12.18-1nodesource.el6.x86_64 conflicts with file from package nodejs-fstream-0.1.24-1.el6.noarch
file /usr/lib/node_modules/npm/node_modules/fstream/lib/file-reader.js from install of nodejs-0.12.18-1nodesource.el6.x86_64 conflicts with file from package nodejs-fstream-0.1.24-1.el6.noarch
file /usr/lib/node_modules/npm/node_modules/fstream/lib/file-writer.js from install of nodejs-0.12.18-1nodesource.el6.x86_64 conflicts with file from package nodejs-fstream-0.1.24-1.el6.noarch
file /usr/lib/node_modules/npm/node_modules/fstream/lib/get-type.js from install of nodejs-0.12.18-1nodesource.el6.x86_64 conflicts with file from package nodejs-fstream-0.1.24-1.el6.noarch
file /usr/lib/node_modules/npm/node_modules/fstream/lib/link-reader.js from install of nodejs-0.12.18-1nodesource.el6.x86_64 conflicts with file from package nodejs-fstream-0.1.24-1.el6.noarch
file /usr/lib/node_modules/npm/node_modules/fstream/lib/link-writer.js from install of nodejs-0.12.18-1nodesource.el6.x86_64 conflicts with file from package nodejs-fstream-0.1.24-1.el6.noarch
file /usr/lib/node_modules/npm/node_modules/fstream/lib/proxy-reader.js from install of nodejs-0.12.18-1nodesource.el6.x86_64 conflicts with file from package nodejs-fstream-0.1.24-1.el6.noarch
file /usr/lib/node_modules/npm/node_modules/fstream/lib/proxy-writer.js from install of nodejs-0.12.18-1nodesource.el6.x86_64 conflicts with file from package nodejs-fstream-0.1.24-1.el6.noarch
file /usr/lib/node_modules/npm/node_modules/fstream/lib/socket-reader.js from install of nodejs-0.12.18-1nodesource.el6.x86_64 conflicts with file from package nodejs-fstream-0.1.24-1.el6.noarch
file /usr/lib/node_modules/npm/node_modules/fstream/lib/writer.js from install of nodejs-0.12.18-1nodesource.el6.x86_64 conflicts with file from package nodejs-fstream-0.1.24-1.el6.noarch
etc.
There is more of these entries and I can’t paste all of it due to character limitation.

And the module fails to install, without it I’m also not able to upgrade other modules.

Any help with the problem would be much appreciated.

Regards

Did you try that yet?

I did and the errors are the output of that command

1 Like

Have you tried this then?

Dave! You Sir are a STAR! Thank you!