You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
there should be a username after -u. But it is missing here. This could lead to an incorrect init system file generated when a user runs commands like the above.
Here is a screenshot:
Here, I'm on the /home/ibra. User lpu doesn't have access to this directory. If I run pm2 startup here. It will cause this issue.
How could we reproduce this issue?
Tried on Ubuntu 22.04
Go to your home directory
Create a new user (a different user than your current user)
Change user using su
Run pm2 startup (without changing the directory)
Supporting information
Not required
The text was updated successfully, but these errors were encountered:
What's going wrong?
pm2
doesn't add usernames on the startup command in some circumstances. Like this:there should be a username after
-u
. But it is missing here. This could lead to an incorrect init system file generated when a user runs commands like the above.Here is a screenshot:
Here, I'm on the
/home/ibra
. Userlpu
doesn't have access to this directory. If I runpm2 startup
here. It will cause this issue.How could we reproduce this issue?
Tried on Ubuntu 22.04
su
pm2 startup
(without changing the directory)Supporting information
Not required
The text was updated successfully, but these errors were encountered: