• The new Python extension is now available. It allows customers to deploy and manage WSGI-based Python applications on their websites directly from Plesk.
  • Debian 11 has reached its end-of-life (vendor EOL date - August 31, 2026). Plesk Obsidian 18.0.81 is the last release to support it.
    If you are running Plesk Obsidian on Debian 11, we recommend you upgrade those servers to Debian 12 using our dist-upgrade tool.
  • We plan to deprecate and remove the support for XML RPC protocol versions earlier than 1.6.9.1 in Plesk Obsidian 18.0.82. We strongly recommend that you update all existing integrations using earlier versions of the XML RPC protocol to comply with the version 1.6.9.1 specification.

AWStats broken

VicenteS

New Pleskian
My awstats are not updating statistics anymore.

I have updated awstats to 6.95 and seems that something has broken psa-awstats configuration

When awstats is making cache config file is read wrong (something like awstats_buildstaticpages.DOMAIN-http.conf instad of DOMAIN-http.conf)

How can I reisntall awstats with the right configuration?

Thanks

Create/Update database for config "/opt/psa/etc/awstats/awstats.DOMAIN-http.conf" by AWStats version 6.95 (build 1.943)
From data in log file "-"...
Phase 1 : First bypass old records, searching new record...
Searching new records from beginning of log file...
Jumped lines in file: 0
Parsed lines in file: 0
Found 0 dropped records,
Found 0 corrupted records,
Found 0 old records,
Found 0 new qualified records.
Error: Couldn't open config file "awstats_buildstaticpages.DOMAIN-http.conf" nor "awstats_buildstaticpages.conf" after searching in path "/opt/psa/etc/awstats": No existe el fichero o el directorio

- Did you use correct config parameter ?
Example: If your config file is awstats.mysite.conf, use -config=mysite
- Did you create your config file 'awstats.DOMAIN-http.conf' ?
If not, you can run "awstats_configure.pl"
from command line, or create it manually.

Check config file, permissions and AWStats documentation (in 'docs' directory).
statistics: Unable to execute /usr/share/doc/awstats/examples/awstats_buildstaticpages.pl -awstatsprog=/usr/lib/cgi-bin/awstats.pl -configdir=/opt/psa/etc/awstats -config=DOMAIN -http -dir=/var/www/vhosts/DOMAIN/statistics/webstat/current
 
What do you mean "updated"?
Awstats should be from Parallels:

# rpm -qa | grep awstats
awstats-6.95-10102009.swsoft
psa-awstats-configurator-10.10.1-cos5.build1010110112.13

Try to reinstall these packages with force at least.
 
statistics: Unable to execute /usr/share/doc/awstats/examples/awstats_buildstaticpages.pl -awstatsprog=/usr/lib/cgi-bin/awstats.pl -configdir=/opt/psa/etc/awstats -config=DOMAIN -http -dir=/var/www/vhosts/DOMAIN/statistics/webstat/current

I have this exact same error message since I recently upgraded from Debian Lenny to Squeeze.

Here's my setup scenario:

OS: Debian 6.0.3 / Squeeze (Kernel: 2.6.32-5)

# aptitude show awstats
Package: awstats
State: installed
Version: 6.9.5~dfsg-5

# aptitude show psa-awstats-configurator
Package: psa-awstats-configurator
State: installed
Version: 10.12.0-debian6.0.build1012110621.18

It seems that somehow in the Squeeze upgrade process the "awstats" package was (and still is) preferred over the plesk "awstats" package. Since I have no clue whatsoever on how to change that, here's a hint what seems to have worked for me:

ln -s /usr/share/awstats/tools/awstats_buildstaticpages.pl /usr/share/doc/awstats/examples/awstats_buildstaticpages.pl
 
Back
Top