Upgrading to DefectDojo Version 2.41.x
No special instructions.
When you deploy a vanilla docker compose, it will create a persistent volume for your Postgres database. As long as your volume is there, you should not lose any data.
latest
, then you need to pre pull the latest
from
DockerHub to update.The generic upgrade method for docker compose are as follows:
Pull the latest version
docker pull defectdojo/defectdojo-django:latest
docker pull defectdojo/defectdojo-nginx:latest
If you would like to use a version other than the latest, specify the version (tag) you want to upgrade to:
docker pull defectdojo/defectdojo-django:1.10.2
docker pull defectdojo/defectdojo-nginx:1.10.2
If you would like to use alpine based images, you specify the version (tag) you want to upgrade to:
docker pull defectdojo/defectdojo-django:1.10.2-alpine
docker pull defectdojo/defectdojo-nginx:1.10.2-alpine
Go to the directory where your docker-compose.yml file lives
Stop DefectDojo: ./dc-stop.sh
Re-start DefectDojo, allowing for container recreation:
./dc-up-d.sh
Database migrations will be run automatically by the initializer.
Check the output via docker compose logs initializer
or relevant k8s command
If you have the initializer disabled (or if you want to be on the
safe side), run the migration command:
docker compose exec uwsgi /bin/bash -c "python manage.py migrate"
If you build your images locally and do not use the ones from DockerHub, the instructions are the same, with the caveat that you must build your images first.
Pull the latest DefectDojo changes
git fetch
git pull
git merge origin/master
Then replace the first step of the above generic upgrade method for docker compose with: docker compose build
If you have installed DefectDojo on “iron” and wish to upgrade the installation, please see the instructions in the repo.
No special instructions.
Breaking Change for Postgres 12.
No special instructions.
Breaking Change for HELM deployments
Breaking Change for HELM deployments and MySQL / RabbitMQ users
Breaking Change for HELM deployments with PostgreSQL
Integrity checker announced
Breaking Change for AWS_Scout2.
breaking change
Breaking change for Removal of OpenAPI 2.0 Swagger
breaking change
Breaking Change for Auditlog.
No special instructions.
No special instructions.
No special instructions.
No special instructions.
No special instructions.
No special instructions.
breaking change
No special instructions.
No special instructions.
No special instructions.
breaking change
instructions for helm chart
No special instructions.
No special instructions.
No special instructions.
instructions for helm chart and others
breaking change
breaking change
breaking change for APIv2
breaking changes
breaking change
No special instructions.
legacy authorization removed
security Release
No special instructions.
No special instructions.
breaking changes
hashcode calculation logic has changed
hashcode calculation logic has changed
hashcode calculation logic has changed
security release
security release
security release + breaking changes
security release
fix buildwatson create_endpoint_status
multiple instructions
multiple instructions
multiple instructions
multiple instructions
multiple instructions
multiple instructions
multiple instructions