Running into errors when you upload tool data to your project? The first step should be to run the upload through the console so that you can get more clues as to the underlying problem. This guide covers Docker deployments. Running Dradis Pro on a VM instead? See the VM version of this guide.
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.
Upload stalling
After you upload a file, the on-screen log should update until "Worker process completed" appears. If the on-screen log isn't updating with any progress, the resque container may need a restart:
docker compose restart resque
Test the upload in the web app again. If that doesn't do the trick, try the command line upload instructions below.
We're going to use Thor to help us run this upload from the command line. To see all of the commands available within Thor, run:
docker exec -it app bundle exec thor -T
The output:
Find the command in the output above that corresponds with the type of file you're uploading. Working with a Nessus file? You're going to want thor dradis:plugins:nessus:upload. If you're working with a Burp file, use thor dradis:plugins:burp:upload instead.
app container:
docker cp /path/to/FILENAME app:/tmp/FILENAME
docker exec -it -e PROJECT_ID=XXXX app bundle exec thor dradis:plugins:PLUGIN_NAME:upload /tmp/FILENAME
Make sure to make the following subsitutions:
XXXX abovePLUGIN_NAME above so that you match the Thor command we just looked upFILENAME abovedocker compose restart resque
app container:
docker cp /path/to/qualys.xml app:/tmp/qualys.xml
docker exec -it -e PROJECT_ID=XXXX app bundle exec thor dradis:plugins:qualys:upload /tmp/qualys.xml
Make sure to substitute your project ID for XXXX above.
If your upload fails with a :length error, you will see a message like the following:
I, [2016-12-30T04:31:50.316542 #16278] INFO -- : => Creating new issue (plugin_id: 10107)
E, [2016-12-30T04:31:50.329825 #16278] ERROR -- : Trying to rescue from a :length error
This error is caused by an entry in your tool upload that is bigger than what our database column allows for. To resolve this error:
:length error and inspect it. In the example above, we would open the XML file and inspect it for an Issue with plugin_id: 10107Next help article: My report isn't exporting! →
Loading form...
Your email is kept private. We don't do the spam thing.