{"action":"created","issue":{"url":"https://api.github.com/repos/piwik/piwik/issues/8320","labels_url":"https://api.github.com/repos/piwik/piwik/issues/8320/labels{/name}","comments_url":"https://api.github.com/repos/piwik/piwik/issues/8320/comments","events_url":"https://api.github.com/repos/piwik/piwik/issues/8320/events","html_url":"https://github.com/piwik/piwik/issues/8320","id":94246501,"number":8320,"title":"Scheduled Reports not sending","user":{"login":"rmoesbergen","id":8319432,"avatar_url":"https://avatars.githubusercontent.com/u/8319432?v=3","gravatar_id":"","url":"https://api.github.com/users/rmoesbergen","html_url":"https://github.com/rmoesbergen","followers_url":"https://api.github.com/users/rmoesbergen/followers","following_url":"https://api.github.com/users/rmoesbergen/following{/other_user}","gists_url":"https://api.github.com/users/rmoesbergen/gists{/gist_id}","starred_url":"https://api.github.com/users/rmoesbergen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rmoesbergen/subscriptions","organizations_url":"https://api.github.com/users/rmoesbergen/orgs","repos_url":"https://api.github.com/users/rmoesbergen/repos","events_url":"https://api.github.com/users/rmoesbergen/events{/privacy}","received_events_url":"https://api.github.com/users/rmoesbergen/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-07-10T08:15:32Z","updated_at":"2015-07-15T16:26:29Z","closed_at":"2015-07-15T16:26:29Z","body":"I'm experiencing an issue with scheduled e-mail reports not being sent by piwik. We have several users who receive e-mail reports on a daily basis, so e-mail settings etc. are OK. However, other users (myself included) have created reports, but never receive them. Manually sending the report (clicking 'send report now') works just fine. I've created a separate cronjob to run all scheduled tasks every hour with debugging enabled (-vvv). The output is as follows:\r\n\r\nDEBUG [2015-06-30 23:05:01] Loaded plugins: CorePluginsAdmin, CoreAdminHome, CoreHome, CoreVisualizations, Proxy, API, Widgetize, Transitions, LanguagesManager, Actions, Dashboard, MultiSites, Referrers, UserSettings, UserLanguage, DevicesDetection, SEO, Events, UserCountry, VisitsSummary, VisitFrequency, VisitTime, VisitorInterest, Provider, Monolog, Login, UsersManager, SitesManager, Installation, CoreUpdater, CoreConsole, ScheduledReports, UserCountryMap, Live, CustomVariables, PrivacyManager, ImageGraph, Annotations, MobileMessaging, Overlay, SegmentEditor, Insights, ZenMode, LeftMenu, Morpheus, Contents, BulkTracking, Resolution, DevicePlugins, Bandwidth, BotTracker\r\nDEBUG [2015-06-30 23:05:01] 22 scheduled tasks loaded\r\nINFO [2015-06-30 23:05:01] Starting Scheduled tasks...\r\nDEBUG [2015-06-30 23:05:01] Executing tasks with priority 0:\r\nDEBUG [2015-06-30 23:05:01] Executing tasks with priority 1:\r\nDEBUG [2015-06-30 23:05:01] Executing tasks with priority 2:\r\nDEBUG [2015-06-30 23:05:01] Executing tasks with priority 3:\r\nDEBUG [2015-06-30 23:05:01] Executing tasks with priority 4:\r\nDEBUG [2015-06-30 23:05:01] Executing tasks with priority 5:\r\nDEBUG [2015-06-30 23:05:01] Executing tasks with priority 6:\r\nDEBUG [2015-06-30 23:05:01] Task Piwik\\Plugins\\ScheduledReports\\API.sendReport_3 is scheduled to run again for 2015-07-01.\r\nINFO [2015-06-30 23:05:01] Scheduler: executing task Piwik\\Plugins\\ScheduledReports\\API.sendReport_3...\r\nDEBUG [2015-06-30 23:05:01] Running task Piwik\\Plugins\\ScheduledReports\\API.sendReport_3\r\nINFO [2015-06-30 23:05:02] Scheduler: finished. Time elapsed: 0.441s\r\nDEBUG [2015-06-30 23:05:02] Task Piwik\\Plugins\\ScheduledReports\\API.sendReport_4 is scheduled to run again for 2015-07-01.\r\nINFO [2015-06-30 23:05:02] Scheduler: executing task Piwik\\Plugins\\ScheduledReports\\API.sendReport_4...\r\nDEBUG [2015-06-30 23:05:02] Running task Piwik\\Plugins\\ScheduledReports\\API.sendReport_4\r\nINFO [2015-06-30 23:05:02] Scheduler: finished. Time elapsed: 0.001s\r\nDEBUG [2015-06-30 23:05:02] Task Piwik\\Plugins\\ScheduledReports\\API.sendReport_10 is scheduled to run again for 2015-07-01.\r\nINFO [2015-06-30 23:05:02] Scheduler: executing task Piwik\\Plugins\\ScheduledReports\\API.sendReport_10...\r\nDEBUG [2015-06-30 23:05:02] Running task Piwik\\Plugins\\ScheduledReports\\API.sendReport_10\r\nWARNING [2015-06-30 23:05:08] Preventing the same scheduled report from being sent again (report #10 for period \"2015, Mei\"winking smiley\r\nINFO [2015-06-30 23:05:08] Scheduler: finished. Time elapsed: 5.946s\r\nDEBUG [2015-06-30 23:05:08] Task Piwik\\Plugins\\ScheduledReports\\API.sendReport_11 is scheduled to run again for 2015-07-01.\r\nINFO [2015-06-30 23:05:08] Scheduler: executing task Piwik\\Plugins\\ScheduledReports\\API.sendReport_11...\r\nDEBUG [2015-06-30 23:05:08] Running task Piwik\\Plugins\\ScheduledReports\\API.sendReport_11\r\nINFO [2015-06-30 23:05:08] Scheduler: finished. Time elapsed: 0.002s\r\nDEBUG [2015-06-30 23:05:08] Task Piwik\\Plugins\\ScheduledReports\\API.sendReport_13 is scheduled to run again for 2015-07-01.\r\nINFO [2015-06-30 23:05:08] Scheduler: executing task Piwik\\Plugins\\ScheduledReports\\API.sendReport_13...\r\nDEBUG [2015-06-30 23:05:08] Running task Piwik\\Plugins\\ScheduledReports\\API.sendReport_13\r\nWARNING [2015-06-30 23:05:10] /export/www/piwik/html/libs/Zend/Validate/Hostname.php(549): Deprecated - iconv_set_encoding(): Use of iconv.internal_encoding is deprecated - Piwik 2.13.1 - Please report this message in the Piwik forums: [forum.piwik.org] (please do a search first as it might have been reported already)\r\nWARNING [2015-06-30 23:05:10] /export/www/piwik/html/libs/Zend/Validate/Hostname.php(645): Deprecated - iconv_set_encoding(): Use of iconv.internal_encoding is deprecated - Piwik 2.13.1 - Please report this message in the Piwik forums: [forum.piwik.org] (please do a search first as it might have been reported already)\r\nINFO [2015-06-30 23:05:10] Scheduler: finished. Time elapsed: 2.256s\r\nDEBUG [2015-06-30 23:05:10] Task Piwik\\Plugins\\ScheduledReports\\API.sendReport_14 is scheduled to run again for 2015-07-01.\r\nINFO [2015-06-30 23:05:10] Scheduler: executing task Piwik\\Plugins\\ScheduledReports\\API.sendReport_14...\r\nDEBUG [2015-06-30 23:05:10] Running task Piwik\\Plugins\\ScheduledReports\\API.sendReport_14\r\nWARNING [2015-06-30 23:05:12] /export/www/piwik/html/libs/Zend/Validate/Hostname.php(549): Deprecated - iconv_set_encoding(): Use of iconv.internal_encoding is deprecated - Piwik 2.13.1 - Please report this message in the Piwik forums: [forum.piwik.org] (please do a search first as it might have been reported already)\r\nWARNING [2015-06-30 23:05:12] /export/www/piwik/html/libs/Zend/Validate/Hostname.php(645): Deprecated - iconv_set_encoding(): Use of iconv.internal_encoding is deprecated - Piwik 2.13.1 - Please report this message in the Piwik forums: [forum.piwik.org] (please do a search first as it might have been reported already)\r\nINFO [2015-06-30 23:05:12] Scheduler: finished. Time elapsed: 1.866s\r\nDEBUG [2015-06-30 23:05:12] Task Piwik\\Plugins\\ScheduledReports\\API.sendReport_15 is scheduled to run again for 2015-07-01.\r\nINFO [2015-06-30 23:05:12] Scheduler: executing task Piwik\\Plugins\\ScheduledReports\\API.sendReport_15...\r\nDEBUG [2015-06-30 23:05:12] Running task Piwik\\Plugins\\ScheduledReports\\API.sendReport_15\r\nWARNING [2015-06-30 23:05:14] /export/www/piwik/html/libs/Zend/Validate/Hostname.php(549): Deprecated - iconv_set_encoding(): Use of iconv.internal_encoding is deprecated - Piwik 2.13.1 - Please report this message in the Piwik forums: [forum.piwik.org] (please do a search first as it might have been reported already)\r\nWARNING [2015-06-30 23:05:14] /export/www/piwik/html/libs/Zend/Validate/Hostname.php(645): Deprecated - iconv_set_encoding(): Use of iconv.internal_encoding is deprecated - Piwik 2.13.1 - Please report this message in the Piwik forums: [forum.piwik.org] (please do a search first as it might have been reported already)\r\nINFO [2015-06-30 23:05:14] Scheduler: finished. Time elapsed: 1.965s\r\nDEBUG [2015-06-30 23:05:14] Executing tasks with priority 7:\r\nDEBUG [2015-06-30 23:05:14] Executing tasks with priority 8:\r\nDEBUG [2015-06-30 23:05:14] Executing tasks with priority 9:\r\nDEBUG [2015-06-30 23:05:14] Executing tasks with priority 10:\r\nDEBUG [2015-06-30 23:05:14] Executing tasks with priority 11:\r\nDEBUG [2015-06-30 23:05:14] Executing tasks with priority 12:\r\nINFO [2015-06-30 23:05:14] done\r\n\r\nSo there are no errors reported. Are the Id's mentioned in the logs the same id's as the 'idreport' column in the piwik_report table? If so, 'my' report has report-id 11. The report is scheduled to run daily and 'sent to me' is enabled. How can I debug this issue? "},"comment":{"url":"https://api.github.com/repos/piwik/piwik/issues/comments/121668229","html_url":"https://github.com/piwik/piwik/issues/8320#issuecomment-121668229","issue_url":"https://api.github.com/repos/piwik/piwik/issues/8320","id":121668229,"user":{"login":"mattab","id":466765,"avatar_url":"https://avatars.githubusercontent.com/u/466765?v=3","gravatar_id":"","url":"https://api.github.com/users/mattab","html_url":"https://github.com/mattab","followers_url":"https://api.github.com/users/mattab/followers","following_url":"https://api.github.com/users/mattab/following{/other_user}","gists_url":"https://api.github.com/users/mattab/gists{/gist_id}","starred_url":"https://api.github.com/users/mattab/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mattab/subscriptions","organizations_url":"https://api.github.com/users/mattab/orgs","repos_url":"https://api.github.com/users/mattab/repos","events_url":"https://api.github.com/users/mattab/events{/privacy}","received_events_url":"https://api.github.com/users/mattab/received_events","type":"User","site_admin":false},"created_at":"2015-07-15T16:26:29Z","updated_at":"2015-07-15T16:26:29Z","body":"Hi @rmoesbergen \r\n\r\nthx for the report. Can you please post your information in the other ticket that is duplicate of your issue: #8092 - cheers"}}