XRAY: Failed to get db migration parameters: Failed to check if mongo migration is needed

XRAY: Failed to get db migration parameters: Failed to check if mongo migration is needed

AuthorFullName__c
Lawrence Fung
articleNumber
000005235
ft:sourceType
Salesforce
FirstPublishedDate
2022-03-31T09:52:09Z
lastModifiedDate
2022-03-31
VersionNumber
3

When starting up Xray, you may see the following error if there is a database misconfiguration.

2021-09-29T09:22:27.358Z [jfxr ] [ERROR] [45697710ba70780c] [migrate:46                    ] [main                ] Failed to get db migration parameters: Failed to check if mongo migration is needed
 --- at /go/src/jfrog.com/xray/internal/migration/db/migrate.go:70 (GetMigrationDbs) ---
Caused by: failed to get postgres db migration version
 --- at /go/src/jfrog.com/xray/internal/migration/db/migrate.go:103 (IsMongoMigrationNeeded) ---
Caused by: Driver 'postgresql' not found.