Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Mar 22 13:24:01 openwebui start.sh[145]: │ │ │ │ └ {'type': 'http', 'asgi': {'version': '3.0', 'spec_version': '2.3'}, 'http_version': '1.1', 'server': ('<replaced>', <replaced>),...
- Mar 22 13:24:01 openwebui start.sh[145]: │ │ │ └ <starlette.requests.Request object at 0x7576ab189950>
- Mar 22 13:24:01 openwebui start.sh[145]: │ │ └ <fastapi.routing.APIRouter object at 0x7576d5238bd0>
- Mar 22 13:24:01 openwebui start.sh[145]: │ └ <starlette.middleware.exceptions.ExceptionMiddleware object at 0x7576acffe190>
- Mar 22 13:24:01 openwebui start.sh[145]: └ <function wrap_app_handling_exceptions at 0x7577098662a0>
- Mar 22 13:24:01 openwebui start.sh[145]: File "/usr/local/lib/python3.11/dist-packages/starlette/_exception_handler.py", line 42, in wrapped_app
- Mar 22 13:24:01 openwebui start.sh[145]: await app(scope, receive, sender)
- Mar 22 13:24:01 openwebui start.sh[145]: │ │ │ └ <function wrap_app_handling_exceptions.<locals>.wrapped_app.<locals>.sender at 0x75769f54ce00>
- Mar 22 13:24:01 openwebui start.sh[145]: │ │ └ <function BaseHTTPMiddleware.__call__.<locals>.call_next.<locals>.receive_or_disconnect at 0x75769f54e8e0>
- Mar 22 13:24:01 openwebui start.sh[145]: │ └ {'type': 'http', 'asgi': {'version': '3.0', 'spec_version': '2.3'}, 'http_version': '1.1', 'server': ('<replaced>', <replaced>),...
- Mar 22 13:24:01 openwebui start.sh[145]: └ <fastapi.routing.APIRouter object at 0x7576d5238bd0>
- Mar 22 13:24:01 openwebui start.sh[145]: File "/usr/local/lib/python3.11/dist-packages/starlette/routing.py", line 715, in __call__
- Mar 22 13:24:01 openwebui start.sh[145]: await self.middleware_stack(scope, receive, send)
- Mar 22 13:24:01 openwebui start.sh[145]: │ │ │ │ └ <function wrap_app_handling_exceptions.<locals>.wrapped_app.<locals>.sender at 0x75769f54ce00>
- Mar 22 13:24:01 openwebui start.sh[145]: │ │ │ └ <function BaseHTTPMiddleware.__call__.<locals>.call_next.<locals>.receive_or_disconnect at 0x75769f54e8e0>
- Mar 22 13:24:01 openwebui start.sh[145]: │ │ └ {'type': 'http', 'asgi': {'version': '3.0', 'spec_version': '2.3'}, 'http_version': '1.1', 'server': ('<replaced>', <replaced>),...
- Mar 22 13:24:01 openwebui start.sh[145]: │ └ <bound method Router.app of <fastapi.routing.APIRouter object at 0x7576d5238bd0>>
- Mar 22 13:24:01 openwebui start.sh[145]: └ <fastapi.routing.APIRouter object at 0x7576d5238bd0>
- Mar 22 13:24:01 openwebui start.sh[145]: File "/usr/local/lib/python3.11/dist-packages/starlette/routing.py", line 735, in app
- Mar 22 13:24:01 openwebui start.sh[145]: await route.handle(scope, receive, send)
- Mar 22 13:24:01 openwebui start.sh[145]: │ │ │ │ └ <function wrap_app_handling_exceptions.<locals>.wrapped_app.<locals>.sender at 0x75769f54ce00>
- Mar 22 13:24:01 openwebui start.sh[145]: │ │ │ └ <function BaseHTTPMiddleware.__call__.<locals>.call_next.<locals>.receive_or_disconnect at 0x75769f54e8e0>
- Mar 22 13:24:01 openwebui start.sh[145]: │ │ └ {'type': 'http', 'asgi': {'version': '3.0', 'spec_version': '2.3'}, 'http_version': '1.1', 'server': ('<replaced>', <replaced>),...
- Mar 22 13:24:01 openwebui start.sh[145]: │ └ <function Route.handle at 0x757709867880>
- Mar 22 13:24:01 openwebui start.sh[145]: └ APIRoute(path='/api/chat/completions', name='chat_completion', methods=['POST'])
- Mar 22 13:24:01 openwebui start.sh[145]: File "/usr/local/lib/python3.11/dist-packages/starlette/routing.py", line 288, in handle
- Mar 22 13:24:01 openwebui start.sh[145]: await self.app(scope, receive, send)
- Mar 22 13:24:01 openwebui start.sh[145]: │ │ │ │ └ <function wrap_app_handling_exceptions.<locals>.wrapped_app.<locals>.sender at 0x75769f54ce00>
- Mar 22 13:24:01 openwebui start.sh[145]: │ │ │ └ <function BaseHTTPMiddleware.__call__.<locals>.call_next.<locals>.receive_or_disconnect at 0x75769f54e8e0>
- Mar 22 13:24:01 openwebui start.sh[145]: │ │ └ {'type': 'http', 'asgi': {'version': '3.0', 'spec_version': '2.3'}, 'http_version': '1.1', 'server': ('<replaced>', <replaced>),...
- Mar 22 13:24:01 openwebui start.sh[145]: │ └ <function request_response.<locals>.app at 0x7576ac9a9760>
- Mar 22 13:24:01 openwebui start.sh[145]: └ APIRoute(path='/api/chat/completions', name='chat_completion', methods=['POST'])
- Mar 22 13:24:01 openwebui start.sh[145]: File "/usr/local/lib/python3.11/dist-packages/starlette/routing.py", line 76, in app
- Mar 22 13:24:01 openwebui start.sh[145]: await wrap_app_handling_exceptions(app, request)(scope, receive, send)
- Mar 22 13:24:01 openwebui start.sh[145]: │ │ │ │ │ └ <function wrap_app_handling_exceptions.<locals>.wrapped_app.<locals>.sender at 0x75769f54ce00>
- Mar 22 13:24:01 openwebui start.sh[145]: │ │ │ │ └ <function BaseHTTPMiddleware.__call__.<locals>.call_next.<locals>.receive_or_disconnect at 0x75769f54e8e0>
- Mar 22 13:24:01 openwebui start.sh[145]: │ │ │ └ {'type': 'http', 'asgi': {'version': '3.0', 'spec_version': '2.3'}, 'http_version': '1.1', 'server': ('<replaced>', <replaced>),...
- Mar 22 13:24:01 openwebui start.sh[145]: │ │ └ <starlette.requests.Request object at 0x7576a56ba290>
- Mar 22 13:24:01 openwebui start.sh[145]: │ └ <function request_response.<locals>.app.<locals>.app at 0x75769f54e480>
- Mar 22 13:24:01 openwebui start.sh[145]: └ <function wrap_app_handling_exceptions at 0x7577098662a0>
- Mar 22 13:24:01 openwebui start.sh[145]: File "/usr/local/lib/python3.11/dist-packages/starlette/_exception_handler.py", line 42, in wrapped_app
- Mar 22 13:24:01 openwebui start.sh[145]: await app(scope, receive, sender)
- Mar 22 13:24:01 openwebui start.sh[145]: │ │ │ └ <function wrap_app_handling_exceptions.<locals>.wrapped_app.<locals>.sender at 0x75769f54f060>
- Mar 22 13:24:01 openwebui start.sh[145]: │ │ └ <function BaseHTTPMiddleware.__call__.<locals>.call_next.<locals>.receive_or_disconnect at 0x75769f54e8e0>
- Mar 22 13:24:01 openwebui start.sh[145]: │ └ {'type': 'http', 'asgi': {'version': '3.0', 'spec_version': '2.3'}, 'http_version': '1.1', 'server': ('<replaced>', <replaced>),...
- Mar 22 13:24:01 openwebui start.sh[145]: └ <function request_response.<locals>.app.<locals>.app at 0x75769f54e480>
- Mar 22 13:24:01 openwebui start.sh[145]: File "/usr/local/lib/python3.11/dist-packages/starlette/routing.py", line 73, in app
- Mar 22 13:24:01 openwebui start.sh[145]: response = await f(request)
- Mar 22 13:24:01 openwebui start.sh[145]: │ └ <starlette.requests.Request object at 0x7576a56ba290>
- Mar 22 13:24:01 openwebui start.sh[145]: └ <function get_request_handler.<locals>.app at 0x7576ac9a98a0>
- Mar 22 13:24:01 openwebui start.sh[145]: File "/usr/local/lib/python3.11/dist-packages/fastapi/routing.py", line 301, in app
- Mar 22 13:24:01 openwebui start.sh[145]: raw_response = await run_endpoint_function(
- Mar 22 13:24:01 openwebui start.sh[145]: └ <function run_endpoint_function at 0x7577096a56c0>
- Mar 22 13:24:01 openwebui start.sh[145]: File "/usr/local/lib/python3.11/dist-packages/fastapi/routing.py", line 212, in run_endpoint_function
- Mar 22 13:24:01 openwebui start.sh[145]: return await dependant.call(**values)
- Mar 22 13:24:01 openwebui start.sh[145]: │ │ └ {'user': UserModel(id='<replaced>', name='<replaced>', email='<replaced>', role='admin', ...
- Mar 22 13:24:01 openwebui start.sh[145]: │ └ <function chat_completion at 0x7576ac9a9ee0>
- Mar 22 13:24:01 openwebui start.sh[145]: └ Dependant(path_params=[], query_params=[], header_params=[], cookie_params=[], body_params=[ModelField(field_info=Body(Pydant...
- Mar 22 13:24:01 openwebui start.sh[145]: File "/opt/open-webui/backend/open_webui/main.py", line 1043, in chat_completion
- Mar 22 13:24:01 openwebui start.sh[145]: form_data, metadata, events = await process_chat_payload(
- Mar 22 13:24:01 openwebui start.sh[145]: │ │ └ <function process_chat_payload at 0x7576d57d8400>
- Mar 22 13:24:01 openwebui start.sh[145]: │ └ {'user_id': '<replaced>', 'chat_id': '1caf4a0a-1217-4156-b9aa-5a824d7cee97', 'message_id': '3f2c177...
- Mar 22 13:24:01 openwebui start.sh[145]: └ {'stream': True, 'model': 'gpt-4o-mini', 'messages': [{'role': 'system', 'content': 'Du bist ein hilfreicher, informativer un...
- Mar 22 13:24:01 openwebui start.sh[145]: File "/opt/open-webui/backend/open_webui/utils/middleware.py", line 736, in process_chat_payload
- Mar 22 13:24:01 openwebui start.sh[145]: form_data = await chat_web_search_handler(
- Mar 22 13:24:01 openwebui start.sh[145]: └ <function chat_web_search_handler at 0x7576d57d9580>
- Mar 22 13:24:01 openwebui start.sh[145]: File "/opt/open-webui/backend/open_webui/utils/middleware.py", line 341, in chat_web_search_handler
- Mar 22 13:24:01 openwebui start.sh[145]: results = await process_web_search(
- Mar 22 13:24:01 openwebui start.sh[145]: └ <function process_web_search at 0x7576d747eca0>
- Mar 22 13:24:01 openwebui start.sh[145]: > File "/opt/open-webui/backend/open_webui/routers/retrieval.py", line 1464, in process_web_search
- Mar 22 13:24:01 openwebui start.sh[145]: await run_in_threadpool(
- Mar 22 13:24:01 openwebui start.sh[145]: └ <function run_in_threadpool at 0x757709af4fe0>
- Mar 22 13:24:01 openwebui start.sh[145]: File "/usr/local/lib/python3.11/dist-packages/starlette/concurrency.py", line 37, in run_in_threadpool
- Mar 22 13:24:01 openwebui start.sh[145]: return await anyio.to_thread.run_sync(func)
- Mar 22 13:24:01 openwebui start.sh[145]: │ │ │ └ functools.partial(<function save_docs_to_vector_db at 0x7576d7445620>, <starlette.requests.Request object at 0x7576a56ba290>,...
- Mar 22 13:24:01 openwebui start.sh[145]: │ │ └ <function run_sync at 0x75770c239260>
- Mar 22 13:24:01 openwebui start.sh[145]: │ └ <module 'anyio.to_thread' from '/usr/local/lib/python3.11/dist-packages/anyio/to_thread.py'>
- Mar 22 13:24:01 openwebui start.sh[145]: └ <module 'anyio' from '/usr/local/lib/python3.11/dist-packages/anyio/__init__.py'>
- Mar 22 13:24:01 openwebui start.sh[145]: File "/usr/local/lib/python3.11/dist-packages/anyio/to_thread.py", line 56, in run_sync
- Mar 22 13:24:01 openwebui start.sh[145]: return await get_async_backend().run_sync_in_worker_thread(
- Mar 22 13:24:01 openwebui start.sh[145]: └ <function get_async_backend at 0x75770c23a8e0>
- Mar 22 13:24:01 openwebui start.sh[145]: File "/usr/local/lib/python3.11/dist-packages/anyio/_backends/_asyncio.py", line 2470, in run_sync_in_worker_thread
- Mar 22 13:24:01 openwebui start.sh[145]: return await future
- Mar 22 13:24:01 openwebui start.sh[145]: └ <Future finished exception=AttributeError("'NoneType' object has no attribute 'encode'")>
- Mar 22 13:24:01 openwebui start.sh[145]: File "/usr/local/lib/python3.11/dist-packages/anyio/_backends/_asyncio.py", line 967, in run
- Mar 22 13:24:01 openwebui start.sh[145]: result = context.run(func, *args)
- Mar 22 13:24:01 openwebui start.sh[145]: File "/opt/open-webui/backend/open_webui/routers/retrieval.py", line 905, in save_docs_to_vector_db
- Mar 22 13:24:01 openwebui start.sh[145]: raise e
- Mar 22 13:24:01 openwebui start.sh[145]: File "/opt/open-webui/backend/open_webui/routers/retrieval.py", line 883, in save_docs_to_vector_db
- Mar 22 13:24:01 openwebui start.sh[145]: embeddings = embedding_function(
- Mar 22 13:24:01 openwebui start.sh[145]: └ <function get_embedding_function.<locals>.<lambda> at 0x7576abc05e40>
- Mar 22 13:24:01 openwebui start.sh[145]: File "/opt/open-webui/backend/open_webui/retrieval/utils.py", line 314, in <lambda>
- Mar 22 13:24:01 openwebui start.sh[145]: return lambda query, user=None: embedding_function.encode(query).tolist()
- Mar 22 13:24:01 openwebui start.sh[145]: │ │ └ ['tagesschau.de - die erste Adresse für Nachrichten und Information | tagesschau.de ...
- Mar 22 13:24:01 openwebui start.sh[145]: │ └ None
- Mar 22 13:24:01 openwebui start.sh[145]: └ ['tagesschau.de - die erste Adresse für Nachrichten und Information | tagesschau.de ...
- Mar 22 13:24:01 openwebui start.sh[145]: AttributeError: 'NoneType' object has no attribute 'encode'
- Mar 22 13:24:01 openwebui start.sh[145]: 2025-03-22 13:24:01.244 | ERROR | open_webui.utils.middleware:chat_web_search_handler:376 - 400: [ERROR: 'NoneType' object has no attribute 'encode'] - {}
- Mar 22 13:24:01 openwebui start.sh[145]: Traceback (most recent call last):
- Mar 22 13:24:01 openwebui start.sh[145]: File "/opt/open-webui/backend/open_webui/routers/retrieval.py", line 1464, in process_web_search
- Mar 22 13:24:01 openwebui start.sh[145]: await run_in_threadpool(
- Mar 22 13:24:01 openwebui start.sh[145]: └ <function run_in_threadpool at 0x757709af4fe0>
- Mar 22 13:24:01 openwebui start.sh[145]: File "/usr/local/lib/python3.11/dist-packages/starlette/concurrency.py", line 37, in run_in_threadpool
- Mar 22 13:24:01 openwebui start.sh[145]: return await anyio.to_thread.run_sync(func)
- Mar 22 13:24:01 openwebui start.sh[145]: │ │ │ └ functools.partial(<function save_docs_to_vector_db at 0x7576d7445620>, <starlette.requests.Request object at 0x7576a56ba290>,...
- Mar 22 13:24:01 openwebui start.sh[145]: │ │ └ <function run_sync at 0x75770c239260>
- Mar 22 13:24:01 openwebui start.sh[145]: │ └ <module 'anyio.to_thread' from '/usr/local/lib/python3.11/dist-packages/anyio/to_thread.py'>
- Mar 22 13:24:01 openwebui start.sh[145]: └ <module 'anyio' from '/usr/local/lib/python3.11/dist-packages/anyio/__init__.py'>
- Mar 22 13:24:01 openwebui start.sh[145]: File "/usr/local/lib/python3.11/dist-packages/anyio/to_thread.py", line 56, in run_sync
- Mar 22 13:24:01 openwebui start.sh[145]: return await get_async_backend().run_sync_in_worker_thread(
- Mar 22 13:24:01 openwebui start.sh[145]: └ <function get_async_backend at 0x75770c23a8e0>
- Mar 22 13:24:01 openwebui start.sh[145]: File "/usr/local/lib/python3.11/dist-packages/anyio/_backends/_asyncio.py", line 2470, in run_sync_in_worker_thread
- Mar 22 13:24:01 openwebui start.sh[145]: return await future
- Mar 22 13:24:01 openwebui start.sh[145]: └ <Future finished exception=AttributeError("'NoneType' object has no attribute 'encode'")>
- Mar 22 13:24:01 openwebui start.sh[145]: File "/usr/local/lib/python3.11/dist-packages/anyio/_backends/_asyncio.py", line 967, in run
- Mar 22 13:24:01 openwebui start.sh[145]: result = context.run(func, *args)
- Mar 22 13:24:01 openwebui start.sh[145]: File "/opt/open-webui/backend/open_webui/routers/retrieval.py", line 905, in save_docs_to_vector_db
- Mar 22 13:24:01 openwebui start.sh[145]: raise e
- Mar 22 13:24:01 openwebui start.sh[145]: File "/opt/open-webui/backend/open_webui/routers/retrieval.py", line 883, in save_docs_to_vector_db
- Mar 22 13:24:01 openwebui start.sh[145]: embeddings = embedding_function(
- Mar 22 13:24:01 openwebui start.sh[145]: └ <function get_embedding_function.<locals>.<lambda> at 0x7576abc05e40>
- Mar 22 13:24:01 openwebui start.sh[145]: File "/opt/open-webui/backend/open_webui/retrieval/utils.py", line 314, in <lambda>
- Mar 22 13:24:01 openwebui start.sh[145]: return lambda query, user=None: embedding_function.encode(query).tolist()
- Mar 22 13:24:01 openwebui start.sh[145]: │ │ └ ['tagesschau.de - die erste Adresse für Nachrichten und Information | tagesschau.de ...
- Mar 22 13:24:01 openwebui start.sh[145]: │ └ None
- Mar 22 13:24:01 openwebui start.sh[145]: └ ['tagesschau.de - die erste Adresse für Nachrichten und Information | tagesschau.de ...
- Mar 22 13:24:01 openwebui start.sh[145]: AttributeError: 'NoneType' object has no attribute 'encode'
- Mar 22 13:24:01 openwebui start.sh[145]: During handling of the above exception, another exception occurred:
- Mar 22 13:24:01 openwebui start.sh[145]: Traceback (most recent call last):
- Mar 22 13:24:01 openwebui start.sh[145]: File "/usr/local/bin/uvicorn", line 8, in <module>
- Mar 22 13:24:01 openwebui start.sh[145]: sys.exit(main())
- Mar 22 13:24:01 openwebui start.sh[145]: │ │ └ <Command main>
- Mar 22 13:24:01 openwebui start.sh[145]: │ └ <built-in function exit>
- Mar 22 13:24:01 openwebui start.sh[145]: └ <module 'sys' (built-in)>
- Mar 22 13:24:01 openwebui start.sh[145]: File "/usr/local/lib/python3.11/dist-packages/click/core.py", line 1161, in __call__
- Mar 22 13:24:01 openwebui start.sh[145]: return self.main(*args, **kwargs)
- Mar 22 13:24:01 openwebui start.sh[145]: │ │ │ └ {}
- Mar 22 13:24:01 openwebui start.sh[145]: │ │ └ ()
- Mar 22 13:24:01 openwebui start.sh[145]: │ └ <function BaseCommand.main at 0x75770c2dbb00>
- Mar 22 13:24:01 openwebui start.sh[145]: └ <Command main>
- Mar 22 13:24:01 openwebui start.sh[145]: File "/usr/local/lib/python3.11/dist-packages/click/core.py", line 1082, in main
- Mar 22 13:24:01 openwebui start.sh[145]: rv = self.invoke(ctx)
- Mar 22 13:24:01 openwebui start.sh[145]: │ │ └ <click.core.Context object at 0x75770cfc85d0>
- Mar 22 13:24:01 openwebui start.sh[145]: │ └ <function Command.invoke at 0x75770c2f0720>
- Mar 22 13:24:01 openwebui start.sh[145]: └ <Command main>
- Mar 22 13:24:01 openwebui start.sh[145]: File "/usr/local/lib/python3.11/dist-packages/click/core.py", line 1443, in invoke
- Mar 22 13:24:01 openwebui start.sh[145]: return ctx.invoke(self.callback, **ctx.params)
- Mar 22 13:24:01 openwebui start.sh[145]: │ │ │ │ │ └ {'host': '0.0.0.0', 'port': <replaced>, 'forwarded_allow_ips': '*', 'app': 'open_webui.main:app', 'uds': None, 'fd': None, 'reload'...
- Mar 22 13:24:01 openwebui start.sh[145]: │ │ │ │ └ <click.core.Context object at 0x75770cfc85d0>
- Mar 22 13:24:01 openwebui start.sh[145]: │ │ │ └ <function main at 0x75770c12de40>
- Mar 22 13:24:01 openwebui start.sh[145]: │ │ └ <Command main>
- Mar 22 13:24:01 openwebui start.sh[145]: │ └ <function Context.invoke at 0x75770c2db060>
- Mar 22 13:24:01 openwebui start.sh[145]: └ <click.core.Context object at 0x75770cfc85d0>
- Mar 22 13:24:01 openwebui start.sh[145]: File "/usr/local/lib/python3.11/dist-packages/click/core.py", line 788, in invoke
- Mar 22 13:24:01 openwebui start.sh[145]: return __callback(*args, **kwargs)
- Mar 22 13:24:01 openwebui start.sh[145]: │ └ {'host': '0.0.0.0', 'port': <replaced>, 'forwarded_allow_ips': '*', 'app': 'open_webui.main:app', 'uds': None, 'fd': None, 'reload'...
- Mar 22 13:24:01 openwebui start.sh[145]: └ ()
- Mar 22 13:24:01 openwebui start.sh[145]: File "/usr/local/lib/python3.11/dist-packages/uvicorn/main.py", line 412, in main
- Mar 22 13:24:01 openwebui start.sh[145]: run(
- Mar 22 13:24:01 openwebui start.sh[145]: └ <function run at 0x75770c351bc0>
- Mar 22 13:24:01 openwebui start.sh[145]: File "/usr/local/lib/python3.11/dist-packages/uvicorn/main.py", line 579, in run
- Mar 22 13:24:01 openwebui start.sh[145]: server.run()
- Mar 22 13:24:01 openwebui start.sh[145]: │ └ <function Server.run at 0x75770c38f1a0>
- Mar 22 13:24:01 openwebui start.sh[145]: └ <uvicorn.server.Server object at 0x75770c331d90>
- Mar 22 13:24:01 openwebui start.sh[145]: File "/usr/local/lib/python3.11/dist-packages/uvicorn/server.py", line 66, in run
- Mar 22 13:24:01 openwebui start.sh[145]: return asyncio.run(self.serve(sockets=sockets))
- Mar 22 13:24:01 openwebui start.sh[145]: │ │ │ │ └ None
- Mar 22 13:24:01 openwebui start.sh[145]: │ │ │ └ <function Server.serve at 0x75770c38f240>
- Mar 22 13:24:01 openwebui start.sh[145]: │ │ └ <uvicorn.server.Server object at 0x75770c331d90>
- Mar 22 13:24:01 openwebui start.sh[145]: │ └ <function run at 0x75770cb70400>
- Mar 22 13:24:01 openwebui start.sh[145]: └ <module 'asyncio' from '/usr/lib/python3.11/asyncio/__init__.py'>
- Mar 22 13:24:01 openwebui start.sh[145]: File "/usr/lib/python3.11/asyncio/runners.py", line 190, in run
- Mar 22 13:24:01 openwebui start.sh[145]: return runner.run(main)
- Mar 22 13:24:01 openwebui start.sh[145]: │ │ └ <coroutine object Server.serve at 0x75770c0f5120>
- Mar 22 13:24:01 openwebui start.sh[145]: │ └ <function Runner.run at 0x75770c52bce0>
- Mar 22 13:24:01 openwebui start.sh[145]: └ <asyncio.runners.Runner object at 0x75770d4168d0>
- Mar 22 13:24:01 openwebui start.sh[145]: File "/usr/lib/python3.11/asyncio/runners.py", line 118, in run
- Mar 22 13:24:01 openwebui start.sh[145]: return self._loop.run_until_complete(task)
- Mar 22 13:24:01 openwebui start.sh[145]: │ │ │ └ <Task pending name='Task-1' coro=<Server.serve() running at /usr/local/lib/python3.11/dist-packages/uvicorn/server.py:70> wai...
- Mar 22 13:24:01 openwebui start.sh[145]: │ │ └ <cyfunction Loop.run_until_complete at 0x75770c1076b0>
- Mar 22 13:24:01 openwebui start.sh[145]: │ └ <uvloop.Loop running=True closed=False debug=False>
- Mar 22 13:24:01 openwebui start.sh[145]: └ <asyncio.runners.Runner object at 0x75770d4168d0>
- Mar 22 13:24:01 openwebui start.sh[145]: File "/usr/local/lib/python3.11/dist-packages/starlette/middleware/base.py", line 141, in coro
- Mar 22 13:24:01 openwebui start.sh[145]: await self.app(scope, receive_or_disconnect, send_no_error)
- Mar 22 13:24:01 openwebui start.sh[145]: │ │ │ │ └ <function BaseHTTPMiddleware.__call__.<locals>.call_next.<locals>.send_no_error at 0x75769f54fc40>
- Mar 22 13:24:01 openwebui start.sh[145]: │ │ │ └ <function BaseHTTPMiddleware.__call__.<locals>.call_next.<locals>.receive_or_disconnect at 0x75769f54e8e0>
- Mar 22 13:24:01 openwebui start.sh[145]: │ │ └ {'type': 'http', 'asgi': {'version': '3.0', 'spec_version': '2.3'}, 'http_version': '1.1', 'server': ('<replaced>', <replaced>),...
- Mar 22 13:24:01 openwebui start.sh[145]: │ └ <starlette.middleware.exceptions.ExceptionMiddleware object at 0x7576acffe190>
- Mar 22 13:24:01 openwebui start.sh[145]: └ <open_webui.main.RedirectMiddleware object at 0x7576acf0fdd0>
- Mar 22 13:24:01 openwebui start.sh[145]: File "/usr/local/lib/python3.11/dist-packages/starlette/middleware/exceptions.py", line 62, in __call__
- Mar 22 13:24:01 openwebui start.sh[145]: await wrap_app_handling_exceptions(self.app, conn)(scope, receive, send)
- Mar 22 13:24:01 openwebui start.sh[145]: │ │ │ │ │ │ └ <function BaseHTTPMiddleware.__call__.<locals>.call_next.<locals>.send_no_error at 0x75769f54fc40>
- Mar 22 13:24:01 openwebui start.sh[145]: │ │ │ │ │ └ <function BaseHTTPMiddleware.__call__.<locals>.call_next.<locals>.receive_or_disconnect at 0x75769f54e8e0>
- Mar 22 13:24:01 openwebui start.sh[145]: │ │ │ │ └ {'type': 'http', 'asgi': {'version': '3.0', 'spec_version': '2.3'}, 'http_version': '1.1', 'server': ('<replaced>', <replaced>),...
- Mar 22 13:24:01 openwebui start.sh[145]: │ │ │ └ <starlette.requests.Request object at 0x7576ab189950>
- Mar 22 13:24:01 openwebui start.sh[145]: │ │ └ <fastapi.routing.APIRouter object at 0x7576d5238bd0>
- Mar 22 13:24:01 openwebui start.sh[145]: │ └ <starlette.middleware.exceptions.ExceptionMiddleware object at 0x7576acffe190>
- Mar 22 13:24:01 openwebui start.sh[145]: └ <function wrap_app_handling_exceptions at 0x7577098662a0>
- Mar 22 13:24:01 openwebui start.sh[145]: File "/usr/local/lib/python3.11/dist-packages/starlette/_exception_handler.py", line 42, in wrapped_app
- Mar 22 13:24:01 openwebui start.sh[145]: await app(scope, receive, sender)
- Mar 22 13:24:01 openwebui start.sh[145]: │ │ │ └ <function wrap_app_handling_exceptions.<locals>.wrapped_app.<locals>.sender at 0x75769f54ce00>
- Mar 22 13:24:01 openwebui start.sh[145]: │ │ └ <function BaseHTTPMiddleware.__call__.<locals>.call_next.<locals>.receive_or_disconnect at 0x75769f54e8e0>
- Mar 22 13:24:01 openwebui start.sh[145]: │ └ {'type': 'http', 'asgi': {'version': '3.0', 'spec_version': '2.3'}, 'http_version': '1.1', 'server': ('<replaced>', <replaced>),...
- Mar 22 13:24:01 openwebui start.sh[145]: └ <fastapi.routing.APIRouter object at 0x7576d5238bd0>
- Mar 22 13:24:01 openwebui start.sh[145]: File "/usr/local/lib/python3.11/dist-packages/starlette/routing.py", line 715, in __call__
- Mar 22 13:24:01 openwebui start.sh[145]: await self.middleware_stack(scope, receive, send)
- Mar 22 13:24:01 openwebui start.sh[145]: │ │ │ │ └ <function wrap_app_handling_exceptions.<locals>.wrapped_app.<locals>.sender at 0x75769f54ce00>
- Mar 22 13:24:01 openwebui start.sh[145]: │ │ │ └ <function BaseHTTPMiddleware.__call__.<locals>.call_next.<locals>.receive_or_disconnect at 0x75769f54e8e0>
- Mar 22 13:24:01 openwebui start.sh[145]: │ │ └ {'type': 'http', 'asgi': {'version': '3.0', 'spec_version': '2.3'}, 'http_version': '1.1', 'server': ('<replaced>', <replaced>),...
- Mar 22 13:24:01 openwebui start.sh[145]: │ └ <bound method Router.app of <fastapi.routing.APIRouter object at 0x7576d5238bd0>>
- Mar 22 13:24:01 openwebui start.sh[145]: └ <fastapi.routing.APIRouter object at 0x7576d5238bd0>
- Mar 22 13:24:01 openwebui start.sh[145]: File "/usr/local/lib/python3.11/dist-packages/starlette/routing.py", line 735, in app
- Mar 22 13:24:01 openwebui start.sh[145]: await route.handle(scope, receive, send)
- Mar 22 13:24:01 openwebui start.sh[145]: │ │ │ │ └ <function wrap_app_handling_exceptions.<locals>.wrapped_app.<locals>.sender at 0x75769f54ce00>
- Mar 22 13:24:01 openwebui start.sh[145]: │ │ │ └ <function BaseHTTPMiddleware.__call__.<locals>.call_next.<locals>.receive_or_disconnect at 0x75769f54e8e0>
- Mar 22 13:24:01 openwebui start.sh[145]: │ │ └ {'type': 'http', 'asgi': {'version': '3.0', 'spec_version': '2.3'}, 'http_version': '1.1', 'server': ('<replaced>', <replaced>),...
- Mar 22 13:24:01 openwebui start.sh[145]: │ └ <function Route.handle at 0x757709867880>
- Mar 22 13:24:01 openwebui start.sh[145]: └ APIRoute(path='/api/chat/completions', name='chat_completion', methods=['POST'])
- Mar 22 13:24:01 openwebui start.sh[145]: File "/usr/local/lib/python3.11/dist-packages/starlette/routing.py", line 288, in handle
- Mar 22 13:24:01 openwebui start.sh[145]: await self.app(scope, receive, send)
- Mar 22 13:24:01 openwebui start.sh[145]: │ │ │ │ └ <function wrap_app_handling_exceptions.<locals>.wrapped_app.<locals>.sender at 0x75769f54ce00>
- Mar 22 13:24:01 openwebui start.sh[145]: │ │ │ └ <function BaseHTTPMiddleware.__call__.<locals>.call_next.<locals>.receive_or_disconnect at 0x75769f54e8e0>
- Mar 22 13:24:01 openwebui start.sh[145]: │ │ └ {'type': 'http', 'asgi': {'version': '3.0', 'spec_version': '2.3'}, 'http_version': '1.1', 'server': ('<replaced>', <replaced>),...
- Mar 22 13:24:01 openwebui start.sh[145]: │ └ <function request_response.<locals>.app at 0x7576ac9a9760>
- Mar 22 13:24:01 openwebui start.sh[145]: └ APIRoute(path='/api/chat/completions', name='chat_completion', methods=['POST'])
- Mar 22 13:24:01 openwebui start.sh[145]: File "/usr/local/lib/python3.11/dist-packages/starlette/routing.py", line 76, in app
- Mar 22 13:24:01 openwebui start.sh[145]: await wrap_app_handling_exceptions(app, request)(scope, receive, send)
- Mar 22 13:24:01 openwebui start.sh[145]: │ │ │ │ │ └ <function wrap_app_handling_exceptions.<locals>.wrapped_app.<locals>.sender at 0x75769f54ce00>
- Mar 22 13:24:01 openwebui start.sh[145]: │ │ │ │ └ <function BaseHTTPMiddleware.__call__.<locals>.call_next.<locals>.receive_or_disconnect at 0x75769f54e8e0>
- Mar 22 13:24:01 openwebui start.sh[145]: │ │ │ └ {'type': 'http', 'asgi': {'version': '3.0', 'spec_version': '2.3'}, 'http_version': '1.1', 'server': ('<replaced>', <replaced>),...
- Mar 22 13:24:01 openwebui start.sh[145]: │ │ └ <starlette.requests.Request object at 0x7576a56ba290>
- Mar 22 13:24:01 openwebui start.sh[145]: │ └ <function request_response.<locals>.app.<locals>.app at 0x75769f54e480>
- Mar 22 13:24:01 openwebui start.sh[145]: └ <function wrap_app_handling_exceptions at 0x7577098662a0>
- Mar 22 13:24:01 openwebui start.sh[145]: File "/usr/local/lib/python3.11/dist-packages/starlette/_exception_handler.py", line 42, in wrapped_app
- Mar 22 13:24:01 openwebui start.sh[145]: await app(scope, receive, sender)
- Mar 22 13:24:01 openwebui start.sh[145]: │ │ │ └ <function wrap_app_handling_exceptions.<locals>.wrapped_app.<locals>.sender at 0x75769f54f060>
- Mar 22 13:24:01 openwebui start.sh[145]: │ │ └ <function BaseHTTPMiddleware.__call__.<locals>.call_next.<locals>.receive_or_disconnect at 0x75769f54e8e0>
- Mar 22 13:24:01 openwebui start.sh[145]: │ └ {'type': 'http', 'asgi': {'version': '3.0', 'spec_version': '2.3'}, 'http_version': '1.1', 'server': ('<replaced>', <replaced>),...
- Mar 22 13:24:01 openwebui start.sh[145]: └ <function request_response.<locals>.app.<locals>.app at 0x75769f54e480>
- Mar 22 13:24:01 openwebui start.sh[145]: File "/usr/local/lib/python3.11/dist-packages/starlette/routing.py", line 73, in app
- Mar 22 13:24:01 openwebui start.sh[145]: response = await f(request)
- Mar 22 13:24:01 openwebui start.sh[145]: │ └ <starlette.requests.Request object at 0x7576a56ba290>
- Mar 22 13:24:01 openwebui start.sh[145]: └ <function get_request_handler.<locals>.app at 0x7576ac9a98a0>
- Mar 22 13:24:01 openwebui start.sh[145]: File "/usr/local/lib/python3.11/dist-packages/fastapi/routing.py", line 301, in app
- Mar 22 13:24:01 openwebui start.sh[145]: raw_response = await run_endpoint_function(
- Mar 22 13:24:01 openwebui start.sh[145]: └ <function run_endpoint_function at 0x7577096a56c0>
- Mar 22 13:24:01 openwebui start.sh[145]: File "/usr/local/lib/python3.11/dist-packages/fastapi/routing.py", line 212, in run_endpoint_function
- Mar 22 13:24:01 openwebui start.sh[145]: return await dependant.call(**values)
- Mar 22 13:24:01 openwebui start.sh[145]: │ │ └ {'user': UserModel(id='<replaced>', name='<replaced>', email='<replaced>', role='admin', ...
- Mar 22 13:24:01 openwebui start.sh[145]: │ └ <function chat_completion at 0x7576ac9a9ee0>
- Mar 22 13:24:01 openwebui start.sh[145]: └ Dependant(path_params=[], query_params=[], header_params=[], cookie_params=[], body_params=[ModelField(field_info=Body(Pydant...
- Mar 22 13:24:01 openwebui start.sh[145]: File "/opt/open-webui/backend/open_webui/main.py", line 1043, in chat_completion
- Mar 22 13:24:01 openwebui start.sh[145]: form_data, metadata, events = await process_chat_payload(
- Mar 22 13:24:01 openwebui start.sh[145]: │ │ └ <function process_chat_payload at 0x7576d57d8400>
- Mar 22 13:24:01 openwebui start.sh[145]: │ └ {'user_id': '<replaced>', 'chat_id': '1caf4a0a-1217-4156-b9aa-5a824d7cee97', 'message_id': '3f2c177...
- Mar 22 13:24:01 openwebui start.sh[145]: └ {'stream': True, 'model': 'gpt-4o-mini', 'messages': [{'role': 'system', 'content': 'Du bist ein hilfreicher, informativer un...
- Mar 22 13:24:01 openwebui start.sh[145]: File "/opt/open-webui/backend/open_webui/utils/middleware.py", line 736, in process_chat_payload
- Mar 22 13:24:01 openwebui start.sh[145]: form_data = await chat_web_search_handler(
- Mar 22 13:24:01 openwebui start.sh[145]: └ <function chat_web_search_handler at 0x7576d57d9580>
- Mar 22 13:24:01 openwebui start.sh[145]: > File "/opt/open-webui/backend/open_webui/utils/middleware.py", line 341, in chat_web_search_handler
- Mar 22 13:24:01 openwebui start.sh[145]: results = await process_web_search(
- Mar 22 13:24:01 openwebui start.sh[145]: └ <function process_web_search at 0x7576d747eca0>
- Mar 22 13:24:01 openwebui start.sh[145]: File "/opt/open-webui/backend/open_webui/routers/retrieval.py", line 1481, in process_web_search
- Mar 22 13:24:01 openwebui start.sh[145]: raise HTTPException(
- Mar 22 13:24:01 openwebui start.sh[145]: └ <class 'fastapi.exceptions.HTTPException'>
- Mar 22 13:24:01 openwebui start.sh[145]: fastapi.exceptions.HTTPException: 400: [ERROR: 'NoneType' object has no attribute 'encode']
- Mar 22 13:24:01 openwebui start.sh[145]: 2025-03-22 13:24:01.258 | INFO | open_webui.routers.retrieval:process_web_search:1417 - trying to web search with ('google_pse', 'besondere Ereignisse am 26. Oktober 2023') - {}
- Mar 22 13:24:04 openwebui start.sh[145]: [178B blob data]
- Mar 22 13:24:04 openwebui start.sh[145]: 2025-03-22 13:24:04.607 | INFO | open_webui.routers.retrieval:save_docs_to_vector_db:782 - save_docs_to_vector_db: document BMF-Monatsbericht November 2023 - Ergebnisse der Steuerschätzung vom 24. bis 26. Oktober 2023, Tag der offenen Tür im Winterpalais des Prinzen Eugen am 26. Oktober, Programm – Kinderkunstfest web-search-62edc72aea83916f3f78d01ca16d398b4a811f611297387b08c3 - {}
- Mar 22 13:24:04 openwebui start.sh[145]: 2025-03-22 13:24:04.615 | INFO | open_webui.routers.retrieval:save_docs_to_vector_db:865 - adding to collection web-search-62edc72aea83916f3f78d01ca16d398b4a811f611297387b08c3 - {}
- Mar 22 13:24:04 openwebui start.sh[145]: 2025-03-22 13:24:04.615 | ERROR | open_webui.routers.retrieval:save_docs_to_vector_db:904 - 'NoneType' object has no attribute 'encode' - {}
- Mar 22 13:24:04 openwebui start.sh[145]: Traceback (most recent call last):
- Mar 22 13:24:04 openwebui start.sh[145]: File "/usr/lib/python3.11/threading.py", line 995, in _bootstrap
- Mar 22 13:24:04 openwebui start.sh[145]: self._bootstrap_inner()
- Mar 22 13:24:04 openwebui start.sh[145]: │ └ <function Thread._bootstrap_inner at 0x75770ce87ce0>
- Mar 22 13:24:04 openwebui start.sh[145]: └ <WorkerThread(AnyIO worker thread, started 129151912642240)>
- Mar 22 13:24:04 openwebui start.sh[145]: File "/usr/lib/python3.11/threading.py", line 1038, in _bootstrap_inner
- Mar 22 13:24:04 openwebui start.sh[145]: self.run()
- Mar 22 13:24:04 openwebui start.sh[145]: │ └ <function WorkerThread.run at 0x7576ac827880>
- Mar 22 13:24:04 openwebui start.sh[145]: └ <WorkerThread(AnyIO worker thread, started 129151912642240)>
- Mar 22 13:24:04 openwebui start.sh[145]: File "/usr/local/lib/python3.11/dist-packages/anyio/_backends/_asyncio.py", line 967, in run
- Mar 22 13:24:04 openwebui start.sh[145]: result = context.run(func, *args)
- Mar 22 13:24:04 openwebui start.sh[145]: │ │ │ └ ()
- Mar 22 13:24:04 openwebui start.sh[145]: │ │ └ functools.partial(<function save_docs_to_vector_db at 0x7576d7445620>, <starlette.requests.Request object at 0x7576a56ba290>,...
- Mar 22 13:24:04 openwebui start.sh[145]: │ └ <method 'run' of '_contextvars.Context' objects>
- Mar 22 13:24:04 openwebui start.sh[145]: └ <_contextvars.Context object at 0x7576a5366280>
- Mar 22 13:24:04 openwebui start.sh[145]: > File "/opt/open-webui/backend/open_webui/routers/retrieval.py", line 883, in save_docs_to_vector_db
- Mar 22 13:24:04 openwebui start.sh[145]: embeddings = embedding_function(
- Mar 22 13:24:04 openwebui start.sh[145]: └ <function get_embedding_function.<locals>.<lambda> at 0x7576abc06fc0>
- Mar 22 13:24:04 openwebui start.sh[145]: File "/opt/open-webui/backend/open_webui/retrieval/utils.py", line 314, in <lambda>
- Mar 22 13:24:04 openwebui start.sh[145]: return lambda query, user=None: embedding_function.encode(query).tolist()
- Mar 22 13:24:04 openwebui start.sh[145]: │ │ └ ['BMF-Monatsbericht November 2023 - Ergebnisse der Steuerschätzung vom 24. bis 26. Oktober 2023 ...
- Mar 22 13:24:04 openwebui start.sh[145]: │ └ None
- Mar 22 13:24:04 openwebui start.sh[145]: └ ['BMF-Monatsbericht November 2023 - Ergebnisse der Steuerschätzung vom 24. bis 26. Oktober 2023 ...
- Mar 22 13:24:04 openwebui start.sh[145]: AttributeError: 'NoneType' object has no attribute 'encode'
- Mar 22 13:24:04 openwebui start.sh[145]: 2025-03-22 13:24:04.619 | ERROR | open_webui.routers.retrieval:process_web_search:1480 - 'NoneType' object has no attribute 'encode' - {}
- Mar 22 13:24:04 openwebui start.sh[145]: Traceback (most recent call last):
- Mar 22 13:24:04 openwebui start.sh[145]: File "/usr/local/bin/uvicorn", line 8, in <module>
- Mar 22 13:24:04 openwebui start.sh[145]: sys.exit(main())
- Mar 22 13:24:04 openwebui start.sh[145]: │ │ └ <Command main>
- Mar 22 13:24:04 openwebui start.sh[145]: │ └ <built-in function exit>
- Mar 22 13:24:04 openwebui start.sh[145]: └ <module 'sys' (built-in)>
- Mar 22 13:24:04 openwebui start.sh[145]: File "/usr/local/lib/python3.11/dist-packages/click/core.py", line 1161, in __call__
- Mar 22 13:24:04 openwebui start.sh[145]: return self.main(*args, **kwargs)
- Mar 22 13:24:04 openwebui start.sh[145]: │ │ │ └ {}
- Mar 22 13:24:04 openwebui start.sh[145]: │ │ └ ()
- Mar 22 13:24:04 openwebui start.sh[145]: │ └ <function BaseCommand.main at 0x75770c2dbb00>
- Mar 22 13:24:04 openwebui start.sh[145]: └ <Command main>
- Mar 22 13:24:04 openwebui start.sh[145]: File "/usr/local/lib/python3.11/dist-packages/click/core.py", line 1082, in main
- Mar 22 13:24:04 openwebui start.sh[145]: rv = self.invoke(ctx)
- Mar 22 13:24:04 openwebui start.sh[145]: │ │ └ <click.core.Context object at 0x75770cfc85d0>
- Mar 22 13:24:04 openwebui start.sh[145]: │ └ <function Command.invoke at 0x75770c2f0720>
- Mar 22 13:24:04 openwebui start.sh[145]: └ <Command main>
- Mar 22 13:24:04 openwebui start.sh[145]: File "/usr/local/lib/python3.11/dist-packages/click/core.py", line 1443, in invoke
- Mar 22 13:24:04 openwebui start.sh[145]: return ctx.invoke(self.callback, **ctx.params)
- Mar 22 13:24:04 openwebui start.sh[145]: │ │ │ │ │ └ {'host': '0.0.0.0', 'port': <replaced>, 'forwarded_allow_ips': '*', 'app': 'open_webui.main:app', 'uds': None, 'fd': None, 'reload'...
- Mar 22 13:24:04 openwebui start.sh[145]: │ │ │ │ └ <click.core.Context object at 0x75770cfc85d0>
- Mar 22 13:24:04 openwebui start.sh[145]: │ │ │ └ <function main at 0x75770c12de40>
- Mar 22 13:24:04 openwebui start.sh[145]: │ │ └ <Command main>
- Mar 22 13:24:04 openwebui start.sh[145]: │ └ <function Context.invoke at 0x75770c2db060>
- Mar 22 13:24:04 openwebui start.sh[145]: └ <click.core.Context object at 0x75770cfc85d0>
- Mar 22 13:24:04 openwebui start.sh[145]: File "/usr/local/lib/python3.11/dist-packages/click/core.py", line 788, in invoke
- Mar 22 13:24:04 openwebui start.sh[145]: return __callback(*args, **kwargs)
- Mar 22 13:24:04 openwebui start.sh[145]: │ └ {'host': '0.0.0.0', 'port': <replaced>, 'forwarded_allow_ips': '*', 'app': 'open_webui.main:app', 'uds': None, 'fd': None, 'reload'...
- Mar 22 13:24:04 openwebui start.sh[145]: └ ()
- Mar 22 13:24:04 openwebui start.sh[145]: File "/usr/local/lib/python3.11/dist-packages/uvicorn/main.py", line 412, in main
- Mar 22 13:24:04 openwebui start.sh[145]: run(
- Mar 22 13:24:04 openwebui start.sh[145]: └ <function run at 0x75770c351bc0>
- Mar 22 13:24:04 openwebui start.sh[145]: File "/usr/local/lib/python3.11/dist-packages/uvicorn/main.py", line 579, in run
- Mar 22 13:24:04 openwebui start.sh[145]: server.run()
- Mar 22 13:24:04 openwebui start.sh[145]: │ └ <function Server.run at 0x75770c38f1a0>
- Mar 22 13:24:04 openwebui start.sh[145]: └ <uvicorn.server.Server object at 0x75770c331d90>
- Mar 22 13:24:04 openwebui start.sh[145]: File "/usr/local/lib/python3.11/dist-packages/uvicorn/server.py", line 66, in run
- Mar 22 13:24:04 openwebui start.sh[145]: return asyncio.run(self.serve(sockets=sockets))
- Mar 22 13:24:04 openwebui start.sh[145]: │ │ │ │ └ None
- Mar 22 13:24:04 openwebui start.sh[145]: │ │ │ └ <function Server.serve at 0x75770c38f240>
- Mar 22 13:24:04 openwebui start.sh[145]: │ │ └ <uvicorn.server.Server object at 0x75770c331d90>
- Mar 22 13:24:04 openwebui start.sh[145]: │ └ <function run at 0x75770cb70400>
- Mar 22 13:24:04 openwebui start.sh[145]: └ <module 'asyncio' from '/usr/lib/python3.11/asyncio/__init__.py'>
- Mar 22 13:24:04 openwebui start.sh[145]: File "/usr/lib/python3.11/asyncio/runners.py", line 190, in run
- Mar 22 13:24:04 openwebui start.sh[145]: return runner.run(main)
- Mar 22 13:24:04 openwebui start.sh[145]: │ │ └ <coroutine object Server.serve at 0x75770c0f5120>
- Mar 22 13:24:04 openwebui start.sh[145]: │ └ <function Runner.run at 0x75770c52bce0>
- Mar 22 13:24:04 openwebui start.sh[145]: └ <asyncio.runners.Runner object at 0x75770d4168d0>
- Mar 22 13:24:04 openwebui start.sh[145]: File "/usr/lib/python3.11/asyncio/runners.py", line 118, in run
- Mar 22 13:24:04 openwebui start.sh[145]: return self._loop.run_until_complete(task)
- Mar 22 13:24:04 openwebui start.sh[145]: │ │ │ └ <Task pending name='Task-1' coro=<Server.serve() running at /usr/local/lib/python3.11/dist-packages/uvicorn/server.py:70> wai...
- Mar 22 13:24:04 openwebui start.sh[145]: │ │ └ <cyfunction Loop.run_until_complete at 0x75770c1076b0>
- Mar 22 13:24:04 openwebui start.sh[145]: │ └ <uvloop.Loop running=True closed=False debug=False>
- Mar 22 13:24:04 openwebui start.sh[145]: └ <asyncio.runners.Runner object at 0x75770d4168d0>
- Mar 22 13:24:04 openwebui start.sh[145]: File "/usr/local/lib/python3.11/dist-packages/starlette/middleware/base.py", line 141, in coro
- Mar 22 13:24:04 openwebui start.sh[145]: await self.app(scope, receive_or_disconnect, send_no_error)
- Mar 22 13:24:04 openwebui start.sh[145]: │ │ │ │ └ <function BaseHTTPMiddleware.__call__.<locals>.call_next.<locals>.send_no_error at 0x75769f54fc40>
- Mar 22 13:24:04 openwebui start.sh[145]: │ │ │ └ <function BaseHTTPMiddleware.__call__.<locals>.call_next.<locals>.receive_or_disconnect at 0x75769f54e8e0>
- Mar 22 13:24:04 openwebui start.sh[145]: │ │ └ {'type': 'http', 'asgi': {'version': '3.0', 'spec_version': '2.3'}, 'http_version': '1.1', 'server': ('<replaced>', <replaced>),...
- Mar 22 13:24:04 openwebui start.sh[145]: │ └ <starlette.middleware.exceptions.ExceptionMiddleware object at 0x7576acffe190>
- Mar 22 13:24:04 openwebui start.sh[145]: └ <open_webui.main.RedirectMiddleware object at 0x7576acf0fdd0>
- Mar 22 13:24:04 openwebui start.sh[145]: File "/usr/local/lib/python3.11/dist-packages/starlette/middleware/exceptions.py", line 62, in __call__
- Mar 22 13:24:04 openwebui start.sh[145]: await wrap_app_handling_exceptions(self.app, conn)(scope, receive, send)
- Mar 22 13:24:04 openwebui start.sh[145]: │ │ │ │ │ │ └ <function BaseHTTPMiddleware.__call__.<locals>.call_next.<locals>.send_no_error at 0x75769f54fc40>
- Mar 22 13:24:04 openwebui start.sh[145]: │ │ │ │ │ └ <function BaseHTTPMiddleware.__call__.<locals>.call_next.<locals>.receive_or_disconnect at 0x75769f54e8e0>
- Mar 22 13:24:04 openwebui start.sh[145]: │ │ │ │ └ {'type': 'http', 'asgi': {'version': '3.0', 'spec_version': '2.3'}, 'http_version': '1.1', 'server': ('<replaced>', <replaced>),...
- Mar 22 13:24:04 openwebui start.sh[145]: │ │ │ └ <starlette.requests.Request object at 0x7576ab189950>
- Mar 22 13:24:04 openwebui start.sh[145]: │ │ └ <fastapi.routing.APIRouter object at 0x7576d5238bd0>
- Mar 22 13:24:04 openwebui start.sh[145]: │ └ <starlette.middleware.exceptions.ExceptionMiddleware object at 0x7576acffe190>
- Mar 22 13:24:04 openwebui start.sh[145]: └ <function wrap_app_handling_exceptions at 0x7577098662a0>
- Mar 22 13:24:04 openwebui start.sh[145]: File "/usr/local/lib/python3.11/dist-packages/starlette/_exception_handler.py", line 42, in wrapped_app
- Mar 22 13:24:04 openwebui start.sh[145]: await app(scope, receive, sender)
- Mar 22 13:24:04 openwebui start.sh[145]: │ │ │ └ <function wrap_app_handling_exceptions.<locals>.wrapped_app.<locals>.sender at 0x75769f54ce00>
- Mar 22 13:24:04 openwebui start.sh[145]: │ │ └ <function BaseHTTPMiddleware.__call__.<locals>.call_next.<locals>.receive_or_disconnect at 0x75769f54e8e0>
- Mar 22 13:24:04 openwebui start.sh[145]: │ └ {'type': 'http', 'asgi': {'version': '3.0', 'spec_version': '2.3'}, 'http_version': '1.1', 'server': ('<replaced>', <replaced>),...
- Mar 22 13:24:04 openwebui start.sh[145]: └ <fastapi.routing.APIRouter object at 0x7576d5238bd0>
- Mar 22 13:24:04 openwebui start.sh[145]: File "/usr/local/lib/python3.11/dist-packages/starlette/routing.py", line 715, in __call__
- Mar 22 13:24:04 openwebui start.sh[145]: await self.middleware_stack(scope, receive, send)
- Mar 22 13:24:04 openwebui start.sh[145]: │ │ │ │ └ <function wrap_app_handling_exceptions.<locals>.wrapped_app.<locals>.sender at 0x75769f54ce00>
- Mar 22 13:24:04 openwebui start.sh[145]: │ │ │ └ <function BaseHTTPMiddleware.__call__.<locals>.call_next.<locals>.receive_or_disconnect at 0x75769f54e8e0>
- Mar 22 13:24:04 openwebui start.sh[145]: │ │ └ {'type': 'http', 'asgi': {'version': '3.0', 'spec_version': '2.3'}, 'http_version': '1.1', 'server': ('<replaced>', <replaced>),...
- Mar 22 13:24:04 openwebui start.sh[145]: │ └ <bound method Router.app of <fastapi.routing.APIRouter object at 0x7576d5238bd0>>
- Mar 22 13:24:04 openwebui start.sh[145]: └ <fastapi.routing.APIRouter object at 0x7576d5238bd0>
- Mar 22 13:24:04 openwebui start.sh[145]: File "/usr/local/lib/python3.11/dist-packages/starlette/routing.py", line 735, in app
- Mar 22 13:24:04 openwebui start.sh[145]: await route.handle(scope, receive, send)
- Mar 22 13:24:04 openwebui start.sh[145]: │ │ │ │ └ <function wrap_app_handling_exceptions.<locals>.wrapped_app.<locals>.sender at 0x75769f54ce00>
- Mar 22 13:24:04 openwebui start.sh[145]: │ │ │ └ <function BaseHTTPMiddleware.__call__.<locals>.call_next.<locals>.receive_or_disconnect at 0x75769f54e8e0>
- Mar 22 13:24:04 openwebui start.sh[145]: │ │ └ {'type': 'http', 'asgi': {'version': '3.0', 'spec_version': '2.3'}, 'http_version': '1.1', 'server': ('<replaced>', <replaced>),...
- Mar 22 13:24:04 openwebui start.sh[145]: │ └ <function Route.handle at 0x757709867880>
- Mar 22 13:24:04 openwebui start.sh[145]: └ APIRoute(path='/api/chat/completions', name='chat_completion', methods=['POST'])
- Mar 22 13:24:04 openwebui start.sh[145]: File "/usr/local/lib/python3.11/dist-packages/starlette/routing.py", line 288, in handle
- Mar 22 13:24:04 openwebui start.sh[145]: await self.app(scope, receive, send)
- Mar 22 13:24:04 openwebui start.sh[145]: │ │ │ │ └ <function wrap_app_handling_exceptions.<locals>.wrapped_app.<locals>.sender at 0x75769f54ce00>
- Mar 22 13:24:04 openwebui start.sh[145]: │ │ │ └ <function BaseHTTPMiddleware.__call__.<locals>.call_next.<locals>.receive_or_disconnect at 0x75769f54e8e0>
- Mar 22 13:24:04 openwebui start.sh[145]: │ │ └ {'type': 'http', 'asgi': {'version': '3.0', 'spec_version': '2.3'}, 'http_version': '1.1', 'server': ('<replaced>', <replaced>),...
- Mar 22 13:24:04 openwebui start.sh[145]: │ └ <function request_response.<locals>.app at 0x7576ac9a9760>
- Mar 22 13:24:04 openwebui start.sh[145]: └ APIRoute(path='/api/chat/completions', name='chat_completion', methods=['POST'])
- Mar 22 13:24:04 openwebui start.sh[145]: File "/usr/local/lib/python3.11/dist-packages/starlette/routing.py", line 76, in app
- Mar 22 13:24:04 openwebui start.sh[145]: await wrap_app_handling_exceptions(app, request)(scope, receive, send)
- Mar 22 13:24:04 openwebui start.sh[145]: │ │ │ │ │ └ <function wrap_app_handling_exceptions.<locals>.wrapped_app.<locals>.sender at 0x75769f54ce00>
- Mar 22 13:24:04 openwebui start.sh[145]: │ │ │ │ └ <function BaseHTTPMiddleware.__call__.<locals>.call_next.<locals>.receive_or_disconnect at 0x75769f54e8e0>
- Mar 22 13:24:04 openwebui start.sh[145]: │ │ │ └ {'type': 'http', 'asgi': {'version': '3.0', 'spec_version': '2.3'}, 'http_version': '1.1', 'server': ('<replaced>', <replaced>),...
- Mar 22 13:24:04 openwebui start.sh[145]: │ │ └ <starlette.requests.Request object at 0x7576a56ba290>
- Mar 22 13:24:04 openwebui start.sh[145]: │ └ <function request_response.<locals>.app.<locals>.app at 0x75769f54e480>
- Mar 22 13:24:04 openwebui start.sh[145]: └ <function wrap_app_handling_exceptions at 0x7577098662a0>
- Mar 22 13:24:04 openwebui start.sh[145]: File "/usr/local/lib/python3.11/dist-packages/starlette/_exception_handler.py", line 42, in wrapped_app
- Mar 22 13:24:04 openwebui start.sh[145]: await app(scope, receive, sender)
- Mar 22 13:24:04 openwebui start.sh[145]: │ │ │ └ <function wrap_app_handling_exceptions.<locals>.wrapped_app.<locals>.sender at 0x75769f54f060>
- Mar 22 13:24:04 openwebui start.sh[145]: │ │ └ <function BaseHTTPMiddleware.__call__.<locals>.call_next.<locals>.receive_or_disconnect at 0x75769f54e8e0>
- Mar 22 13:24:04 openwebui start.sh[145]: │ └ {'type': 'http', 'asgi': {'version': '3.0', 'spec_version': '2.3'}, 'http_version': '1.1', 'server': ('<replaced>', <replaced>),...
- Mar 22 13:24:04 openwebui start.sh[145]: └ <function request_response.<locals>.app.<locals>.app at 0x75769f54e480>
- Mar 22 13:24:04 openwebui start.sh[145]: File "/usr/local/lib/python3.11/dist-packages/starlette/routing.py", line 73, in app
- Mar 22 13:24:04 openwebui start.sh[145]: response = await f(request)
- Mar 22 13:24:04 openwebui start.sh[145]: │ └ <starlette.requests.Request object at 0x7576a56ba290>
- Mar 22 13:24:04 openwebui start.sh[145]: └ <function get_request_handler.<locals>.app at 0x7576ac9a98a0>
- Mar 22 13:24:04 openwebui start.sh[145]: File "/usr/local/lib/python3.11/dist-packages/fastapi/routing.py", line 301, in app
- Mar 22 13:24:04 openwebui start.sh[145]: raw_response = await run_endpoint_function(
- Mar 22 13:24:04 openwebui start.sh[145]: └ <function run_endpoint_function at 0x7577096a56c0>
- Mar 22 13:24:04 openwebui start.sh[145]: File "/usr/local/lib/python3.11/dist-packages/fastapi/routing.py", line 212, in run_endpoint_function
- Mar 22 13:24:04 openwebui start.sh[145]: return await dependant.call(**values)
- Mar 22 13:24:04 openwebui start.sh[145]: │ │ └ {'user': UserModel(id='<replaced>', name='<replaced>', email='<replaced>', role='admin', ...
- Mar 22 13:24:04 openwebui start.sh[145]: │ └ <function chat_completion at 0x7576ac9a9ee0>
- Mar 22 13:24:04 openwebui start.sh[145]: └ Dependant(path_params=[], query_params=[], header_params=[], cookie_params=[], body_params=[ModelField(field_info=Body(Pydant...
- Mar 22 13:24:04 openwebui start.sh[145]: File "/opt/open-webui/backend/open_webui/main.py", line 1043, in chat_completion
- Mar 22 13:24:04 openwebui start.sh[145]: form_data, metadata, events = await process_chat_payload(
- Mar 22 13:24:04 openwebui start.sh[145]: │ │ └ <function process_chat_payload at 0x7576d57d8400>
- Mar 22 13:24:04 openwebui start.sh[145]: │ └ {'user_id': '<replaced>', 'chat_id': '1caf4a0a-1217-4156-b9aa-5a824d7cee97', 'message_id': '3f2c177...
- Mar 22 13:24:04 openwebui start.sh[145]: └ {'stream': True, 'model': 'gpt-4o-mini', 'messages': [{'role': 'system', 'content': 'Du bist ein hilfreicher, informativer un...
- Mar 22 13:24:04 openwebui start.sh[145]: File "/opt/open-webui/backend/open_webui/utils/middleware.py", line 736, in process_chat_payload
- Mar 22 13:24:04 openwebui start.sh[145]: form_data = await chat_web_search_handler(
- Mar 22 13:24:04 openwebui start.sh[145]: └ <function chat_web_search_handler at 0x7576d57d9580>
- Mar 22 13:24:04 openwebui start.sh[145]: File "/opt/open-webui/backend/open_webui/utils/middleware.py", line 341, in chat_web_search_handler
- Mar 22 13:24:04 openwebui start.sh[145]: results = await process_web_search(
- Mar 22 13:24:04 openwebui start.sh[145]: └ <function process_web_search at 0x7576d747eca0>
- Mar 22 13:24:04 openwebui start.sh[145]: > File "/opt/open-webui/backend/open_webui/routers/retrieval.py", line 1464, in process_web_search
- Mar 22 13:24:04 openwebui start.sh[145]: await run_in_threadpool(
- Mar 22 13:24:04 openwebui start.sh[145]: └ <function run_in_threadpool at 0x757709af4fe0>
- Mar 22 13:24:04 openwebui start.sh[145]: File "/usr/local/lib/python3.11/dist-packages/starlette/concurrency.py", line 37, in run_in_threadpool
- Mar 22 13:24:04 openwebui start.sh[145]: return await anyio.to_thread.run_sync(func)
- Mar 22 13:24:04 openwebui start.sh[145]: │ │ │ └ functools.partial(<function save_docs_to_vector_db at 0x7576d7445620>, <starlette.requests.Request object at 0x7576a56ba290>,...
- Mar 22 13:24:04 openwebui start.sh[145]: │ │ └ <function run_sync at 0x75770c239260>
- Mar 22 13:24:04 openwebui start.sh[145]: │ └ <module 'anyio.to_thread' from '/usr/local/lib/python3.11/dist-packages/anyio/to_thread.py'>
- Mar 22 13:24:04 openwebui start.sh[145]: └ <module 'anyio' from '/usr/local/lib/python3.11/dist-packages/anyio/__init__.py'>
- Mar 22 13:24:04 openwebui start.sh[145]: File "/usr/local/lib/python3.11/dist-packages/anyio/to_thread.py", line 56, in run_sync
- Mar 22 13:24:04 openwebui start.sh[145]: return await get_async_backend().run_sync_in_worker_thread(
- Mar 22 13:24:04 openwebui start.sh[145]: └ <function get_async_backend at 0x75770c23a8e0>
- Mar 22 13:24:04 openwebui start.sh[145]: File "/usr/local/lib/python3.11/dist-packages/anyio/_backends/_asyncio.py", line 2470, in run_sync_in_worker_thread
- Mar 22 13:24:04 openwebui start.sh[145]: return await future
- Mar 22 13:24:04 openwebui start.sh[145]: └ <Future finished exception=AttributeError("'NoneType' object has no attribute 'encode'")>
- Mar 22 13:24:04 openwebui start.sh[145]: File "/usr/local/lib/python3.11/dist-packages/anyio/_backends/_asyncio.py", line 967, in run
- Mar 22 13:24:04 openwebui start.sh[145]: result = context.run(func, *args)
- Mar 22 13:24:04 openwebui start.sh[145]: File "/opt/open-webui/backend/open_webui/routers/retrieval.py", line 905, in save_docs_to_vector_db
- Mar 22 13:24:04 openwebui start.sh[145]: raise e
- Mar 22 13:24:04 openwebui start.sh[145]: File "/opt/open-webui/backend/open_webui/routers/retrieval.py", line 883, in save_docs_to_vector_db
- Mar 22 13:24:04 openwebui start.sh[145]: embeddings = embedding_function(
- Mar 22 13:24:04 openwebui start.sh[145]: └ <function get_embedding_function.<locals>.<lambda> at 0x7576abc06fc0>
- Mar 22 13:24:04 openwebui start.sh[145]: File "/opt/open-webui/backend/open_webui/retrieval/utils.py", line 314, in <lambda>
- Mar 22 13:24:04 openwebui start.sh[145]: return lambda query, user=None: embedding_function.encode(query).tolist()
- Mar 22 13:24:04 openwebui start.sh[145]: │ │ └ ['BMF-Monatsbericht November 2023 - Ergebnisse der Steuerschätzung vom 24. bis 26. Oktober 2023 ...
- Mar 22 13:24:04 openwebui start.sh[145]: │ └ None
- Mar 22 13:24:04 openwebui start.sh[145]: └ ['BMF-Monatsbericht November 2023 - Ergebnisse der Steuerschätzung vom 24. bis 26. Oktober 2023 ...
- Mar 22 13:24:04 openwebui start.sh[145]: AttributeError: 'NoneType' object has no attribute 'encode'
- Mar 22 13:24:04 openwebui start.sh[145]: 2025-03-22 13:24:04.626 | ERROR | open_webui.utils.middleware:chat_web_search_handler:376 - 400: [ERROR: 'NoneType' object has no attribute 'encode'] - {}
- Mar 22 13:24:04 openwebui start.sh[145]: Traceback (most recent call last):
- Mar 22 13:24:04 openwebui start.sh[145]: File "/opt/open-webui/backend/open_webui/routers/retrieval.py", line 1464, in process_web_search
- Mar 22 13:24:04 openwebui start.sh[145]: await run_in_threadpool(
- Mar 22 13:24:04 openwebui start.sh[145]: └ <function run_in_threadpool at 0x757709af4fe0>
- Mar 22 13:24:04 openwebui start.sh[145]: File "/usr/local/lib/python3.11/dist-packages/starlette/concurrency.py", line 37, in run_in_threadpool
- Mar 22 13:24:04 openwebui start.sh[145]: return await anyio.to_thread.run_sync(func)
- Mar 22 13:24:04 openwebui start.sh[145]: │ │ │ └ functools.partial(<function save_docs_to_vector_db at 0x7576d7445620>, <starlette.requests.Request object at 0x7576a56ba290>,...
- Mar 22 13:24:04 openwebui start.sh[145]: │ │ └ <function run_sync at 0x75770c239260>
- Mar 22 13:24:04 openwebui start.sh[145]: │ └ <module 'anyio.to_thread' from '/usr/local/lib/python3.11/dist-packages/anyio/to_thread.py'>
- Mar 22 13:24:04 openwebui start.sh[145]: └ <module 'anyio' from '/usr/local/lib/python3.11/dist-packages/anyio/__init__.py'>
- Mar 22 13:24:04 openwebui start.sh[145]: File "/usr/local/lib/python3.11/dist-packages/anyio/to_thread.py", line 56, in run_sync
- Mar 22 13:24:04 openwebui start.sh[145]: return await get_async_backend().run_sync_in_worker_thread(
- Mar 22 13:24:04 openwebui start.sh[145]: └ <function get_async_backend at 0x75770c23a8e0>
- Mar 22 13:24:04 openwebui start.sh[145]: File "/usr/local/lib/python3.11/dist-packages/anyio/_backends/_asyncio.py", line 2470, in run_sync_in_worker_thread
- Mar 22 13:24:04 openwebui start.sh[145]: return await future
- Mar 22 13:24:04 openwebui start.sh[145]: └ <Future finished exception=AttributeError("'NoneType' object has no attribute 'encode'")>
- Mar 22 13:24:04 openwebui start.sh[145]: File "/usr/local/lib/python3.11/dist-packages/anyio/_backends/_asyncio.py", line 967, in run
- Mar 22 13:24:04 openwebui start.sh[145]: result = context.run(func, *args)
- Mar 22 13:24:04 openwebui start.sh[145]: File "/opt/open-webui/backend/open_webui/routers/retrieval.py", line 905, in save_docs_to_vector_db
- Mar 22 13:24:04 openwebui start.sh[145]: raise e
- Mar 22 13:24:04 openwebui start.sh[145]: File "/opt/open-webui/backend/open_webui/routers/retrieval.py", line 883, in save_docs_to_vector_db
- Mar 22 13:24:04 openwebui start.sh[145]: embeddings = embedding_function(
- Mar 22 13:24:04 openwebui start.sh[145]: └ <function get_embedding_function.<locals>.<lambda> at 0x7576abc06fc0>
- Mar 22 13:24:04 openwebui start.sh[145]: File "/opt/open-webui/backend/open_webui/retrieval/utils.py", line 314, in <lambda>
- Mar 22 13:24:04 openwebui start.sh[145]: return lambda query, user=None: embedding_function.encode(query).tolist()
- Mar 22 13:24:04 openwebui start.sh[145]: │ │ └ ['BMF-Monatsbericht November 2023 - Ergebnisse der Steuerschätzung vom 24. bis 26. Oktober 2023 ...
- Mar 22 13:24:04 openwebui start.sh[145]: │ └ None
- Mar 22 13:24:04 openwebui start.sh[145]: └ ['BMF-Monatsbericht November 2023 - Ergebnisse der Steuerschätzung vom 24. bis 26. Oktober 2023 ...
- Mar 22 13:24:04 openwebui start.sh[145]: AttributeError: 'NoneType' object has no attribute 'encode'
- Mar 22 13:24:04 openwebui start.sh[145]: During handling of the above exception, another exception occurred:
- Mar 22 13:24:04 openwebui start.sh[145]: Traceback (most recent call last):
- Mar 22 13:24:04 openwebui start.sh[145]: File "/usr/local/bin/uvicorn", line 8, in <module>
- Mar 22 13:24:04 openwebui start.sh[145]: sys.exit(main())
- Mar 22 13:24:04 openwebui start.sh[145]: │ │ └ <Command main>
- Mar 22 13:24:04 openwebui start.sh[145]: │ └ <built-in function exit>
- Mar 22 13:24:04 openwebui start.sh[145]: └ <module 'sys' (built-in)>
- Mar 22 13:24:04 openwebui start.sh[145]: File "/usr/local/lib/python3.11/dist-packages/click/core.py", line 1161, in __call__
- Mar 22 13:24:04 openwebui start.sh[145]: return self.main(*args, **kwargs)
- Mar 22 13:24:04 openwebui start.sh[145]: │ │ │ └ {}
- Mar 22 13:24:04 openwebui start.sh[145]: │ │ └ ()
- Mar 22 13:24:04 openwebui start.sh[145]: │ └ <function BaseCommand.main at 0x75770c2dbb00>
- Mar 22 13:24:04 openwebui start.sh[145]: └ <Command main>
- Mar 22 13:24:04 openwebui start.sh[145]: File "/usr/local/lib/python3.11/dist-packages/click/core.py", line 1082, in main
- Mar 22 13:24:04 openwebui start.sh[145]: rv = self.invoke(ctx)
- Mar 22 13:24:04 openwebui start.sh[145]: │ │ └ <click.core.Context object at 0x75770cfc85d0>
- Mar 22 13:24:04 openwebui start.sh[145]: │ └ <function Command.invoke at 0x75770c2f0720>
- Mar 22 13:24:04 openwebui start.sh[145]: └ <Command main>
- Mar 22 13:24:04 openwebui start.sh[145]: File "/usr/local/lib/python3.11/dist-packages/click/core.py", line 1443, in invoke
- Mar 22 13:24:04 openwebui start.sh[145]: return ctx.invoke(self.callback, **ctx.params)
- Mar 22 13:24:04 openwebui start.sh[145]: │ │ │ │ │ └ {'host': '0.0.0.0', 'port': <replaced>, 'forwarded_allow_ips': '*', 'app': 'open_webui.main:app', 'uds': None, 'fd': None, 'reload'...
- Mar 22 13:24:04 openwebui start.sh[145]: │ │ │ │ └ <click.core.Context object at 0x75770cfc85d0>
- Mar 22 13:24:04 openwebui start.sh[145]: │ │ │ └ <function main at 0x75770c12de40>
- Mar 22 13:24:04 openwebui start.sh[145]: │ │ └ <Command main>
- Mar 22 13:24:04 openwebui start.sh[145]: │ └ <function Context.invoke at 0x75770c2db060>
- Mar 22 13:24:04 openwebui start.sh[145]: └ <click.core.Context object at 0x75770cfc85d0>
- Mar 22 13:24:04 openwebui start.sh[145]: File "/usr/local/lib/python3.11/dist-packages/click/core.py", line 788, in invoke
- Mar 22 13:24:04 openwebui start.sh[145]: return __callback(*args, **kwargs)
- Mar 22 13:24:04 openwebui start.sh[145]: │ └ {'host': '0.0.0.0', 'port': <replaced>, 'forwarded_allow_ips': '*', 'app': 'open_webui.main:app', 'uds': None, 'fd': None, 'reload'...
- Mar 22 13:24:04 openwebui start.sh[145]: └ ()
- Mar 22 13:24:04 openwebui start.sh[145]: File "/usr/local/lib/python3.11/dist-packages/uvicorn/main.py", line 412, in main
- Mar 22 13:24:04 openwebui start.sh[145]: run(
- Mar 22 13:24:04 openwebui start.sh[145]: └ <function run at 0x75770c351bc0>
- Mar 22 13:24:04 openwebui start.sh[145]: File "/usr/local/lib/python3.11/dist-packages/uvicorn/main.py", line 579, in run
- Mar 22 13:24:04 openwebui start.sh[145]: server.run()
- Mar 22 13:24:04 openwebui start.sh[145]: │ └ <function Server.run at 0x75770c38f1a0>
- Mar 22 13:24:04 openwebui start.sh[145]: └ <uvicorn.server.Server object at 0x75770c331d90>
- Mar 22 13:24:04 openwebui start.sh[145]: File "/usr/local/lib/python3.11/dist-packages/uvicorn/server.py", line 66, in run
- Mar 22 13:24:04 openwebui start.sh[145]: return asyncio.run(self.serve(sockets=sockets))
- Mar 22 13:24:04 openwebui start.sh[145]: │ │ │ │ └ None
- Mar 22 13:24:04 openwebui start.sh[145]: │ │ │ └ <function Server.serve at 0x75770c38f240>
- Mar 22 13:24:04 openwebui start.sh[145]: │ │ └ <uvicorn.server.Server object at 0x75770c331d90>
- Mar 22 13:24:04 openwebui start.sh[145]: │ └ <function run at 0x75770cb70400>
- Mar 22 13:24:04 openwebui start.sh[145]: └ <module 'asyncio' from '/usr/lib/python3.11/asyncio/__init__.py'>
- Mar 22 13:24:04 openwebui start.sh[145]: File "/usr/lib/python3.11/asyncio/runners.py", line 190, in run
- Mar 22 13:24:04 openwebui start.sh[145]: return runner.run(main)
- Mar 22 13:24:04 openwebui start.sh[145]: │ │ └ <coroutine object Server.serve at 0x75770c0f5120>
- Mar 22 13:24:04 openwebui start.sh[145]: │ └ <function Runner.run at 0x75770c52bce0>
- Mar 22 13:24:04 openwebui start.sh[145]: └ <asyncio.runners.Runner object at 0x75770d4168d0>
- Mar 22 13:24:04 openwebui start.sh[145]: File "/usr/lib/python3.11/asyncio/runners.py", line 118, in run
- Mar 22 13:24:04 openwebui start.sh[145]: return self._loop.run_until_complete(task)
- Mar 22 13:24:04 openwebui start.sh[145]: │ │ │ └ <Task pending name='Task-1' coro=<Server.serve() running at /usr/local/lib/python3.11/dist-packages/uvicorn/server.py:70> wai...
- Mar 22 13:24:04 openwebui start.sh[145]: │ │ └ <cyfunction Loop.run_until_complete at 0x75770c1076b0>
- Mar 22 13:24:04 openwebui start.sh[145]: │ └ <uvloop.Loop running=True closed=False debug=False>
- Mar 22 13:24:04 openwebui start.sh[145]: └ <asyncio.runners.Runner object at 0x75770d4168d0>
- Mar 22 13:24:04 openwebui start.sh[145]: File "/usr/local/lib/python3.11/dist-packages/starlette/middleware/base.py", line 141, in coro
- Mar 22 13:24:04 openwebui start.sh[145]: await self.app(scope, receive_or_disconnect, send_no_error)
- Mar 22 13:24:04 openwebui start.sh[145]: │ │ │ │ └ <function BaseHTTPMiddleware.__call__.<locals>.call_next.<locals>.send_no_error at 0x75769f54fc40>
- Mar 22 13:24:04 openwebui start.sh[145]: │ │ │ └ <function BaseHTTPMiddleware.__call__.<locals>.call_next.<locals>.receive_or_disconnect at 0x75769f54e8e0>
- Mar 22 13:24:04 openwebui start.sh[145]: │ │ └ {'type': 'http', 'asgi': {'version': '3.0', 'spec_version': '2.3'}, 'http_version': '1.1', 'server': ('<replaced>', <replaced>),...
- Mar 22 13:24:04 openwebui start.sh[145]: │ └ <starlette.middleware.exceptions.ExceptionMiddleware object at 0x7576acffe190>
- Mar 22 13:24:04 openwebui start.sh[145]: └ <open_webui.main.RedirectMiddleware object at 0x7576acf0fdd0>
- Mar 22 13:24:04 openwebui start.sh[145]: File "/usr/local/lib/python3.11/dist-packages/starlette/middleware/exceptions.py", line 62, in __call__
- Mar 22 13:24:04 openwebui start.sh[145]: await wrap_app_handling_exceptions(self.app, conn)(scope, receive, send)
- Mar 22 13:24:04 openwebui start.sh[145]: │ │ │ │ │ │ └ <function BaseHTTPMiddleware.__call__.<locals>.call_next.<locals>.send_no_error at 0x75769f54fc40>
- Mar 22 13:24:04 openwebui start.sh[145]: │ │ │ │ │ └ <function BaseHTTPMiddleware.__call__.<locals>.call_next.<locals>.receive_or_disconnect at 0x75769f54e8e0>
- Mar 22 13:24:04 openwebui start.sh[145]: │ │ │ │ └ {'type': 'http', 'asgi': {'version': '3.0', 'spec_version': '2.3'}, 'http_version': '1.1', 'server': ('<replaced>', <replaced>),...
- Mar 22 13:24:04 openwebui start.sh[145]: │ │ │ └ <starlette.requests.Request object at 0x7576ab189950>
- Mar 22 13:24:04 openwebui start.sh[145]: │ │ └ <fastapi.routing.APIRouter object at 0x7576d5238bd0>
- Mar 22 13:24:04 openwebui start.sh[145]: │ └ <starlette.middleware.exceptions.ExceptionMiddleware object at 0x7576acffe190>
- Mar 22 13:24:04 openwebui start.sh[145]: └ <function wrap_app_handling_exceptions at 0x7577098662a0>
- Mar 22 13:24:04 openwebui start.sh[145]: File "/usr/local/lib/python3.11/dist-packages/starlette/_exception_handler.py", line 42, in wrapped_app
- Mar 22 13:24:04 openwebui start.sh[145]: await app(scope, receive, sender)
- Mar 22 13:24:04 openwebui start.sh[145]: │ │ │ └ <function wrap_app_handling_exceptions.<locals>.wrapped_app.<locals>.sender at 0x75769f54ce00>
- Mar 22 13:24:04 openwebui start.sh[145]: │ │ └ <function BaseHTTPMiddleware.__call__.<locals>.call_next.<locals>.receive_or_disconnect at 0x75769f54e8e0>
- Mar 22 13:24:04 openwebui start.sh[145]: │ └ {'type': 'http', 'asgi': {'version': '3.0', 'spec_version': '2.3'}, 'http_version': '1.1', 'server': ('<replaced>', <replaced>),...
- Mar 22 13:24:04 openwebui start.sh[145]: └ <fastapi.routing.APIRouter object at 0x7576d5238bd0>
- Mar 22 13:24:04 openwebui start.sh[145]: File "/usr/local/lib/python3.11/dist-packages/starlette/routing.py", line 715, in __call__
- Mar 22 13:24:04 openwebui start.sh[145]: await self.middleware_stack(scope, receive, send)
- Mar 22 13:24:04 openwebui start.sh[145]: │ │ │ │ └ <function wrap_app_handling_exceptions.<locals>.wrapped_app.<locals>.sender at 0x75769f54ce00>
- Mar 22 13:24:04 openwebui start.sh[145]: │ │ │ └ <function BaseHTTPMiddleware.__call__.<locals>.call_next.<locals>.receive_or_disconnect at 0x75769f54e8e0>
- Mar 22 13:24:04 openwebui start.sh[145]: │ │ └ {'type': 'http', 'asgi': {'version': '3.0', 'spec_version': '2.3'}, 'http_version': '1.1', 'server': ('<replaced>', <replaced>),...
- Mar 22 13:24:04 openwebui start.sh[145]: │ └ <bound method Router.app of <fastapi.routing.APIRouter object at 0x7576d5238bd0>>
- Mar 22 13:24:04 openwebui start.sh[145]: └ <fastapi.routing.APIRouter object at 0x7576d5238bd0>
- Mar 22 13:24:04 openwebui start.sh[145]: File "/usr/local/lib/python3.11/dist-packages/starlette/routing.py", line 735, in app
- Mar 22 13:24:04 openwebui start.sh[145]: await route.handle(scope, receive, send)
- Mar 22 13:24:04 openwebui start.sh[145]: │ │ │ │ └ <function wrap_app_handling_exceptions.<locals>.wrapped_app.<locals>.sender at 0x75769f54ce00>
- Mar 22 13:24:04 openwebui start.sh[145]: │ │ │ └ <function BaseHTTPMiddleware.__call__.<locals>.call_next.<locals>.receive_or_disconnect at 0x75769f54e8e0>
- Mar 22 13:24:04 openwebui start.sh[145]: │ │ └ {'type': 'http', 'asgi': {'version': '3.0', 'spec_version': '2.3'}, 'http_version': '1.1', 'server': ('<replaced>', <replaced>),...
- Mar 22 13:24:04 openwebui start.sh[145]: │ └ <function Route.handle at 0x757709867880>
- Mar 22 13:24:04 openwebui start.sh[145]: └ APIRoute(path='/api/chat/completions', name='chat_completion', methods=['POST'])
- Mar 22 13:24:04 openwebui start.sh[145]: File "/usr/local/lib/python3.11/dist-packages/starlette/routing.py", line 288, in handle
- Mar 22 13:24:04 openwebui start.sh[145]: await self.app(scope, receive, send)
- Mar 22 13:24:04 openwebui start.sh[145]: │ │ │ │ └ <function wrap_app_handling_exceptions.<locals>.wrapped_app.<locals>.sender at 0x75769f54ce00>
- Mar 22 13:24:04 openwebui start.sh[145]: │ │ │ └ <function BaseHTTPMiddleware.__call__.<locals>.call_next.<locals>.receive_or_disconnect at 0x75769f54e8e0>
- Mar 22 13:24:04 openwebui start.sh[145]: │ │ └ {'type': 'http', 'asgi': {'version': '3.0', 'spec_version': '2.3'}, 'http_version': '1.1', 'server': ('<replaced>', <replaced>),...
- Mar 22 13:24:04 openwebui start.sh[145]: │ └ <function request_response.<locals>.app at 0x7576ac9a9760>
- Mar 22 13:24:04 openwebui start.sh[145]: └ APIRoute(path='/api/chat/completions', name='chat_completion', methods=['POST'])
- Mar 22 13:24:04 openwebui start.sh[145]: File "/usr/local/lib/python3.11/dist-packages/starlette/routing.py", line 76, in app
- Mar 22 13:24:04 openwebui start.sh[145]: await wrap_app_handling_exceptions(app, request)(scope, receive, send)
- Mar 22 13:24:04 openwebui start.sh[145]: │ │ │ │ │ └ <function wrap_app_handling_exceptions.<locals>.wrapped_app.<locals>.sender at 0x75769f54ce00>
- Mar 22 13:24:04 openwebui start.sh[145]: │ │ │ │ └ <function BaseHTTPMiddleware.__call__.<locals>.call_next.<locals>.receive_or_disconnect at 0x75769f54e8e0>
- Mar 22 13:24:04 openwebui start.sh[145]: │ │ │ └ {'type': 'http', 'asgi': {'version': '3.0', 'spec_version': '2.3'}, 'http_version': '1.1', 'server': ('<replaced>', <replaced>),...
- Mar 22 13:24:04 openwebui start.sh[145]: │ │ └ <starlette.requests.Request object at 0x7576a56ba290>
- Mar 22 13:24:04 openwebui start.sh[145]: │ └ <function request_response.<locals>.app.<locals>.app at 0x75769f54e480>
- Mar 22 13:24:04 openwebui start.sh[145]: └ <function wrap_app_handling_exceptions at 0x7577098662a0>
- Mar 22 13:24:04 openwebui start.sh[145]: File "/usr/local/lib/python3.11/dist-packages/starlette/_exception_handler.py", line 42, in wrapped_app
- Mar 22 13:24:04 openwebui start.sh[145]: await app(scope, receive, sender)
- Mar 22 13:24:04 openwebui start.sh[145]: │ │ │ └ <function wrap_app_handling_exceptions.<locals>.wrapped_app.<locals>.sender at 0x75769f54f060>
- Mar 22 13:24:04 openwebui start.sh[145]: │ │ └ <function BaseHTTPMiddleware.__call__.<locals>.call_next.<locals>.receive_or_disconnect at 0x75769f54e8e0>
- Mar 22 13:24:04 openwebui start.sh[145]: │ └ {'type': 'http', 'asgi': {'version': '3.0', 'spec_version': '2.3'}, 'http_version': '1.1', 'server': ('<replaced>', <replaced>),...
- Mar 22 13:24:04 openwebui start.sh[145]: └ <function request_response.<locals>.app.<locals>.app at 0x75769f54e480>
- Mar 22 13:24:04 openwebui start.sh[145]: File "/usr/local/lib/python3.11/dist-packages/starlette/routing.py", line 73, in app
- Mar 22 13:24:04 openwebui start.sh[145]: response = await f(request)
- Mar 22 13:24:04 openwebui start.sh[145]: │ └ <starlette.requests.Request object at 0x7576a56ba290>
- Mar 22 13:24:04 openwebui start.sh[145]: └ <function get_request_handler.<locals>.app at 0x7576ac9a98a0>
- Mar 22 13:24:04 openwebui start.sh[145]: File "/usr/local/lib/python3.11/dist-packages/fastapi/routing.py", line 301, in app
- Mar 22 13:24:04 openwebui start.sh[145]: raw_response = await run_endpoint_function(
- Mar 22 13:24:04 openwebui start.sh[145]: └ <function run_endpoint_function at 0x7577096a56c0>
- Mar 22 13:24:04 openwebui start.sh[145]: File "/usr/local/lib/python3.11/dist-packages/fastapi/routing.py", line 212, in run_endpoint_function
- Mar 22 13:24:04 openwebui start.sh[145]: return await dependant.call(**values)
- Mar 22 13:24:04 openwebui start.sh[145]: │ │ └ {'user': UserModel(id='<replaced>', name='<replaced>', email='<replaced>', role='admin', ...
- Mar 22 13:24:04 openwebui start.sh[145]: │ └ <function chat_completion at 0x7576ac9a9ee0>
- Mar 22 13:24:04 openwebui start.sh[145]: └ Dependant(path_params=[], query_params=[], header_params=[], cookie_params=[], body_params=[ModelField(field_info=Body(Pydant...
- Mar 22 13:24:04 openwebui start.sh[145]: File "/opt/open-webui/backend/open_webui/main.py", line 1043, in chat_completion
- Mar 22 13:24:04 openwebui start.sh[145]: form_data, metadata, events = await process_chat_payload(
- Mar 22 13:24:04 openwebui start.sh[145]: │ │ └ <function process_chat_payload at 0x7576d57d8400>
- Mar 22 13:24:04 openwebui start.sh[145]: │ └ {'user_id': '<replaced>', 'chat_id': '1caf4a0a-1217-4156-b9aa-5a824d7cee97', 'message_id': '3f2c177...
- Mar 22 13:24:04 openwebui start.sh[145]: └ {'stream': True, 'model': 'gpt-4o-mini', 'messages': [{'role': 'system', 'content': 'Du bist ein hilfreicher, informativer un...
- Mar 22 13:24:04 openwebui start.sh[145]: File "/opt/open-webui/backend/open_webui/utils/middleware.py", line 736, in process_chat_payload
- Mar 22 13:24:04 openwebui start.sh[145]: form_data = await chat_web_search_handler(
- Mar 22 13:24:04 openwebui start.sh[145]: └ <function chat_web_search_handler at 0x7576d57d9580>
- Mar 22 13:24:04 openwebui start.sh[145]: > File "/opt/open-webui/backend/open_webui/utils/middleware.py", line 341, in chat_web_search_handler
- Mar 22 13:24:04 openwebui start.sh[145]: results = await process_web_search(
- Mar 22 13:24:04 openwebui start.sh[145]: └ <function process_web_search at 0x7576d747eca0>
- Mar 22 13:24:04 openwebui start.sh[145]: File "/opt/open-webui/backend/open_webui/routers/retrieval.py", line 1481, in process_web_search
- Mar 22 13:24:04 openwebui start.sh[145]: raise HTTPException(
- Mar 22 13:24:04 openwebui start.sh[145]: └ <class 'fastapi.exceptions.HTTPException'>
- Mar 22 13:24:04 openwebui start.sh[145]: fastapi.exceptions.HTTPException: 400: [ERROR: 'NoneType' object has no attribute 'encode']
- Mar 22 13:24:04 openwebui start.sh[145]: 2025-03-22 13:24:04.645 | INFO | open_webui.routers.retrieval:process_web_search:1417 - trying to web search with ('google_pse', 'Feiertage und Gedenktage heute') - {}
- Mar 22 13:24:05 openwebui start.sh[145]: [116B blob data]
- Mar 22 13:24:06 openwebui start.sh[145]: 2025-03-22 13:24:06.137 | INFO | open_webui.routers.retrieval:save_docs_to_vector_db:782 - save_docs_to_vector_db: document Protokoll Inland der Bundesregierung - Gedenk- & Feiertage, Jahreskalender der kuriosen Feiertage, Liste von Gedenk- und Aktionstagen – Wikipedia web-search-484377f064e3bc671804141d5b96604099ff1e12d145d7ff8f5f - {}
- Mar 22 13:24:06 openwebui start.sh[145]: 2025-03-22 13:24:06.147 | INFO | open_webui.routers.retrieval:save_docs_to_vector_db:865 - adding to collection web-search-484377f064e3bc671804141d5b96604099ff1e12d145d7ff8f5f - {}
- Mar 22 13:24:06 openwebui start.sh[145]: 2025-03-22 13:24:06.147 | ERROR | open_webui.routers.retrieval:save_docs_to_vector_db:904 - 'NoneType' object has no attribute 'encode' - {}
- Mar 22 13:24:06 openwebui start.sh[145]: Traceback (most recent call last):
- Mar 22 13:24:06 openwebui start.sh[145]: File "/usr/lib/python3.11/threading.py", line 995, in _bootstrap
- Mar 22 13:24:06 openwebui start.sh[145]: self._bootstrap_inner()
- Mar 22 13:24:06 openwebui start.sh[145]: │ └ <function Thread._bootstrap_inner at 0x75770ce87ce0>
- Mar 22 13:24:06 openwebui start.sh[145]: └ <WorkerThread(AnyIO worker thread, started 129151912642240)>
- Mar 22 13:24:06 openwebui start.sh[145]: File "/usr/lib/python3.11/threading.py", line 1038, in _bootstrap_inner
- Mar 22 13:24:06 openwebui start.sh[145]: self.run()
- Mar 22 13:24:06 openwebui start.sh[145]: │ └ <function WorkerThread.run at 0x7576ac827880>
- Mar 22 13:24:06 openwebui start.sh[145]: └ <WorkerThread(AnyIO worker thread, started 129151912642240)>
- Mar 22 13:24:06 openwebui start.sh[145]: File "/usr/local/lib/python3.11/dist-packages/anyio/_backends/_asyncio.py", line 967, in run
- Mar 22 13:24:06 openwebui start.sh[145]: result = context.run(func, *args)
- Mar 22 13:24:06 openwebui start.sh[145]: │ │ │ └ ()
- Mar 22 13:24:06 openwebui start.sh[145]: │ │ └ functools.partial(<function save_docs_to_vector_db at 0x7576d7445620>, <starlette.requests.Request object at 0x7576a56ba290>,...
- Mar 22 13:24:06 openwebui start.sh[145]: │ └ <method 'run' of '_contextvars.Context' objects>
- Mar 22 13:24:06 openwebui start.sh[145]: └ <_contextvars.Context object at 0x7576aa939ec0>
- Mar 22 13:24:06 openwebui start.sh[145]: > File "/opt/open-webui/backend/open_webui/routers/retrieval.py", line 883, in save_docs_to_vector_db
- Mar 22 13:24:06 openwebui start.sh[145]: embeddings = embedding_function(
- Mar 22 13:24:06 openwebui start.sh[145]: └ <function get_embedding_function.<locals>.<lambda> at 0x7576a589bd80>
- Mar 22 13:24:06 openwebui start.sh[145]: File "/opt/open-webui/backend/open_webui/retrieval/utils.py", line 314, in <lambda>
- Mar 22 13:24:06 openwebui start.sh[145]: return lambda query, user=None: embedding_function.encode(query).tolist()
- Mar 22 13:24:06 openwebui start.sh[145]: │ │ └ ['Jahreskalender der kuriosen Feiertage Zum Inhalt springen www.kuriose-feiertage.deFeiertage weltweit & kalendarische Kuri...
- Mar 22 13:24:06 openwebui start.sh[145]: │ └ None
- Mar 22 13:24:06 openwebui start.sh[145]: └ ['Jahreskalender der kuriosen Feiertage Zum Inhalt springen www.kuriose-feiertage.deFeiertage weltweit & kalendarische Kuri...
- Mar 22 13:24:06 openwebui start.sh[145]: AttributeError: 'NoneType' object has no attribute 'encode'
- Mar 22 13:24:06 openwebui start.sh[145]: 2025-03-22 13:24:06.153 | ERROR | open_webui.routers.retrieval:process_web_search:1480 - 'NoneType' object has no attribute 'encode' - {}
- Mar 22 13:24:06 openwebui start.sh[145]: Traceback (most recent call last):
- Mar 22 13:24:06 openwebui start.sh[145]: File "/usr/local/bin/uvicorn", line 8, in <module>
- Mar 22 13:24:06 openwebui start.sh[145]: sys.exit(main())
- Mar 22 13:24:06 openwebui start.sh[145]: │ │ └ <Command main>
- Mar 22 13:24:06 openwebui start.sh[145]: │ └ <built-in function exit>
- Mar 22 13:24:06 openwebui start.sh[145]: └ <module 'sys' (built-in)>
- Mar 22 13:24:06 openwebui start.sh[145]: File "/usr/local/lib/python3.11/dist-packages/click/core.py", line 1161, in __call__
- Mar 22 13:24:06 openwebui start.sh[145]: return self.main(*args, **kwargs)
- Mar 22 13:24:06 openwebui start.sh[145]: │ │ │ └ {}
- Mar 22 13:24:06 openwebui start.sh[145]: │ │ └ ()
- Mar 22 13:24:06 openwebui start.sh[145]: │ └ <function BaseCommand.main at 0x75770c2dbb00>
- Mar 22 13:24:06 openwebui start.sh[145]: └ <Command main>
- Mar 22 13:24:06 openwebui start.sh[145]: File "/usr/local/lib/python3.11/dist-packages/click/core.py", line 1082, in main
- Mar 22 13:24:06 openwebui start.sh[145]: rv = self.invoke(ctx)
- Mar 22 13:24:06 openwebui start.sh[145]: │ │ └ <click.core.Context object at 0x75770cfc85d0>
- Mar 22 13:24:06 openwebui start.sh[145]: │ └ <function Command.invoke at 0x75770c2f0720>
- Mar 22 13:24:06 openwebui start.sh[145]: └ <Command main>
- Mar 22 13:24:06 openwebui start.sh[145]: File "/usr/local/lib/python3.11/dist-packages/click/core.py", line 1443, in invoke
- Mar 22 13:24:06 openwebui start.sh[145]: return ctx.invoke(self.callback, **ctx.params)
- Mar 22 13:24:06 openwebui start.sh[145]: │ │ │ │ │ └ {'host': '0.0.0.0', 'port': <replaced>, 'forwarded_allow_ips': '*', 'app': 'open_webui.main:app', 'uds': None, 'fd': None, 'reload'...
- Mar 22 13:24:06 openwebui start.sh[145]: │ │ │ │ └ <click.core.Context object at 0x75770cfc85d0>
- Mar 22 13:24:06 openwebui start.sh[145]: │ │ │ └ <function main at 0x75770c12de40>
- Mar 22 13:24:06 openwebui start.sh[145]: │ │ └ <Command main>
- Mar 22 13:24:06 openwebui start.sh[145]: │ └ <function Context.invoke at 0x75770c2db060>
- Mar 22 13:24:06 openwebui start.sh[145]: └ <click.core.Context object at 0x75770cfc85d0>
- Mar 22 13:24:06 openwebui start.sh[145]: File "/usr/local/lib/python3.11/dist-packages/click/core.py", line 788, in invoke
- Mar 22 13:24:06 openwebui start.sh[145]: return __callback(*args, **kwargs)
- Mar 22 13:24:06 openwebui start.sh[145]: │ └ {'host': '0.0.0.0', 'port': <replaced>, 'forwarded_allow_ips': '*', 'app': 'open_webui.main:app', 'uds': None, 'fd': None, 'reload'...
- Mar 22 13:24:06 openwebui start.sh[145]: └ ()
- Mar 22 13:24:06 openwebui start.sh[145]: File "/usr/local/lib/python3.11/dist-packages/uvicorn/main.py", line 412, in main
- Mar 22 13:24:06 openwebui start.sh[145]: run(
- Mar 22 13:24:06 openwebui start.sh[145]: └ <function run at 0x75770c351bc0>
- Mar 22 13:24:06 openwebui start.sh[145]: File "/usr/local/lib/python3.11/dist-packages/uvicorn/main.py", line 579, in run
- Mar 22 13:24:06 openwebui start.sh[145]: server.run()
- Mar 22 13:24:06 openwebui start.sh[145]: │ └ <function Server.run at 0x75770c38f1a0>
- Mar 22 13:24:06 openwebui start.sh[145]: └ <uvicorn.server.Server object at 0x75770c331d90>
- Mar 22 13:24:06 openwebui start.sh[145]: File "/usr/local/lib/python3.11/dist-packages/uvicorn/server.py", line 66, in run
- Mar 22 13:24:06 openwebui start.sh[145]: return asyncio.run(self.serve(sockets=sockets))
- Mar 22 13:24:06 openwebui start.sh[145]: │ │ │ │ └ None
- Mar 22 13:24:06 openwebui start.sh[145]: │ │ │ └ <function Server.serve at 0x75770c38f240>
- Mar 22 13:24:06 openwebui start.sh[145]: │ │ └ <uvicorn.server.Server object at 0x75770c331d90>
- Mar 22 13:24:06 openwebui start.sh[145]: │ └ <function run at 0x75770cb70400>
- Mar 22 13:24:06 openwebui start.sh[145]: └ <module 'asyncio' from '/usr/lib/python3.11/asyncio/__init__.py'>
- Mar 22 13:24:06 openwebui start.sh[145]: File "/usr/lib/python3.11/asyncio/runners.py", line 190, in run
- Mar 22 13:24:06 openwebui start.sh[145]: return runner.run(main)
- Mar 22 13:24:06 openwebui start.sh[145]: │ │ └ <coroutine object Server.serve at 0x75770c0f5120>
- Mar 22 13:24:06 openwebui start.sh[145]: │ └ <function Runner.run at 0x75770c52bce0>
- Mar 22 13:24:06 openwebui start.sh[145]: └ <asyncio.runners.Runner object at 0x75770d4168d0>
- Mar 22 13:24:06 openwebui start.sh[145]: File "/usr/lib/python3.11/asyncio/runners.py", line 118, in run
- Mar 22 13:24:06 openwebui start.sh[145]: return self._loop.run_until_complete(task)
- Mar 22 13:24:06 openwebui start.sh[145]: │ │ │ └ <Task pending name='Task-1' coro=<Server.serve() running at /usr/local/lib/python3.11/dist-packages/uvicorn/server.py:70> wai...
- Mar 22 13:24:06 openwebui start.sh[145]: │ │ └ <cyfunction Loop.run_until_complete at 0x75770c1076b0>
- Mar 22 13:24:06 openwebui start.sh[145]: │ └ <uvloop.Loop running=True closed=False debug=False>
- Mar 22 13:24:06 openwebui start.sh[145]: └ <asyncio.runners.Runner object at 0x75770d4168d0>
- Mar 22 13:24:06 openwebui start.sh[145]: File "/usr/local/lib/python3.11/dist-packages/starlette/middleware/base.py", line 141, in coro
- Mar 22 13:24:06 openwebui start.sh[145]: await self.app(scope, receive_or_disconnect, send_no_error)
- Mar 22 13:24:06 openwebui start.sh[145]: │ │ │ │ └ <function BaseHTTPMiddleware.__call__.<locals>.call_next.<locals>.send_no_error at 0x75769f54fc40>
- Mar 22 13:24:06 openwebui start.sh[145]: │ │ │ └ <function BaseHTTPMiddleware.__call__.<locals>.call_next.<locals>.receive_or_disconnect at 0x75769f54e8e0>
- Mar 22 13:24:06 openwebui start.sh[145]: │ │ └ {'type': 'http', 'asgi': {'version': '3.0', 'spec_version': '2.3'}, 'http_version': '1.1', 'server': ('<replaced>', <replaced>),...
- Mar 22 13:24:06 openwebui start.sh[145]: │ └ <starlette.middleware.exceptions.ExceptionMiddleware object at 0x7576acffe190>
- Mar 22 13:24:06 openwebui start.sh[145]: └ <open_webui.main.RedirectMiddleware object at 0x7576acf0fdd0>
- Mar 22 13:24:06 openwebui start.sh[145]: File "/usr/local/lib/python3.11/dist-packages/starlette/middleware/exceptions.py", line 62, in __call__
- Mar 22 13:24:06 openwebui start.sh[145]: await wrap_app_handling_exceptions(self.app, conn)(scope, receive, send)
- Mar 22 13:24:06 openwebui start.sh[145]: │ │ │ │ │ │ └ <function BaseHTTPMiddleware.__call__.<locals>.call_next.<locals>.send_no_error at 0x75769f54fc40>
- Mar 22 13:24:06 openwebui start.sh[145]: │ │ │ │ │ └ <function BaseHTTPMiddleware.__call__.<locals>.call_next.<locals>.receive_or_disconnect at 0x75769f54e8e0>
- Mar 22 13:24:06 openwebui start.sh[145]: │ │ │ │ └ {'type': 'http', 'asgi': {'version': '3.0', 'spec_version': '2.3'}, 'http_version': '1.1', 'server': ('<replaced>', <replaced>),...
- Mar 22 13:24:06 openwebui start.sh[145]: │ │ │ └ <starlette.requests.Request object at 0x7576ab189950>
- Mar 22 13:24:06 openwebui start.sh[145]: │ │ └ <fastapi.routing.APIRouter object at 0x7576d5238bd0>
- Mar 22 13:24:06 openwebui start.sh[145]: │ └ <starlette.middleware.exceptions.ExceptionMiddleware object at 0x7576acffe190>
- Mar 22 13:24:06 openwebui start.sh[145]: └ <function wrap_app_handling_exceptions at 0x7577098662a0>
- Mar 22 13:24:06 openwebui start.sh[145]: File "/usr/local/lib/python3.11/dist-packages/starlette/_exception_handler.py", line 42, in wrapped_app
- Mar 22 13:24:06 openwebui start.sh[145]: await app(scope, receive, sender)
- Mar 22 13:24:06 openwebui start.sh[145]: │ │ │ └ <function wrap_app_handling_exceptions.<locals>.wrapped_app.<locals>.sender at 0x75769f54ce00>
- Mar 22 13:24:06 openwebui start.sh[145]: │ │ └ <function BaseHTTPMiddleware.__call__.<locals>.call_next.<locals>.receive_or_disconnect at 0x75769f54e8e0>
- Mar 22 13:24:06 openwebui start.sh[145]: │ └ {'type': 'http', 'asgi': {'version': '3.0', 'spec_version': '2.3'}, 'http_version': '1.1', 'server': ('<replaced>', <replaced>),...
- Mar 22 13:24:06 openwebui start.sh[145]: └ <fastapi.routing.APIRouter object at 0x7576d5238bd0>
- Mar 22 13:24:06 openwebui start.sh[145]: File "/usr/local/lib/python3.11/dist-packages/starlette/routing.py", line 715, in __call__
- Mar 22 13:24:06 openwebui start.sh[145]: await self.middleware_stack(scope, receive, send)
- Mar 22 13:24:06 openwebui start.sh[145]: │ │ │ │ └ <function wrap_app_handling_exceptions.<locals>.wrapped_app.<locals>.sender at 0x75769f54ce00>
- Mar 22 13:24:06 openwebui start.sh[145]: │ │ │ └ <function BaseHTTPMiddleware.__call__.<locals>.call_next.<locals>.receive_or_disconnect at 0x75769f54e8e0>
- Mar 22 13:24:06 openwebui start.sh[145]: │ │ └ {'type': 'http', 'asgi': {'version': '3.0', 'spec_version': '2.3'}, 'http_version': '1.1', 'server': ('<replaced>', <replaced>),...
- Mar 22 13:24:06 openwebui start.sh[145]: │ └ <bound method Router.app of <fastapi.routing.APIRouter object at 0x7576d5238bd0>>
- Mar 22 13:24:06 openwebui start.sh[145]: └ <fastapi.routing.APIRouter object at 0x7576d5238bd0>
- Mar 22 13:24:06 openwebui start.sh[145]: File "/usr/local/lib/python3.11/dist-packages/starlette/routing.py", line 735, in app
- Mar 22 13:24:06 openwebui start.sh[145]: await route.handle(scope, receive, send)
- Mar 22 13:24:06 openwebui start.sh[145]: │ │ │ │ └ <function wrap_app_handling_exceptions.<locals>.wrapped_app.<locals>.sender at 0x75769f54ce00>
- Mar 22 13:24:06 openwebui start.sh[145]: │ │ │ └ <function BaseHTTPMiddleware.__call__.<locals>.call_next.<locals>.receive_or_disconnect at 0x75769f54e8e0>
- Mar 22 13:24:06 openwebui start.sh[145]: │ │ └ {'type': 'http', 'asgi': {'version': '3.0', 'spec_version': '2.3'}, 'http_version': '1.1', 'server': ('<replaced>', <replaced>),...
- Mar 22 13:24:06 openwebui start.sh[145]: │ └ <function Route.handle at 0x757709867880>
- Mar 22 13:24:06 openwebui start.sh[145]: └ APIRoute(path='/api/chat/completions', name='chat_completion', methods=['POST'])
- Mar 22 13:24:06 openwebui start.sh[145]: File "/usr/local/lib/python3.11/dist-packages/starlette/routing.py", line 288, in handle
- Mar 22 13:24:06 openwebui start.sh[145]: await self.app(scope, receive, send)
- Mar 22 13:24:06 openwebui start.sh[145]: │ │ │ │ └ <function wrap_app_handling_exceptions.<locals>.wrapped_app.<locals>.sender at 0x75769f54ce00>
- Mar 22 13:24:06 openwebui start.sh[145]: │ │ │ └ <function BaseHTTPMiddleware.__call__.<locals>.call_next.<locals>.receive_or_disconnect at 0x75769f54e8e0>
- Mar 22 13:24:06 openwebui start.sh[145]: │ │ └ {'type': 'http', 'asgi': {'version': '3.0', 'spec_version': '2.3'}, 'http_version': '1.1', 'server': ('<replaced>', <replaced>),...
- Mar 22 13:24:06 openwebui start.sh[145]: │ └ <function request_response.<locals>.app at 0x7576ac9a9760>
- Mar 22 13:24:06 openwebui start.sh[145]: └ APIRoute(path='/api/chat/completions', name='chat_completion', methods=['POST'])
- Mar 22 13:24:06 openwebui start.sh[145]: File "/usr/local/lib/python3.11/dist-packages/starlette/routing.py", line 76, in app
- Mar 22 13:24:06 openwebui start.sh[145]: await wrap_app_handling_exceptions(app, request)(scope, receive, send)
- Mar 22 13:24:06 openwebui start.sh[145]: │ │ │ │ │ └ <function wrap_app_handling_exceptions.<locals>.wrapped_app.<locals>.sender at 0x75769f54ce00>
- Mar 22 13:24:06 openwebui start.sh[145]: │ │ │ │ └ <function BaseHTTPMiddleware.__call__.<locals>.call_next.<locals>.receive_or_disconnect at 0x75769f54e8e0>
- Mar 22 13:24:06 openwebui start.sh[145]: │ │ │ └ {'type': 'http', 'asgi': {'version': '3.0', 'spec_version': '2.3'}, 'http_version': '1.1', 'server': ('<replaced>', <replaced>),...
- Mar 22 13:24:06 openwebui start.sh[145]: │ │ └ <starlette.requests.Request object at 0x7576a56ba290>
- Mar 22 13:24:06 openwebui start.sh[145]: │ └ <function request_response.<locals>.app.<locals>.app at 0x75769f54e480>
- Mar 22 13:24:06 openwebui start.sh[145]: └ <function wrap_app_handling_exceptions at 0x7577098662a0>
- Mar 22 13:24:06 openwebui start.sh[145]: File "/usr/local/lib/python3.11/dist-packages/starlette/_exception_handler.py", line 42, in wrapped_app
- Mar 22 13:24:06 openwebui start.sh[145]: await app(scope, receive, sender)
- Mar 22 13:24:06 openwebui start.sh[145]: │ │ │ └ <function wrap_app_handling_exceptions.<locals>.wrapped_app.<locals>.sender at 0x75769f54f060>
- Mar 22 13:24:06 openwebui start.sh[145]: │ │ └ <function BaseHTTPMiddleware.__call__.<locals>.call_next.<locals>.receive_or_disconnect at 0x75769f54e8e0>
- Mar 22 13:24:06 openwebui start.sh[145]: │ └ {'type': 'http', 'asgi': {'version': '3.0', 'spec_version': '2.3'}, 'http_version': '1.1', 'server': ('<replaced>', <replaced>),...
- Mar 22 13:24:06 openwebui start.sh[145]: └ <function request_response.<locals>.app.<locals>.app at 0x75769f54e480>
- Mar 22 13:24:06 openwebui start.sh[145]: File "/usr/local/lib/python3.11/dist-packages/starlette/routing.py", line 73, in app
- Mar 22 13:24:06 openwebui start.sh[145]: response = await f(request)
- Mar 22 13:24:06 openwebui start.sh[145]: │ └ <starlette.requests.Request object at 0x7576a56ba290>
- Mar 22 13:24:06 openwebui start.sh[145]: └ <function get_request_handler.<locals>.app at 0x7576ac9a98a0>
- Mar 22 13:24:06 openwebui start.sh[145]: File "/usr/local/lib/python3.11/dist-packages/fastapi/routing.py", line 301, in app
- Mar 22 13:24:06 openwebui start.sh[145]: raw_response = await run_endpoint_function(
- Mar 22 13:24:06 openwebui start.sh[145]: └ <function run_endpoint_function at 0x7577096a56c0>
- Mar 22 13:24:06 openwebui start.sh[145]: File "/usr/local/lib/python3.11/dist-packages/fastapi/routing.py", line 212, in run_endpoint_function
- Mar 22 13:24:06 openwebui start.sh[145]: return await dependant.call(**values)
- Mar 22 13:24:06 openwebui start.sh[145]: │ │ └ {'user': UserModel(id='<replaced>', name='<replaced>', email='<replaced>', role='admin', ...
- Mar 22 13:24:06 openwebui start.sh[145]: │ └ <function chat_completion at 0x7576ac9a9ee0>
- Mar 22 13:24:06 openwebui start.sh[145]: └ Dependant(path_params=[], query_params=[], header_params=[], cookie_params=[], body_params=[ModelField(field_info=Body(Pydant...
- Mar 22 13:24:06 openwebui start.sh[145]: File "/opt/open-webui/backend/open_webui/main.py", line 1043, in chat_completion
- Mar 22 13:24:06 openwebui start.sh[145]: form_data, metadata, events = await process_chat_payload(
- Mar 22 13:24:06 openwebui start.sh[145]: │ │ └ <function process_chat_payload at 0x7576d57d8400>
- Mar 22 13:24:06 openwebui start.sh[145]: │ └ {'user_id': '<replaced>', 'chat_id': '1caf4a0a-1217-4156-b9aa-5a824d7cee97', 'message_id': '3f2c177...
- Mar 22 13:24:06 openwebui start.sh[145]: └ {'stream': True, 'model': 'gpt-4o-mini', 'messages': [{'role': 'system', 'content': 'Du bist ein hilfreicher, informativer un...
- Mar 22 13:24:06 openwebui start.sh[145]: File "/opt/open-webui/backend/open_webui/utils/middleware.py", line 736, in process_chat_payload
- Mar 22 13:24:06 openwebui start.sh[145]: form_data = await chat_web_search_handler(
- Mar 22 13:24:06 openwebui start.sh[145]: └ <function chat_web_search_handler at 0x7576d57d9580>
- Mar 22 13:24:06 openwebui start.sh[145]: File "/opt/open-webui/backend/open_webui/utils/middleware.py", line 341, in chat_web_search_handler
- Mar 22 13:24:06 openwebui start.sh[145]: results = await process_web_search(
- Mar 22 13:24:06 openwebui start.sh[145]: └ <function process_web_search at 0x7576d747eca0>
- Mar 22 13:24:06 openwebui start.sh[145]: > File "/opt/open-webui/backend/open_webui/routers/retrieval.py", line 1464, in process_web_search
- Mar 22 13:24:06 openwebui start.sh[145]: await run_in_threadpool(
- Mar 22 13:24:06 openwebui start.sh[145]: └ <function run_in_threadpool at 0x757709af4fe0>
- Mar 22 13:24:06 openwebui start.sh[145]: File "/usr/local/lib/python3.11/dist-packages/starlette/concurrency.py", line 37, in run_in_threadpool
- Mar 22 13:24:06 openwebui start.sh[145]: return await anyio.to_thread.run_sync(func)
- Mar 22 13:24:06 openwebui start.sh[145]: │ │ │ └ functools.partial(<function save_docs_to_vector_db at 0x7576d7445620>, <starlette.requests.Request object at 0x7576a56ba290>,...
- Mar 22 13:24:06 openwebui start.sh[145]: │ │ └ <function run_sync at 0x75770c239260>
- Mar 22 13:24:06 openwebui start.sh[145]: │ └ <module 'anyio.to_thread' from '/usr/local/lib/python3.11/dist-packages/anyio/to_thread.py'>
- Mar 22 13:24:06 openwebui start.sh[145]: └ <module 'anyio' from '/usr/local/lib/python3.11/dist-packages/anyio/__init__.py'>
- Mar 22 13:24:06 openwebui start.sh[145]: File "/usr/local/lib/python3.11/dist-packages/anyio/to_thread.py", line 56, in run_sync
- Mar 22 13:24:06 openwebui start.sh[145]: return await get_async_backend().run_sync_in_worker_thread(
- Mar 22 13:24:06 openwebui start.sh[145]: └ <function get_async_backend at 0x75770c23a8e0>
- Mar 22 13:24:06 openwebui start.sh[145]: File "/usr/local/lib/python3.11/dist-packages/anyio/_backends/_asyncio.py", line 2470, in run_sync_in_worker_thread
- Mar 22 13:24:06 openwebui start.sh[145]: return await future
- Mar 22 13:24:06 openwebui start.sh[145]: └ <Future finished exception=AttributeError("'NoneType' object has no attribute 'encode'")>
- Mar 22 13:24:06 openwebui start.sh[145]: File "/usr/local/lib/python3.11/dist-packages/anyio/_backends/_asyncio.py", line 967, in run
- Mar 22 13:24:06 openwebui start.sh[145]: result = context.run(func, *args)
- Mar 22 13:24:06 openwebui start.sh[145]: File "/opt/open-webui/backend/open_webui/routers/retrieval.py", line 905, in save_docs_to_vector_db
- Mar 22 13:24:06 openwebui start.sh[145]: raise e
- Mar 22 13:24:06 openwebui start.sh[145]: File "/opt/open-webui/backend/open_webui/routers/retrieval.py", line 883, in save_docs_to_vector_db
- Mar 22 13:24:06 openwebui start.sh[145]: embeddings = embedding_function(
- Mar 22 13:24:06 openwebui start.sh[145]: └ <function get_embedding_function.<locals>.<lambda> at 0x7576a589bd80>
- Mar 22 13:24:06 openwebui start.sh[145]: File "/opt/open-webui/backend/open_webui/retrieval/utils.py", line 314, in <lambda>
- Mar 22 13:24:06 openwebui start.sh[145]: return lambda query, user=None: embedding_function.encode(query).tolist()
- Mar 22 13:24:06 openwebui start.sh[145]: │ │ └ ['Jahreskalender der kuriosen Feiertage Zum Inhalt springen www.kuriose-feiertage.deFeiertage weltweit & kalendarische Kuri...
- Mar 22 13:24:06 openwebui start.sh[145]: │ └ None
- Mar 22 13:24:06 openwebui start.sh[145]: └ ['Jahreskalender der kuriosen Feiertage Zum Inhalt springen www.kuriose-feiertage.deFeiertage weltweit & kalendarische Kuri...
- Mar 22 13:24:06 openwebui start.sh[145]: AttributeError: 'NoneType' object has no attribute 'encode'
- Mar 22 13:24:06 openwebui start.sh[145]: 2025-03-22 13:24:06.160 | ERROR | open_webui.utils.middleware:chat_web_search_handler:376 - 400: [ERROR: 'NoneType' object has no attribute 'encode'] - {}
- Mar 22 13:24:06 openwebui start.sh[145]: Traceback (most recent call last):
- Mar 22 13:24:06 openwebui start.sh[145]: File "/opt/open-webui/backend/open_webui/routers/retrieval.py", line 1464, in process_web_search
- Mar 22 13:24:06 openwebui start.sh[145]: await run_in_threadpool(
- Mar 22 13:24:06 openwebui start.sh[145]: └ <function run_in_threadpool at 0x757709af4fe0>
- Mar 22 13:24:06 openwebui start.sh[145]: File "/usr/local/lib/python3.11/dist-packages/starlette/concurrency.py", line 37, in run_in_threadpool
- Mar 22 13:24:06 openwebui start.sh[145]: return await anyio.to_thread.run_sync(func)
- Mar 22 13:24:06 openwebui start.sh[145]: │ │ │ └ functools.partial(<function save_docs_to_vector_db at 0x7576d7445620>, <starlette.requests.Request object at 0x7576a56ba290>,...
- Mar 22 13:24:06 openwebui start.sh[145]: │ │ └ <function run_sync at 0x75770c239260>
- Mar 22 13:24:06 openwebui start.sh[145]: │ └ <module 'anyio.to_thread' from '/usr/local/lib/python3.11/dist-packages/anyio/to_thread.py'>
- Mar 22 13:24:06 openwebui start.sh[145]: └ <module 'anyio' from '/usr/local/lib/python3.11/dist-packages/anyio/__init__.py'>
- Mar 22 13:24:06 openwebui start.sh[145]: File "/usr/local/lib/python3.11/dist-packages/anyio/to_thread.py", line 56, in run_sync
- Mar 22 13:24:06 openwebui start.sh[145]: return await get_async_backend().run_sync_in_worker_thread(
- Mar 22 13:24:06 openwebui start.sh[145]: └ <function get_async_backend at 0x75770c23a8e0>
- Mar 22 13:24:06 openwebui start.sh[145]: File "/usr/local/lib/python3.11/dist-packages/anyio/_backends/_asyncio.py", line 2470, in run_sync_in_worker_thread
- Mar 22 13:24:06 openwebui start.sh[145]: return await future
- Mar 22 13:24:06 openwebui start.sh[145]: └ <Future finished exception=AttributeError("'NoneType' object has no attribute 'encode'")>
- Mar 22 13:24:06 openwebui start.sh[145]: File "/usr/local/lib/python3.11/dist-packages/anyio/_backends/_asyncio.py", line 967, in run
- Mar 22 13:24:06 openwebui start.sh[145]: result = context.run(func, *args)
- Mar 22 13:24:06 openwebui start.sh[145]: File "/opt/open-webui/backend/open_webui/routers/retrieval.py", line 905, in save_docs_to_vector_db
- Mar 22 13:24:06 openwebui start.sh[145]: raise e
- Mar 22 13:24:06 openwebui start.sh[145]: File "/opt/open-webui/backend/open_webui/routers/retrieval.py", line 883, in save_docs_to_vector_db
- Mar 22 13:24:06 openwebui start.sh[145]: embeddings = embedding_function(
- Mar 22 13:24:06 openwebui start.sh[145]: └ <function get_embedding_function.<locals>.<lambda> at 0x7576a589bd80>
- Mar 22 13:24:06 openwebui start.sh[145]: File "/opt/open-webui/backend/open_webui/retrieval/utils.py", line 314, in <lambda>
- Mar 22 13:24:06 openwebui start.sh[145]: return lambda query, user=None: embedding_function.encode(query).tolist()
- Mar 22 13:24:06 openwebui start.sh[145]: │ │ └ ['Jahreskalender der kuriosen Feiertage Zum Inhalt springen www.kuriose-feiertage.deFeiertage weltweit & kalendarische Kuri...
- Mar 22 13:24:06 openwebui start.sh[145]: │ └ None
- Mar 22 13:24:06 openwebui start.sh[145]: └ ['Jahreskalender der kuriosen Feiertage Zum Inhalt springen www.kuriose-feiertage.deFeiertage weltweit & kalendarische Kuri...
- Mar 22 13:24:06 openwebui start.sh[145]: AttributeError: 'NoneType' object has no attribute 'encode'
- Mar 22 13:24:06 openwebui start.sh[145]: During handling of the above exception, another exception occurred:
- Mar 22 13:24:06 openwebui start.sh[145]: Traceback (most recent call last):
- Mar 22 13:24:06 openwebui start.sh[145]: File "/usr/local/bin/uvicorn", line 8, in <module>
- Mar 22 13:24:06 openwebui start.sh[145]: sys.exit(main())
- Mar 22 13:24:06 openwebui start.sh[145]: │ │ └ <Command main>
- Mar 22 13:24:06 openwebui start.sh[145]: │ └ <built-in function exit>
- Mar 22 13:24:06 openwebui start.sh[145]: └ <module 'sys' (built-in)>
- Mar 22 13:24:06 openwebui start.sh[145]: File "/usr/local/lib/python3.11/dist-packages/click/core.py", line 1161, in __call__
- Mar 22 13:24:06 openwebui start.sh[145]: return self.main(*args, **kwargs)
- Mar 22 13:24:06 openwebui start.sh[145]: │ │ │ └ {}
- Mar 22 13:24:06 openwebui start.sh[145]: │ │ └ ()
- Mar 22 13:24:06 openwebui start.sh[145]: │ └ <function BaseCommand.main at 0x75770c2dbb00>
- Mar 22 13:24:06 openwebui start.sh[145]: └ <Command main>
- Mar 22 13:24:06 openwebui start.sh[145]: File "/usr/local/lib/python3.11/dist-packages/click/core.py", line 1082, in main
- Mar 22 13:24:06 openwebui start.sh[145]: rv = self.invoke(ctx)
- Mar 22 13:24:06 openwebui start.sh[145]: │ │ └ <click.core.Context object at 0x75770cfc85d0>
- Mar 22 13:24:06 openwebui start.sh[145]: │ └ <function Command.invoke at 0x75770c2f0720>
- Mar 22 13:24:06 openwebui start.sh[145]: └ <Command main>
- Mar 22 13:24:06 openwebui start.sh[145]: File "/usr/local/lib/python3.11/dist-packages/click/core.py", line 1443, in invoke
- Mar 22 13:24:06 openwebui start.sh[145]: return ctx.invoke(self.callback, **ctx.params)
- Mar 22 13:24:06 openwebui start.sh[145]: │ │ │ │ │ └ {'host': '0.0.0.0', 'port': <replaced>, 'forwarded_allow_ips': '*', 'app': 'open_webui.main:app', 'uds': None, 'fd': None, 'reload'...
- Mar 22 13:24:06 openwebui start.sh[145]: │ │ │ │ └ <click.core.Context object at 0x75770cfc85d0>
- Mar 22 13:24:06 openwebui start.sh[145]: │ │ │ └ <function main at 0x75770c12de40>
- Mar 22 13:24:06 openwebui start.sh[145]: │ │ └ <Command main>
- Mar 22 13:24:06 openwebui start.sh[145]: │ └ <function Context.invoke at 0x75770c2db060>
- Mar 22 13:24:06 openwebui start.sh[145]: └ <click.core.Context object at 0x75770cfc85d0>
- Mar 22 13:24:06 openwebui start.sh[145]: File "/usr/local/lib/python3.11/dist-packages/click/core.py", line 788, in invoke
- Mar 22 13:24:06 openwebui start.sh[145]: return __callback(*args, **kwargs)
- Mar 22 13:24:06 openwebui start.sh[145]: │ └ {'host': '0.0.0.0', 'port': <replaced>, 'forwarded_allow_ips': '*', 'app': 'open_webui.main:app', 'uds': None, 'fd': None, 'reload'...
- Mar 22 13:24:06 openwebui start.sh[145]: └ ()
- Mar 22 13:24:06 openwebui start.sh[145]: File "/usr/local/lib/python3.11/dist-packages/uvicorn/main.py", line 412, in main
- Mar 22 13:24:06 openwebui start.sh[145]: run(
- Mar 22 13:24:06 openwebui start.sh[145]: └ <function run at 0x75770c351bc0>
- Mar 22 13:24:06 openwebui start.sh[145]: File "/usr/local/lib/python3.11/dist-packages/uvicorn/main.py", line 579, in run
- Mar 22 13:24:06 openwebui start.sh[145]: server.run()
- Mar 22 13:24:06 openwebui start.sh[145]: │ └ <function Server.run at 0x75770c38f1a0>
- Mar 22 13:24:06 openwebui start.sh[145]: └ <uvicorn.server.Server object at 0x75770c331d90>
- Mar 22 13:24:06 openwebui start.sh[145]: File "/usr/local/lib/python3.11/dist-packages/uvicorn/server.py", line 66, in run
- Mar 22 13:24:06 openwebui start.sh[145]: return asyncio.run(self.serve(sockets=sockets))
- Mar 22 13:24:06 openwebui start.sh[145]: │ │ │ │ └ None
- Mar 22 13:24:06 openwebui start.sh[145]: │ │ │ └ <function Server.serve at 0x75770c38f240>
- Mar 22 13:24:06 openwebui start.sh[145]: │ │ └ <uvicorn.server.Server object at 0x75770c331d90>
- Mar 22 13:24:06 openwebui start.sh[145]: │ └ <function run at 0x75770cb70400>
- Mar 22 13:24:06 openwebui start.sh[145]: └ <module 'asyncio' from '/usr/lib/python3.11/asyncio/__init__.py'>
- Mar 22 13:24:06 openwebui start.sh[145]: File "/usr/lib/python3.11/asyncio/runners.py", line 190, in run
- Mar 22 13:24:06 openwebui start.sh[145]: return runner.run(main)
- Mar 22 13:24:06 openwebui start.sh[145]: │ │ └ <coroutine object Server.serve at 0x75770c0f5120>
- Mar 22 13:24:06 openwebui start.sh[145]: │ └ <function Runner.run at 0x75770c52bce0>
- Mar 22 13:24:06 openwebui start.sh[145]: └ <asyncio.runners.Runner object at 0x75770d4168d0>
- Mar 22 13:24:06 openwebui start.sh[145]: File "/usr/lib/python3.11/asyncio/runners.py", line 118, in run
- Mar 22 13:24:06 openwebui start.sh[145]: return self._loop.run_until_complete(task)
- Mar 22 13:24:06 openwebui start.sh[145]: │ │ │ └ <Task pending name='Task-1' coro=<Server.serve() running at /usr/local/lib/python3.11/dist-packages/uvicorn/server.py:70> wai...
- Mar 22 13:24:06 openwebui start.sh[145]: │ │ └ <cyfunction Loop.run_until_complete at 0x75770c1076b0>
- Mar 22 13:24:06 openwebui start.sh[145]: │ └ <uvloop.Loop running=True closed=False debug=False>
- Mar 22 13:24:06 openwebui start.sh[145]: └ <asyncio.runners.Runner object at 0x75770d4168d0>
- Mar 22 13:24:06 openwebui start.sh[145]: File "/usr/local/lib/python3.11/dist-packages/starlette/middleware/base.py", line 141, in coro
- Mar 22 13:24:06 openwebui start.sh[145]: await self.app(scope, receive_or_disconnect, send_no_error)
- Mar 22 13:24:06 openwebui start.sh[145]: │ │ │ │ └ <function BaseHTTPMiddleware.__call__.<locals>.call_next.<locals>.send_no_error at 0x75769f54fc40>
- Mar 22 13:24:06 openwebui start.sh[145]: │ │ │ └ <function BaseHTTPMiddleware.__call__.<locals>.call_next.<locals>.receive_or_disconnect at 0x75769f54e8e0>
- Mar 22 13:24:06 openwebui start.sh[145]: │ │ └ {'type': 'http', 'asgi': {'version': '3.0', 'spec_version': '2.3'}, 'http_version': '1.1', 'server': ('<replaced>', <replaced>),...
- Mar 22 13:24:06 openwebui start.sh[145]: │ └ <starlette.middleware.exceptions.ExceptionMiddleware object at 0x7576acffe190>
- Mar 22 13:24:06 openwebui start.sh[145]: └ <open_webui.main.RedirectMiddleware object at 0x7576acf0fdd0>
- Mar 22 13:24:06 openwebui start.sh[145]: File "/usr/local/lib/python3.11/dist-packages/starlette/middleware/exceptions.py", line 62, in __call__
- Mar 22 13:24:06 openwebui start.sh[145]: await wrap_app_handling_exceptions(self.app, conn)(scope, receive, send)
- Mar 22 13:24:06 openwebui start.sh[145]: │ │ │ │ │ │ └ <function BaseHTTPMiddleware.__call__.<locals>.call_next.<locals>.send_no_error at 0x75769f54fc40>
- Mar 22 13:24:06 openwebui start.sh[145]: │ │ │ │ │ └ <function BaseHTTPMiddleware.__call__.<locals>.call_next.<locals>.receive_or_disconnect at 0x75769f54e8e0>
- Mar 22 13:24:06 openwebui start.sh[145]: │ │ │ │ └ {'type': 'http', 'asgi': {'version': '3.0', 'spec_version': '2.3'}, 'http_version': '1.1', 'server': ('<replaced>', <replaced>),...
- Mar 22 13:24:06 openwebui start.sh[145]: │ │ │ └ <starlette.requests.Request object at 0x7576ab189950>
- Mar 22 13:24:06 openwebui start.sh[145]: │ │ └ <fastapi.routing.APIRouter object at 0x7576d5238bd0>
- Mar 22 13:24:06 openwebui start.sh[145]: │ └ <starlette.middleware.exceptions.ExceptionMiddleware object at 0x7576acffe190>
- Mar 22 13:24:06 openwebui start.sh[145]: └ <function wrap_app_handling_exceptions at 0x7577098662a0>
- Mar 22 13:24:06 openwebui start.sh[145]: File "/usr/local/lib/python3.11/dist-packages/starlette/_exception_handler.py", line 42, in wrapped_app
- Mar 22 13:24:06 openwebui start.sh[145]: await app(scope, receive, sender)
- Mar 22 13:24:06 openwebui start.sh[145]: │ │ │ └ <function wrap_app_handling_exceptions.<locals>.wrapped_app.<locals>.sender at 0x75769f54ce00>
- Mar 22 13:24:06 openwebui start.sh[145]: │ │ └ <function BaseHTTPMiddleware.__call__.<locals>.call_next.<locals>.receive_or_disconnect at 0x75769f54e8e0>
- Mar 22 13:24:06 openwebui start.sh[145]: │ └ {'type': 'http', 'asgi': {'version': '3.0', 'spec_version': '2.3'}, 'http_version': '1.1', 'server': ('<replaced>', <replaced>),...
- Mar 22 13:24:06 openwebui start.sh[145]: └ <fastapi.routing.APIRouter object at 0x7576d5238bd0>
- Mar 22 13:24:06 openwebui start.sh[145]: File "/usr/local/lib/python3.11/dist-packages/starlette/routing.py", line 715, in __call__
- Mar 22 13:24:06 openwebui start.sh[145]: await self.middleware_stack(scope, receive, send)
- Mar 22 13:24:06 openwebui start.sh[145]: │ │ │ │ └ <function wrap_app_handling_exceptions.<locals>.wrapped_app.<locals>.sender at 0x75769f54ce00>
- Mar 22 13:24:06 openwebui start.sh[145]: │ │ │ └ <function BaseHTTPMiddleware.__call__.<locals>.call_next.<locals>.receive_or_disconnect at 0x75769f54e8e0>
- Mar 22 13:24:06 openwebui start.sh[145]: │ │ └ {'type': 'http', 'asgi': {'version': '3.0', 'spec_version': '2.3'}, 'http_version': '1.1', 'server': ('<replaced>', <replaced>),...
- Mar 22 13:24:06 openwebui start.sh[145]: │ └ <bound method Router.app of <fastapi.routing.APIRouter object at 0x7576d5238bd0>>
- Mar 22 13:24:06 openwebui start.sh[145]: └ <fastapi.routing.APIRouter object at 0x7576d5238bd0>
- Mar 22 13:24:06 openwebui start.sh[145]: File "/usr/local/lib/python3.11/dist-packages/starlette/routing.py", line 735, in app
- Mar 22 13:24:06 openwebui start.sh[145]: await route.handle(scope, receive, send)
- Mar 22 13:24:06 openwebui start.sh[145]: │ │ │ │ └ <function wrap_app_handling_exceptions.<locals>.wrapped_app.<locals>.sender at 0x75769f54ce00>
- Mar 22 13:24:06 openwebui start.sh[145]: │ │ │ └ <function BaseHTTPMiddleware.__call__.<locals>.call_next.<locals>.receive_or_disconnect at 0x75769f54e8e0>
- Mar 22 13:24:06 openwebui start.sh[145]: │ │ └ {'type': 'http', 'asgi': {'version': '3.0', 'spec_version': '2.3'}, 'http_version': '1.1', 'server': ('<replaced>', <replaced>),...
- Mar 22 13:24:06 openwebui start.sh[145]: │ └ <function Route.handle at 0x757709867880>
- Mar 22 13:24:06 openwebui start.sh[145]: └ APIRoute(path='/api/chat/completions', name='chat_completion', methods=['POST'])
- Mar 22 13:24:06 openwebui start.sh[145]: File "/usr/local/lib/python3.11/dist-packages/starlette/routing.py", line 288, in handle
- Mar 22 13:24:06 openwebui start.sh[145]: await self.app(scope, receive, send)
- Mar 22 13:24:06 openwebui start.sh[145]: │ │ │ │ └ <function wrap_app_handling_exceptions.<locals>.wrapped_app.<locals>.sender at 0x75769f54ce00>
- Mar 22 13:24:06 openwebui start.sh[145]: │ │ │ └ <function BaseHTTPMiddleware.__call__.<locals>.call_next.<locals>.receive_or_disconnect at 0x75769f54e8e0>
- Mar 22 13:24:06 openwebui start.sh[145]: │ │ └ {'type': 'http', 'asgi': {'version': '3.0', 'spec_version': '2.3'}, 'http_version': '1.1', 'server': ('<replaced>', <replaced>),...
- Mar 22 13:24:06 openwebui start.sh[145]: │ └ <function request_response.<locals>.app at 0x7576ac9a9760>
- Mar 22 13:24:06 openwebui start.sh[145]: └ APIRoute(path='/api/chat/completions', name='chat_completion', methods=['POST'])
- Mar 22 13:24:06 openwebui start.sh[145]: File "/usr/local/lib/python3.11/dist-packages/starlette/routing.py", line 76, in app
- Mar 22 13:24:06 openwebui start.sh[145]: await wrap_app_handling_exceptions(app, request)(scope, receive, send)
- Mar 22 13:24:06 openwebui start.sh[145]: │ │ │ │ │ └ <function wrap_app_handling_exceptions.<locals>.wrapped_app.<locals>.sender at 0x75769f54ce00>
- Mar 22 13:24:06 openwebui start.sh[145]: │ │ │ │ └ <function BaseHTTPMiddleware.__call__.<locals>.call_next.<locals>.receive_or_disconnect at 0x75769f54e8e0>
- Mar 22 13:24:06 openwebui start.sh[145]: │ │ │ └ {'type': 'http', 'asgi': {'version': '3.0', 'spec_version': '2.3'}, 'http_version': '1.1', 'server': ('<replaced>', <replaced>),...
- Mar 22 13:24:06 openwebui start.sh[145]: │ │ └ <starlette.requests.Request object at 0x7576a56ba290>
- Mar 22 13:24:06 openwebui start.sh[145]: │ └ <function request_response.<locals>.app.<locals>.app at 0x75769f54e480>
- Mar 22 13:24:06 openwebui start.sh[145]: └ <function wrap_app_handling_exceptions at 0x7577098662a0>
- Mar 22 13:24:06 openwebui start.sh[145]: File "/usr/local/lib/python3.11/dist-packages/starlette/_exception_handler.py", line 42, in wrapped_app
- Mar 22 13:24:06 openwebui start.sh[145]: await app(scope, receive, sender)
- Mar 22 13:24:06 openwebui start.sh[145]: │ │ │ └ <function wrap_app_handling_exceptions.<locals>.wrapped_app.<locals>.sender at 0x75769f54f060>
- Mar 22 13:24:06 openwebui start.sh[145]: │ │ └ <function BaseHTTPMiddleware.__call__.<locals>.call_next.<locals>.receive_or_disconnect at 0x75769f54e8e0>
- Mar 22 13:24:06 openwebui start.sh[145]: │ └ {'type': 'http', 'asgi': {'version': '3.0', 'spec_version': '2.3'}, 'http_version': '1.1', 'server': ('<replaced>', <replaced>),...
- Mar 22 13:24:06 openwebui start.sh[145]: └ <function request_response.<locals>.app.<locals>.app at 0x75769f54e480>
- Mar 22 13:24:06 openwebui start.sh[145]: File "/usr/local/lib/python3.11/dist-packages/starlette/routing.py", line 73, in app
- Mar 22 13:24:06 openwebui start.sh[145]: response = await f(request)
- Mar 22 13:24:06 openwebui start.sh[145]: │ └ <starlette.requests.Request object at 0x7576a56ba290>
- Mar 22 13:24:06 openwebui start.sh[145]: └ <function get_request_handler.<locals>.app at 0x7576ac9a98a0>
- Mar 22 13:24:06 openwebui start.sh[145]: File "/usr/local/lib/python3.11/dist-packages/fastapi/routing.py", line 301, in app
- Mar 22 13:24:06 openwebui start.sh[145]: raw_response = await run_endpoint_function(
- Mar 22 13:24:06 openwebui start.sh[145]: └ <function run_endpoint_function at 0x7577096a56c0>
- Mar 22 13:24:06 openwebui start.sh[145]: File "/usr/local/lib/python3.11/dist-packages/fastapi/routing.py", line 212, in run_endpoint_function
- Mar 22 13:24:06 openwebui start.sh[145]: return await dependant.call(**values)
- Mar 22 13:24:06 openwebui start.sh[145]: │ │ └ {'user': UserModel(id='<replaced>', name='<replaced>', email='<replaced>', role='admin', ...
- Mar 22 13:24:06 openwebui start.sh[145]: │ └ <function chat_completion at 0x7576ac9a9ee0>
- Mar 22 13:24:06 openwebui start.sh[145]: └ Dependant(path_params=[], query_params=[], header_params=[], cookie_params=[], body_params=[ModelField(field_info=Body(Pydant...
- Mar 22 13:24:06 openwebui start.sh[145]: File "/opt/open-webui/backend/open_webui/main.py", line 1043, in chat_completion
- Mar 22 13:24:06 openwebui start.sh[145]: form_data, metadata, events = await process_chat_payload(
- Mar 22 13:24:06 openwebui start.sh[145]: │ │ └ <function process_chat_payload at 0x7576d57d8400>
- Mar 22 13:24:06 openwebui start.sh[145]: │ └ {'user_id': '<replaced>', 'chat_id': '1caf4a0a-1217-4156-b9aa-5a824d7cee97', 'message_id': '3f2c177...
- Mar 22 13:24:06 openwebui start.sh[145]: └ {'stream': True, 'model': 'gpt-4o-mini', 'messages': [{'role': 'system', 'content': 'Du bist ein hilfreicher, informativer un...
- Mar 22 13:24:06 openwebui start.sh[145]: File "/opt/open-webui/backend/open_webui/utils/middleware.py", line 736, in process_chat_payload
- Mar 22 13:24:06 openwebui start.sh[145]: form_data = await chat_web_search_handler(
- Mar 22 13:24:06 openwebui start.sh[145]: └ <function chat_web_search_handler at 0x7576d57d9580>
- Mar 22 13:24:06 openwebui start.sh[145]: > File "/opt/open-webui/backend/open_webui/utils/middleware.py", line 341, in chat_web_search_handler
- Mar 22 13:24:06 openwebui start.sh[145]: results = await process_web_search(
- Mar 22 13:24:06 openwebui start.sh[145]: └ <function process_web_search at 0x7576d747eca0>
- Mar 22 13:24:06 openwebui start.sh[145]: File "/opt/open-webui/backend/open_webui/routers/retrieval.py", line 1481, in process_web_search
- Mar 22 13:24:06 openwebui start.sh[145]: raise HTTPException(
- Mar 22 13:24:06 openwebui start.sh[145]: └ <class 'fastapi.exceptions.HTTPException'>
- Mar 22 13:24:06 openwebui start.sh[145]: fastapi.exceptions.HTTPException: 400: [ERROR: 'NoneType' object has no attribute 'encode']
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement