Skip to content

General issue : There was no upgrade path to the target dbscheme #12331

@shashwattrivedi

Description

@shashwattrivedi

Running quick query on CodeQL VS Extension gives There was no upgrade path to the target dbscheme

I have downloaded CodeQL database from LGTM portal.
In VSCode CodeQL Extension, added database from the archive.

Ran CodeQL: Quick Query

There was no upgrade path to the target dbscheme
Failed to run query: There was no upgrade path to the target dbscheme.

I have tried running codeql upgrade database also in cli.

However, if I try CodeQL: Upgrade Current Database, it failes

Internal error. (codeQL.upgradeCurrentDatabase)
Error: Internal error.
    at handleResponse (c:\Users\<>\.vscode\extensions\github.vscode-codeql-1.7.10\out\extension.js:4399:40)
    at processMessageQueue (c:\Users\<>\.vscode\extensions\github.vscode-codeql-1.7.10\out\extension.js:4222:13)
    at Immediate.<anonymous> (c:\Users\<>\.vscode\extensions\github.vscode-codeql-1.7.10\out\extension.js:4208:11)
    at processImmediate (node:internal/timers:466:21)

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions