Diffblue upgrade instructions


This page explains how to upgrade to a new release of Diffblue Cover.


  • Ensure that the Diffblue service is installed and running on the target.
  • There is 5 GB of free storage space on the target.
  • You should also ensure you have the following files from the new installation:
    • installation instructions.
    • diffblue.sha256.
    • diffblue.tar.gz.
    • install-diffblue.py.


  1. Copy the latest version of diffblue.tar.gz and install-diffblue.py to your existing installed system.

  2. Unpack the tar file. For example:

    tar -xvf release-1.10.0.tar

  3. Stop the Diffblue service:

    sudo service diffblue stop

  4. Ensure that no Diffblue services are running:

    docker ps

    You should see no running containers. If there are containers still running, try to stop them again. If that fails, please contact customer support.

  5. Run the install script:

    sudo python install-diffblue.py

  6. You might receive this error:

     Starting Diffblue server.
     ---- ERROR: The start of the Diffblue server has FAILED. Details: Warning: diffblue.service changed on disk. Run 'systemctl daemon-reload' to reload units.

    If you do, reload the Diffblue service using systemctl:

    sudo systemctl daemon-reload

  7. Check the application server logs to verify that the migration was successfull:

    sudo docker logs -f diffblue_application-server_1

    You should see a response like this:

     yarn run v1.6.0
     $ npm run migrate && node build/server.js
     > diffblue-app-server@0.11.0 migrate /application-server
     [INFO] Processed migration 20180906110503-add-function-foriegn-key-to-job
     [INFO] Processed migration 20180910101850-add-goals-foreign-key-to-line
     [INFO] Processed migration 20180910141333-add-analysis-finished-to-line
     [INFO] Processed migration 20180910142547-add-included-to-line
     [INFO] Done
     info: Log level: debug
     info: Connecting to MongoDB...
     info: Listening on port 8080
     error: Error connecting to RabbitMQ Error: connect ECONNREFUSED
     at Object._errnoException (util.js:992:11)
     at _exceptionWithHostPort (util.js:1014:20)
     at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1186:14)
     error: Retrying in 10 seconds
     info: Connected to MongoDB!
     info: MongoDB connection opened!
     Database connected
     Admin Database connected

    If you see an error, please contact us.

  8. The installation procedure automatically starts the Diffblue service. To check, list the Docker containers again:

    docker ps

results matching ""

    No results matching ""