@chris246 opened this Issue on October 2nd 2019


since August, some monthly email reports are not sent any more.
They are all scheduled for the first day of a month at 2am, but only between 2 and 4 reports are actually sent.
Archiving is done via cron.

@tsteur commented on October 2nd 2019 Member

Hi there,

could you check your webserver and PHP error logs to see if something is in there?

Also could you enable the logging to a file in Matomo see https://matomo.org/faq/troubleshooting/faq_115/
You want to add log_writers[] = file to the [log] section basically and then see in the log file in the tmp/logs/matomo.log file within Matomo if there's any error in there when it didn't send an expected mail.

@chris246 commented on October 7th 2019


thanks. I've enabled it and will report back in about a month, when the next reports are sent.
Is log_level = WARN sufficient?

@Findus23 commented on October 7th 2019 Member


Please also take a look at https://github.com/matomo-org/matomo/pull/14467.

Since Matomo 3.10 there is an included command you can use to quickly send a test mail exactly the way the scheduled report would be sent.
Just keep in mind to use the same php as used in the cronjob.

sudo -u www-data php console core:test-email test<a class='mention' href='https://github.com/example'>@example</a>.com
@chris246 commented on November 1st 2019


the reports for October were all sent.
We moved our database to an SSD in the meantime, so maybe that fixed it (archiving is much faster now).
Maybe, also the latest Matomo update (3.12.0) influenced that, as there were changes to the archiving process?

If you want, to can close this issue.
If it occurs again, I'll write here.

@tsteur commented on November 1st 2019 Member

Awesome 👍 feel free to comment again.

This Issue was closed on November 1st 2019
Powered by GitHub Issue Mirror