PDA

View Full Version : Update Now for awstats


snapplekid13
12-23-2007, 09:24 PM
I heard for Cpanel 11 theres an Update now button why dont we have that? Om on lucky server by the way.

dvdriot
12-24-2007, 04:22 AM
Hello snapplekid13,

I'm not sure of the setup on lucky but I do have accounts on 2 other servers and when I click on my stats for awstats at the very top center there is an update now link. When clicking on that your awstats update almost instantly. Cpanel will either be delayed or not reflected until the server runs it's normal update process but this is a nice feature on the 2 accounts I have.

Is your account new or a transfer in from another host? Sometimes when you transfer in from another host that didn't have the feature it don't happen without some modifications. If you are a new account and cirtex has the feature enabled on your server it should be good to go. I wouldn't think one server would be out of the ordinary such as lucky but then again you never know.

Otherwise you can edit the awstats file yourself if you can see it in cpanel/ftp to allow updates.
/tmp/awstats/awstats.yoursite.com.conf

Look for the line:
AllowToUpdateStatsFromBrowser=0

Change to:
AllowToUpdateStatsFromBrowser=1

snapplekid13
12-24-2007, 11:41 AM
I've been with this host for a year now ;)

Cirtex Paul
12-25-2007, 06:40 PM
You can generate stats, update it by your own by clicking the ‘update now’ link at the top of the main page in the awstats. You can place this by yourself.
Find out how to change the configuration file for Awstats to re-enable it.

Follow these steps:
1. login into cPanel
1a. Open File Manager
2. navigate to /home/username/tmp/awstats/
3. edit the .conf file (e.g. awstats.yourdomain.com.conf)
4. look for this line: AllowToUpdateStatsFromBrowser, set the value to 1 (AllowToUpdateStatsFromBrowser=1)
5. Save the .conf file. When you refresh your statistics page. you will get ‘update now’ link at the top of the page.

This applies for any subdomain as well.

Thanks!:top:

dvdriot
12-26-2007, 05:58 AM
I thought that's what I posted?

True if your subdomains don't display or somthing you can also add the same file as your main domain and edit anything that says:

yoursite.com to:
subdomain.yoursite.com
as well.

The important line is as I mentioned:
Look for the line:
AllowToUpdateStatsFromBrowser=0

Change to:
AllowToUpdateStatsFromBrowser=1

Thanks for confirming me!! :top:

Cirtex Andrew
12-28-2007, 02:49 PM
Thanks for the posts dvdriot. This will allow manual stats updates.

snapplekid13
01-01-2008, 08:43 PM
So i have to do that? That stinks

Cirtex Andrew
01-01-2008, 10:05 PM
Though you may not be familiar with editing the configuration of awstats you should be fine if you follow the instructions posted.

Your statistics should automatically update every night. If they don't please contact support@cirtexhosting.com and they can assist you further.

itsanna
01-18-2008, 06:41 AM
Is there any reason why my awstats would change from 1 back to 0 after I've set it to have the update now link?

I've changed the AllowToUpdateStatsFromBrowser=0 to AllowToUpdateStatsFromBrowser=1 a few times the past week, but for some reason I have to keep going in and doing it?

Thanks

Anna

dvdriot
01-18-2008, 07:21 AM
I couldn't say for sure as I'm just the average user. I originally posted this and they seemed to jump all over it for some reason. Obviously this should be set to begin with. I just posted a little modification just in case it wasn't working for others. It does work, but it's possible it's something on cirtex side or related to there new security upgrade.

Hope they follow up for you. Stats are something important to keep an eye, and are very helpfull. Also make sure the file permissions/chmod settings are ok, just in case.

Good luck!!
dvdriot

sam845
01-21-2008, 02:43 PM
I have the same problem as Anna, the update now link keeps getting removed the following day after I reset the AllowToUpdateStatsFromBrowser to 1. When I explained the problem to Cirtex this was their response:

"The problem was once awstats running in the server, the update now button automatically disabled. So it will automatically update in the server. If awstats will not update in future, please enable update now button in your end."

I'm not sure what that means. If anyone finds a solution to the problem please let me know.

dvdriot
01-22-2008, 07:18 AM
I have never had it disappear for me. It should be enabled by cirtex as the default but either way if you do it manually should work as well.

The language barrier is a little confusing to begin with and I'm not totally sure what support is saying. Again generally it should be enabled to begin with.

Support says this as per your reply:
"The problem was once awstats running in the server, the update now button automatically disabled. So it will automatically update in the server. If awstats will not update in future, please enable update now button in your end."

That is what you are doing by changing
AllowToUpdateStatsFromBrowser=0 to 1

So I think they really need to clerify what exactally they are saying or referring to. Again the language barrier ocassionaly plays apart wherever support is from, obviously not in the us, this is not a complaint just want to clear up any mis-communication.

My opinion is support should take care of this and fix this to begin with, it should be their problem not yours. Newbies to this will not understand or figure this out.

itsanna
01-28-2008, 05:05 AM
Mine still changes back to 0 after I've logged out of my cpanel, or at least by the next day no matter how many times I change it in the file.

Wish I could figure out how to get it to STAY on 1 forever :p

Anna

sam845
02-08-2008, 12:55 AM
Unfortunately Anna, I never received a helpful solution to this problem. I continue to have the same issue with the update link disappearing the next day. After trying support I came to the forum in hopes that someone else could help out.

dvdriot, I totally agree with you when you say "...support should take care of this and fix this to begin with, it should be their problem not yours."

It's frustrating that it's so difficult and time consuming to get a solution when we have a problem like this.

AARSTEAM.COM
05-01-2008, 11:13 AM
It is a continuous headache for my self also..

nocom
05-06-2008, 08:30 PM
To avoid manual edit backup your awstats .conf file and overwrite existing from time to time.

clint999
10-17-2008, 07:12 AM
Thanks for the posts dvdriot. This will allow manual stats updates.