Skip to content

Self-hosted server (linux-x64 v0.0.6): documents permanently stuck at status: "queued" — ingestion worker never starts due to Rivet WASM load failure #1455

Description

@Tomayachi

Environment:

Platform: linux-x64 (Manjaro, AMD Ryzen)
supermemory-server version: 0.0.6
LLM provider: OpenAI-compatible endpoint (LM Studio, local)

Startup error:

error: Cannot find module '@rivetkit/rivetkit-wasm' from '/$bunfs/root/supermemory-server'
GET - /api/rivet/metadata failed

Repro steps:

Fresh install via curl -fsSL https://supermemory.ai/install | bash
Start server, confirm it's listening on :6767
Submit the exact example from the self-hosting quickstart docs:
bash
curl -X POST http://localhost:6767/v3/documents
-H "Authorization: Bearer sm_..."
-H "Content-Type: application/json"
-d '{"content": "supermemory is running locally!"}'
Response: {"id":"...","status":"queued"}
Poll GET /v3/documents/ repeatedly — status never advances past queued, though dreamingStatus shows "done"
/v3/search for the ingested content returns {"results":[],"total":0}
Server logs show no activity at all when a document is submitted — no dequeue attempt, no error per-job, just the one startup Rivet error and then silence

Expected: document processes to a terminal status (e.g. done/processed) and becomes searchable.

Suspected cause: the ingestion queue worker appears to depend on Rivet (@rivetkit/rivetkit-wasm), and since that module fails to load in the compiled binary at startup, the worker loop never initializes — while the HTTP API server itself stays up and accepts requests normally, masking the failure until you check document status.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions