4 bugs in here: bug 1+2: We deleted a bunch of sites after disabling them earlier. We still have such entries remaining in th

4 bugs in here:

bug 1+2:

We deleted a bunch of sites after disabling them earlier.

We still have such entries remaining in the cron tab for each site:

/etc/webmin/virtualmin-awstats/awstats.pl sitename.com /etc/webmin/webalizer/webalizer.pl /var/log/virtualmin/sitename.com_access_log

So disable AND delete site don't remove those entries.

bug 3:

I also have logrotate complaining daily for two of the disabled+deleted sites logs being inaccessible.

bug 4:

Additionally, selecting them all in the webmin->scheduled cron jobs then clicking the delete selected jobs and even disable selected job button seemed to not have any effect in browser (Safari 5 mac). So thought that can't delete them in a single step (and there are many!). But then reloading page and comming back, half are now deleted and other half disabled!! how strange!

Ok, now i understand: it happens but there is no single feedback on page during 20 seconds!

No page reload, no ajax spindle-wheel. Seems like an ajax without user feedback for a long task: an UI bug imho.

Status: 
Active

Comments

Sounds like bugs 1,2 and 3 are actually the same issue - disable+deletion not working.

Can you re-produce this on your system? If you create a test domain and then disable it, then delete it, are AWstats config files left around?

Nope, they are all different bugs:

Bugs 1+2 is one bug probably: cron tab entries not all AUTOMATICALLY removed when disabling or deleting a domain. Actually it happened to me several times, so i could reproduce it.

Bug 3 is probably another one: logrotates entries not AUTOMATICALLY removed in disable or delete domain

bug 4 is: MANUAL cron Delete and disable happens but there is no single feedback on page during 20 seconds! : No page reload, no ajax spindle-wheel. Seems like an ajax without user feedback for a long task: an UI bug imho.

Unfortunately I cannot re-produce any of those bugs. On my test systems, creating, disabling and deleting a domain clears up the logrotate and awstats cron entries every time.

If you run a test with the following commands :

virtualmin create-domain --domain disabletest.com --dir --unix --web --dns --webalizer --virtualmin-awstats --pass smeg --logrotate
virtualmin disable-domain --domain disabletest.com
virtualmin delete-domain --domain disabletest.com

Does it leave logrotate configs and cron jobs behind?