Statistics of one month get lost regularly

Refers to:

  • Plesk 11.0 for Linux

Created:

2016-11-16 13:20:25 UTC

Modified:

2016-12-21 20:29:47 UTC

0

Was this article helpful?


Have more questions?

Submit a request

Statistics of one month get lost regularly

Symptoms

  • After the daily statistics calculation all data for the previous month gets lost.

  • When calculation finishes directory /srv/www/vhosts/example.com/statistics/webstat/2013-11/ is removed.

Cause

The issue is caused by incorrect version of AWStats installed on the server:

server:/# dpkg -l | grep stat
ri awstats 6.9.5~dfsg-5 powerful and featureful web server log analyzer

According to Plesk release notes AWStats 7.1.1 is supported version:

Plesk 11.0 release notes
Plesk 11.5 release notes

Resolution

  1. Remove unsupported version:

    # dpkg -r --force-depends awstats
  2. Run Plesk autointsller and complete awstat installation:

    # /usr/local/psa/admin/bin/autoinstaller
  3. Run the statistics recalculation for the domain:

    # /opt/psa/admin/bin/statistics --calculate-one -d example.com
Have more questions? Submit a request
Please sign in to leave a comment.