I’m trying to automatically archive data for the periods previous7
and previous30
. The logs indicate that the reports are only invalidated but not archived.
I’ve added these lines in my config/config.ini.php
:
[General]
archiving_custom_ranges[] = "previous7"
archiving_custom_ranges[] = "previous30"
The cronjob triggers this command: /usr/bin/php /var/www/matomo/console core:archive --no-interaction --no-ansi --concurrent-requests-per-website 1 --url https://example.org/ -vvv
My latest run of the automated archiver created this log (example.org as replacement for my matomo domain; some lines removed to meet the character limit)
INFO [2022-04-13 06:01:23] 1 ---------------------------
INFO [2022-04-13 06:01:23] 1 INIT
INFO [2022-04-13 06:01:23] 1 Running Matomo 4.8.0 as Super User
INFO [2022-04-13 06:01:23] 1 ---------------------------
INFO [2022-04-13 06:01:23] 1 NOTES
INFO [2022-04-13 06:01:23] 1 - If you execute this script at least once per hour (or more often) in a crontab, you may disable 'Browser trigger archiving' in Matomo UI > Settings > General Settings.
INFO [2022-04-13 06:01:23] 1 See the doc at: https://matomo.org/docs/setup-auto-archiving/
INFO [2022-04-13 06:01:23] 1 - Async process archiving supported, using CliMulti.
INFO [2022-04-13 06:01:23] 1 - Reports for today will be processed at most every 900 seconds. You can change this value in Matomo UI > Settings > General Settings.
INFO [2022-04-13 06:01:23] 1 - Archiving was last executed without error 36 min 51s ago.
INFO [2022-04-13 06:01:23] 1 ---------------------------
INFO [2022-04-13 06:01:23] 1 START
INFO [2022-04-13 06:01:23] 1 Starting Matomo reports archiving...
DEBUG [2022-04-13 06:01:23] 1 Applying queued rearchiving...
INFO [2022-04-13 06:01:23] 1 Start processing archives for site 1.
DEBUG [2022-04-13 06:01:23] 1 Checking for queued invalidations...
DEBUG [2022-04-13 06:01:23] 1 Will invalidate archived reports for 2022-04-12 for following websites ids: 1
INFO [2022-04-13 06:01:26] 1 Will invalidate archived reports for today in site ID = 1's timezone (2022-04-13 00:00:00).
INFO [2022-04-13 06:01:26] 1 Will invalidate archived reports for yesterday in site ID = 1's timezone (2022-04-12 00:00:00).
DEBUG [2022-04-13 06:01:26] 1 Invalidating custom date range (previous7) for site 1
DEBUG [2022-04-13 06:01:26] 1 Invalidating custom date range (previous30) for site 1
DEBUG [2022-04-13 06:01:26] 1 Done invalidating
DEBUG [2022-04-13 06:01:26] 1 No usable archive exists (ts_archived of existing = 2022-04-13 05:01:18, now = 2022-04-13 06:01:26).
DEBUG [2022-04-13 06:01:26] 1 Processing invalidation: [idinvalidation = 67816, idsite = 1, period = day(2022-04-13 - 2022-04-13), name = done, segment = ].
DEBUG [2022-04-13 06:01:26] 1 Starting archiving for ?module=API&method=CoreAdminHome.archiveReports&idSite=1&period=day&date=2022-04-13&format=json&trigger=archivephp
INFO [2022-04-13 06:01:40] 1 Archived website id 1, period = day, date = 2022-04-13, segment = '', 1250 visits found. Time elapsed: 13.640s
DEBUG [2022-04-13 06:01:40] 1 No usable archive exists (ts_archived of existing = 2022-04-13 05:01:38, now = 2022-04-13 06:01:40).
DEBUG [2022-04-13 06:01:40] 1 Processing invalidation: [idinvalidation = 67820, idsite = 1, period = day(2022-04-13 - 2022-04-13), name = done820e197c24977a5b84586496f2e99b39, segment = dimension5==APP].
DEBUG [2022-04-13 06:01:40] 1 Starting archiving for ?module=API&method=CoreAdminHome.archiveReports&idSite=1&period=day&date=2022-04-13&format=json&segment=dimension5%3D%3DAPP&trigger=archivephp
INFO [2022-04-13 06:01:52] 1 Archived website id 1, period = day, date = 2022-04-13, segment = 'dimension5==APP', 482 visits found. Time elapsed: 11.527s
DEBUG [2022-04-13 06:01:52] 1 No usable archive exists (ts_archived of existing = 2022-04-13 05:01:31, now = 2022-04-13 06:01:52).
DEBUG [2022-04-13 06:01:52] 1 Processing invalidation: [idinvalidation = 67819, idsite = 1, period = day(2022-04-13 - 2022-04-13), name = done817d1181d0590ec2d04f28e8606836dc, segment = dimension5==PWA].
DEBUG [2022-04-13 06:01:52] 1 Starting archiving for ?module=API&method=CoreAdminHome.archiveReports&idSite=1&period=day&date=2022-04-13&format=json&segment=dimension5%3D%3DPWA&trigger=archivephp
INFO [2022-04-13 06:01:58] 1 Archived website id 1, period = day, date = 2022-04-13, segment = 'dimension5==PWA', 773 visits found. Time elapsed: 6.784s
DEBUG [2022-04-13 06:01:58] 1 No usable archive exists (ts_archived of existing = 2022-04-13 05:01:28, now = 2022-04-13 06:01:58).
DEBUG [2022-04-13 06:01:58] 1 Processing invalidation: [idinvalidation = 67818, idsite = 1, period = day(2022-04-13 - 2022-04-13), name = done7d2af5b32be3cc649b35daaa6e947151, segment = countryName==United%2520States].
DEBUG [2022-04-13 06:01:58] 1 Starting archiving for ?module=API&method=CoreAdminHome.archiveReports&idSite=1&period=day&date=2022-04-13&format=json&segment=countryName%3D%3DUnited%252520States&trigger=archivephp
INFO [2022-04-13 06:02:01] 1 Archived website id 1, period = day, date = 2022-04-13, segment = 'countryName==United%20States', 11 visits found. Time elapsed: 2.573s
DEBUG [2022-04-13 06:02:01] 1 No usable archive exists (ts_archived of existing = 2022-04-13 05:01:25, now = 2022-04-13 06:02:01).
DEBUG [2022-04-13 06:02:01] 1 Processing invalidation: [idinvalidation = 67817, idsite = 1, period = day(2022-04-13 - 2022-04-13), name = done689c5d105aea789a0fe86f403d58bb8a, segment = dimension1==162961].
DEBUG [2022-04-13 06:02:01] 1 Starting archiving for ?module=API&method=CoreAdminHome.archiveReports&idSite=1&period=day&date=2022-04-13&format=json&segment=dimension1%3D%3D162961&trigger=archivephp
INFO [2022-04-13 06:02:04] 1 Archived website id 1, period = day, date = 2022-04-13, segment = 'dimension1==162961', 18 visits found. Time elapsed: 2.792s
DEBUG [2022-04-13 06:02:04] 1 No usable archive exists (ts_archived of existing = , now = 2022-04-13 06:02:04).
DEBUG [2022-04-13 06:02:04] 1 Processing invalidation: [idinvalidation = 67777, idsite = 1, period = day(2022-04-12 - 2022-04-12), name = done689c5d105aea789a0fe86f403d58bb8a, segment = dimension1==162961].
DEBUG [2022-04-13 06:02:04] 1 Starting archiving for ?module=API&method=CoreAdminHome.archiveReports&idSite=1&period=day&date=2022-04-12&format=json&segment=dimension1%3D%3D162961&trigger=archivephp
INFO [2022-04-13 06:02:10] 1 Archived website id 1, period = day, date = 2022-04-12, segment = 'dimension1==162961', 394 visits found. Time elapsed: 5.770s
DEBUG [2022-04-13 06:02:10] 1 No usable archive exists (ts_archived of existing = , now = 2022-04-13 06:02:10).
DEBUG [2022-04-13 06:02:10] 1 Processing invalidation: [idinvalidation = 67776, idsite = 1, period = day(2022-04-12 - 2022-04-12), name = done817d1181d0590ec2d04f28e8606836dc, segment = dimension5==PWA].
DEBUG [2022-04-13 06:02:10] 1 Starting archiving for ?module=API&method=CoreAdminHome.archiveReports&idSite=1&period=day&date=2022-04-12&format=json&segment=dimension5%3D%3DPWA&trigger=archivephp
INFO [2022-04-13 06:03:04] 1 Archived website id 1, period = day, date = 2022-04-12, segment = 'dimension5==PWA', 9352 visits found. Time elapsed: 54.344s
DEBUG [2022-04-13 06:03:04] 1 No usable archive exists (ts_archived of existing = , now = 2022-04-13 06:03:04).
DEBUG [2022-04-13 06:03:04] 1 Processing invalidation: [idinvalidation = 67775, idsite = 1, period = day(2022-04-12 - 2022-04-12), name = done820e197c24977a5b84586496f2e99b39, segment = dimension5==APP].
DEBUG [2022-04-13 06:03:04] 1 Starting archiving for ?module=API&method=CoreAdminHome.archiveReports&idSite=1&period=day&date=2022-04-12&format=json&segment=dimension5%3D%3DAPP&trigger=archivephp
INFO [2022-04-13 06:04:02] 1 Archived website id 1, period = day, date = 2022-04-12, segment = 'dimension5==APP', 6321 visits found. Time elapsed: 57.854s
DEBUG [2022-04-13 06:04:02] 1 No usable archive exists (ts_archived of existing = , now = 2022-04-13 06:04:02).
DEBUG [2022-04-13 06:04:02] 1 Processing invalidation: [idinvalidation = 67774, idsite = 1, period = day(2022-04-12 - 2022-04-12), name = done7d2af5b32be3cc649b35daaa6e947151, segment = countryName==United%2520States].
DEBUG [2022-04-13 06:04:02] 1 Starting archiving for ?module=API&method=CoreAdminHome.archiveReports&idSite=1&period=day&date=2022-04-12&format=json&segment=countryName%3D%3DUnited%252520States&trigger=archivephp
INFO [2022-04-13 06:04:06] 1 Archived website id 1, period = day, date = 2022-04-12, segment = 'countryName==United%20States', 60 visits found. Time elapsed: 3.541s
DEBUG [2022-04-13 06:04:06] 1 No usable archive exists (ts_archived of existing = , now = 2022-04-13 06:04:06).
DEBUG [2022-04-13 06:04:06] 1 Processing invalidation: [idinvalidation = 67762, idsite = 1, period = day(2022-04-12 - 2022-04-12), name = done689c5d105aea789a0fe86f403d58bb8a, segment = dimension1==162961].
DEBUG [2022-04-13 06:04:06] 1 Starting archiving for ?module=API&method=CoreAdminHome.archiveReports&idSite=1&period=day&date=2022-04-12&format=json&segment=dimension1%3D%3D162961&trigger=archivephp
INFO [2022-04-13 06:04:07] 1 Archived website id 1, period = day, date = 2022-04-12, segment = 'dimension1==162961', 394 visits found. Time elapsed: 1.552s
DEBUG [2022-04-13 06:04:07] 1 No usable archive exists (ts_archived of existing = , now = 2022-04-13 06:04:07).
DEBUG [2022-04-13 06:04:07] 1 Processing invalidation: [idinvalidation = 67761, idsite = 1, period = day(2022-04-12 - 2022-04-12), name = done817d1181d0590ec2d04f28e8606836dc, segment = dimension5==PWA].
DEBUG [2022-04-13 06:04:07] 1 Starting archiving for ?module=API&method=CoreAdminHome.archiveReports&idSite=1&period=day&date=2022-04-12&format=json&segment=dimension5%3D%3DPWA&trigger=archivephp
INFO [2022-04-13 06:04:08] 1 Archived website id 1, period = day, date = 2022-04-12, segment = 'dimension5==PWA', 9352 visits found. Time elapsed: 1.379s
DEBUG [2022-04-13 06:04:08] 1 No usable archive exists (ts_archived of existing = , now = 2022-04-13 06:04:08).
DEBUG [2022-04-13 06:04:09] 1 Processing invalidation: [idinvalidation = 67760, idsite = 1, period = day(2022-04-12 - 2022-04-12), name = done820e197c24977a5b84586496f2e99b39, segment = dimension5==APP].
DEBUG [2022-04-13 06:04:09] 1 Starting archiving for ?module=API&method=CoreAdminHome.archiveReports&idSite=1&period=day&date=2022-04-12&format=json&segment=dimension5%3D%3DAPP&trigger=archivephp
INFO [2022-04-13 06:04:10] 1 Archived website id 1, period = day, date = 2022-04-12, segment = 'dimension5==APP', 6321 visits found. Time elapsed: 1.395s
DEBUG [2022-04-13 06:04:10] 1 No usable archive exists (ts_archived of existing = , now = 2022-04-13 06:04:10).
DEBUG [2022-04-13 06:04:10] 1 Processing invalidation: [idinvalidation = 67759, idsite = 1, period = day(2022-04-12 - 2022-04-12), name = done7d2af5b32be3cc649b35daaa6e947151, segment = countryName==United%2520States].
DEBUG [2022-04-13 06:04:10] 1 Starting archiving for ?module=API&method=CoreAdminHome.archiveReports&idSite=1&period=day&date=2022-04-12&format=json&segment=countryName%3D%3DUnited%252520States&trigger=archivephp
INFO [2022-04-13 06:04:11] 1 Archived website id 1, period = day, date = 2022-04-12, segment = 'countryName==United%20States', 60 visits found. Time elapsed: 1.434s
DEBUG [2022-04-13 06:04:11] 1 No usable archive exists (ts_archived of existing = , now = 2022-04-13 06:04:11).
DEBUG [2022-04-13 06:04:11] 1 Processing invalidation: [idinvalidation = 67747, idsite = 1, period = day(2022-04-12 - 2022-04-12), name = done689c5d105aea789a0fe86f403d58bb8a, segment = dimension1==162961].
DEBUG [2022-04-13 06:04:11] 1 Starting archiving for ?module=API&method=CoreAdminHome.archiveReports&idSite=1&period=day&date=2022-04-12&format=json&segment=dimension1%3D%3D162961&trigger=archivephp
INFO [2022-04-13 06:04:13] 1 Archived website id 1, period = day, date = 2022-04-12, segment = 'dimension1==162961', 394 visits found. Time elapsed: 1.380s
DEBUG [2022-04-13 06:04:13] 1 No usable archive exists (ts_archived of existing = , now = 2022-04-13 06:04:13).
DEBUG [2022-04-13 06:04:13] 1 Processing invalidation: [idinvalidation = 67746, idsite = 1, period = day(2022-04-12 - 2022-04-12), name = done817d1181d0590ec2d04f28e8606836dc, segment = dimension5==PWA].
DEBUG [2022-04-13 06:04:13] 1 Starting archiving for ?module=API&method=CoreAdminHome.archiveReports&idSite=1&period=day&date=2022-04-12&format=json&segment=dimension5%3D%3DPWA&trigger=archivephp
INFO [2022-04-13 06:04:14] 1 Archived website id 1, period = day, date = 2022-04-12, segment = 'dimension5==PWA', 9352 visits found. Time elapsed: 1.437s
DEBUG [2022-04-13 06:04:14] 1 No usable archive exists (ts_archived of existing = , now = 2022-04-13 06:04:14).
DEBUG [2022-04-13 06:04:14] 1 Processing invalidation: [idinvalidation = 67745, idsite = 1, period = day(2022-04-12 - 2022-04-12), name = done820e197c24977a5b84586496f2e99b39, segment = dimension5==APP].
DEBUG [2022-04-13 06:04:14] 1 Starting archiving for ?module=API&method=CoreAdminHome.archiveReports&idSite=1&period=day&date=2022-04-12&format=json&segment=dimension5%3D%3DAPP&trigger=archivephp
INFO [2022-04-13 06:04:16] 1 Archived website id 1, period = day, date = 2022-04-12, segment = 'dimension5==APP', 6321 visits found. Time elapsed: 1.494s
DEBUG [2022-04-13 06:04:16] 1 No usable archive exists (ts_archived of existing = , now = 2022-04-13 06:04:16).
DEBUG [2022-04-13 06:04:16] 1 Processing invalidation: [idinvalidation = 67744, idsite = 1, period = day(2022-04-12 - 2022-04-12), name = done7d2af5b32be3cc649b35daaa6e947151, segment = countryName==United%2520States].
DEBUG [2022-04-13 06:04:16] 1 Starting archiving for ?module=API&method=CoreAdminHome.archiveReports&idSite=1&period=day&date=2022-04-12&format=json&segment=countryName%3D%3DUnited%252520States&trigger=archivephp
INFO [2022-04-13 06:04:17] 1 Archived website id 1, period = day, date = 2022-04-12, segment = 'countryName==United%20States', 60 visits found. Time elapsed: 1.394s
DEBUG [2022-04-13 06:04:17] 1 No usable archive exists (ts_archived of existing = , now = 2022-04-13 06:04:17).
DEBUG [2022-04-13 06:04:17] 1 Processing invalidation: [idinvalidation = 67732, idsite = 1, period = day(2022-04-12 - 2022-04-12), name = done689c5d105aea789a0fe86f403d58bb8a, segment = dimension1==162961].
DEBUG [2022-04-13 06:04:17] 1 Starting archiving for ?module=API&method=CoreAdminHome.archiveReports&idSite=1&period=day&date=2022-04-12&format=json&segment=dimension1%3D%3D162961&trigger=archivephp
INFO [2022-04-13 06:04:19] 1 Archived website id 1, period = day, date = 2022-04-12, segment = 'dimension1==162961', 394 visits found. Time elapsed: 1.405s
DEBUG [2022-04-13 06:04:19] 1 No usable archive exists (ts_archived of existing = , now = 2022-04-13 06:04:19).
DEBUG [2022-04-13 06:04:19] 1 Processing invalidation: [idinvalidation = 67731, idsite = 1, period = day(2022-04-12 - 2022-04-12), name = done817d1181d0590ec2d04f28e8606836dc, segment = dimension5==PWA].
DEBUG [2022-04-13 06:04:19] 1 Starting archiving for ?module=API&method=CoreAdminHome.archiveReports&idSite=1&period=day&date=2022-04-12&format=json&segment=dimension5%3D%3DPWA&trigger=archivephp
INFO [2022-04-13 06:04:20] 1 Archived website id 1, period = day, date = 2022-04-12, segment = 'dimension5==PWA', 9352 visits found. Time elapsed: 1.500s
DEBUG [2022-04-13 06:04:20] 1 No usable archive exists (ts_archived of existing = , now = 2022-04-13 06:04:20).
DEBUG [2022-04-13 06:04:20] 1 Processing invalidation: [idinvalidation = 67730, idsite = 1, period = day(2022-04-12 - 2022-04-12), name = done820e197c24977a5b84586496f2e99b39, segment = dimension5==APP].
DEBUG [2022-04-13 06:04:20] 1 Starting archiving for ?module=API&method=CoreAdminHome.archiveReports&idSite=1&period=day&date=2022-04-12&format=json&segment=dimension5%3D%3DAPP&trigger=archivephp
INFO [2022-04-13 06:04:22] 1 Archived website id 1, period = day, date = 2022-04-12, segment = 'dimension5==APP', 6321 visits found. Time elapsed: 1.424s
DEBUG [2022-04-13 06:04:22] 1 No usable archive exists (ts_archived of existing = , now = 2022-04-13 06:04:22).
DEBUG [2022-04-13 06:04:22] 1 Processing invalidation: [idinvalidation = 67729, idsite = 1, period = day(2022-04-12 - 2022-04-12), name = done7d2af5b32be3cc649b35daaa6e947151, segment = countryName==United%2520States].
DEBUG [2022-04-13 06:04:22] 1 Starting archiving for ?module=API&method=CoreAdminHome.archiveReports&idSite=1&period=day&date=2022-04-12&format=json&segment=countryName%3D%3DUnited%252520States&trigger=archivephp
INFO [2022-04-13 06:04:23] 1 Archived website id 1, period = day, date = 2022-04-12, segment = 'countryName==United%20States', 60 visits found. Time elapsed: 1.462s
DEBUG [2022-04-13 06:04:23] 1 No usable archive exists (ts_archived of existing = 2022-04-13 05:05:46, now = 2022-04-13 06:04:23).
DEBUG [2022-04-13 06:04:23] 1 Processing invalidation: [idinvalidation = 67778, idsite = 1, period = week(2022-04-11 - 2022-04-17), name = done, segment = ].
DEBUG [2022-04-13 06:04:23] 1 Starting archiving for ?module=API&method=CoreAdminHome.archiveReports&idSite=1&period=week&date=2022-04-11&format=json&trigger=archivephp
INFO [2022-04-13 06:06:50] 1 Archived website id 1, period = week, date = 2022-04-11, segment = '', 34851 visits found. Time elapsed: 146.515s
DEBUG [2022-04-13 06:06:50] 1 No usable archive exists (ts_archived of existing = 2022-04-13 05:07:43, now = 2022-04-13 06:06:50).
DEBUG [2022-04-13 06:06:50] 1 Processing invalidation: [idinvalidation = 67782, idsite = 1, period = week(2022-04-11 - 2022-04-17), name = done7d2af5b32be3cc649b35daaa6e947151, segment = countryName==United%2520States].
DEBUG [2022-04-13 06:06:50] 1 Starting archiving for ?module=API&method=CoreAdminHome.archiveReports&idSite=1&period=week&date=2022-04-11&format=json&segment=countryName%3D%3DUnited%252520States&trigger=archivephp
INFO [2022-04-13 06:06:55] 1 Archived website id 1, period = week, date = 2022-04-11, segment = 'countryName==United%20States', 187 visits found. Time elapsed: 5.426s
DEBUG [2022-04-13 06:06:55] 1 No usable archive exists (ts_archived of existing = 2022-04-13 05:07:38, now = 2022-04-13 06:06:55).
DEBUG [2022-04-13 06:06:55] 1 Processing invalidation: [idinvalidation = 67781, idsite = 1, period = week(2022-04-11 - 2022-04-17), name = done820e197c24977a5b84586496f2e99b39, segment = dimension5==APP].
DEBUG [2022-04-13 06:06:55] 1 Starting archiving for ?module=API&method=CoreAdminHome.archiveReports&idSite=1&period=week&date=2022-04-11&format=json&segment=dimension5%3D%3DAPP&trigger=archivephp
INFO [2022-04-13 06:07:17] 1 Archived website id 1, period = week, date = 2022-04-11, segment = 'dimension5==APP', 14220 visits found. Time elapsed: 22.264s
DEBUG [2022-04-13 06:07:17] 1 No usable archive exists (ts_archived of existing = 2022-04-13 05:06:45, now = 2022-04-13 06:07:17).
DEBUG [2022-04-13 06:07:17] 1 Processing invalidation: [idinvalidation = 67780, idsite = 1, period = week(2022-04-11 - 2022-04-17), name = done817d1181d0590ec2d04f28e8606836dc, segment = dimension5==PWA].
DEBUG [2022-04-13 06:07:17] 1 Starting archiving for ?module=API&method=CoreAdminHome.archiveReports&idSite=1&period=week&date=2022-04-11&format=json&segment=dimension5%3D%3DPWA&trigger=archivephp
INFO [2022-04-13 06:07:45] 1 Archived website id 1, period = week, date = 2022-04-11, segment = 'dimension5==PWA', 20623 visits found. Time elapsed: 27.692s
DEBUG [2022-04-13 06:07:45] 1 No usable archive exists (ts_archived of existing = 2022-04-13 05:06:36, now = 2022-04-13 06:07:45).
DEBUG [2022-04-13 06:07:45] 1 Processing invalidation: [idinvalidation = 67779, idsite = 1, period = week(2022-04-11 - 2022-04-17), name = done689c5d105aea789a0fe86f403d58bb8a, segment = dimension1==162961].
DEBUG [2022-04-13 06:07:45] 1 Starting archiving for ?module=API&method=CoreAdminHome.archiveReports&idSite=1&period=week&date=2022-04-11&format=json&segment=dimension1%3D%3D162961&trigger=archivephp
INFO [2022-04-13 06:07:51] 1 Archived website id 1, period = week, date = 2022-04-11, segment = 'dimension1==162961', 845 visits found. Time elapsed: 6.401s
DEBUG [2022-04-13 06:07:52] 1 No usable archive exists (ts_archived of existing = 2022-04-13 05:07:53, now = 2022-04-13 06:07:52).
DEBUG [2022-04-13 06:07:52] 1 Processing invalidation: [idinvalidation = 67783, idsite = 1, period = month(2022-04-01 - 2022-04-30), name = done, segment = ].
DEBUG [2022-04-13 06:07:52] 1 Starting archiving for ?module=API&method=CoreAdminHome.archiveReports&idSite=1&period=month&date=2022-04-01&format=json&trigger=archivephp
INFO [2022-04-13 06:09:38] 1 Archived website id 1, period = month, date = 2022-04-01, segment = '', 177693 visits found. Time elapsed: 106.130s
DEBUG [2022-04-13 06:09:38] 1 No usable archive exists (ts_archived of existing = 2022-04-13 05:12:27, now = 2022-04-13 06:09:38).
DEBUG [2022-04-13 06:09:38] 1 Processing invalidation: [idinvalidation = 67787, idsite = 1, period = month(2022-04-01 - 2022-04-30), name = done817d1181d0590ec2d04f28e8606836dc, segment = dimension5==PWA].
DEBUG [2022-04-13 06:09:38] 1 Starting archiving for ?module=API&method=CoreAdminHome.archiveReports&idSite=1&period=month&date=2022-04-01&format=json&segment=dimension5%3D%3DPWA&trigger=archivephp
INFO [2022-04-13 06:11:13] 1 Archived website id 1, period = month, date = 2022-04-01, segment = 'dimension5==PWA', 106600 visits found. Time elapsed: 95.046s
DEBUG [2022-04-13 06:11:13] 1 No usable archive exists (ts_archived of existing = 2022-04-13 05:11:58, now = 2022-04-13 06:11:13).
DEBUG [2022-04-13 06:11:13] 1 Processing invalidation: [idinvalidation = 67786, idsite = 1, period = month(2022-04-01 - 2022-04-30), name = done7d2af5b32be3cc649b35daaa6e947151, segment = countryName==United%2520States].
DEBUG [2022-04-13 06:11:13] 1 Starting archiving for ?module=API&method=CoreAdminHome.archiveReports&idSite=1&period=month&date=2022-04-01&format=json&segment=countryName%3D%3DUnited%252520States&trigger=archivephp
INFO [2022-04-13 06:11:24] 1 Archived website id 1, period = month, date = 2022-04-01, segment = 'countryName==United%20States', 852 visits found. Time elapsed: 11.216s
DEBUG [2022-04-13 06:11:24] 1 No usable archive exists (ts_archived of existing = 2022-04-13 05:11:49, now = 2022-04-13 06:11:24).
DEBUG [2022-04-13 06:11:24] 1 Processing invalidation: [idinvalidation = 67785, idsite = 1, period = month(2022-04-01 - 2022-04-30), name = done820e197c24977a5b84586496f2e99b39, segment = dimension5==APP].
DEBUG [2022-04-13 06:11:24] 1 Starting archiving for ?module=API&method=CoreAdminHome.archiveReports&idSite=1&period=month&date=2022-04-01&format=json&segment=dimension5%3D%3DAPP&trigger=archivephp
INFO [2022-04-13 06:12:32] 1 Archived website id 1, period = month, date = 2022-04-01, segment = 'dimension5==APP', 70955 visits found. Time elapsed: 68.264s
DEBUG [2022-04-13 06:12:32] 1 No usable archive exists (ts_archived of existing = 2022-04-13 05:10:30, now = 2022-04-13 06:12:32).
DEBUG [2022-04-13 06:12:32] 1 Processing invalidation: [idinvalidation = 67784, idsite = 1, period = month(2022-04-01 - 2022-04-30), name = done689c5d105aea789a0fe86f403d58bb8a, segment = dimension1==162961].
DEBUG [2022-04-13 06:12:32] 1 Starting archiving for ?module=API&method=CoreAdminHome.archiveReports&idSite=1&period=month&date=2022-04-01&format=json&segment=dimension1%3D%3D162961&trigger=archivephp
INFO [2022-04-13 06:12:52] 1 Archived website id 1, period = month, date = 2022-04-01, segment = 'dimension1==162961', 5730 visits found. Time elapsed: 19.318s
DEBUG [2022-04-13 06:12:52] 1 No usable archive exists (ts_archived of existing = 2022-04-13 05:13:59, now = 2022-04-13 06:12:52).
DEBUG [2022-04-13 06:12:52] 1 Processing invalidation: [idinvalidation = 67809, idsite = 1, period = year(2022-01-01 - 2022-12-31), name = done, segment = ].
DEBUG [2022-04-13 06:12:52] 1 Starting archiving for ?module=API&method=CoreAdminHome.archiveReports&idSite=1&period=year&date=2022-01-01&format=json&trigger=archivephp
INFO [2022-04-13 06:16:40] 1 Archived website id 1, period = year, date = 2022-01-01, segment = '', 1264918 visits found. Time elapsed: 228.698s
DEBUG [2022-04-13 06:16:40] 1 No usable archive exists (ts_archived of existing = 2022-04-13 05:21:35, now = 2022-04-13 06:16:40).
DEBUG [2022-04-13 06:16:40] 1 Processing invalidation: [idinvalidation = 67813, idsite = 1, period = year(2022-01-01 - 2022-12-31), name = done817d1181d0590ec2d04f28e8606836dc, segment = dimension5==PWA].
DEBUG [2022-04-13 06:16:40] 1 Starting archiving for ?module=API&method=CoreAdminHome.archiveReports&idSite=1&period=year&date=2022-01-01&format=json&segment=dimension5%3D%3DPWA&trigger=archivephp
INFO [2022-04-13 06:19:15] 1 Archived website id 1, period = year, date = 2022-01-01, segment = 'dimension5==PWA', 850319 visits found. Time elapsed: 154.561s
DEBUG [2022-04-13 06:19:15] 1 No usable archive exists (ts_archived of existing = 2022-04-13 05:21:01, now = 2022-04-13 06:19:15).
DEBUG [2022-04-13 06:19:15] 1 Processing invalidation: [idinvalidation = 67812, idsite = 1, period = year(2022-01-01 - 2022-12-31), name = done7d2af5b32be3cc649b35daaa6e947151, segment = countryName==United%2520States].
DEBUG [2022-04-13 06:19:15] 1 Starting archiving for ?module=API&method=CoreAdminHome.archiveReports&idSite=1&period=year&date=2022-01-01&format=json&segment=countryName%3D%3DUnited%252520States&trigger=archivephp
INFO [2022-04-13 06:19:31] 1 Archived website id 1, period = year, date = 2022-01-01, segment = 'countryName==United%20States', 9299 visits found. Time elapsed: 15.909s
DEBUG [2022-04-13 06:19:31] 1 No usable archive exists (ts_archived of existing = 2022-04-13 05:20:57, now = 2022-04-13 06:19:31).
DEBUG [2022-04-13 06:19:31] 1 Processing invalidation: [idinvalidation = 67811, idsite = 1, period = year(2022-01-01 - 2022-12-31), name = done820e197c24977a5b84586496f2e99b39, segment = dimension5==APP].
DEBUG [2022-04-13 06:19:31] 1 Starting archiving for ?module=API&method=CoreAdminHome.archiveReports&idSite=1&period=year&date=2022-01-01&format=json&segment=dimension5%3D%3DAPP&trigger=archivephp
INFO [2022-04-13 06:21:16] 1 Archived website id 1, period = year, date = 2022-01-01, segment = 'dimension5==APP', 412864 visits found. Time elapsed: 104.863s
DEBUG [2022-04-13 06:21:16] 1 No usable archive exists (ts_archived of existing = 2022-04-13 05:18:38, now = 2022-04-13 06:21:16).
DEBUG [2022-04-13 06:21:16] 1 Processing invalidation: [idinvalidation = 67810, idsite = 1, period = year(2022-01-01 - 2022-12-31), name = done689c5d105aea789a0fe86f403d58bb8a, segment = dimension1==162961].
DEBUG [2022-04-13 06:21:16] 1 Starting archiving for ?module=API&method=CoreAdminHome.archiveReports&idSite=1&period=year&date=2022-01-01&format=json&segment=dimension1%3D%3D162961&trigger=archivephp
INFO [2022-04-13 06:21:24] 1 Archived website id 1, period = year, date = 2022-01-01, segment = 'dimension1==162961', 39772 visits found. Time elapsed: 7.702s
DEBUG [2022-04-13 06:21:24] 1 No next invalidated archive.
INFO [2022-04-13 06:21:24] 1 Finished archiving for site 1, 36 API requests, Time elapsed: 1200.433s [1 / 1 done]
DEBUG [2022-04-13 06:21:24] 1 No more sites left to archive, stopping.
INFO [2022-04-13 06:21:24] 1 Done archiving!
INFO [2022-04-13 06:21:24] 1 ---------------------------
INFO [2022-04-13 06:21:24] 1 SUMMARY
INFO [2022-04-13 06:21:24] 1 Processed 36 archives.
INFO [2022-04-13 06:21:24] 1 Total API requests: 36
INFO [2022-04-13 06:21:24] 1 done: 36 req, 1200544 ms, no error
INFO [2022-04-13 06:21:24] 1 Time elapsed: 1200.544s
INFO [2022-04-13 06:21:24] 1 ---------------------------
INFO [2022-04-13 06:21:24] 1 SCHEDULED TASKS
DEBUG [2022-04-13 06:21:24] 1 26 scheduled tasks loaded
INFO [2022-04-13 06:21:24] 1 Starting Scheduled tasks...
INFO [2022-04-13 06:21:24] 1 Scheduler: executing task Piwik\Plugins\CustomJsTracker\Tasks.updateTracker...
INFO [2022-04-13 06:21:24] 1 Scheduler: finished. Time elapsed: 0.310s
INFO [2022-04-13 06:21:24] 1 Scheduler: executing task Piwik\Plugins\TagManager\Tasks.regenerateReleasedContainers...
INFO [2022-04-13 06:21:25] 1 Scheduler: finished. Time elapsed: 0.550s
INFO [2022-04-13 06:21:25] 1 Scheduler: executing task Piwik\Plugins\PrivacyManager\Tasks.deleteLogData...
INFO [2022-04-13 06:21:25] 1 Scheduler: finished. Time elapsed: 0.000s
INFO [2022-04-13 06:21:25] 1 Scheduler: executing task Piwik\Plugins\PrivacyManager\Tasks.anonymizePastData...
INFO [2022-04-13 06:21:25] 1 Scheduler: finished. Time elapsed: 0.001s
INFO [2022-04-13 06:21:25] 1 done
INFO [2022-04-13 06:21:25] 1 ---------------------------
Am I missing a configuration option here? I would expect that matomo first invalidates the previous7
date range and then archives it as well.