Skip to content

v1.5.0

Latest
Compare
Choose a tag to compare
@ldurnez ldurnez released this 10 Dec 23:23
· 1 commit to master since this release

Updates

Bump to 1.5.0 OpenCVE version. Please read carefully the change log of the 1.5.0 OpenCVE release.
This version brings the support of the new NVD endpoints.

How to upgrade

# Check if there is no updates ongoing on the celery_worker:
$ docker logs celery_worker

# If or when there is no update ongoing:
$ docker stop celery_beat celery_worker webserver

# Update opencve-docker repository:
$ git pull --prune

# Check that you are on the correct version:
$ grep OPENCVE_VERSION .env
OPENCVE_VERSION=1.5.0

# Build the new docker images:
$ docker-compose build

# Start the webserser:
$ docker-compose up -d webserver

# Ensure you have the version 1.5.0:
$ docker exec -it webserver opencve --version
opencve, version 1.5.0

# Backup your database and run the upgrade-db command to update the database schema:
$ docker exec -it webserver opencve upgrade-db

# Run the NVD migration, it takes some time to iterate on all the NVD indexes:
$ docker exec -it webserver opencve migrate-nvd

# When the migration is done, you are good to go, start the celery_worker & the beat:
$ docker-compose up -d celery_worker celery_beat