Web statistics for domain is not generated on Ubuntu

Created:

2016-12-27 09:12:05 UTC

Modified:

2017-08-17 15:09:15 UTC

3

Was this article helpful?


Have more questions?

Submit a request

Web statistics for domain is not generated on Ubuntu

Applicable to:

  • Plesk Onyx for Linux

Note: This article has the reference to the issue with the fix available:

  • #PPP-27322 "On Ubuntu 14.04 and Ubuntu 16.04 servers, AWStats web statistics could not be displayed."
    Fixed in:
Please consider updating your server:

Symptoms

  • Webstats stopped generating statistics. Statistics is not rotated.
  • AWSTATS_TOOLS_D value in /etc/psa/psa.conf is:

    # grep AWSTATS_TOOLS_D /etc/psa/psa.conf 
    AWSTATS_TOOLS_D /usr/share/doc/awstats/examples

Cause

This is bug with ID # PPP-27322 which was fixed in Plesk Onyx 17.5.3 .

Resolution

Consider upgrading to the latest Plesk version .

As a workaround:

  1. In /etc/psa/psa.conf file modify line with AWSTATS_TOOLS_D parameter as shown below:
    AWSTATS_TOOLS_D /usr/share/awstats/tools
  2. Regenerate statistics for specified domain:
    # plesk sbin statistics --calculate-one --generate-domain-webstat --domain-name example.com
Have more questions? Submit a request
Please sign in to leave a comment.