We are using TestRail 22.214.171.12452. The report generation has stopped working. The background task is installed and running. When I try to initiate a report, a new entry appears, with the busy activity icon. The activity icon oscillates back and forth forever, and the report never completes. No entry is made in the reports directory on the server. What can I do to diagnose this further?
Thanks for your posting. Can you please double-check that the background task is triggered regularly (e.g. every minute)? You can check this under Administration > Overview. Does this happen with every report you create or just a few reports?
Status is Idle (not locked, 0 messages). Last run 5min ago.
It happens for all reports that I’ve tried, including Plan (Summary) and Summary for Reference. It happens on multiple projects. It looks like this problem has existed since April, as the last report was saved on 22-Apr.
Regular email messages, such as assigning tasks to users, are being sent OK. It’s just the reports that are not working.
Thanks for the additional details. This may be a memory limit related issue and there are two ways to troubleshoot this. Depending on your system (Linux vs. Windows) and the way you trigger the background task (e.g. cron), it is usually possible to see memory related errors in the trigger logs (e.g. cron). Another way to troubleshoot this is to enable TestRail’s debug logging:
We can also recommend disabling or increasing the memory limit (especially for the background task):
Increasing the memory_limit from 128M to 512M has solved the problem. Thank you!
That’s great to hear, Phil, and thanks for the update