Howdy Virtualmin team,
I am having some trouble deleting a domain via the virtualmin UI and CLI. In particular, there seems to be trouble in deleting the webalizer plugin. In each domain that I have tried to remove, I get stuck at this step, whether I am deleting the domain via the virtualmin UI ('selecting virtual server' -> 'Disable and Delete' -> 'Delete Virtual Server') or the virtualmin CLI ('virtualmin delete-domain --domain utweb-demo-0948.utweb.utexas.edu'):
Deleting scheduled Webalizer reporting ..
I've also tried disabling the plugin for the site I would like to delete prior to running the delete-domain command ('edit virtual server' -> 'enabled features' -> 'uncheck webalizer' -> 'save') ; however, it too gets stuck at "Deleting scheduled Webalizer reporting ..". I waited at one point 2 hours before killing off the delete-domain process.
Looking at the strace output of the running delete-domain.pl, it appears to be stuck looking at some .htaccess.lock file in the stats directoryfor the user (~utweb-demo-0948/public_html/stats/.htaccess.lock). I've attached the loop that appears to be happening in that delete-domain.pl strace output. I was able to delete a domain sometime last week (11/10) without issues. Any ideas why webalizer might be putting up a fight? Thanks!