-
Notifications
You must be signed in to change notification settings - Fork 2.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
pm2 list -> user column shows undefined #3561
Comments
Can't reproduce this issue. |
We have a webhook app which restarts the apps via child_process.exec. If you need further informations, please feel free to ask. |
I think this is the problem. |
Doesn't make sense imo as this worked fine in the past. |
We have same problem when starting PM2 from systemd unit. Correct user is set in systemd unit, application but in pm2 list it shows using standard systemd script generated from pm
|
Long story short:
All these actions are on screenshot. Then I did:
Is it OK to do it ? |
@wallet77 any update? the current flag could be changed at least, thanks |
Didn't have time to investigate. |
@wallet77 KoteKotlyarov provided a step by step guide, isn't that enough? |
@Papakai Unfortunately no, on my computer I can't reproduce this issue. |
In our cases problem was fixed by upgrading PM2 and multiple restart/resurrects. Now everything is ok, unfortunately cannot pinpoint exact command which fixed it. |
@wallet77 I have mentioned analized dump files before and after doing those commands. The main different was in In brief, to fix my issue was enough to add in old dump file It can be proofed by checking logic of creating and restoring dump file in 2 versions, for my case they were 2.8.0 and 2.10.2 |
@KoteKotlyarov indeed we change the dump file creating/restoring logic but it's not release. It's still on development branch. |
i have the same issue. My .pm2/dump file has no "username" field. I just did an upgrade to the latest version (first did pm2 save), then pm2 update and this happened. |
fixed, will be landed on next release |
PM2 3.0.0 has been released: $ npm install pm2@latest -g Be aware of breaking changes, especially drop support for node 0.12. |
pm2 list
user is shown as
undefined
. This is not application dependent, can also affect other apps that are shown correctly in the screen shot.The text was updated successfully, but these errors were encountered: