I'm trying some very basic, and form some reason the 'ready' event never fires. I have no idea what the deal is and there are no errors in the logs. How can I find out what's going on?
# pm2 start test.js
Starting PM2 daemon...
[PM2] Process test.js launched
┌──────────┬────┬──────┬──────┬────────┬───────────┬────────┬─────────────┬─────────────┐
│ App name │ id │ mode │ PID │ status │ restarted │ uptime │ memory │ watching │
├──────────┼────┼──────┼──────┼────────┼───────────┼────────┼─────────────┼─────────────┤
│ test │ 0 │ fork │ 9236 │ online │ 0 │ 0s │ 15.273 MB │ unactivated │
└──────────┴────┴──────┴──────┴────────┴───────────┴────────┴─────────────┴─────────────┘
Use `pm2 desc[ribe] <id>` to get more details
# pm2 logs
########### Starting streaming logs for [all] process
[PM2] is being killed via kill method
[PM2] killing PM2 via Satan
[PM2] RPC socket closed
[PM2] PUB socket closed
[PM2] exiting PM2
[PM2] [[[[ PM2/God daemon launched ]]]]
[PM2] RPC interface [READY] on port 6666
[PM2] BUS system [READY] on port 6667
[PM2] Starting execution sequence in -fork mode- for app name:app id:0
[PM2] App name:app id:0 online
[PM2] App name:app id:0 exited
[PM2] Process with pid 5001 killed
[PM2] PM2 is being killed via kill method
[PM2] killing PM2 via Satan
[PM2] RPC socket closed
[PM2] PUB socket closed
[PM2] exiting PM2
[PM2] [[[[ PM2/God daemon launched ]]]]
[PM2] RPC interface [READY] on port 6666
[PM2] BUS system [READY] on port 6667
[PM2] Starting execution sequence in -fork mode- for app name:test id:0
[PM2] App name:test id:0 online
[PM2] App name:test id:0 exited
[PM2] Process with pid 9201 killed
[PM2] PM2 is being killed via kill method
[PM2] killing PM2 via Satan
[PM2] RPC socket closed
[PM2] PUB socket closed
[PM2] exiting PM2
[PM2] [[[[ PM2/God daemon launched ]]]]
[PM2] RPC interface [READY] on port 6666
[PM2] BUS system [READY] on port 6667
[PM2] Starting execution sequence in -fork mode- for app name:test id:0
[PM2] App name:test id:0 online
[test-0 (out)] starting
I'm trying some very basic, and form some reason the 'ready' event never fires. I have no idea what the deal is and there are no errors in the logs. How can I find out what's going on?