Plesk

Website statistics (Webalizer) does not show relevant data

Symptoms

Webalizer website statistics does not show relevant data.

Cause

Webalizer configuration file for the domain is incorrect or lost.

Resolution

  1. Connect to the server via SSH

  2. Rebuild Webalizer configuration file for the affected domain:

    # /usr/local/psa/admin/sbin/webstatmng --set-configs --stat-prog=webalizer --domain-name=example.com < /dev/null

  3. Recalculate Webalizer statistics by running the following commands:

    # /usr/local/psa/admin/sbin/webstatmng --calculate-rotated-statistics --stat-prog=webalizer --domain-name=example.com
    # /usr/local/psa/admin/bin/statistics --generate-domain-webstat --domain-name=example.com

Exit mobile version