No monthly stats after re-creating archive


#1

Hi,

I manually set a custom variable for March 2011 in _log_visit. Then I deleted _archive2011_03 and _archive2011_04 tables an re-ran the archive script to re-create stats for March an April 2011.

Daily and weekly stats work fine, but I see no monthly stats (all ‘0’) and yearly stats don’t seem to be updated as well.

Any ideas?

Greetings,
Tom


(Matthieu Aubry) #2

Maybe the monthly archiving failed for memory limit or time execution errors? check your error logs?


#3

In archive.windows.ps1 “month” wasn’t in the list of periods to process. Changed the foreach to “foreach($period in @(“day”,“week”,“month”,“year” ))” and it works.