[GH-ISSUE #14116] issue: How to use Gemini-2.5-Flash-Preview-04-17 for video understanding in Open WebUI? #17148

Closed
opened 2026-04-19 22:53:50 -05:00 by GiteaMirror · 0 comments
Owner

Originally created by @gongshaojie12 on GitHub (May 21, 2025).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/14116

Check Existing Issues

  • I have searched the existing issues and discussions.
  • I am using the latest version of Open WebUI.

Installation Method

Pip Install

Open WebUI Version

0.6.10

Ollama Version (if applicable)

No response

Operating System

centos7.9

Browser (if applicable)

chrome

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 included the browser console logs.
  • I have included the Docker container logs.
  • I have listed steps to reproduce the bug in detail.

Expected Behavior

I hope to be able to parse video files.

Actual Behavior

When I upload and try to parse a video file, I get the following error.

Image

The log is as follows:

2025-05-21 14:11:59.347 | ERROR    | open_webui.retrieval.utils:query_collection_with_hybrid_search:331 - Failed to fetch collection file-87874c78-fbd8-4522-9b3e-4920fd605a66: Collection file-87874c78-fbd8-4522-9b3e-4920fd605a66 does not exist. - {}
Traceback (most recent call last):

  File "/root/anaconda3/envs/open-webui/lib/python3.11/threading.py", line 1002, in _bootstrap
    self._bootstrap_inner()
    │    └ <function Thread._bootstrap_inner at 0x7f2363bb49a0>
    └ <Thread(ThreadPoolExecutor-43_0, started 139783506470656)>
  File "/root/anaconda3/envs/open-webui/lib/python3.11/threading.py", line 1045, in _bootstrap_inner
    self.run()
    │    └ <function Thread.run at 0x7f2363bb4680>
    └ <Thread(ThreadPoolExecutor-43_0, started 139783506470656)>
  File "/root/anaconda3/envs/open-webui/lib/python3.11/threading.py", line 982, in run
    self._target(*self._args, **self._kwargs)
    │    │        │    │        │    └ {}
    │    │        │    │        └ <Thread(ThreadPoolExecutor-43_0, started 139783506470656)>
    │    │        │    └ (<weakref at 0x7f21f0a04720; to 'ThreadPoolExecutor' at 0x7f2176ef0850>, <_queue.SimpleQueue object at 0x7f21f28a8310>, None,...
    │    │        └ <Thread(ThreadPoolExecutor-43_0, started 139783506470656)>
    │    └ <function _worker at 0x7f225aee4b80>
    └ <Thread(ThreadPoolExecutor-43_0, started 139783506470656)>
  File "/root/anaconda3/envs/open-webui/lib/python3.11/concurrent/futures/thread.py", line 83, in _worker
    work_item.run()
    │         └ <function _WorkItem.run at 0x7f225aee4cc0>
    └ <concurrent.futures.thread._WorkItem object at 0x7f2176bfa8d0>
  File "/root/anaconda3/envs/open-webui/lib/python3.11/concurrent/futures/thread.py", line 58, in run
    result = self.fn(*self.args, **self.kwargs)
             │    │   │    │       │    └ {}
             │    │   │    │       └ <concurrent.futures.thread._WorkItem object at 0x7f2176bfa8d0>
             │    │   │    └ ()
             │    │   └ <concurrent.futures.thread._WorkItem object at 0x7f2176bfa8d0>
             │    └ <function chat_completion_files_handler.<locals>.<lambda> at 0x7f21f28e0d60>
             └ <concurrent.futures.thread._WorkItem object at 0x7f2176bfa8d0>
  File "/root/anaconda3/envs/open-webui/lib/python3.11/site-packages/open_webui/utils/middleware.py", line 595, in <lambda>
    lambda: get_sources_from_files(
            └ <function get_sources_from_files at 0x7f22509625c0>
  File "/root/anaconda3/envs/open-webui/lib/python3.11/site-packages/open_webui/retrieval/utils.py", line 545, in get_sources_from_files
    context = query_collection_with_hybrid_search(
              └ <function query_collection_with_hybrid_search at 0x7f22509616c0>
> File "/root/anaconda3/envs/open-webui/lib/python3.11/site-packages/open_webui/retrieval/utils.py", line 327, in query_collection_with_hybrid_search
    collection_results[collection_name] = VECTOR_DB_CLIENT.get(
    │                  │                  │                └ <function ChromaClient.get at 0x7f2253a2c540>
    │                  │                  └ <open_webui.retrieval.vector.dbs.chroma.ChromaClient object at 0x7f2253b5bf50>
    │                  └ 'file-87874c78-fbd8-4522-9b3e-4920fd605a66'
    └ {}
  File "/root/anaconda3/envs/open-webui/lib/python3.11/site-packages/open_webui/retrieval/vector/dbs/chroma.py", line 126, in get
    collection = self.client.get_collection(name=collection_name)
                 │    │      │                   └ 'file-87874c78-fbd8-4522-9b3e-4920fd605a66'
                 │    │      └ <function Client.get_collection at 0x7f2254c28220>
                 │    └ <chromadb.api.client.Client object at 0x7f2253b5b950>
                 └ <open_webui.retrieval.vector.dbs.chroma.ChromaClient object at 0x7f2253b5bf50>
  File "/root/anaconda3/envs/open-webui/lib/python3.11/site-packages/chromadb/api/client.py", line 171, in get_collection
    model = self._server.get_collection(
            │    │       └ <function SegmentAPI.get_collection at 0x7f2253918d60>
            │    └ <chromadb.api.segment.SegmentAPI object at 0x7f2253be4250>
            └ <chromadb.api.client.Client object at 0x7f2253b5b950>
  File "/root/anaconda3/envs/open-webui/lib/python3.11/site-packages/chromadb/telemetry/opentelemetry/__init__.py", line 150, in wrapper
    return f(*args, **kwargs)
           │  │       └ {'name': 'file-87874c78-fbd8-4522-9b3e-4920fd605a66', 'tenant': 'default_tenant', 'database': 'default_database'}
           │  └ (<chromadb.api.segment.SegmentAPI object at 0x7f2253be4250>,)
           └ <function SegmentAPI.get_collection at 0x7f2253918cc0>
  File "/root/anaconda3/envs/open-webui/lib/python3.11/site-packages/chromadb/api/segment.py", line 103, in wrapper
    return self._rate_limit_enforcer.rate_limit(func)(*args, **kwargs)
           │    │                    │          │      │       └ {'name': 'file-87874c78-fbd8-4522-9b3e-4920fd605a66', 'tenant': 'default_tenant', 'database': 'default_database'}
           │    │                    │          │      └ (<chromadb.api.segment.SegmentAPI object at 0x7f2253be4250>,)
           │    │                    │          └ <function SegmentAPI.get_collection at 0x7f2253918c20>
           │    │                    └ <function SimpleRateLimitEnforcer.rate_limit at 0x7f22538b7e20>
           │    └ <chromadb.rate_limit.simple_rate_limit.SimpleRateLimitEnforcer object at 0x7f22538c0ad0>
           └ <chromadb.api.segment.SegmentAPI object at 0x7f2253be4250>
  File "/root/anaconda3/envs/open-webui/lib/python3.11/site-packages/chromadb/rate_limit/simple_rate_limit/__init__.py", line 24, in wrapper
    return func(*args, **kwargs)
           │     │       └ {'name': 'file-87874c78-fbd8-4522-9b3e-4920fd605a66', 'tenant': 'default_tenant', 'database': 'default_database'}
           │     └ (<chromadb.api.segment.SegmentAPI object at 0x7f2253be4250>,)
           └ <function SegmentAPI.get_collection at 0x7f2253918c20>
  File "/root/anaconda3/envs/open-webui/lib/python3.11/site-packages/chromadb/api/segment.py", line 316, in get_collection
    raise InvalidCollectionException(f"Collection {name} does not exist.")
          └ <class 'chromadb.errors.InvalidCollectionException'>

chromadb.errors.InvalidCollectionException: Collection file-87874c78-fbd8-4522-9b3e-4920fd605a66 does not exist.

Steps to Reproduce

None

Logs & Screenshots

None

Additional Information

No response

Originally created by @gongshaojie12 on GitHub (May 21, 2025). Original GitHub issue: https://github.com/open-webui/open-webui/issues/14116 ### Check Existing Issues - [x] I have searched the existing issues and discussions. - [x] I am using the latest version of Open WebUI. ### Installation Method Pip Install ### Open WebUI Version 0.6.10 ### Ollama Version (if applicable) _No response_ ### Operating System centos7.9 ### Browser (if applicable) chrome ### 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 included the browser console logs. - [x] I have included the Docker container logs. - [x] I have listed steps to reproduce the bug in detail. ### Expected Behavior I hope to be able to parse video files. ### Actual Behavior When I upload and try to parse a video file, I get the following error. ![Image](https://github.com/user-attachments/assets/d4e32f8a-c81c-4ecf-95b9-84eb6249bf97) The log is as follows: ``` 2025-05-21 14:11:59.347 | ERROR | open_webui.retrieval.utils:query_collection_with_hybrid_search:331 - Failed to fetch collection file-87874c78-fbd8-4522-9b3e-4920fd605a66: Collection file-87874c78-fbd8-4522-9b3e-4920fd605a66 does not exist. - {} Traceback (most recent call last): File "/root/anaconda3/envs/open-webui/lib/python3.11/threading.py", line 1002, in _bootstrap self._bootstrap_inner() │ └ <function Thread._bootstrap_inner at 0x7f2363bb49a0> └ <Thread(ThreadPoolExecutor-43_0, started 139783506470656)> File "/root/anaconda3/envs/open-webui/lib/python3.11/threading.py", line 1045, in _bootstrap_inner self.run() │ └ <function Thread.run at 0x7f2363bb4680> └ <Thread(ThreadPoolExecutor-43_0, started 139783506470656)> File "/root/anaconda3/envs/open-webui/lib/python3.11/threading.py", line 982, in run self._target(*self._args, **self._kwargs) │ │ │ │ │ └ {} │ │ │ │ └ <Thread(ThreadPoolExecutor-43_0, started 139783506470656)> │ │ │ └ (<weakref at 0x7f21f0a04720; to 'ThreadPoolExecutor' at 0x7f2176ef0850>, <_queue.SimpleQueue object at 0x7f21f28a8310>, None,... │ │ └ <Thread(ThreadPoolExecutor-43_0, started 139783506470656)> │ └ <function _worker at 0x7f225aee4b80> └ <Thread(ThreadPoolExecutor-43_0, started 139783506470656)> File "/root/anaconda3/envs/open-webui/lib/python3.11/concurrent/futures/thread.py", line 83, in _worker work_item.run() │ └ <function _WorkItem.run at 0x7f225aee4cc0> └ <concurrent.futures.thread._WorkItem object at 0x7f2176bfa8d0> File "/root/anaconda3/envs/open-webui/lib/python3.11/concurrent/futures/thread.py", line 58, in run result = self.fn(*self.args, **self.kwargs) │ │ │ │ │ └ {} │ │ │ │ └ <concurrent.futures.thread._WorkItem object at 0x7f2176bfa8d0> │ │ │ └ () │ │ └ <concurrent.futures.thread._WorkItem object at 0x7f2176bfa8d0> │ └ <function chat_completion_files_handler.<locals>.<lambda> at 0x7f21f28e0d60> └ <concurrent.futures.thread._WorkItem object at 0x7f2176bfa8d0> File "/root/anaconda3/envs/open-webui/lib/python3.11/site-packages/open_webui/utils/middleware.py", line 595, in <lambda> lambda: get_sources_from_files( └ <function get_sources_from_files at 0x7f22509625c0> File "/root/anaconda3/envs/open-webui/lib/python3.11/site-packages/open_webui/retrieval/utils.py", line 545, in get_sources_from_files context = query_collection_with_hybrid_search( └ <function query_collection_with_hybrid_search at 0x7f22509616c0> > File "/root/anaconda3/envs/open-webui/lib/python3.11/site-packages/open_webui/retrieval/utils.py", line 327, in query_collection_with_hybrid_search collection_results[collection_name] = VECTOR_DB_CLIENT.get( │ │ │ └ <function ChromaClient.get at 0x7f2253a2c540> │ │ └ <open_webui.retrieval.vector.dbs.chroma.ChromaClient object at 0x7f2253b5bf50> │ └ 'file-87874c78-fbd8-4522-9b3e-4920fd605a66' └ {} File "/root/anaconda3/envs/open-webui/lib/python3.11/site-packages/open_webui/retrieval/vector/dbs/chroma.py", line 126, in get collection = self.client.get_collection(name=collection_name) │ │ │ └ 'file-87874c78-fbd8-4522-9b3e-4920fd605a66' │ │ └ <function Client.get_collection at 0x7f2254c28220> │ └ <chromadb.api.client.Client object at 0x7f2253b5b950> └ <open_webui.retrieval.vector.dbs.chroma.ChromaClient object at 0x7f2253b5bf50> File "/root/anaconda3/envs/open-webui/lib/python3.11/site-packages/chromadb/api/client.py", line 171, in get_collection model = self._server.get_collection( │ │ └ <function SegmentAPI.get_collection at 0x7f2253918d60> │ └ <chromadb.api.segment.SegmentAPI object at 0x7f2253be4250> └ <chromadb.api.client.Client object at 0x7f2253b5b950> File "/root/anaconda3/envs/open-webui/lib/python3.11/site-packages/chromadb/telemetry/opentelemetry/__init__.py", line 150, in wrapper return f(*args, **kwargs) │ │ └ {'name': 'file-87874c78-fbd8-4522-9b3e-4920fd605a66', 'tenant': 'default_tenant', 'database': 'default_database'} │ └ (<chromadb.api.segment.SegmentAPI object at 0x7f2253be4250>,) └ <function SegmentAPI.get_collection at 0x7f2253918cc0> File "/root/anaconda3/envs/open-webui/lib/python3.11/site-packages/chromadb/api/segment.py", line 103, in wrapper return self._rate_limit_enforcer.rate_limit(func)(*args, **kwargs) │ │ │ │ │ └ {'name': 'file-87874c78-fbd8-4522-9b3e-4920fd605a66', 'tenant': 'default_tenant', 'database': 'default_database'} │ │ │ │ └ (<chromadb.api.segment.SegmentAPI object at 0x7f2253be4250>,) │ │ │ └ <function SegmentAPI.get_collection at 0x7f2253918c20> │ │ └ <function SimpleRateLimitEnforcer.rate_limit at 0x7f22538b7e20> │ └ <chromadb.rate_limit.simple_rate_limit.SimpleRateLimitEnforcer object at 0x7f22538c0ad0> └ <chromadb.api.segment.SegmentAPI object at 0x7f2253be4250> File "/root/anaconda3/envs/open-webui/lib/python3.11/site-packages/chromadb/rate_limit/simple_rate_limit/__init__.py", line 24, in wrapper return func(*args, **kwargs) │ │ └ {'name': 'file-87874c78-fbd8-4522-9b3e-4920fd605a66', 'tenant': 'default_tenant', 'database': 'default_database'} │ └ (<chromadb.api.segment.SegmentAPI object at 0x7f2253be4250>,) └ <function SegmentAPI.get_collection at 0x7f2253918c20> File "/root/anaconda3/envs/open-webui/lib/python3.11/site-packages/chromadb/api/segment.py", line 316, in get_collection raise InvalidCollectionException(f"Collection {name} does not exist.") └ <class 'chromadb.errors.InvalidCollectionException'> chromadb.errors.InvalidCollectionException: Collection file-87874c78-fbd8-4522-9b3e-4920fd605a66 does not exist. ``` ### Steps to Reproduce None ### Logs & Screenshots None ### Additional Information _No response_
GiteaMirror added the bug label 2026-04-19 22:53:50 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/open-webui#17148