I'm kinda new to pm2 and I'm in a situation where I have two ecosystem that are identical, here's how that happened :
I have one ecosystem that was working fine, but a few days ago when I tried to use pm2 list or any commands using process pid I would have an error telling me pm2 has nothing running (but my application were still online !)
After looking it up online I found a solution that said to use "pm2 update" once I did it created what a think is a copy of the previous pm2 ecosystem and now I have errors that tell me my application ports are already in use
I checked the pm2 pid folder and here's what I found :
Every apps have two pids and the number match the pids they had on the first ecosystem and the new copy, those are online websites for my clients so I need to be very careful here with what I do and I'm completly lost, what I would need is to terminate one of the ecosystem without messing with the other, preferably deleting the copy and return to the original but I can't find any solution that might help me online.