Skip to content

[Bug]: when a document fails to ingest successfully, it disappears from knowledge #851

@philnash

Description

@philnash

OpenRAG Version

0.2.2

Deployment Method

uvx (uvx openrag)

Operating System

macOS 26.2

Python Version

3.13.11

Affected Area

Ingestion (document processing, upload, Docling)

Bug Description

When ingesting documents and they fail, they appear in the knowledge section as failed and you can inspect the error that caused the failure.

However, if you refresh, or otherwise leave and return to, the page those documents and the reasons for failure are gone making it hard to see which documents you need to re-ingest or what went wrong so that you can try to fix it.

Steps to Reproduce

  1. Go to Knowledge
  2. Choose to ingest a whole folder
  3. Ingest a reasonable number of files that will cause a failure (for me, ingesting a reasonable number of files results in failures)
  4. Refresh the knowledge page once the failures have happened

Expected Behavior

I should see the failed documents and the reasons why they failed.

Actual Behavior

The documents disappear leaving only the successfully ingested documents.

Relevant Logs

Screenshots

No response

Additional Context

No response

Checklist

  • I have searched existing issues to ensure this bug hasn't been reported before.
  • I have provided all the requested information.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions