Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

archiving script misc/cron/archive.sh should be able to archive today's stats (with a parameter) #659

Closed
anonymous-matomo-user opened this issue Apr 14, 2009 · 4 comments
Labels
Bug For errors / faults / flaws / inconsistencies etc. duplicate For issues that already existed in our issue tracker and were reported previously.
Milestone

Comments

@anonymous-matomo-user
Copy link

Hi!
So I just did a fresh install of the newest version of Piwik (0.2.34) and so it showed me just 1 visitor (me). When I set “enable_browser_archiving_triggering” in the global.ini.php to 0 and refreshed the page, it showed mit zero vistors. Well I wondered myself and changed it back to the default value 1 and voila, it showed me the one visitor again.
Might this be a bug?
Greetings!

@mattab
Copy link
Member

mattab commented Apr 15, 2009

This is not a bug: if you disable browser archiving by setting`
enable_browser_archiving_triggering = 0` then archiving won’t be triggered via the browser. If your`
time_before_archive_considered_outdated` is set to 10 seconds for example (default value) and you request today’s archive after 30 seconds, then the available archive is not valid (too old) and nothing will be shown as archiving via browser is disabled.

Conclusion: if you set`
enable_browser_archiving_triggering = 0` make sure you have a crontab job running at least every time_before_archive_considered_outdated seconds to process today’s archive.

@mattab
Copy link
Member

mattab commented Apr 15, 2009

however that leads to a feature request:
- archive.sh should accept a parameter to process today’s archive

if you’d like to propose a patch for archive.sh please feel free that’d be useful!

@mattab
Copy link
Member

mattab commented Mar 29, 2010

my analysis was wrong, this is actually a duplicate of #1150

@mattab
Copy link
Member

mattab commented Mar 29, 2010

Note that archive.sh archives today's stats already.

@anonymous-matomo-user anonymous-matomo-user added this to the Piwik 0.6 milestone Jul 8, 2014
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug For errors / faults / flaws / inconsistencies etc. duplicate For issues that already existed in our issue tracker and were reported previously.
Projects
None yet
Development

No branches or pull requests

2 participants