Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
in Visitors - Overview, Action metrics not displayed when report purge is enabled #5054
just did recently wiped all reports older than 3 months, keeping weekly, monthly and yearly.
When I go Actions - Downloads and select e.g. data in last September and
select some day - correctly give message that report doesn't exist - pw_downloads_day.png
select some week - correctly shows data - pw_downloads_week.png
Now going to Visitors - Overview, selecting exactly same week and choosing Download/Unique downloads it shows flat - pw_visitor_log.png
Since data are apparently in Piwik as seen in Actions tab, I guess this is defect. Visitor logs from that period are wiped, so it must be taken from archive.
Fixed. The numeric archives for all periods were deleted when "delete old reports" was enabled instead of keeping the selected ones. It worked fine for blob archives. This explains why data was there in the Downloads report but not in the evolution. Although this bug is fixed the data won't appear in the evolution afterwards as it only fixes future "delete old reports".
Thanks for the fix ... I have of course backup of db, but since some time passed, I cannot simply restore it. If I just replace piwik_archive_numeric_201X_XX from backup will it work? How about January archive, it holds yearly reports if I got it right, so can I replace Jan as well and it would re-create reports on next auto-archive?