• 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

Issue Never updated (See 'Build/Update' on awstats_setup.html page)

PeterKi

Regular Pleskian
Server operating system version
Ubuntu Linux 22.04.1 LTS
Plesk version and microupdate number
plesk obsidian 18.0.51 WebAdmin Edition
My server has awstats installed from the plesk module installer but when I check the usage statistics it is completely empty.
At the top it says:
Last Update: Never updated (See 'Build/Update' on awstats_setup.html page)

But where is the awstats_setup.html page??
A search on "awstats" or "awstat_setup" on the plesk search box does not show any results.

 
I have 2 domains and your answer helped me to get the web statistics for one of it working.
The other domain still shows the "Never updated .." message.
 
Yes, it is enabled for both domains.
All the checkboxes on both domains are set the same and have the AWStats set.


1680690312461.png
 
I'm not sure why this is not working for that other domain.

Can you check if there is a symlink to the current month in /var/www/vhosts/system/domain.com/statistics/webstat-ssl:

Code:
drwxr-xr-x. 2 root root  4096 Apr  1 03:23 2023-03
drwxr-xr-x. 2 root root  4096 Apr  5 12:31 2023-04
-rw-r--r--. 1 root root 12181 Apr  2 03:26 awstats032023.domain.com-https.txt
-rw-r--r--. 1 root root  8942 Apr  5 12:31 awstats042023.domain.com-https.txt
lrwxrwxrwx. 1 root root     7 Apr  5 12:31 current -> 2023-04
-rw-r--r--. 1 root root   457 Apr  5 12:31 index.html
-rw-r--r--. 1 root root   937 Apr  5 12:31 nav.html

Can you also check the time and date of the files in that directory? Do they change when you run the plesk daily script?
 
I re-ran
plesk daily -f ExecuteWebStatistics
and the timestamps on the html files in the "current" directory all got updated.
Nonetheless, on the linked "index.html" page it still says "Never Updated.."
 
I found old threads which deal about the same problem but also without a solution.

 
It could be a caching issue. Did you try to reload the page?

If that doesn't work, does the current/index.html contain the statistics you were expecting to see?
 
I did clear the cache and I even did open the stat page with another browser (chrome instead of my usual firefox) but the problem persisted.
The statistics are all at '0' for the current month as well as for the previous months.
I guess that this is in-line with the "Never updated.."
I also tried /opt/psa/admin/sbin/statistics --calculate-one -d my2ndDom
and /opt/psa/admin/sbin/statistics --generate-domain-webstat -d my2ndDom
but no change.
 
Can you check the logrotation for that domain:
Logs -> Log Rotation

Is it enabled, and does it have any logs from the past?
 
Back
Top