mirror of
https://github.com/open-webui/oikb.git
synced 2026-11-05 01:27:25 +00:00
[GH-ISSUE #39] SQLite threading error in daemon mode with multiple sources #23
Labels
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
open-webui/oikb#23
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Lyhtande on GitHub (Jun 8, 2026).
Original GitHub issue: https://github.com/open-webui/oikb/issues/39
Bug Description
When running the oikb daemon with multiple Google Drive sources configured, 4 out of 5 sources fail with a SQLite threading error. Only the first source that completes successfully works; all others fail.
Error Message
Environment
ghcr.io/open-webui/oikb:latest+pip install oikb[gdrive])gdrive:)Configuration (.oikb.yaml)
Health Endpoint Output
Expected Behavior
All 5 sources should sync successfully. Setting
concurrency: 1does not resolve the issue — the daemon appears to run source-level scheduling in parallel threads regardless of the concurrency setting, and the SQLite connection is not thread-safe across them.Workaround
None found so far. Reducing
concurrencyto 1 has no effect on this error.