So everything works with my Piwik installation, tracking works, archiving works, tasks are planned in order, my Web Cron (30 min interval) works, Sending manual mail report works. But none of my scheduled reports gets sent.
I dont have shell access, since I have it on shared hosting. Is there any way I can debug this problem? Or any solution?
If its any use. Im on the latest Piwik stable version with PHP 5.6 at the moment, didnt work with PHP 7.0 either so doubt thats a problem. I use SSL to be able to track https.
I´ve added:
[log]
log_writers[] = “file”
log_level = “DEBUG”
And also found similar tickets e.g.
opened 03:33AM - 17 Dec 14 UTC
closed 03:25AM - 16 Feb 15 UTC
Bug
Major
worksforme
With the TasksTimetable plugin, I see that email reports are in the table, but a… lways a day (or week, or month) ahead. As an example: if TasksTimetable reports the current date/time is Wednesday 03:00 UTC, my upcoming daily reports should be scheduled to send at Wednesday 05:00 UTC (all my websites are America/New York), but the next daily report is scheduled to go on _Thursday_ at 05:00, as if the Wednesday task has already passed.
I've created new reports since 2.9.1, and they also always schedule too far in advance.
This has been happening since I upgraded to Piwik 2, so it's not new to 2.9.1, and this ticket is a continuation of #5289. I can send any report manually by email with no problems.
and
opened 04:24PM - 11 Jun 15 UTC
closed 06:11PM - 11 Sep 15 UTC
Bug
not-in-changelog
In version 2.10, the scheduled email reports are not being sent. This is a prett… y recent installation from the beginning of the year and is not an upgraded environment. I am able to send reports manually. I have seen a couple issues opened regarding this same problem but I was not able to find an instance where the issue was reproduced or a definite cause was found.
I created a test report and scheduled it to be sent daily at 12 o’clock local time (CDT). It displays as Tasks.myTask in the Scheduled Tasks plugin list.
![scheduledtasks1](https://cloud.githubusercontent.com/assets/12848130/8111985/9b5e7132-102a-11e5-933b-69f4719efed4.png)
After the 12 o’clock hour came and went, the report had not been sent and the Scheduled Task had not updated. Here is the task just a couple minutes after 12 o’clock.
![scheduledtasks2](https://cloud.githubusercontent.com/assets/12848130/8111993/a6e8306a-102a-11e5-902c-cad3a2392e7a.png)
After setting the report to run at 10 o’clock, the scheduled time does not update in the Scheduled Tasks plugin list. It is still showing the scheduled time as 9 o’clock.
![scheduledtasks3](https://cloud.githubusercontent.com/assets/12848130/8112002/ac33e3ca-102a-11e5-9c88-e2e12270f424.png)
After running ./console core:run-scheduled-tasks the entry is updated to the correct time of 10 o’clock.
![scheduledtasks4](https://cloud.githubusercontent.com/assets/12848130/8112004/aff7583e-102a-11e5-9d22-2981dcd1c836.png)
This is the same for all of the scheduled tasks. Until I ran the command for the first time yesterday, all of the scheduled tasks had dates that were more than two months old. Running the command updated all of the scheduled tasks but I cannot tell that any of them are running.
With the scheduled time set to 10 o'clock, once again the scheduled time came and went without the report being sent and without the scheduled task being rescheduled for the next day.
![scheduledtasks5](https://cloud.githubusercontent.com/assets/12848130/8112018/c9c97184-102a-11e5-972b-1f290b0f78cc.png)
In testing yesterday, with the reports scheduled for 12 o’clock, I set the log_level to DEBUG for a few minutes but did not find any debug statements that seemed related to scheduled tasks. Today, with the report scheduled for 10 o’clock and the log_level set to INFO there was not output at all around that time (15:00).
WARNING LoginLdap[2015-06-11 14:43:29] [d10f4] authenticateByPassword: empty login encountered.
WARNING LoginLdap[2015-06-11 14:50:59] [fa6ed] authenticateByPassword: empty login encountered.
WARNING LoginLdap[2015-06-11 14:50:59] [238a1] authenticateByPassword: empty login encountered.
INFO Piwik\Tracker\ScheduledTasksRunner[2015-06-11 15:20:39] [20d7e] ---------------------------
INFO Piwik\Tracker\ScheduledTasksRunner[2015-06-11 15:20:39] [20d7e] INIT
INFO Piwik\Tracker\ScheduledTasksRunner[2015-06-11 15:20:39] [20d7e] Piwik is installed at: https://hostname/piwik/index.php
INFO Piwik\Tracker\ScheduledTasksRunner[2015-06-11 15:20:39] [20d7e] Running Piwik 2.10.0 as Super User
Also, browser archiving is enabled and the “System Check” does not report any issues.
![systemcheck](https://cloud.githubusercontent.com/assets/12848130/8112026/d8ec99b6-102a-11e5-8b58-d20223b7911a.png)
Thanks
So trying their stuff also.
1 Like
matthieu
(Matthieu Aubry)
February 1, 2016, 4:39am
2