-
Notifications
You must be signed in to change notification settings - Fork 4.5k
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
Uploaded file shows: File not found #4531
Comments
The
By following these steps, you should be able to identify and correct the issue causing the
|
seems your api service and worker service have different storage setting , pls check the variable |
Thank you very much, it is indeed my deployment that has a problem. __ |
Self Checks
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.
日志:
[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
The text was updated successfully, but these errors were encountered: