-
Notifications
You must be signed in to change notification settings - Fork 945
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
If creation of ~/.forever fails, no error but CLI stops working (i.e. forever list says "No forever processes running") #415
Comments
This feels like a duplicate of #544 and may be related to the root cause of all the empty log files. |
Duplicate of #483. |
I had the same issue: I added an init script that started a node.js application with PM2 but
|
Any solutions for this yet? |
3 years later, still an issue. |
Please fix this... |
Any update on this one? I am still facing this issue |
Will check it today, sorry! |
@meherchandan @tjunnone @petercunha Please review #1017 |
Thank you! @kibertoad |
New version is out with a fix! |
A fix would be great for this. That command will show the process id. Then perform, kill PID |
If ~/.forever cannot be created while starting as a daemon (and it always tries to, see issue #414), the daemon still starts and everything looks OK and there's nothing to indicate the failure in the logs.
After this however, "forever list" will give: "No forever processes running".
"forever stop" will give: "Forever cannot find process with index: myScript"
I noticed this because when I start Forever from a init script, there's no HOME environment and it tries to write to /root/.forever which it doesn't have permissions for. In addition to obeying the -p parameter, I think there should be an error in the log and perhaps the daemon should even fail to start since it becomes uncontrollable from the cli.
The text was updated successfully, but these errors were encountered: