SMIT.

SMIT.

Live

I have encountered an issue while deploying a Node.js staging environment to production. The PM2 process is not restarting automatically after the deployment, which requires manual intervention to restart the application.

Expected behavior:

PM2 should automatically restart the application after the staging environment has been deployed to production.

Actual behavior:

PM2 does not restart the application automatically after deployment, requiring manual intervention to restart the process.

Current workaround:

Manually adding restart command

# find pm2sitename on server with pm2 list
pm2 restart pms2sitenamecom
Dennis

Dennis

·
·

@Nathangeerinck It seems this checkbox is already available to restart PM2, normal deployments have this, but for some reason the production sites doesn't actually reload.

no votes yet
fouteox

fouteox

·
·

Hello, when I deploy an application (Remix) to production from the Deployment button in Ploi, pm2 doesn't restart automatically even though the checkbox is checked. Is this a bug? I have completed the actions with pm2 startup.

no votes yet
You may use @ to mention someone.

Production deployment: PM2 not restarting automatically when deploying Node.js staging to production

2 total votes
fouteox SMIT.
  • Dennis moved item to board Live

    1 year ago
  • Nathan Geerinck moved item to board In code review

    1 year ago
  • Nathan Geerinck moved item to board In progress

    1 year ago
  • Dennis moved item to board Planned

    1 year ago
  • SMIT. moved item to project Site Level Requests

    1 year ago
  • SMIT. created the item

    1 year ago