Skip to content

[Feature Request]: Button/API Endpoint to Restart Document Processing #1380

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
2 tasks done
Caleb68864 opened this issue Apr 15, 2025 · 3 comments
Open
2 tasks done
Labels
enhancement New feature or request

Comments

@Caleb68864
Copy link

Do you need to file a feature request?

  • I have searched the existing feature request and this feature request is not already filed.
  • I believe this is a legitimate feature request, not just a question or bug.

Feature Request Description

Sometimes LightRAG hangs when processing documents.
If I restart the server there is no way to restart processing existing documents.

As a work around I've been send a period "." via the text API.
This tricks LightRAG into scanning the pending documents.
 
It would be nice to have a button in the UI and/or an API end point that can restart documents processing.

Additional Context

No response

@Caleb68864 Caleb68864 added the enhancement New feature or request label Apr 15, 2025
@danielaskdd
Copy link
Collaborator

The web interface already includes a Scan feature that addresses this requirement.

Image

@Caleb68864
Copy link
Author

Caleb68864 commented Apr 16, 2025

If I restart the light rag server and there are documents pending the scan button does not start processing existing documents.
If I add a new document and click the scan button it finds the new document and starts processing the pending documents as well.

I've also run into other times where processing gets stopped or hangs and am not able to restart without a new document.

@danielaskdd
Copy link
Collaborator

I am unable to reproduce the error. However, I can restart the file processing job for all docs with failed or processing status.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants