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

The report file wasn't found in tmp/assets/HTML Email Report - 6.2014-10-23.1009.en.html #6530

Closed
mattab opened this issue Oct 27, 2014 · 2 comments
Labels
Bug For errors / faults / flaws / inconsistencies etc. worksforme The issue cannot be reproduced and things work as intended.
Milestone

Comments

@mattab
Copy link
Member

mattab commented Oct 27, 2014

The goal of this issue is to understand how this bug can occur and prevent it from occurring again in the future.

task,output
PiwikPluginsScheduledReportsAPI.sendReport_6,ERROR: The report file wasn't found in /home/piwik/piwik/tmp/assets/HTML Email Report - 6.2014-10-23.1009.en.html 
PiwikPluginsScheduledReportsAPI.sendReport_9,Time elapsed: 35.626s

Notes:

  • Where/when this bug occurs
    • triggered in Scheduled Tasks: when the report is being sent somehow the HTML file has already been deleted
    • this bug seems to be randomly occurring
  • Follows up Warning: fread(): Length parameter must be greater than 0 in plugins/ScheduledReports/API.php on line 519  #6454
  • How do we prevent the error in the future?
    • eg. maybe a concurrent request is somehow deleting the tmp/ folder just before the report was sent, and this could be removed?
    • eg. When a scheduled report fails to send, maybe we could re-schedule it automatically once instead of failing?
    • instead of failing and throw an exception maybe we log as ERROR or WARN instead?
@mattab mattab added the Bug For errors / faults / flaws / inconsistencies etc. label Oct 27, 2014
@mattab mattab added this to the Short term milestone Nov 3, 2014
@mattab mattab added the Major Indicates the severity or impact or benefit of an issue is much higher than normal but not critical. label Nov 3, 2014
@mattab mattab removed the Major Indicates the severity or impact or benefit of an issue is much higher than normal but not critical. label Mar 19, 2015
@mattab
Copy link
Member Author

mattab commented Mar 19, 2015

I haven't heard recent reports about this one, so decreasing priority

@mattab mattab modified the milestones: Mid term, Short term Mar 19, 2015
@mattab
Copy link
Member Author

mattab commented Sep 11, 2015

I still haven't heard recent reports about this one, so closing

@mattab mattab closed this as completed Sep 11, 2015
@mattab mattab added the worksforme The issue cannot be reproduced and things work as intended. label Sep 11, 2015
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. worksforme The issue cannot be reproduced and things work as intended.
Projects
None yet
Development

No branches or pull requests

1 participant