This is regarding a specific PM2 version upgrade process in windows server 2019. Here's a breakdown of what I'm aiming to achieve:
- Initially, I installed PM2 version 3.5.0 as an user 1 has admin privilage and added the user 1 to the logon of the PM2 service.
- I then switched to another user user 2 has admin privileges and want to update PM2 to version 5.3.0.
The upgrade steps are followed:
Uninstalling PM2 version 3.5.0:
- net stop "PM2"
- call pm2 stop all
- call pm2 kill
- call pm2-service-uninstall
- call npm uninstall pm2 pm2-windows-service-netfx-4 -g
Installing PM2 version 5.3.0:
- call npm install pm2@5.3.0 -g
- call npm install pm2-windows-service-netfx-4@0.1.6 -g
- call pm2-service-install
- call pm2 resurrect But the pm2 package is not updating to version 5.3.0 as expected with multiple user except the case when updating is done by the user that is added to the logon on the pm2 service Why isn't the pm2 update impossible when there is a different user added to the service and that user is trying to update the pm2 version?