Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

pm2 logs, print "PM2 Unknown id 77"

Tags:

node.js

pm2

when I restart a process(nodejs) pm2 restart 77, it stucks with 'launching' status.

I kill {processid} to delete it because I can't delete it using pm2 delete 77.

But when I print logs pm2 logs, there is maybe a warning printed per second.

pm2 logs

what should I do to remove it?

like image 476
Borkes Avatar asked Oct 26 '25 13:10

Borkes


1 Answers

This is the simplest and most effective way.

pm2 save
pm2 kill
pm2 resurrect
like image 159
ccordon Avatar answered Oct 29 '25 02:10

ccordon



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!