Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

E-Mail reports not sent #14940

Closed
chris246 opened this issue Oct 2, 2019 · 5 comments
Closed

E-Mail reports not sent #14940

chris246 opened this issue Oct 2, 2019 · 5 comments
Labels
worksforme The issue cannot be reproduced and things work as intended.

Comments

@chris246
Copy link

chris246 commented Oct 2, 2019

Hi,

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
Copy link
Member

tsteur commented Oct 2, 2019

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
Copy link
Author

chris246 commented Oct 7, 2019

Hi,

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
Copy link
Member

Findus23 commented Oct 7, 2019

Hi,

Please also take a look at #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@example.com

@chris246
Copy link
Author

chris246 commented Nov 1, 2019

Hi,

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
Copy link
Member

tsteur commented Nov 1, 2019

Awesome 👍 feel free to comment again.

@tsteur tsteur closed this as completed Nov 1, 2019
@tsteur tsteur added the worksforme The issue cannot be reproduced and things work as intended. label Nov 1, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
worksforme The issue cannot be reproduced and things work as intended.
Projects
None yet
Development

No branches or pull requests

3 participants