mirror of
https://github.com/cloudpanel-io/cloudpanel-ce.git
synced 2026-04-05 20:31:58 +02:00
When you delete a website the nodejs app started with PM2 is not deleted #328
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @fstrazzante on 10/24/2023
CloudPanel version(s) affected
2.3.2
Description
If you start a PM2 job on and then you delete the website with Cloudpanel Frontend, the port(and the job) remain in use.
Workaround: Find the job with
lsof -i :5000and kill it with
sudo kill <PID>How to reproduce
Possible Solution
No response
Additional Context
(I'm using Ubuntu 22.04)
It might be not related with CloudPanel but with PM2 or with the ubuntu user management. My argument is that if you delete the website and the user, then also this job should stop, but that could just be me. What do you think?
(thank you for this amazing software)