Is this Cron Job Working?

A couple days after updating to 4.1.1, I have started getting a “Oops… there was a problem during the request. Maybe the server had a temporary issue, or maybe you requested a report with too much data. Please try again” error when trying to view reports. The ‘real-time’ report does show the current visitors and sometimes the ‘visits log’ does too.
I have “Archive reports when viewed from the browser” off and my Cron Job appears to be working. The “matomo-archive-output” file after a Cron Job says this:

INFO [2021-02-19 16:01:03] 1122843  ---------------------------
INFO [2021-02-19 16:01:03] 1122843  INIT
INFO [2021-02-19 16:01:03] 1122843  Running Matomo 4.1.1 as Super User
INFO [2021-02-19 16:01:03] 1122843  ---------------------------
INFO [2021-02-19 16:01:03] 1122843  NOTES
INFO [2021-02-19 16:01:04] 1122843  - Async process archiving not supported, using curl requests.
INFO [2021-02-19 16:01:04] 1122843  - Reports for today will be processed at most every 18000 seconds. You can change this value in Matomo UI > Settings > General Settings.
INFO [2021-02-19 16:01:04] 1122843  - Archiving was last executed without error 11 min 0s ago
INFO [2021-02-19 16:01:04] 1122843  ---------------------------
INFO [2021-02-19 16:01:04] 1122843  START
INFO [2021-02-19 16:01:04] 1122843  Starting Matomo reports archiving...
INFO [2021-02-19 16:01:05] 1122843  Start processing archives for site 1.
INFO [2021-02-19 16:01:05] 1122843    Will invalidate archived reports for today in site ID = 1's timezone (2021-02-19 00:00:00).
INFO [2021-02-19 16:01:05] 1122843    Will invalidate archived reports for yesterday in site ID = 1's timezone (2021-02-18 00:00:00).
INFO [2021-02-19 16:01:05] 1122843  Finished archiving for site 1, 0 API requests, Time elapsed: 0.050s [1 / 2 done]
INFO [2021-02-19 16:01:05] 1122843  Start processing archives for site 3.
INFO [2021-02-19 16:01:05] 1122843  Finished archiving for site 3, 0 API requests, Time elapsed: 0.005s [2 / 2 done]
INFO [2021-02-19 16:01:06] 1122843  Done archiving!
INFO [2021-02-19 16:01:06] 1122843  ---------------------------
INFO [2021-02-19 16:01:06] 1122843  SUMMARY
INFO [2021-02-19 16:01:06] 1122843  Processed 0 archives.
INFO [2021-02-19 16:01:06] 1122843  Total API requests: 0
INFO [2021-02-19 16:01:06] 1122843  done: 0 req, 1086 ms, no error
INFO [2021-02-19 16:01:06] 1122843  Time elapsed: 1.086s
INFO [2021-02-19 16:01:06] 1122843  ---------------------------
INFO [2021-02-19 16:01:06] 1122843  SCHEDULED TASKS
INFO [2021-02-19 16:01:06] 1122843  Starting Scheduled tasks... 
INFO [2021-02-19 16:01:06] 1122843  Scheduler: executing task Piwik\Plugins\CustomJsTracker\Tasks.updateTracker...
INFO [2021-02-19 16:01:06] 1122843  Scheduler: finished. Time elapsed: 0.003s
INFO [2021-02-19 16:01:06] 1122843  Scheduler: executing task Piwik\Plugins\PrivacyManager\Tasks.deleteLogData...
INFO [2021-02-19 16:01:06] 1122843  Scheduler: finished. Time elapsed: 0.005s
INFO [2021-02-19 16:01:06] 1122843  Scheduler: executing task Piwik\Plugins\PrivacyManager\Tasks.anonymizePastData...
INFO [2021-02-19 16:01:06] 1122843  Scheduler: finished. Time elapsed: 0.001s
INFO [2021-02-19 16:01:06] 1122843  done
INFO [2021-02-19 16:01:06] 1122843  ---------------------------

Should the process archives be zero or total API requests be zero?

When I try to do a full system check it says:

Illegal length modifier specified ‘f’ in s[np]printf call
in /home/***.com/vendor/twig/twig/src/Cache/FilesystemCache.php line 61

Any ideas what might be causing these problem?

Thanks!

Hi,

I think this is a bug in PHP as it occurs inside a php function. Only few people have reported it so far:

Thanks Lukas,

For the archive processes, does it look like it actually did anything?