spacedriveapp / spacedriveapp/spacebot

failed to create redb

Open
#215 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Rust
Stars
2.4k
Forks
367
PR merge metrics
No merged PRs in 30d

Description

When I start the app, it displays

failed to create redb at: /data/agents/main/data/config.redb

    1: Database already open. Cannot acquire lock.

I restarted the container using docker restart xxx, so this might be caused by an uncleared lock.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The reported entry point is app startup, which attempts to create /data/agents/main/data/config.redb after a Docker restart. Reproduce that restart sequence and verify that startup completes without the “Database already open” error; the payload names no source file or test, so locating the lock handling will require project investigation.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker
Domain
databases, devops
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.