Operating System: Amazon Linux / Red Hat Enterprise Linux
Confirmation:
I have read and followed all the instructions provided in the README.md.
I am on the latest version of both Open WebUI and Ollama.
I have included the browser console logs.
I have included the Docker container logs.
I have provided the exact steps to reproduce the bug in the "Steps to Reproduce" section below.
Description
I'm encountering an error when trying to create an index in Milvus after uploading documents to OpenWebUI. The collection is successfully created, but the index creation fails.
Reproduction Details
Upload a document (XLS or CSV file) to OpenWebUI
Attempt to create a prompt about the uploaded document
Logs and Screenshots
DEBUG [pymilvus.milvus_client.milvus_client] Created new connection using: 7f116f666a75408580eb200a667b1e27
DEBUG [pymilvus.milvus_client.milvus_client] Successfully created collection: open_webui_c69e46a84c2f4cffc25f529588d460cf61b5f75add2a3aad4a0a47affd0d0e6
ERROR [pymilvus.milvus_client.milvus_client] Failed to create an index on collection: open_webui_c69e46a84c2f4cffc25f529588d460cf61b5f75add2a3aad4a0a47affd0d0e6
ERROR [pymilvus.decorators] RPC error: [create_index], <MilvusException: (code=1100, message=efConstruction out of range: [1, 2147483647]: invalid parameter[expected=valid index params][actual=invalid index params])>, <Time:{'RPC start': '2024-09-23 06:10:04.605969', 'RPC error': '2024-09-23 06:10:04.611462'}>
pymilvus.exceptions.MilvusException: <MilvusException: (code=1100, message=efConstruction out of range: [1, 2147483647]: invalid parameter[expected=valid index params][actual=invalid index params])>
ERROR [pymilvus.milvus_client.milvus_client] Failed to search collection: open_webui_c69e46a84c2f4cffc25f529588d460cf61b5f75add2a3aad4a0a47affd0d0e6
You can see that collection is created but without index on Milvus
Additional Information
The error occurs with all file types
Using default Milvus configuration settings
The collection is successfully created, but the index creation fails
Note
Any assistance or guidance on resolving this issue would be greatly appreciated. Please let me know if you need any additional information.
Originally created by @aouicher on GitHub (Sep 23, 2024).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/5622
# Bug Report
## Installation Method
Docker
## Environment
- **Open WebUI Version:** 0.3.23
- **Operating System:** Amazon Linux / Red Hat Enterprise Linux
**Confirmation:**
- [x] I have read and followed all the instructions provided in the README.md.
- [x] I am on the latest version of both Open WebUI and Ollama.
- [x] I have included the browser console logs.
- [x] I have included the Docker container logs.
- [x] I have provided the exact steps to reproduce the bug in the "Steps to Reproduce" section below.
## Description
I'm encountering an error when trying to create an index in Milvus after uploading documents to OpenWebUI. The collection is successfully created, but the index creation fails.
## Reproduction Details
Upload a document (XLS or CSV file) to OpenWebUI
Attempt to create a prompt about the uploaded document
## Logs and Screenshots
```
DEBUG [pymilvus.milvus_client.milvus_client] Created new connection using: 7f116f666a75408580eb200a667b1e27
DEBUG [pymilvus.milvus_client.milvus_client] Successfully created collection: open_webui_c69e46a84c2f4cffc25f529588d460cf61b5f75add2a3aad4a0a47affd0d0e6
ERROR [pymilvus.milvus_client.milvus_client] Failed to create an index on collection: open_webui_c69e46a84c2f4cffc25f529588d460cf61b5f75add2a3aad4a0a47affd0d0e6
ERROR [pymilvus.decorators] RPC error: [create_index], <MilvusException: (code=1100, message=efConstruction out of range: [1, 2147483647]: invalid parameter[expected=valid index params][actual=invalid index params])>, <Time:{'RPC start': '2024-09-23 06:10:04.605969', 'RPC error': '2024-09-23 06:10:04.611462'}>
pymilvus.exceptions.MilvusException: <MilvusException: (code=1100, message=efConstruction out of range: [1, 2147483647]: invalid parameter[expected=valid index params][actual=invalid index params])>
ERROR [pymilvus.milvus_client.milvus_client] Failed to search collection: open_webui_c69e46a84c2f4cffc25f529588d460cf61b5f75add2a3aad4a0a47affd0d0e6
```
You can see that collection is created but without index on Milvus

## Additional Information
The error occurs with all file types
Using default Milvus configuration settings
The collection is successfully created, but the index creation fails
## Note
Any assistance or guidance on resolving this issue would be greatly appreciated. Please let me know if you need any additional information.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Originally created by @aouicher on GitHub (Sep 23, 2024).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/5622
Bug Report
Installation Method
Docker
Environment
Open WebUI Version: 0.3.23
Operating System: Amazon Linux / Red Hat Enterprise Linux
Confirmation:
Description
I'm encountering an error when trying to create an index in Milvus after uploading documents to OpenWebUI. The collection is successfully created, but the index creation fails.
Reproduction Details
Upload a document (XLS or CSV file) to OpenWebUI
Attempt to create a prompt about the uploaded document
Logs and Screenshots
You can see that collection is created but without index on Milvus

Additional Information
The error occurs with all file types
Using default Milvus configuration settings
The collection is successfully created, but the index creation fails
Note
Any assistance or guidance on resolving this issue would be greatly appreciated. Please let me know if you need any additional information.
@sir3mat commented on GitHub (Sep 23, 2024):
Same issue
@tjbck commented on GitHub (Sep 23, 2024):
PR Welcome!
@ajikmr commented on GitHub (Sep 25, 2024):
It gets fixed by adding params in milvus.py
@aouicher commented on GitHub (Sep 26, 2024):
Thank you @ajikmr
How can we address that issue?
@tjbck commented on GitHub (Sep 26, 2024):
Fixed on dev!
@velarx commented on GitHub (Oct 6, 2024):
Any ETA do we have to get that release from dev?
@ghost commented on GitHub (Jan 21, 2025):
Same problem here. When does this get fixed?