Originally created by @henry19801109 on GitHub (Mar 7, 2025).
Check Existing Issues
I have searched the existing issues and discussions.
Installation Method
Git Clone
Open WebUI Version
v0.5.20
Ollama Version (if applicable)
v0.5.12
Operating System
windows
Browser (if applicable)
No response
Confirmation
I have read and followed all instructions in README.md.
I am using the latest version of both Open WebUI and Ollama.
I have checked the browser console logs.
I have checked the Docker container logs.
I have listed steps to reproduce the bug in detail.
Expected Behavior
File "D:\python\Lib\threading.py", line 1002, in _bootstrap
self._bootstrap_inner()
│ └ <function Thread._bootstrap_inner at 0x00000207EBF81E40>
└ <WorkerThread(AnyIO worker thread, started 27796)>
File "D:\python\Lib\threading.py", line 1045, in _bootstrap_inner
self.run()
│ └ <function WorkerThread.run at 0x000002079A575C60>
└ <WorkerThread(AnyIO worker thread, started 27796)>
File "D:\AI\openwebuiVenv\Lib\site-packages\anyio_backends_asyncio.py", line 962, in run
result = context.run(func, *args)
│ │ │ └ ()
│ │ └ functools.partial(<function upload_file at 0x0000020793CB9BC0>, user=UserModel(id='c4df9b5a-cffa-4751-a019-de8e33d581bb', nam...
│ └ <method 'run' of '_contextvars.Context' objects>
└ <_contextvars.Context object at 0x000002079A5FBE00>
File "D:\AI\openwebuiVenv\Lib\site-packages\open_webui\routers\files.py", line 85, in upload_file
process_file(request, ProcessFileForm(file_id=id), user=user)
│ │ │ │ └ UserModel(id='c4df9b5a-cffa-4751-a019-de8e33d581bb', name='henry19801109@163.com', email='henry19801109@163.com', role='admin...
│ │ │ └ '16d61314-9e71-41dc-a94b-77b84730753b'
│ │ └ <class 'open_webui.routers.retrieval.ProcessFileForm'>
│ └ <starlette.requests.Request object at 0x000002079A63EA10>
└ <function process_file at 0x0000020796B4D1C0>
File "D:\AI\openwebuiVenv\Lib\site-packages\open_webui\routers\retrieval.py", line 1085, in process_file
raise HTTPException(
└ <class 'fastapi.exceptions.HTTPException'>
Actual Behavior
File "D:\python\Lib\threading.py", line 1002, in _bootstrap
self._bootstrap_inner()
│ └ <function Thread._bootstrap_inner at 0x00000207EBF81E40>
└ <WorkerThread(AnyIO worker thread, started 27796)>
File "D:\python\Lib\threading.py", line 1045, in _bootstrap_inner
self.run()
│ └ <function WorkerThread.run at 0x000002079A575C60>
└ <WorkerThread(AnyIO worker thread, started 27796)>
File "D:\AI\openwebuiVenv\Lib\site-packages\anyio_backends_asyncio.py", line 962, in run
result = context.run(func, *args)
│ │ │ └ ()
│ │ └ functools.partial(<function upload_file at 0x0000020793CB9BC0>, user=UserModel(id='c4df9b5a-cffa-4751-a019-de8e33d581bb', nam...
│ └ <method 'run' of '_contextvars.Context' objects>
└ <_contextvars.Context object at 0x000002079A5FBE00>
File "D:\AI\openwebuiVenv\Lib\site-packages\open_webui\routers\files.py", line 85, in upload_file
process_file(request, ProcessFileForm(file_id=id), user=user)
│ │ │ │ └ UserModel(id='c4df9b5a-cffa-4751-a019-de8e33d581bb', name='henry19801109@163.com', email='henry19801109@163.com', role='admin...
│ │ │ └ '16d61314-9e71-41dc-a94b-77b84730753b'
│ │ └ <class 'open_webui.routers.retrieval.ProcessFileForm'>
│ └ <starlette.requests.Request object at 0x000002079A63EA10>
└ <function process_file at 0x0000020796B4D1C0>
File "D:\AI\openwebuiVenv\Lib\site-packages\open_webui\routers\retrieval.py", line 1085, in process_file
raise HTTPException(
└ <class 'fastapi.exceptions.HTTPException'>
Steps to Reproduce
Logs & Screenshots
Additional Information
Originally created by @henry19801109 on GitHub (Mar 7, 2025).
### Check Existing Issues
- [x] I have searched the existing issues and discussions.
### Installation Method
Git Clone
### Open WebUI Version
v0.5.20
### Ollama Version (if applicable)
v0.5.12
### Operating System
windows
### Browser (if applicable)
_No response_
### Confirmation
- [x] I have read and followed all instructions in `README.md`.
- [x] I am using the latest version of **both** Open WebUI and Ollama.
- [x] I have checked the browser console logs.
- [x] I have checked the Docker container logs.
- [x] I have listed steps to reproduce the bug in detail.
### Expected Behavior
File "D:\python\Lib\threading.py", line 1002, in _bootstrap
self._bootstrap_inner()
│ └ <function Thread._bootstrap_inner at 0x00000207EBF81E40>
└ <WorkerThread(AnyIO worker thread, started 27796)>
File "D:\python\Lib\threading.py", line 1045, in _bootstrap_inner
self.run()
│ └ <function WorkerThread.run at 0x000002079A575C60>
└ <WorkerThread(AnyIO worker thread, started 27796)>
File "D:\AI\openwebuiVenv\Lib\site-packages\anyio\_backends\_asyncio.py", line 962, in run
result = context.run(func, *args)
│ │ │ └ ()
│ │ └ functools.partial(<function upload_file at 0x0000020793CB9BC0>, user=UserModel(id='c4df9b5a-cffa-4751-a019-de8e33d581bb', nam...
│ └ <method 'run' of '_contextvars.Context' objects>
└ <_contextvars.Context object at 0x000002079A5FBE00>
> File "D:\AI\openwebuiVenv\Lib\site-packages\open_webui\routers\files.py", line 85, in upload_file
process_file(request, ProcessFileForm(file_id=id), user=user)
│ │ │ │ └ UserModel(id='c4df9b5a-cffa-4751-a019-de8e33d581bb', name='henry19801109@163.com', email='henry19801109@163.com', role='admin...
│ │ │ └ '16d61314-9e71-41dc-a94b-77b84730753b'
│ │ └ <class 'open_webui.routers.retrieval.ProcessFileForm'>
│ └ <starlette.requests.Request object at 0x000002079A63EA10>
└ <function process_file at 0x0000020796B4D1C0>
File "D:\AI\openwebuiVenv\Lib\site-packages\open_webui\routers\retrieval.py", line 1085, in process_file
raise HTTPException(
└ <class 'fastapi.exceptions.HTTPException'>
### Actual Behavior
File "D:\python\Lib\threading.py", line 1002, in _bootstrap
self._bootstrap_inner()
│ └ <function Thread._bootstrap_inner at 0x00000207EBF81E40>
└ <WorkerThread(AnyIO worker thread, started 27796)>
File "D:\python\Lib\threading.py", line 1045, in _bootstrap_inner
self.run()
│ └ <function WorkerThread.run at 0x000002079A575C60>
└ <WorkerThread(AnyIO worker thread, started 27796)>
File "D:\AI\openwebuiVenv\Lib\site-packages\anyio\_backends\_asyncio.py", line 962, in run
result = context.run(func, *args)
│ │ │ └ ()
│ │ └ functools.partial(<function upload_file at 0x0000020793CB9BC0>, user=UserModel(id='c4df9b5a-cffa-4751-a019-de8e33d581bb', nam...
│ └ <method 'run' of '_contextvars.Context' objects>
└ <_contextvars.Context object at 0x000002079A5FBE00>
> File "D:\AI\openwebuiVenv\Lib\site-packages\open_webui\routers\files.py", line 85, in upload_file
process_file(request, ProcessFileForm(file_id=id), user=user)
│ │ │ │ └ UserModel(id='c4df9b5a-cffa-4751-a019-de8e33d581bb', name='henry19801109@163.com', email='henry19801109@163.com', role='admin...
│ │ │ └ '16d61314-9e71-41dc-a94b-77b84730753b'
│ │ └ <class 'open_webui.routers.retrieval.ProcessFileForm'>
│ └ <starlette.requests.Request object at 0x000002079A63EA10>
└ <function process_file at 0x0000020796B4D1C0>
File "D:\AI\openwebuiVenv\Lib\site-packages\open_webui\routers\retrieval.py", line 1085, in process_file
raise HTTPException(
└ <class 'fastapi.exceptions.HTTPException'>
### Steps to Reproduce
<img width="1072" alt="Image" src="https://github.com/user-attachments/assets/8cd8a976-0c08-44ef-839e-3e031d04cc4d" />
### Logs & Screenshots
<img width="1072" alt="Image" src="https://github.com/user-attachments/assets/2cb42122-0a4d-48f5-a617-ebaffc87ce5a" />
### Additional Information
<img width="1072" alt="Image" src="https://github.com/user-attachments/assets/8cd8a976-0c08-44ef-839e-3e031d04cc4d" />
GiteaMirror
added the bug label 2025-11-11 15:51:06 -06:00
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 @henry19801109 on GitHub (Mar 7, 2025).
Check Existing Issues
Installation Method
Git Clone
Open WebUI Version
v0.5.20
Ollama Version (if applicable)
v0.5.12
Operating System
windows
Browser (if applicable)
No response
Confirmation
README.md.Expected Behavior
File "D:\python\Lib\threading.py", line 1002, in _bootstrap
self._bootstrap_inner()
│ └ <function Thread._bootstrap_inner at 0x00000207EBF81E40>
└ <WorkerThread(AnyIO worker thread, started 27796)>
File "D:\python\Lib\threading.py", line 1045, in _bootstrap_inner
self.run()
│ └ <function WorkerThread.run at 0x000002079A575C60>
└ <WorkerThread(AnyIO worker thread, started 27796)>
File "D:\AI\openwebuiVenv\Lib\site-packages\anyio_backends_asyncio.py", line 962, in run
result = context.run(func, *args)
│ │ │ └ ()
│ │ └ functools.partial(<function upload_file at 0x0000020793CB9BC0>, user=UserModel(id='c4df9b5a-cffa-4751-a019-de8e33d581bb', nam...
│ └ <method 'run' of '_contextvars.Context' objects>
└ <_contextvars.Context object at 0x000002079A5FBE00>
Actual Behavior
File "D:\python\Lib\threading.py", line 1002, in _bootstrap
self._bootstrap_inner()
│ └ <function Thread._bootstrap_inner at 0x00000207EBF81E40>
└ <WorkerThread(AnyIO worker thread, started 27796)>
File "D:\python\Lib\threading.py", line 1045, in _bootstrap_inner
self.run()
│ └ <function WorkerThread.run at 0x000002079A575C60>
└ <WorkerThread(AnyIO worker thread, started 27796)>
File "D:\AI\openwebuiVenv\Lib\site-packages\anyio_backends_asyncio.py", line 962, in run
result = context.run(func, *args)
│ │ │ └ ()
│ │ └ functools.partial(<function upload_file at 0x0000020793CB9BC0>, user=UserModel(id='c4df9b5a-cffa-4751-a019-de8e33d581bb', nam...
│ └ <method 'run' of '_contextvars.Context' objects>
└ <_contextvars.Context object at 0x000002079A5FBE00>
Steps to Reproduce
Logs & Screenshots
Additional Information
@tjbck commented on GitHub (Mar 7, 2025):
You must reset your vector db after updating your embedding model.