You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I run the Dependency Track on latest version that is 4.12.3 - The audit vulnerability section is showing no data but the vulnerability count is visible where as if I run it on 4.11.x then all the vulnerabilities data and count both are visible.
tech-surajrk
changed the title
Need help in making the MySQL DB changes
Need help in making the Config or Database change
Feb 10, 2025
tech-surajrk
changed the title
Need help in making the Config or Database change
Audit Vulnerability showing no data in latest version of Dependency Track
Feb 10, 2025
While checking the API Server logs I am getting the below Error -
2025-02-11 12:09:38,862 INFO [UpgradeExecutor] Upgrade class org.dependencytrack.upgrade.v4110.v4110Updater about to run.
2025-02-11 12:09:38,863 INFO [v4110Updater] Dropping foreign key constraint from "VULNERABILITY"."CWE"
2025-02-11 12:09:38,888 ERROR [UpgradeExecutor] Error in executing upgrade class: org.dependencytrack.upgrade.v4110.v4110Updater
java.sql.SQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'CONSTRAINT IF EXISTS "VULNERABILITY_FK1"' at line 1
Also I check the mysql database - There is no key named as "VULNERABILITY_FK1" in Vulnerability table
Current Behavior
When I run the Dependency Track on latest version that is 4.12.3 - The audit vulnerability section is showing no data but the vulnerability count is visible where as if I run it on 4.11.x then all the vulnerabilities data and count both are visible.
Kindly guide me to resolve this issue
Dependency-Track Version
4.12.3
Dependency-Track Distribution
Container Image
Database Server
MySQL
Database Server Version
No response
Browser
Google Chrome
Checklist
The text was updated successfully, but these errors were encountered: