Skip to content

[Bug]: Upgrade to 0.2.3 tries to reingest default docs and gets stuck at onboarding; Then, cannot ingest knowledge after factory resetΒ #860

@aimurphy

Description

@aimurphy

OpenRAG Version

0.2.2 > 0.2.3

Deployment Method

Other

Operating System

unknown

Python Version

unknown

Affected Area

Ingestion (document processing, upload, Docling)

Bug Description

Submitted on behalf of a user:

User performed an update and container restart using the TUI.
After the update, the OpenRAG web UI got stuck at onboarding because it was trying to reingest the default documents that are already present in the OpenSearch index.

Steps to Reproduce

  1. Install 0.2.2 and make sure the default docs are ingested.
  2. Upgrade to 0.2.3 using the TUI.
  3. Start and launch OpenRAG.
  4. Proceed through onboarding.
  5. Once you reach embedding provider setup, it fails when it tries to reingest the default documents.

Additional test, after the above: Do a factory reset.
Now you should be able to get through Onboarding, however, the ability to ingest knowledge is bugged, and inspecting the knowledge base shows that the default docs (in ~/.openrag/documents/) weren't reingested after the reset, even though the index was wiped out.

Expected Behavior

An upgrade should either delete and reingest the default docs, or it should skip if they already exist.

Actual Behavior

The user got stuck at onboarding because it couldn't reingest the default docs

Relevant Logs

Screenshots

will ask user to share the screenshot

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

Labels

bugπŸ”΄ Something isn't working.

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions