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

Custom alerts sent twice in different language #7242

Open
gaumondp opened this issue Feb 18, 2015 · 6 comments
Open

Custom alerts sent twice in different language #7242

gaumondp opened this issue Feb 18, 2015 · 6 comments
Labels
Bug For errors / faults / flaws / inconsistencies etc.

Comments

@gaumondp
Copy link

Piwik 2.11.b3
Custom Alerts 0.1.19

I'm receiving sometimes 2 emails : one in English the other one in French. They're loged into the Custom Alerts History interface :

image

My cronjob is set to every 15 minutes and emails where received with 4 minutes difference :

image

@mattab mattab added the Bug For errors / faults / flaws / inconsistencies etc. label Feb 19, 2015
@mattab mattab added this to the Piwik 2.12.0 milestone Feb 19, 2015
@mattab
Copy link
Member

mattab commented Feb 19, 2015

Maybe it's something easy so adding to 2.12 - also I notice the column Alert condition is empty which maybe is a bug too?

@tsteur
Copy link
Member

tsteur commented Feb 20, 2015

I looked into it re the empty column. Alert condition is not really a bug as there is no dimension for VisitsSummary etc. In other reports there would be maybe PageURL contains '/index'. Maybe we could use a default message in this case.

@mnapoli
Copy link
Contributor

mnapoli commented Mar 1, 2015

@gaumondp you say you have set up a cronjob, but do you have disabled the browser based archiving?

@gaumondp
Copy link
Author

Désolé @mnapoli for the delay, I was on vacation...

Trigger from the browser is set to "No". And "Reports for today" is at 600 seconds.

@mattab mattab modified the milestones: Piwik 2.12.0, Piwik 2.13.0 Mar 11, 2015
@mnapoli mnapoli self-assigned this Mar 25, 2015
@mnapoli
Copy link
Contributor

mnapoli commented Mar 26, 2015

@gaumondp I can't reproduce it locally, even with non-english settings.

Just to be sure: are you sure you have only one alert created, that this alert is configured to only send to one user (there's no way that it could be configured to send it twice to you for some reason), etc..

Also in your cron you are only running core:archive right? (i.e. not running core:run-scheduled-tasks separately?)

I can't find any reason for the bug, I think the next step would be to try to debug on your install. First could you check that there is nothing wrong in the alert (or piwik_alert) table (e.g. duplicated alert)? If all of what I've mentioned seems right, then maybe you could send us some credentials to access your Piwik install to debug?

@gaumondp
Copy link
Author

@mnapoli , I'm still on 2.11b3 and I didn't get double Alerts since March 5 even if I did receive many Alerts since then. My Alert is sent when there's more than 200 actions by a single visitor like the screenshot.

I only have a single cron command with core:archive.

And it will never be possible to get credentials here but since I'm alone with this and I can live with few double-emails a month, don't spend too much time on this.

And about tables, piwik_alert has only 2 records, both created by me as a Super User.

Here is latest history with 2 alerts sent:
image

@mnapoli mnapoli removed their assignment Apr 2, 2015
@mattab mattab modified the milestones: Short term, Piwik 2.13.0 Apr 10, 2015
@mattab mattab changed the title Cutom alerts sent twice in different language Custom alerts sent twice in different language May 17, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug For errors / faults / flaws / inconsistencies etc.
Projects
None yet
Development

No branches or pull requests

4 participants