-
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
No error logs for a process with errored status on reboot. #2843
Comments
Can you check |
Thank you that's the log I was looking for! Strictly interpreted this closes my issue, and thank you for the prompt reply. Maybe you can still help though.. Do I need to set a boot environment variable? Here is the log `
|
No need for environment variable, that means the script that isn't at the same place after the reboot, don't forget to run |
Thanks but pm2 save is not a solution, the location of the script does not change. |
As you see, one application that was saved can't be respawned because of a |
I think you are right, and now I know you are. The Express app is in a shared vagrant folder. There is nothing in it at the time PM2 tries to start the process. Vagrant copies it across later in the boot process. Thank you for your help and patience. |
Name │ mode │ status │ ↺ │ cpu │ memory │ Supporting information PM.log: |
@vmarchaud @Johnpc123 |
I had the same problem everything was resolved after running
|
it's not a right solution. you can only start the process one time. but after reboot, it would stay errored. |
I have the same probleme like @alsotang |
@alsotang @kambelkouame |
No error logs for a process with errored status on reboot or ressurect.
This is making it very difficult to figure out why there is an error.
#2540 is the same issue but is closed after the issue was abandoned.
These seem similar
#2275 closed and combined into #2629 which is about refactoring watch and seems unrelated.
#546 ...15 restarts, no logs
this stack overflow issue
http://stackoverflow.com/questions/38884063/pm2-not-logging-output-on-node-app-that-crashes-immediately
There is no error when running pm2 interactively.
A simple node server has no problem starting on boot
How could we reproduce this issue?
Supporting information
The text was updated successfully, but these errors were encountered: