reboot : always show Current process list is not synchronized with saved list. App nast differs. Type 'pm2 save' to synchronize.
Open
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 43.3k
- Forks
- 2.7k
- PR merge metrics
- No merged PRs in 30d
Description
What's going wrong?
When I pm2 start app.js --name app and reboot , the app will disappear and show the message.
Until I use pm2 resurrect, it will show the app
[PM2][WARN] Current process list is not synchronized with saved list. App nast differs. Type 'pm2 save' to synchronize.
How could we reproduce this issue?
https://sobus-piotr.medium.com/pm2-share-the-same-daemon-process-between-multiple-users-dd7ecae6197a
Supporting information
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the reported pm2 start app.js --name app, reboot, pm2 resurrect, and pm2 save flow, then review the linked article about sharing a daemon between multiple users. Done means determining why the app disappears after reboot and addressing the unsynchronized-list warning so the expected process state is restored without manually running pm2 resurrect.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, node.js
- Domain
- cli, devops
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100