Email Reports won't be send


#1

Hello,

Piwik does not send configured Email Reports.
A manually triggered transmission is successfull. The mailing is working well.

Via the (old) archive-script I can see that Piwik don’t find any scheduled task to execute.


Per archive-Script sehe ich, dass kein Scheduled task gefunden wird.

INFO CoreConsole[2014-04-25 11:52:05] [2c5de] ---------------------------
INFO CoreConsole[2014-04-25 11:52:05] [2c5de] SCHEDULED TASKS
INFO CoreConsole[2014-04-25 11:52:05] [2c5de] Starting Scheduled tasks... 
INFO CoreConsole[2014-04-25 11:52:06] [2c5de]  No task to run
INFO CoreConsole[2014-04-25 11:52:06] [2c5de] done
INFO CoreConsole[2014-04-25 11:52:06] [2c5de] ---------------------------

Via the plugin TasksTimetable i can see that my changes in the Email Report are not applied, maybe immediately.
There are some Tasks like API.sendReport_X but they don’t have the required time.


Name 	Datum (Server-Zeit)
CoreAdminHome.purgeOutdatedArchives 	Samstag 26 April 2014 00:00:46
(in 12 Stunden 3 Minuten)
CorePluginsAdmin.sendNotificationIfUpdatesAvailable 	Samstag 26 April 2014 00:00:49
(in 12 Stunden 3 Minuten)
Piwik\Plugins\CorePluginsAdmin\MarketplaceApiClient.clearAllCacheEntries 	Samstag 26 April 2014 00:00:49
(in 12 Stunden 3 Minuten)
CoreAdminHome.optimizeArchiveTable 	Samstag 26 April 2014 00:00:49
(in 12 Stunden 3 Minuten)
PrivacyManager.deleteReportData 	Samstag 26 April 2014 00:00:49
(in 12 Stunden 3 Minuten)
PrivacyManager.deleteLogData 	Samstag 26 April 2014 00:00:49
(in 12 Stunden 3 Minuten)
CoreUpdater.sendNotificationIfUpdateAvailable 	Samstag 26 April 2014 00:00:55
(in 12 Stunden 3 Minuten)
API.sendReport_4 	Sonntag 27 April 2014 23:00:27
(in 2 Tage 11 Stunden)
API.sendReport_5 	Sonntag 27 April 2014 23:00:32
(in 2 Tage 11 Stunden)
API.sendReport_1 	Mittwoch 30 April 2014 23:00:36
(in 5 Tage 11 Stunden)
API.sendReport_2 	Mittwoch 30 April 2014 23:00:36
(in 5 Tage 11 Stunden)
API.sendReport_6 	Donnerstag 1 Mai 2014 13:00:05
(in 6 Tage 1 Stunden)
GeoIPAutoUpdater.update 	Mittwoch 7 Mai 2014 00:00:09
(in 11 Tage 12 Stunden)

Is it possible to delete unneccessary tasks?
How can I update the Scheduled Tasks manually?
Can I put a request on a shell to get more output?

FYI:
The localtime of the server is correct.
I have no error-entries in the logs.

Best regards


(Matthieu Aubry) #2

can you try apply this patch: Setting the default timezone to UTC in the core:archive script, refs … · matomo-org/matomo@22e8a7a · GitHub

also make sure you setup: How to Set up Auto-Archiving of Your Reports - Analytics Platform - Matomo

if it still does not work after a few days, maybe open a ticket at: http://dev.piwik.org/


#3

The problem is solved without the patch. It seems that Piwik need a little bit time to update the schedule-table?!


#4

Have the same problem: tasked email-reports are not sent since 2.1. Sending them manualy work fine.

Using pluging TasksTimetable shows that date and time for scheduled
reports are not updated (out of time).
Generating a new report will not be inserted. Modifiations of existing tasks will not be updated.
“Delete report” deletes in frontend but not in tasklist.

Changing the task for GeoIPAutoUpdater.update works fine!

Using Piwik 2.3.0

– task list –
The following tasks are scheduled to be executed based on the current server time Sonntag 1 Juni 2014 14:18:52.
(2 hours difference in back)

Name Datum (Server-Zeit)
Piwik_CoreAdminHome.purgeOutdatedArchives Dienstag 7 Januar 2014 00:00:12
(in -145 Tage 13 Stunden)
Piwik_PrivacyManager.deleteLogData Dienstag 7 Januar 2014 00:00:30
(in -145 Tage 13 Stunden)
Piwik_CoreAdminHome.optimizeArchiveTable Dienstag 7 Januar 2014 00:00:30
(in -145 Tage 13 Stunden)
Piwik_PrivacyManager.deleteReportData Dienstag 7 Januar 2014 00:00:30
(in -145 Tage 13 Stunden)
Piwik_PDFReports_API.sendReport_3 Montag 13 Januar 2014 00:00:30
(in -139 Tage 13 Stunden)
Piwik_PDFReports_API.sendReport_4 Montag 13 Januar 2014 01:00:29
(in -139 Tage 12 Stunden)
Piwik_PDFReports_API.sendReport_12 Montag 13 Januar 2014 02:00:50
(in -139 Tage 11 Stunden)
Piwik_PDFReports_API.sendReport_17 Montag 13 Januar 2014 03:00:07
(in -139 Tage 10 Stunden)
Piwik_PDFReports_API.sendReport_2 Montag 13 Januar 2014 04:00:39
(in -139 Tage 9 Stunden)
Piwik_PDFReports_API.sendReport_9 Montag 13 Januar 2014 05:00:37
(in -139 Tage 8 Stunden)
Piwik_PDFReports_API.sendReport_21 Montag 13 Januar 2014 06:00:20
(in -139 Tage 7 Stunden)
Piwik_PDFReports_API.sendReport_1 Montag 13 Januar 2014 07:00:30
(in -139 Tage 6 Stunden)
Piwik_PDFReports_API.sendReport_6 Samstag 1 Februar 2014 00:00:38
(in -120 Tage 13 Stunden)
Piwik_PDFReports_API.sendReport_5 Samstag 1 Februar 2014 01:00:32
(in -120 Tage 12 Stunden)
Piwik_PDFReports_API.sendReport_22 Samstag 1 Februar 2014 02:00:46
(in -120 Tage 11 Stunden)
Piwik_PDFReports_API.sendReport_20 Samstag 1 Februar 2014 03:00:28
(in -120 Tage 10 Stunden)
Piwik_PDFReports_API.sendReport_7 Samstag 1 Februar 2014 04:00:14
(in -120 Tage 9 Stunden)
Piwik_PDFReports_API.sendReport_10 Samstag 1 Februar 2014 05:00:02
(in -120 Tage 8 Stunden)
Piwik_PDFReports_API.sendReport_18 Samstag 1 Februar 2014 06:00:31
(in -120 Tage 7 Stunden)
Piwik_PDFReports_API.sendReport_8 Samstag 1 Februar 2014 07:00:02
(in -120 Tage 6 Stunden)
Piwik_UserCountry_GeoIPAutoUpdater.update Mittwoch 5 Februar 2014 00:00:46
(in -116 Tage 13 Stunden)
GeoIPAutoUpdater.update Mittwoch 2 Juli 2014 00:00:02
(in 30 Tage 10 Stunden)

Thanks for any adivice


(Matthieu Aubry) #5

@salguri please upgrade to Piwik 2.3.0


#6

Matt:
Piwik 2.3.0 is the version i use - see my report…

can i delete/change the entries manualy?

Sal Guri


(Matthieu Aubry) #7

@salguri, ok then it sounds like a bug! Could you please create a bug report in our issue tracker? http://dev.piwik.org/


#8

@matt, bug report created:
Ticket 5289


#9

@matt: bug report created:
ticket5289


#10

Hello,

found different problem reports in piwik about my problem (see above)

example:
Piwik 2: no new task are set and executed for several month

but no solutions…any ideas?

Sal Guri


#11

Hello, I have same problem like salguri, looking forward for solving the problem in Ticket 5289.

Piwik version: 2.3.0

Greets


#12

Hello, I have same problem like salguri, looking forward for solving the problem in Ticket 5289.

Piwik version: 2.3.0

Greets