F_A_H_D

Active Member
Sep 17, 2006
25
0
151
How to display
the update now link in awstat
??
i have enabled this in whm
whm >> tweack settings >> Allow users to update Awstats from cPanel
but still the link disappear !!!
 

TechVandal

Registered
Oct 13, 2006
1
0
151
Im also looking for this fix. It seems theres a /usr/local/cpanel/etc/awstats.conf file that should enable this but im not sure how to do it. There is a section for this:


# When this parameter is set to 1, AWStats add a button on report page to
# allow to "update" statistics from a web browser. Warning, when "update" is
# made from a browser, AWStats is ran as a CGI by the web server user
# defined in your web server (user "nobody" by default with Apache, "IUSR_XXX"
# with IIS), so the "DirData" directory and all already existing history files
# (awstatsMMYYYY[.xxx].txt) must be writable by this user. Change permissions
# if required.
# Warning: Update process can be long so you might experience "time out"
# browser errors if you don't launch AWStats enough frequently.
# When set to 0, update is only made when AWStats is ran from the command
# line interface (or a task scheduler).
# Possible values: 1 or 0
# Default: 0
#

AllowToUpdateStatsFromBrowser=%BROWSERUPDATE%


I believe that changing this to 1 will work, but as I have tried it and it hadnt worked I am still looking for a solution
 

senthil0787

Member
Sep 27, 2006
14
0
151
Hi,

Try to change particular account awstats conf to get update now stats option

Edit file /home/username/tmp/awstats/awstats.domainame.com.conf

set AllowToUpdateStatsFromBrowser=1
 

darren.nolan

Well-Known Member
Oct 4, 2007
259
0
66
Did we discover a solution for this? I do not particularly want to enable this open on everyone's account - but if I must I must.

EDIT: Found a post by WebScHoLaR trying chattr +i on the file. Will see how that goes. Thanks WebScHoLaR.
 
Last edited:

Snowman30

Well-Known Member
PartnerNOC
Apr 7, 2002
679
0
316
cPanel Access Level
DataCenter Provider
I think the bug goes a bit deeper than this

running WHM 11.11.0 cPanel 11.15.0-C18335

and on some sites we see no stats update button despite settings being AllowToUpdateStatsFromBrowser=1