Looking at a DirectAdmin site, I see it has an “awstats” directory in the domain.com directory. In that AWStats directory contains:
awstats.pl that I believe is run each 24 hours to generate the newest stats
.htaccess
all the .html files from when the site was set up (back thru 2017 in the one I am viewing)
I’m in the same boat, Joe, probably 10-15 years ago I was setting up AWStats on Windows servers and my recollection is that I set them to run the perl processor each midnight and they generate .html files that are organized under a main index.html which is also updated each update. So it doesn’t appear perl is used other than the processing/generating.
In the DirectAdmin backup (backup-Aug-12-2024-1.tar.zst) file all the components of the site appear to be present:
“backup” folder - contains a folder named email_data, one named the domain name (has, inter alia, certificate parts), history and files that appear to be text files containing mostly various settings
“domains” folder - contains only a folder named the domain name (there was only one domain in this site space) which contains these folders: .htpasswd, awstats, logs (last few days), public_ftp, public_html, and stats (has Webalizer stats)
“imap” folder - contains a folder named the domain name which is empty - makes sense because I generally do not run email on web servers
After running a migration, there is no indication that Virtualmin made an attempt to deal with AWStats. It is as though it was skipped. Virtualmin did bring in the Webalizer in totally working order.
This site is different than the original one I migrated in that it is a WordPress site. After the migration I get a database connection error which I am hoping is just a password issue in the wp-config.php file. I have noticed that in Virtualmin the password for the user is used in the database connection. It is probably my ineptness in Virtualmin not knowing how to set up new sites that I haven’t figured out how to change that.
EDIT: had to change the DB user and DB password in the WordPress site’s wp-config.php file to the Virtualmin user values and it connected to the database. Perhaps that could be built into the migration.