myvesta / vesta

myVESTA Control Panel
https://myvestacp.com
GNU General Public License v3.0
266 stars 46 forks source link

PHP pool files are not being deleted when user is deleted #156

Open ewhazelwood opened 1 year ago

ewhazelwood commented 1 year ago

Describe the problem:

After deleting a user, the .conf file for the user's domains located in /etc/php/8.1/fpm/pool.d/ are not being deleted. The causes PHP8.1-FPM to fail upon restart. I am not sure if this happens in all of the pools, but I have seen it happen consistently on two different servers in the 8.1 pool in the past week.

Steps to Reproduce:

Delete a user account that has active domains.

Debian version:

Debian 10.13

VestaCP Version:

0.9.8.26-60