@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
Powered by GitHub Issue Mirror