Submitted by Jason at eROI on Tue, 05/30/2017 - 11:50 Pro Licensee
Hello,
Here's another bug: running "virtualmin delete-domain --domain " at the command line does not actually remove the cron job entry for awstats. IN this case the entry still reads:
58 4 * * * /etc/webmin/virtualmin-awstats/awstats.pl <domainname>
The gui version removes the cron entry properly.
--jason
Status:
Active
Comments
Submitted by JamieCameron on Tue, 05/30/2017 - 14:54 Comment #1
That is quite surprising, as they run the exact same code! Does this happen consistently?
Submitted by Jason at eROI on Tue, 05/30/2017 - 16:37 Pro Licensee Comment #2
So far it keeps happening. The webalizer cron entries are being properly removed, but the awstats are not.
I have been scripting a transfer to a new server (from ubuntu 12.04lts to ubuntu16.04lts.) I am running the script as user root. Since I have been experiencing problems just restoring virtual servers, I have had to build a set of scripts to rebuild the virtual servers. The "erase-virtualmin.sh" script is fairly simple: foreach subserver then toplevel servers, delete each domain.
The "load-virtualmin" script is a bit more complex, but probably out of the scope of this forum, but pretty much follows the "foreach toplevel/subserver, virtualmin restore-domain..."
As I am nearly done with my site moves (fingers crossed), hopefully I won't need to run my erase script again, but if I do, I certainly will let you know my results.
--jason
Submitted by JamieCameron on Tue, 05/30/2017 - 17:12 Comment #3
Are you getting any error messages during the deletion process?