websavers
Regular Pleskian
Hey there,
I've noticed a problem that seems to be persistent across all of our Plesk 12.5 servers. I've tested and confirmed this on one in particular running 12.5.30 Update #40.
When deleting a client and domain (in particular via terminate in WHMCS), the client, domain, subscription and databases are removed from Plesk, however the vhost directory and system user remain on the server.
This means that if we attempt to recreate the domain, we get an error about the system user already existing. It also means that disk space isn't reclaimed when we remove a domain -- this is a bigger problem.
For example if the domain and subscription is mydomain.com, removing it from Plesk results in no trace of the domain existing in Plesk, and all associated databases are physically removed.
Yet if you go to /var/www/vhosts/mydomain.com you'll see the full vhost structure there with all normal directories. If wordpress was installed, the complete wordpress files are still there in httpdocs or whatever the domain's docroot was.
Is this by design? And if so, is there a function to 'audit' domains in Plesk with their vhost dirs so we can automatically have Plesk 'clean up' after itself and remove the files and folders of domains that no longer exist in the GUI?
-Jordan
I've noticed a problem that seems to be persistent across all of our Plesk 12.5 servers. I've tested and confirmed this on one in particular running 12.5.30 Update #40.
When deleting a client and domain (in particular via terminate in WHMCS), the client, domain, subscription and databases are removed from Plesk, however the vhost directory and system user remain on the server.
This means that if we attempt to recreate the domain, we get an error about the system user already existing. It also means that disk space isn't reclaimed when we remove a domain -- this is a bigger problem.
For example if the domain and subscription is mydomain.com, removing it from Plesk results in no trace of the domain existing in Plesk, and all associated databases are physically removed.
Yet if you go to /var/www/vhosts/mydomain.com you'll see the full vhost structure there with all normal directories. If wordpress was installed, the complete wordpress files are still there in httpdocs or whatever the domain's docroot was.
Is this by design? And if so, is there a function to 'audit' domains in Plesk with their vhost dirs so we can automatically have Plesk 'clean up' after itself and remove the files and folders of domains that no longer exist in the GUI?
-Jordan