Skip to content

Error querying the database: Error code 11: The database disk image is malformed #2040

@jekson0702

Description

@jekson0702

Describe the bug

After restarting the computer, the following error started appearing when launching Device Farm.

A full reinstallation of Appium, including all drivers and plugins, did not resolve the issue.

FULL LOG

[device-farm-main] ****** UnhandledRejection ******
[device-farm-main] Reason:
PrismaClientUnknownRequestError:
Invalid prisma.session.updateMany() invocation:

Error in connector: Error querying the database: Error code 11: The database disk image is malformed
at $n.handleRequestError (/Users/companyautotests/.appium/node_modules/appium-device-farm/node_modules/@prisma/client/runtime/library.js:121:7505)
at $n.handleAndLogRequestError (/Users/companyautotests/.appium/node_modules/appium-device-farm/node_modules/@prisma/client/runtime/library.js:121:6623)
at $n.request (/Users/companyautotests/.appium/node_modules/appium-device-farm/node_modules/@prisma/client/runtime/library.js:121:6307)
at l (/Users/companyautotests/.appium/node_modules/appium-device-farm/node_modules/@prisma/client/runtime/library.js:130:9633) {
clientVersion: '5.22.0'
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    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