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 [email protected] -g
pm2 update

The update process should look like this after:

Be sure to have the latest version by doing `npm install [email protected] -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 weeks ago)

79 views

Back to Server