Skip to content

[Bug]:libreoffice not found #290

Description

@Yukari-Tryhard

Do you need to file an issue?

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

Describe the bug

I installed LibreOffice but the library keep saying that it's not installed.

Steps to reproduce

Download libreoffice from https://www.libreoffice.org/download
Add C:\Program Files\LibreOffice\program to PATH
Open new terminal
Check libre office is installed. Image:

Image

Expected Behavior

LibreOffice on Windows works normally

LightRAG Config Used

Paste your config here

rag.process_document_complete(
file_path=temp_file_path,
output_dir=str(output_dir),
parse_method="auto",
backend="pipeline",
doc_id=caller_doc_id,
file_name=data_item.filename,
)

Logs and screenshots

Alternatively, convert the document to PDF manually.
2026-05-27T07:20:17+0700 | ERROR | lightrag:parse_document:552 | Error during parsing with mineru parser: LibreOffice conversion failed for tmpdmj_xdde_giai_thich_tri_tue_nhan_tao_word.docx. Please ensure LibreOffice is installed:

  • Windows: Download from https://www.libreoffice.org/download/download/
  • macOS: brew install --cask libreoffice
  • Ubuntu/Debian: sudo apt-get install libreoffice
  • CentOS/RHEL: sudo yum install libreoffice
    Alternatively, convert the document to PDF manually.
    2026-05-27T07:20:17+0700 | ERROR | app.api.routes.training:process_training_data:373 | Error processing data item 0: LibreOffice conversion failed for tmpdmj_xdde_giai_thich_tri_tue_nhan_tao_word.docx. Please ensure LibreOffice is installed:
  • Windows: Download from https://www.libreoffice.org/download/download/
  • macOS: brew install --cask libreoffice
  • Ubuntu/Debian: sudo apt-get install libreoffice
  • CentOS/RHEL: sudo yum install libreoffice
    Alternatively, convert the document to PDF manually.

Additional Information

  • LightRAG Version: 1.4.16
  • Operating System: Microsoft Windows 10 Pro 10.0.19045 Build 19045
  • Python Version: 3.13.5
  • LibreOffice 26.2.3
  • Related Issues: None

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions