The command is running fine, but I get a message that only some websites will get processed, due to the following message from the archive script:
"- Will process all nn websites"
"Will ignore websites and help finish a previous started queue instead. IDs: n1, n2, n3 . . ."
Since I have deleted all piwik_archive_* tables, and forcing all periods and date ranges when calling the: “console core:archive” script, I was not expecting the script to somehow use a previous queue.
Question:
How can I delete this archive queue so I can get a fresh archive for all website ID’s?
So in “config/config.ini.php” I added the following and now the archiving process forgets the queue and process all sites:
[Debug]
always_archive_data_day=1 ; force archiving of all daily reports
always_archive_data_period=1 ; force archiving for all period reports (week, month, year)
[Debug]
always_archive_data_day=1 ; force archiving of all daily reports
always_archive_data_period=1 ; force archiving for all period reports (week, month, year)
How can I delete this archive queue so I can get a fresh archive for all website ID’s?
This feature is missing and it would be super useful. maybe a new --ignore-queue that would just ignore whatever queue is there? or maybe a --clear-queue that would actually clear whatever queue was there. Would you mind creating an issue and we can decide over there? https://github.com/piwik/piwik/issues/
Once we add this, we will need to update the FAQ to add this parameter (and maybe also add it in the command in the log analytics output summary)