Skip to content

dim.db no longer writable after creating admin account #608

@donmor

Description

@donmor

Describe the bug
dim.db get locked and was no longer writable after creating admin account.

To Reproduce
Steps to reproduce the behavior:

  1. Build dim from latest source (patched by Bump sqlx to 0.7.3 #597)
  2. Run dim and create the admin account
  3. Add a library
  4. See ERROR request{method=POST uri=/api/v1/library version=HTTP/1.1}: dim_web::routes::library: Error committing transaction err=Database(SqliteError { code: 5, message: "database is locked" }) in console

Device and browser including versions:
Chromium 102.0.5005.63 (on Linux / loongarch64 PC)

Additional context
Any operation writing the database gets a 500 response; creating accounts gets 401.
I built dim with this fork(#597), this may affect the behavior of program.

Metadata

Metadata

Assignees

No one assigned

    Labels

    S-needs-triageStatus: Needs triageT-bugSomething isn't working the way it is supposed to

    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