• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

AwStats Select period wrong

E

elger

Guest
Today on one of our Plesk servers a new bug came up and saw the light. The other 8.6 servers do not seem to have the same problem.

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

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-06 (as it should be) but the data in 2009-06 holds only today. Which is of course also reflected by the web page.

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

If you select 2009-6 : 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-6
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-6
- This happened today (on the 23-06-2009) so no it is not when creating the new month directory
- This happened for all AWStats enabled domains on this server, not on the other servers.

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

/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.
Elger
 
Hello,

This is a known issue of statistics utility. The original reason of it is unclear - seem to be of irregular nature as it cannot be reproduced in our lab. It is likely caused by incorrect memory processing. Please, suggest to upgrade you Parallels Plesk panel with the 8.6.5 patch. It is available at the following link:

http://www.parallels.com/download/plesk/patches/
 
Thank you for your reply,

I Hope you mean 8.6.0.5.
I will be updating soon, hopefully this random behavior will be over by then.

Thanks,
Elger
 
Exact same problem over here, but on a fresh installed Ples9.2 on Debian
Everyting went fine untill the last awstats update last night.

Select Period Options are:
- current
- 2009-07
- 2009-7
...

It's the same with migrated domains from Plesk8 as with new domains.

Please advise.
 
I aswell have the bug of awstats showing 2009-7 and 2009-07.
I'm running 9.2.1 and Debian x64.

Please advice.
 
My advise: let Nataliya Zagr to make a bug report, clearly this is not fixed in patch she spoke of and it still exists in the most current version of this moment (9.2.1).

For me this happened on a CentOs 5.1 server, so it is not platform dependent.

Let the Plesk developers look at the issue : why AwStats sometimes sees the number of a month as one digit 'm' and mostly as two digits 'mm'.
 
This happend again to us in the morning of 17 July. (9.2.1 on Debian 32bit)
Now I can go and fix all of our domains again manually. This really is unaceptable...
 
We are having the same issue, is there -any- fix from Plesk?
 
It only happens, when you migrate a domain from another server.
 
Back
Top