-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Failed upgrading database from 5.3.2.1 to 6.0.0 on Gradle #2797
Comments
As documented in the release notes there are breaking changes in the database schema and the new release won't work with Oracle, your "expected behaviour" is a false assumption |
@mprins Thank you for your comment. I've confirmed and accepted what breaking changes are. I use this tool in my CI/CD pipeline to find vulnerabilities as soon as possible. Thanks for the great tool! |
In most cases - minor database updates are made and are backward compatabile. Unfortunately, in this case we had to make significant change. The only resolution would be to run dependency-check's purge command and then run an update and rebuild the database. |
In addition - the changes made to how the ecosystem is tracked on the CPE entries was completely revamped and would be impossible to retrofit onto an existing database. |
Gradle users - please upgrade to 6.0.0.1. |
Describe the bug
Failed upgrading while running dependencyCheckUpdate Gradle task.
It leaves "resource data/upgrade_4.2.sql not found."
Version of dependency-check used
Log file
https://gist.github.com/sekido/70024fbc9a9592c522e1c24f40eb1713
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Complete upgrade database and succeed running gradle task.
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: