One of the most powerful features of Dradis is our 1-click reporting engine.
When you are working with a custom report template, there will come a time when you need to do some debugging to understand how things are working or why you are not getting the results you expected.
In this guide you will learn how to debug issues with your template and how to identify problems with your content that are causing your template to fail.
This is a template debugging and troubleshooting guide. It covers:
Missing content
If you're not getting an error message but instead missing content or having trouble getting tool output exporting into your reports, check to make sure your Mappings Manager is correctly configured for your Report template.
Export stalling
After you click Export, the on-screen log should update until "Worker process completed" appears. If the on-screen log isn't updating with any progress, you may need to clear the export queue.
Click the cogwheel icon and Background Jobs or manually head to the pro/admin/jobs page in your browser.
In the Queues tab, you'll see where there are pending jobs.
In the Failed Jobs tab, you can see any failed or stuck jobs.
To kill any stuck or failed jobs, run the following in the console as dradispro:
$ cd /opt/dradispro/dradispro/current
$ ps aux | grep resque
You'll see output including a line like:
dradisp+ 12838 66.0 6.3 358416 130092 ? Rl 20:08 0:00 resque-1.27.4:
Processing dradis_export since 1547687319 [ActiveJob::QueueAdapters::ResqueAdapter::JobWrapper]
Then kill -9 the resque process as many times as necessary until it shows as "Waiting for dradis_export, dradis_upload, dradis_migrate" like the output below when you run the grep command again:
dradisp+ 8747 0.0 5.5 324868 114892 ? Sl Jan14 0:24 resque-1.27.4:
Waiting for dradis_export,dradis_upload,dradis_migrate,dradis_project
Finally, test the export in the web app again. If that doesn't do the trick, try the command line export instructions.
If you don't have a report template yet and want to create your first one, I'd recommend these resources:
Next help article: Common problems →
Your email is kept private. We don't do the spam thing.