• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

AwStats Select period wrong

xLnT

Basic Pleskian
Today on one of our Plesk servers a new bug came up and saw the light.

At the AWStats page (under http://example.com/webstat/) there is a "select period" option as usual. Today the options are:
- current
- 2009-07
- 2009-7

The other months are gone missing.

On the server this translates to
/var/www/vhosts/example.com/statistics/webstat/ (as it should be)

In the select box : current is on the file system a symlink to 2009-07 (as it should be) but the data in 2009-07 holds only today. Which is of course also reflected by the web page.

If you select 2009-07 : the same thing happens (of course, it is a symlink)

If you select 2009-7 : you get an additional select box; the missing months can now be selected.

On the file system you see in the sub-directory called
/var/www/vhosts/example.com/statistics/webstat/2009-7
you seen the files and directories which are supposed to be in
/var/www/vhosts/example.com/statistics/webstat/

So somehow Plesk moved the contents from /var/www/vhosts/example.com/statistics/webstat/ to the sub-directory 2009-7
- This happened on the 17-07-2009, so no it is not when creating the new month directory
- This happened for all AWStats enabled domains on this server.

My fix for now is :
cd /var/www/vhosts/example.com/statistics/
cp -R webstat webstat-backup
cd webstat
rm -f 2009-7/current
cp -Rf 2009-7/* .
rm -Rf 2009-7

/usr/local/psa/admin/sbin/statistics --calculate-one --domain-name=example.com

My question:
Does anybody else have this problem, and what is the real fix?

Please help.
Magnus
 
I am having the exact same problem on Centos 4.6 and have awstats version 6.95 (build 1.943) and plesk 9.2.2

How is this issue resolved??
 
Back
Top