• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

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