You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Just ran core:run-scheduled-tasks --force with the updated Rules.php file. This is the updated message:
Purging temporary archives: skipped (no authorization)
That's a bug. likely in Rules.isRequestAuthorizedToArchive ?
The text was updated successfully, but these errors were encountered:
mattab
added
the
Bug
For errors / faults / flaws / inconsistencies etc.
label
Mar 4, 2015
Purging temporary archives: skipped (no authorization)
is shown if browser archiving is disabled and $_GET['trigger'] != 'archivephp'.
When running in the console $_GET['trigger'] is most probably empty, so if Piwik is using cron archiving you can't purge temporary archives…
Is that the intended behavior? Here is what the comment says:
we only delete archives if we are able to process them, otherwise, the browser might process reports when &segment= is specified (or custom date range) and would below, delete temporary archives that the browser is not able to process until next cron run (which could be more than 1 hour away)
@mattab No longer relevant at least for archive purging since there is a dedicated command for it now. Since --force does force running scheduled tasks, I think this issue can be closed.
From #7181 a user reported:
That's a bug. likely in Rules.isRequestAuthorizedToArchive ?
The text was updated successfully, but these errors were encountered: