tinyhumansai/openhuman · error
DB not yet created (first ingest will initialise it): {}
Error message
DB not yet created (first ingest will initialise it): {} What it means
Doctor memory-tree check: <workspace>/memory_tree/chunks.db does not exist. This is a warn by design — the SQLite store is created lazily on first memory ingest — so on a fresh workspace it is expected. On an established install it means the memory tree has never been written (no ingest ran, or memory is pointed elsewhere).
Source
Thrown at src/openhuman/platform/doctor/core.rs:817
.to_string_lossy()
.into_owned();
let shm = db_path.with_file_name(format!("{base_name}-shm"));
let wal = db_path.with_file_name(format!("{base_name}-wal"));
for sidecar in [&shm, &wal] {
if sidecar.exists() {
items.push(DiagnosticItem::warn(
cat,
format!(
"stale SQLite side-file present (may indicate unclean shutdown): {}",
sidecar.display()
),
));
}
}
// ── File existence ──────────────────────────────────────────────
if !db_path.exists() {
items.push(DiagnosticItem::warn(
cat,
format!(
"DB not yet created (first ingest will initialise it): {}",
db_path.display()
),
));
return;
}
// ── Probe connection ─────────────────────────────────────────────
match tinymemory_core::store::chunks::store::with_connection(config, |conn| {
let n: i64 = conn.query_row("SELECT COUNT(*) FROM mem_tree_chunks", [], |r| r.get(0))?;
Ok(n)
}) {
Ok(count) => {
items.push(DiagnosticItem::ok(
cat,
format!("DB accessible at {} ({count} chunks)", db_path.display()),View on GitHub (pinned to 7491200858)
Solutions
- Trigger one memory-ingesting action and re-run doctor to confirm the file appears
- Verify workspace_dir and memory settings point at the intended location if data was expected
- No action needed on a brand-new install
Defensive patterns
Strategy: validation
When it happens
Trigger: Thrown at src/openhuman/platform/doctor/core.rs:817 when the library encounters an invalid state.
Common situations: See trigger scenarios.
AI-assisted analysis of tinyhumansai/openhuman@7491200858 (2026-08-17).
Data as JSON: /api/errors/bec2804672f0a754.
Report an issue: GitHub.