spacedriveapp / spacedriveapp/spacebot
failed to create redb
Open
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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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