• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

How do I regenerate Awstat like statistics.exe

Hi, All

How can I just upgrade my plesk from 8.2 to 8.6
and look like my webstat (awstat) is need to be regenerated for some customer
but how can I do that because Plesk for Linux have no statistics.exe command like windows
 
/usr/local/psa/admin/sbin/webstatmng --set-configs --stat-prog=awstats --domain-name=<DOMAINNAME>
/usr/local/psa/admin/sbin/statistics --calculate-one --domain-name=<DOMAINNAME>
 
Hi,
after I test statistics command
I question that why its parameter is different from statistics of Windows Plesk

because I use this command in Plesk for Windows
statistics --http-traffic --disk-usage --update-actions

This command + parameter, Plesk will generate statistics (also webstatistics) without senting Notification.

Afte I check the help I got this

Usage: statistics [OPTIONS]...

Without options - calculate statistics for all domains
--calculate-all
calculate statistics for all domains
--calculate-one --domain-name=<domain_name>
calculate statistics for <domain_name>
-h, --help
display this help and exit

So I tried the command by myself and found that the command have no these parameter
So How do I can work around with this
becuase I need to generate statistics but don't need to sent the notify messages.
 
Back
Top