v1.4.0
Updates
Bump to 1.4.0 OpenCVE version. Please read the change log of the 1.4.0 OpenCVE release.
Added
- Fix typo in PostgreSQL data path
- Upgrade python version from 3.7 to 3.8
- Allow image build from specific repository/branch
Configuration
The following parameters have been added in the opencve.cfg configuration file, please update your configuration file if needed:
- celery_lock_url
- include_analytics
- reports_cleanup_days
- smtp_use_ssl
Please update opencve.cfg if you need to change the default values.
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
# Update your opencve.cfg file with the changes if needed:
$ vi conf/opencve.cfg
# Check that you are on the correct version:
$ grep OPENCVE_VERSION .env
OPENCVE_VERSION=1.4.0
# Build the new docker images:
$ docker-compose build
# Start the webserver & celery_worker:
$ docker-compose up -d webserver celery_worker
# Upgrade the database schema:
$ docker exec -it webserver opencve upgrade-db
# Now you are good to go, you can start the beat:
$ docker-compose up -d celery_beat