• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

AWstats updates require unwanted work-around

Visnet

Basic Pleskian
Situation/issues:
1. Plesk is using a bundled version of AWstats (awstats-7.3-14070712.parallels.noarch)
2. A newer version of AWstats was released in the EPEL channel (awstats-7.4-1.el7.noarch)
3. Installing the newer version causes Plesk's web statistic scripts (e.g. "plesk sbin web_statistic_executor") to fail
4. AWstats statistics are no longer calculated

Possible (but unwanted and unsupported) work-around:
1. Create a symbolic link, for example:
# ln -s /var/www/html/awstats /usr/share/awstats/wwwroot/
2. Edit '/etc/psa/psa.conf' and change the following variables to the values below:
AWSTATS_BIN_D /usr/share/awstats/wwwroot/cgi-bin
AWSTATS_TOOLS_D /usr/share/awstats/tools
AWSTATS_DOC_D /usr/share/awstats/wwwroot

3. (optional) If you don't want to wait until Plesk's nightly cron is executed, execute statistics generating manually:
# plesk sbin web_statistic_executor

The Plesk KB article at https://kb.plesk.com/en/952 mentions that '/etc/psa/psa.conf' is not meant to be modified.
How can Plesk use AWstats updates without breaking its configuration?

Lastly, the old/default values: (as a reference, contain non-existent paths):
# grep -i 'awstats' /etc/psa/psa.conf.default
AWSTATS_BIN_D /var/www/cgi-bin/awstats
AWSTATS_TOOLS_D /usr/share/awstats
AWSTATS_DOC_D /var/www/html/awstats
 
Back
Top