Enable “Update Now” in Awstats

In order to enable “Update Now” in Awstats in cPanel follow the below steps:
Login to server via SSH
You need to edit the domain awstats conf (awstats.domainName.conf) file:

cd /home/username/tmp/awstats

Search for the “AllowToUpdateStatsFromBrowser”,in the conf file.
(The default value of AllowToUpdateStatsFromBrowser will be 0)

grep AllowToUpdateStatsFromBrowser awstats.example.com.conf

It should be set to AllowToUpdateStatsFromBrowser=1
If not, edit the file and save.

vi awstats.domainName.conf

Edit AllowToUpdateStatsFromBrowser configuration as
AllowToUpdateStatsFromBrowser=1
Save the file and exit.
Restart cpanel service

service cpanel restart

Done.