pm2 status outputs commas instead of usernames
Open
Nobody has claimed this yet.
S: Open for PR
- Dominant language
- JavaScript
- Stars
- 43.3k
- Forks
- 2.7k
- PR merge metrics
- No merged PRs in 30d
Description
What's going wrong?
user column in pm2 status doesn't display actual user if I use uid and gid options in ecosystem file.
I run pm2 daemon as root user and tried to launch process using ecosystem file where I specified uid and gid, now status shows ,,, instead of username for this process.
How could we reproduce this issue?
Supporting information
There is nothing in pm2 report.
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 pm2 status command and an ecosystem file using uid and gid; reproduce the report while running the daemon as root. Trace how the status user column is produced and confirm that it displays the configured username rather than ,,,.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- cli
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100