[Question]: Unable to upload a directory
Self Checks
- [x] I have searched for existing issues search for existing issues, including closed ones.
- [x] I confirm that I am using English to submit this report (Language Policy).
- [x] Non-english title submitions will be closed directly ( 非英文标题的提交将会被直接关闭 ) (Language Policy).
- [x] Please do not modify this template :) and fill in all the required fields.
Describe your problem
Version: 0.17.2 Platform: Win 11 + Docker desktop How to reproduce the problem:
- in Knowledge Base/Dataset, click "add file"
- click on "Directory"
3. drag and drop my forder, and file name are listed correctly
- click "OK", then the upload window disappeared and no file is uploaded, dataset is still blank
Hello @stevenhe1988! I'm here to help you with any bugs, questions, or contributions. Let's take a look at the issue you're experiencing together.
I found two similar closed issues that might be relevant to your problem:
-
[Question]: Batch uploading files in the knowledge base is unresponsive - The suggested solution was to upload files in batches via the API instead of the front end, as it is usually recommended for handling large uploads [1].
-
[Bug]: 创建知识库时无法上传文件夹 - The suggested solution was that this feature is not supported yet [2].
Additionally, there are known limitations for directory uploads in RAGFlow. For demo.ragflow.io, the maximum total file size per upload is 10 MB, with each file not exceeding 10 MB and a maximum of 128 files allowed per account [3][4].
The function responsible for handling the 'OK' button action during directory uploads is the onSubmit function within the UploadAgentForm component. This function calls the onOk callback with the form data and hides the modal if the callback returns a truthy value [5].
These insights might help you troubleshoot the issue further.
To continue talking to Dosu, mention @dosu.
Help Dosu learn! Give it feedback: Great Response | Irrelevant Answer | Incorrect Sources | Too Verbose | Hallucination | Bug Report | Other
Upgrade to nightly.
I'm on 0.20.5 and I don't even have this "Directory" upload option - why?