Uploaded file shows: File not found #3483

Closed
opened 2026-02-21 17:58:23 -05:00 by yindo · 0 comments
Owner

Originally created by @kokojacket on GitHub (May 20, 2024).

Originally assigned to: @JohnJyong on GitHub.

Self Checks

  • This is only for bug report, if you would like to ask a question, please head to Discussions.
  • I have searched for existing issues search for existing issues, including closed ones.
  • I confirm that I am using English to submit this report (我已阅读并同意 Language Policy).
  • Please do not modify this template :) and fill in all the required fields.

Dify version

0.6.8

Cloud or Self Hosted

Self Hosted (Docker)

Steps to reproduce

I am preparing to build a knowledge base and uploaded a txt file, about 2KB. In the last step, File not found__ was displayed.
image
日志:
[2024-05-20 09:27:34,271: ERROR/MainProcess] consume document failed 2024-05-20 17:27:34 Traceback (most recent call last): 2024-05-20 17:27:34 File "/app/api/core/indexing_runner.py", line 64, in run 2024-05-20 17:27:34 text_docs = self._extract(index_processor, dataset_document, processing_rule.to_dict()) 2024-05-20 17:27:34 File "/app/api/core/indexing_runner.py", line 362, in _extract 2024-05-20 17:27:34 text_docs = index_processor.extract(extract_setting, process_rule_mode=process_rule['mode']) 2024-05-20 17:27:34 File "/app/api/core/rag/index_processor/processor/paragraph_index_processor.py", line 21, in extract 2024-05-20 17:27:34 text_docs = ExtractProcessor.extract(extract_setting=extract_setting, 2024-05-20 17:27:34 File "/app/api/core/rag/extractor/extract_processor.py", line 81, in extract 2024-05-20 17:27:34 storage.download(upload_file.key, file_path) 2024-05-20 17:27:34 File "/app/api/extensions/ext_storage.py", line 54, in download 2024-05-20 17:27:34 self.storage_runner.download(filename, target_filepath) 2024-05-20 17:27:34 File "/app/api/extensions/storage/local_storage.py", line 70, in download 2024-05-20 17:27:34 raise FileNotFoundError("File not found") 2024-05-20 17:27:34 FileNotFoundError: File not found

✔️ Expected Behavior

No response

Actual Behavior

No response

Originally created by @kokojacket on GitHub (May 20, 2024). Originally assigned to: @JohnJyong on GitHub. ### Self Checks - [X] This is only for bug report, if you would like to ask a question, please head to [Discussions](https://github.com/langgenius/dify/discussions/categories/general). - [X] I have searched for existing issues [search for existing issues](https://github.com/langgenius/dify/issues), including closed ones. - [X] I confirm that I am using English to submit this report (我已阅读并同意 [Language Policy](https://github.com/langgenius/dify/issues/1542)). - [X] Please do not modify this template :) and fill in all the required fields. ### Dify version 0.6.8 ### Cloud or Self Hosted Self Hosted (Docker) ### Steps to reproduce I am preparing to build a knowledge base and uploaded a txt file, about 2KB. In the last step, File not found__ was displayed. ![image](https://github.com/langgenius/dify/assets/74887370/bea383ae-5daf-488c-9f64-391ee7cc66e1) 日志: ` [2024-05-20 09:27:34,271: ERROR/MainProcess] consume document failed 2024-05-20 17:27:34 Traceback (most recent call last): 2024-05-20 17:27:34 File "/app/api/core/indexing_runner.py", line 64, in run 2024-05-20 17:27:34 text_docs = self._extract(index_processor, dataset_document, processing_rule.to_dict()) 2024-05-20 17:27:34 File "/app/api/core/indexing_runner.py", line 362, in _extract 2024-05-20 17:27:34 text_docs = index_processor.extract(extract_setting, process_rule_mode=process_rule['mode']) 2024-05-20 17:27:34 File "/app/api/core/rag/index_processor/processor/paragraph_index_processor.py", line 21, in extract 2024-05-20 17:27:34 text_docs = ExtractProcessor.extract(extract_setting=extract_setting, 2024-05-20 17:27:34 File "/app/api/core/rag/extractor/extract_processor.py", line 81, in extract 2024-05-20 17:27:34 storage.download(upload_file.key, file_path) 2024-05-20 17:27:34 File "/app/api/extensions/ext_storage.py", line 54, in download 2024-05-20 17:27:34 self.storage_runner.download(filename, target_filepath) 2024-05-20 17:27:34 File "/app/api/extensions/storage/local_storage.py", line 70, in download 2024-05-20 17:27:34 raise FileNotFoundError("File not found") 2024-05-20 17:27:34 FileNotFoundError: File not found` ### ✔️ Expected Behavior _No response_ ### ❌ Actual Behavior _No response_
yindo added the 🐞 bug label 2026-02-21 17:58:23 -05:00
yindo closed this issue 2026-02-21 17:58:23 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify#3483