E-Mail Report Problem


(Andreas Schnederle-Wagner) #1

Hello,

since we upgraded Piwik to the latest Version we got some weird Problems with the E-Mail Reports.
They are sent out twice - same report, same send time, same content

Within Admin they are only visible once …

What could cause this behaviour?

Thank you
Andreas Schnederle-Wagner


(Matthieu Aubry) #2

Could you please post a comment in here: Email Reports being sent out twice · Issue #5300 · matomo-org/matomo · GitHub


(Andreas Schnederle-Wagner) #3

Hi,

updated the Bug report - do you have any ETA when this is going to be fixed?
As right now there are hundreds of our Customers who receive the Mails DOUBLE … (and are not happy with that …)

Thank you
Andreas


(Matthieu Aubry) #4

no ETA, as we haven’t yet reproduced the issue. If you want this issue fixed sooner rather than later please sponsor our time to work on this: contact us via: http://piwik.org/consulting/


(Andreas Schnederle-Wagner) #5

I guess the Problem is somehow related with having hundrets of Websites with scheduled E-Mail Reports …
I splited Archive generation and Scheduled Tasks into two Cronjobs - now it seems to work again … no more double E-Mails …

Cronjob 1: /usr/bin/php /piwikpath/console core:archive --url=http://piwikurl.com/ --disable-scheduled-tasks
Cronjob 2: /usr/bin/php /piwikpath/console core:archive --url=http://piwikurl.com/ --force-all-periods=1 --force-idsites=3

anyone got a better idea for Cronjob 2? I want to tell the Script to don’t make any archive work at all … but wasn’t able to find such a switch - that’s why I generate Archive for a dummy Site (id 3)

Andreas