• Plesk Uservoice will be deprecated by October. Moving forward, all product feature requests and improvement suggestions will be managed through our new platform Plesk Productboard.
    To continue sharing your ideas and feedback, please visit features.plesk.com

Continued awstats problem...

M

mirage

Guest
Ok, so I've followed the KB article http://kb.odin.com/en/5550 to re-generate my statistics for a vhost for 2009.

It is currently May 2009.

I'm running through step 5 and the folders 2009-01 through 2009-05 are created and properly filled with the reports. I can see the reports by visiting the webstats URL for the given months like so:

https://<domain.tld>/plesk-stat/webstat/2009-04/index.html

Ok, great! But when I run the command in Step 6 from that article -- which is supposed to update the 'upper frame' I find my 2009-04 directory DELETED!!! Directory 01, 02, 03, 05 are alive and well.

How can I fix that? I have a feeling this has something to do with the routine that does the nightly updates which is by default set to eliminate the previous month. My stats ttl is set to 12 so it really shouldn't be doing that.

Ideas?
 
Bumping this.

It's now clear to me that the statistics command --calculate-on <domain> as described and used in the mentioned KB article is responsible for always deleting the directory of the previous month. This somewhat makes sense to me as the default config and behavior is to only keep the current month. However - when want to keep all the records that deletion should not happen. The statistics command is binary (thank you PLESK) and so I see no way to work around this. Anyone?
 
Back
Top