• Plesk Uservoice will be deprecated by October. Moving forward, all product feature requests and improvement suggestions will be managed through our new platform Plesk Productboard.
    To continue sharing your ideas and feedback, please visit features.plesk.com

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