cURL cron auto archive terminates without reason #19675
We have an automated cURL job which calls https://analytics/misc/cron/archive.php?token_auth=X at 5 mins past the hour, every hour to run the auto-archive process and we log the response from the request.
Our script which executes this cURL looks for the strings "Success:ok" or "Finished archiving" to identify that the script has executed correctly; if these are missing or the string "Fatal error" is found, it alerts us.
Yesterday, our script triggered an alert because the cURL completed successfully, but didn't contain the expected "Success" strings we're used to finding.
Log data from the cURL is returned as follows:
Can there be some clarification on when this script completes its execution successfully? This seems to have changed across versions without any clear documentation.
Steps to Reproduce (for Bugs)
This one's a bit tricky, but executing the same script should provide you some data
See initial description. One other thing to note is that we've exceeded the licensing on some of our plugins and occasionally see the following show up in our logs:
This looks like Matomo is throwing an (unrelated) error when it shouldn't be.
The text was updated successfully, but these errors were encountered:
This issue has been mentioned on Matomo forums. There might be relevant details there:
As @peterhashair mentioned: The archiving should in the end print an info