Matomo Analytics

PM2 is a beautiful advanced process manager for NodeJS specifically. When using the 1-click integration with Ploi, you can select to either use PM2 or supervisor.

If you've selected PM2, Ploi will then install this process manager for you. At some point, the PM2 service can be updated.

This is rather easy, to update your PM2 service run the following command as the root user:

npm install pm2@latest -g
pm2 update

The update process should look like this after:

Be sure to have the latest version by doing `npm install pm2@latest -g` before doing this procedure.


>>>> In-memory PM2 is out-of-date, do:
>>>> $ pm2 update
In memory PM2 version: 5.1.1
Local PM2 version: 5.1.2
[PM2][WARN] No process found
[PM2] [v] All Applications Stopped
[PM2] [v] PM2 Daemon Stopped
[PM2] Spawning PM2 daemon with pm2_home=/home/ploi/.pm2
[PM2] Restoring processes located in /home/ploi/.pm2/dump.pm2
>>>>>>>>>> PM2 updated

04 November 2021 (last updated 3 years ago)

5475 views

Written by Dennis

Dennis brings over 6 years of hands-on experience in server management, specializing in optimizing web services for scalability and security.

Back to Server


Start free trial