Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 2026-05-11T14:44:34.2926995Z INFO [alembic.runtime.migration] Context impl SQLiteImpl.
- 2026-05-11T14:44:34.2928964Z INFO [alembic.runtime.migration] Will assume non-transactional DDL.
- 2026-05-11T14:44:34.3207603Z ERROR [open_webui.env] Error running migrations: (sqlite3.OperationalError) unable to open database file
- 2026-05-11T14:44:34.3208209Z [SQL: PRAGMA main.table_info("alembic_version")]
- 2026-05-11T14:44:34.3208245Z (Background on this error at: https://sqlalche.me/e/20/e3q8)
- 2026-05-11T14:44:34.320834Z Traceback (most recent call last):
- 2026-05-11T14:44:34.3208378Z File "/usr/local/lib/python3.11/site-packages/sqlalchemy/engine/base.py", line 1967, in _exec_single_context
- 2026-05-11T14:44:34.3208437Z self.dialect.do_execute(
- 2026-05-11T14:44:34.3208467Z File "/usr/local/lib/python3.11/site-packages/sqlalchemy/engine/default.py", line 952, in do_execute
- 2026-05-11T14:44:34.3208489Z cursor.execute(statement, parameters)
- 2026-05-11T14:44:34.3208511Z sqlite3.OperationalError: unable to open database file
- 2026-05-11T14:44:34.3208549Z
- 2026-05-11T14:44:34.3208575Z The above exception was the direct cause of the following exception:
- 2026-05-11T14:44:34.3208596Z
- 2026-05-11T14:44:34.3208616Z Traceback (most recent call last):
- 2026-05-11T14:44:34.3208642Z File "/app/backend/open_webui/config.py", line 69, in run_migrations
- 2026-05-11T14:44:34.3208663Z command.upgrade(alembic_cfg, 'head')
- 2026-05-11T14:44:34.3208686Z File "/usr/local/lib/python3.11/site-packages/alembic/command.py", line 483, in upgrade
- 2026-05-11T14:44:34.3208724Z script.run_env()
- 2026-05-11T14:44:34.3208748Z File "/usr/local/lib/python3.11/site-packages/alembic/script/base.py", line 545, in run_env
- 2026-05-11T14:44:34.3208774Z util.load_python_file(self.dir, "env.py")
- 2026-05-11T14:44:34.3208798Z File "/usr/local/lib/python3.11/site-packages/alembic/util/pyfiles.py", line 116, in load_python_file
- 2026-05-11T14:44:34.3208825Z module = load_module_py(module_id, path)
- 2026-05-11T14:44:34.3208847Z ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- 2026-05-11T14:44:34.3208887Z File "/usr/local/lib/python3.11/site-packages/alembic/util/pyfiles.py", line 136, in load_module_py
- 2026-05-11T14:44:34.320891Z spec.loader.exec_module(module) # type: ignore
- 2026-05-11T14:44:34.3208931Z ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- 2026-05-11T14:44:34.3208954Z File "<frozen importlib._bootstrap_external>", line 940, in exec_module
- 2026-05-11T14:44:34.3208977Z File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
- 2026-05-11T14:44:34.3209Z File "/app/backend/open_webui/migrations/env.py", line 120, in <module>
- 2026-05-11T14:44:34.3209044Z run_migrations_online()
- 2026-05-11T14:44:34.3209068Z File "/app/backend/open_webui/migrations/env.py", line 114, in run_migrations_online
- 2026-05-11T14:44:34.3209088Z context.run_migrations()
- 2026-05-11T14:44:34.320911Z File "<string>", line 8, in run_migrations
- 2026-05-11T14:44:34.3209145Z File "/usr/local/lib/python3.11/site-packages/alembic/runtime/environment.py", line 969, in run_migrations
- 2026-05-11T14:44:34.3209169Z self.get_context().run_migrations(**kw)
- 2026-05-11T14:44:34.3209212Z File "/usr/local/lib/python3.11/site-packages/alembic/runtime/migration.py", line 604, in run_migrations
- 2026-05-11T14:44:34.3209234Z heads = self.get_current_heads()
- 2026-05-11T14:44:34.3209255Z ^^^^^^^^^^^^^^^^^^^^^^^^
- 2026-05-11T14:44:34.320928Z File "/usr/local/lib/python3.11/site-packages/alembic/runtime/migration.py", line 534, in get_current_heads
- 2026-05-11T14:44:34.3209301Z if not self._has_version_table():
- 2026-05-11T14:44:34.3209338Z ^^^^^^^^^^^^^^^^^^^^^^^^^
- 2026-05-11T14:44:34.3209362Z File "/usr/local/lib/python3.11/site-packages/alembic/runtime/migration.py", line 554, in _has_version_table
- 2026-05-11T14:44:34.3209383Z return sqla_compat._connectable_has_table(
- 2026-05-11T14:44:34.3209405Z ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- 2026-05-11T14:44:34.3209429Z File "/usr/local/lib/python3.11/site-packages/alembic/util/sqla_compat.py", line 231, in _connectable_has_table
- 2026-05-11T14:44:34.3209452Z return connectable.dialect.has_table(connectable, tablename, schemaname)
- 2026-05-11T14:44:34.3209491Z ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- 2026-05-11T14:44:34.3209513Z File "<string>", line 2, in has_table
- 2026-05-11T14:44:34.3209537Z File "/usr/local/lib/python3.11/site-packages/sqlalchemy/engine/reflection.py", line 89, in cache
- 2026-05-11T14:44:34.3209559Z return fn(self, con, *args, **kw)
- 2026-05-11T14:44:34.3209579Z ^^^^^^^^^^^^^^^^^^^^^^^^^^
- 2026-05-11T14:44:34.3209602Z File "/usr/local/lib/python3.11/site-packages/sqlalchemy/dialects/sqlite/base.py", line 2335, in has_table
- 2026-05-11T14:44:34.3209643Z info = self._get_table_pragma(
- 2026-05-11T14:44:34.3209666Z ^^^^^^^^^^^^^^^^^^^^^^^
- 2026-05-11T14:44:34.320969Z File "/usr/local/lib/python3.11/site-packages/sqlalchemy/dialects/sqlite/base.py", line 3045, in _get_table_pragma
- 2026-05-11T14:44:34.3209713Z cursor = connection.exec_driver_sql(statement)
- 2026-05-11T14:44:34.3209734Z ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- 2026-05-11T14:44:34.3209758Z File "/usr/local/lib/python3.11/site-packages/sqlalchemy/engine/base.py", line 1779, in exec_driver_sql
- 2026-05-11T14:44:34.3209795Z ret = self._execute_context(
- 2026-05-11T14:44:34.3209815Z ^^^^^^^^^^^^^^^^^^^^^^
- 2026-05-11T14:44:34.3209839Z File "/usr/local/lib/python3.11/site-packages/sqlalchemy/engine/base.py", line 1846, in _execute_context
- 2026-05-11T14:44:34.3209862Z return self._exec_single_context(
- 2026-05-11T14:44:34.3209883Z ^^^^^^^^^^^^^^^^^^^^^^^^^^
- 2026-05-11T14:44:34.3209907Z File "/usr/local/lib/python3.11/site-packages/sqlalchemy/engine/base.py", line 1986, in _exec_single_context
- 2026-05-11T14:44:34.3209928Z self._handle_dbapi_exception(
- 2026-05-11T14:44:34.3209977Z File "/usr/local/lib/python3.11/site-packages/sqlalchemy/engine/base.py", line 2363, in _handle_dbapi_exception
- 2026-05-11T14:44:34.3210183Z raise sqlalchemy_exception.with_traceback(exc_info[2]) from e
- 2026-05-11T14:44:34.3210216Z File "/usr/local/lib/python3.11/site-packages/sqlalchemy/engine/base.py", line 1967, in _exec_single_context
- 2026-05-11T14:44:34.3210237Z self.dialect.do_execute(
- 2026-05-11T14:44:34.3210292Z File "/usr/local/lib/python3.11/site-packages/sqlalchemy/engine/default.py", line 952, in do_execute
- 2026-05-11T14:44:34.3210317Z cursor.execute(statement, parameters)
- 2026-05-11T14:44:34.3210343Z sqlalchemy.exc.OperationalError: (sqlite3.OperationalError) unable to open database file
- 2026-05-11T14:44:34.3210365Z [SQL: PRAGMA main.table_info("alembic_version")]
- 2026-05-11T14:44:34.3210387Z (Background on this error at: https://sqlalche.me/e/20/e3q8)
- 2026-05-11T14:44:34.3673216Z Traceback (most recent call last):
- 2026-05-11T14:44:34.3673797Z File "/usr/local/lib/python3.11/site-packages/sqlalchemy/engine/base.py", line 143, in __init__
- 2026-05-11T14:44:34.368998Z self._dbapi_connection = engine.raw_connection()
- 2026-05-11T14:44:34.3690147Z ^^^^^^^^^^^^^^^^^^^^^^^
- 2026-05-11T14:44:34.3690177Z File "/usr/local/lib/python3.11/site-packages/sqlalchemy/engine/base.py", line 3317, in raw_connection
- 2026-05-11T14:44:34.3690201Z return self.pool.connect()
- 2026-05-11T14:44:34.3690223Z ^^^^^^^^^^^^^^^^^^^
- 2026-05-11T14:44:34.3690281Z File "/usr/local/lib/python3.11/site-packages/sqlalchemy/pool/base.py", line 448, in connect
- 2026-05-11T14:44:34.3690306Z return _ConnectionFairy._checkout(self)
- 2026-05-11T14:44:34.3690333Z ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- 2026-05-11T14:44:34.3690359Z File "/usr/local/lib/python3.11/site-packages/sqlalchemy/pool/base.py", line 1272, in _checkout
- 2026-05-11T14:44:34.3690384Z fairy = _ConnectionRecord.checkout(pool)
- 2026-05-11T14:44:34.3690405Z ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- 2026-05-11T14:44:34.3690457Z File "/usr/local/lib/python3.11/site-packages/sqlalchemy/pool/base.py", line 712, in checkout
- 2026-05-11T14:44:34.3690478Z rec = pool._do_get()
- 2026-05-11T14:44:34.3690499Z ^^^^^^^^^^^^^^
- 2026-05-11T14:44:34.3690522Z File "/usr/local/lib/python3.11/site-packages/sqlalchemy/pool/impl.py", line 177, in _do_get
- 2026-05-11T14:44:34.3690544Z with util.safe_reraise():
- 2026-05-11T14:44:34.3690568Z File "/usr/local/lib/python3.11/site-packages/sqlalchemy/util/langhelpers.py", line 121, in __exit__
- 2026-05-11T14:44:34.3690613Z raise exc_value.with_traceback(exc_tb)
- 2026-05-11T14:44:34.3690637Z File "/usr/local/lib/python3.11/site-packages/sqlalchemy/pool/impl.py", line 175, in _do_get
- 2026-05-11T14:44:34.3690726Z return self._create_connection()
- 2026-05-11T14:44:34.3695667Z ^^^^^^^^^^^^^^^^^^^^^^^^^
- 2026-05-11T14:44:34.3695861Z File "/usr/local/lib/python3.11/site-packages/sqlalchemy/pool/base.py", line 389, in _create_connection
- 2026-05-11T14:44:34.3700899Z return _ConnectionRecord(self)
- 2026-05-11T14:44:34.3701064Z ^^^^^^^^^^^^^^^^^^^^^^^
- 2026-05-11T14:44:34.3701181Z File "/usr/local/lib/python3.11/site-packages/sqlalchemy/pool/base.py", line 674, in __init__
- 2026-05-11T14:44:34.3703964Z self.__connect()
- 2026-05-11T14:44:34.3704065Z File "/usr/local/lib/python3.11/site-packages/sqlalchemy/pool/base.py", line 914, in __connect
- 2026-05-11T14:44:34.3705477Z )._exec_w_sync_on_first_run(self.dbapi_connection, self)
- 2026-05-11T14:44:34.3715583Z ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- 2026-05-11T14:44:34.3775574Z File "/usr/local/lib/python3.11/site-packages/sqlalchemy/event/attr.py", line 501, in _exec_w_sync_on_first_run
- 2026-05-11T14:44:34.3778096Z self(*args, **kw)
- 2026-05-11T14:44:34.377873Z File "/usr/local/lib/python3.11/site-packages/sqlalchemy/event/attr.py", line 515, in __call__
- 2026-05-11T14:44:34.378069Z fn(*args, **kw)
- 2026-05-11T14:44:34.3781104Z File "/app/backend/open_webui/internal/db.py", line 287, in on_connect
- 2026-05-11T14:44:34.378284Z _apply_sqlite_pragmas(dbapi_connection)
- 2026-05-11T14:44:34.3782969Z File "/app/backend/open_webui/internal/db.py", line 267, in _apply_sqlite_pragmas
- 2026-05-11T14:44:34.3789215Z cursor.execute('PRAGMA journal_mode=WAL')
- 2026-05-11T14:44:34.3789333Z sqlite3.OperationalError: unable to open database file
- 2026-05-11T14:44:34.3789384Z
- 2026-05-11T14:44:34.3789412Z The above exception was the direct cause of the following exception:
- 2026-05-11T14:44:34.3789432Z
- 2026-05-11T14:44:34.3789452Z Traceback (most recent call last):
- 2026-05-11T14:44:34.3789475Z File "<frozen runpy>", line 198, in _run_module_as_main
- 2026-05-11T14:44:34.3789496Z File "<frozen runpy>", line 88, in _run_code
- 2026-05-11T14:44:34.378952Z File "/usr/local/lib/python3.11/site-packages/uvicorn/__main__.py", line 4, in <module>
- 2026-05-11T14:44:34.3789561Z uvicorn.main()
- 2026-05-11T14:44:34.3789588Z File "/usr/local/lib/python3.11/site-packages/click/core.py", line 1514, in __call__
- 2026-05-11T14:44:34.3790276Z return self.main(*args, **kwargs)
- 2026-05-11T14:44:34.3852319Z ^^^^^^^^^^^^^^^^^^^^^^^^^^
- 2026-05-11T14:44:34.38527Z File "/usr/local/lib/python3.11/site-packages/click/core.py", line 1435, in main
- 2026-05-11T14:44:34.3852734Z rv = self.invoke(ctx)
- 2026-05-11T14:44:34.3852761Z ^^^^^^^^^^^^^^^^
- 2026-05-11T14:44:34.3852789Z File "/usr/local/lib/python3.11/site-packages/click/core.py", line 1298, in invoke
- 2026-05-11T14:44:34.3852858Z return ctx.invoke(self.callback, **ctx.params)
- 2026-05-11T14:44:34.3852882Z ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- 2026-05-11T14:44:34.3852906Z File "/usr/local/lib/python3.11/site-packages/click/core.py", line 853, in invoke
- 2026-05-11T14:44:34.3852928Z return callback(*args, **kwargs)
- 2026-05-11T14:44:34.3852948Z ^^^^^^^^^^^^^^^^^^^^^^^^^
- 2026-05-11T14:44:34.3852971Z File "/usr/local/lib/python3.11/site-packages/uvicorn/main.py", line 433, in main
- 2026-05-11T14:44:34.3853011Z run(
- 2026-05-11T14:44:34.3853036Z File "/usr/local/lib/python3.11/site-packages/uvicorn/main.py", line 606, in run
- 2026-05-11T14:44:34.3853063Z server.run()
- 2026-05-11T14:44:34.3853086Z File "/usr/local/lib/python3.11/site-packages/uvicorn/server.py", line 75, in run
- 2026-05-11T14:44:34.385311Z return asyncio_run(self.serve(sockets=sockets), loop_factory=self.config.get_loop_factory())
- 2026-05-11T14:44:34.3853133Z ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- 2026-05-11T14:44:34.3853171Z File "/usr/local/lib/python3.11/site-packages/uvicorn/_compat.py", line 30, in asyncio_run
- 2026-05-11T14:44:34.3853194Z return runner.run(main)
- 2026-05-11T14:44:34.3853213Z ^^^^^^^^^^^^^^^^
- 2026-05-11T14:44:34.3853236Z File "/usr/local/lib/python3.11/asyncio/runners.py", line 118, in run
- 2026-05-11T14:44:34.3853257Z return self._loop.run_until_complete(task)
- 2026-05-11T14:44:34.3853278Z ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- 2026-05-11T14:44:34.3853302Z File "uvloop/loop.pyx", line 1518, in uvloop.loop.Loop.run_until_complete
- 2026-05-11T14:44:34.3877627Z File "/usr/local/lib/python3.11/site-packages/uvicorn/server.py", line 79, in serve
- 2026-05-11T14:44:34.3878086Z await self._serve(sockets)
- 2026-05-11T14:44:34.3878154Z File "/usr/local/lib/python3.11/site-packages/uvicorn/server.py", line 86, in _serve
- 2026-05-11T14:44:34.3878872Z config.load()
- 2026-05-11T14:44:34.3878916Z File "/usr/local/lib/python3.11/site-packages/uvicorn/config.py", line 441, in load
- 2026-05-11T14:44:34.3880086Z self.loaded_app = import_from_string(self.app)
- 2026-05-11T14:44:34.388119Z ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- 2026-05-11T14:44:34.3881481Z File "/usr/local/lib/python3.11/site-packages/uvicorn/importer.py", line 19, in import_from_string
- 2026-05-11T14:44:34.3881915Z module = importlib.import_module(module_str)
- 2026-05-11T14:44:34.3882854Z ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- 2026-05-11T14:44:34.3883091Z File "/usr/local/lib/python3.11/importlib/__init__.py", line 126, in import_module
- 2026-05-11T14:44:34.38838Z return _bootstrap._gcd_import(name[level:], package, level)
- 2026-05-11T14:44:34.3884678Z ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- 2026-05-11T14:44:34.3884826Z File "<frozen importlib._bootstrap>", line 1204, in _gcd_import
- 2026-05-11T14:44:34.3884859Z File "<frozen importlib._bootstrap>", line 1176, in _find_and_load
- 2026-05-11T14:44:34.3884883Z File "<frozen importlib._bootstrap>", line 1147, in _find_and_load_unlocked
- 2026-05-11T14:44:34.3884937Z File "<frozen importlib._bootstrap>", line 690, in _load_unlocked
- 2026-05-11T14:44:34.3884977Z File "<frozen importlib._bootstrap_external>", line 940, in exec_module
- 2026-05-11T14:44:34.3885027Z File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
- 2026-05-11T14:44:34.3885227Z File "/app/backend/open_webui/main.py", line 60, in <module>
- 2026-05-11T14:44:34.3885746Z from open_webui.utils.asgi_middleware import (
- 2026-05-11T14:44:34.3885786Z File "/app/backend/open_webui/utils/asgi_middleware.py", line 46, in <module>
- 2026-05-11T14:44:34.3886564Z from open_webui.utils.auth import get_http_authorization_cred
- 2026-05-11T14:44:34.3886901Z File "/app/backend/open_webui/utils/auth.py", line 23, in <module>
- 2026-05-11T14:44:34.3887744Z from open_webui.utils.access_control import has_permission
- 2026-05-11T14:44:34.388793Z File "/app/backend/open_webui/utils/access_control/__init__.py", line 12, in <module>
- 2026-05-11T14:44:34.3888674Z from open_webui.config import DEFAULT_USER_PERMISSIONS
- 2026-05-11T14:44:34.3888864Z File "/app/backend/open_webui/config.py", line 158, in <module>
- 2026-05-11T14:44:34.3889827Z CONFIG_DATA = get_config()
- 2026-05-11T14:44:34.3894604Z ^^^^^^^^^^^^
- 2026-05-11T14:44:34.3894797Z File "/app/backend/open_webui/config.py", line 154, in get_config
- 2026-05-11T14:44:34.3896169Z config_entry = db.query(Config).order_by(Config.id.desc()).first()
- 2026-05-11T14:44:34.3897436Z ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- 2026-05-11T14:44:34.3897492Z File "/usr/local/lib/python3.11/site-packages/sqlalchemy/orm/query.py", line 2759, in first
- 2026-05-11T14:44:34.3902295Z return self.limit(1)._iter().first() # type: ignore
- 2026-05-11T14:44:34.3902718Z ^^^^^^^^^^^^^^^^^^^^^
- 2026-05-11T14:44:34.3902888Z File "/usr/local/lib/python3.11/site-packages/sqlalchemy/orm/query.py", line 2857, in _iter
- 2026-05-11T14:44:34.3907451Z result: Union[ScalarResult[_T], Result[_T]] = self.session.execute(
- 2026-05-11T14:44:34.3908117Z ^^^^^^^^^^^^^^^^^^^^^
- 2026-05-11T14:44:34.3908256Z File "/usr/local/lib/python3.11/site-packages/sqlalchemy/orm/session.py", line 2351, in execute
- 2026-05-11T14:44:34.3980309Z return self._execute_internal(
- 2026-05-11T14:44:34.3980652Z ^^^^^^^^^^^^^^^^^^^^^^^
- 2026-05-11T14:44:34.3980969Z File "/usr/local/lib/python3.11/site-packages/sqlalchemy/orm/session.py", line 2239, in _execute_internal
- 2026-05-11T14:44:34.3984755Z conn = self._connection_for_bind(bind)
- 2026-05-11T14:44:34.3985299Z ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- 2026-05-11T14:44:34.398566Z File "/usr/local/lib/python3.11/site-packages/sqlalchemy/orm/session.py", line 2108, in _connection_for_bind
- 2026-05-11T14:44:34.3989549Z return trans._connection_for_bind(engine, execution_options)
- 2026-05-11T14:44:34.3990316Z ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- 2026-05-11T14:44:34.3990395Z File "<string>", line 2, in _connection_for_bind
- 2026-05-11T14:44:34.3990581Z File "/usr/local/lib/python3.11/site-packages/sqlalchemy/orm/state_changes.py", line 137, in _go
- 2026-05-11T14:44:34.3991283Z ret_value = fn(self, *arg, **kw)
- 2026-05-11T14:44:34.3991829Z ^^^^^^^^^^^^^^^^^^^^
- 2026-05-11T14:44:34.3992017Z File "/usr/local/lib/python3.11/site-packages/sqlalchemy/orm/session.py", line 1187, in _connection_for_bind
- 2026-05-11T14:44:34.3995693Z conn = bind.connect()
- 2026-05-11T14:44:34.399574Z ^^^^^^^^^^^^^^
- 2026-05-11T14:44:34.3995771Z File "/usr/local/lib/python3.11/site-packages/sqlalchemy/engine/base.py", line 3293, in connect
- 2026-05-11T14:44:34.3999979Z return self._connection_cls(self)
- 2026-05-11T14:44:34.4001042Z ^^^^^^^^^^^^^^^^^^^^^^^^^^
- 2026-05-11T14:44:34.4001416Z File "/usr/local/lib/python3.11/site-packages/sqlalchemy/engine/base.py", line 145, in __init__
- 2026-05-11T14:44:34.4002194Z Connection._handle_dbapi_exception_noconnection(
- 2026-05-11T14:44:34.4002267Z File "/usr/local/lib/python3.11/site-packages/sqlalchemy/engine/base.py", line 2448, in _handle_dbapi_exception_noconnection
- 2026-05-11T14:44:34.4006432Z raise sqlalchemy_exception.with_traceback(exc_info[2]) from e
- 2026-05-11T14:44:34.4006604Z File "/usr/local/lib/python3.11/site-packages/sqlalchemy/engine/base.py", line 143, in __init__
- 2026-05-11T14:44:34.4007508Z self._dbapi_connection = engine.raw_connection()
- 2026-05-11T14:44:34.4008376Z ^^^^^^^^^^^^^^^^^^^^^^^
- 2026-05-11T14:44:34.4008428Z File "/usr/local/lib/python3.11/site-packages/sqlalchemy/engine/base.py", line 3317, in raw_connection
- 2026-05-11T14:44:34.4081612Z return self.pool.connect()
- 2026-05-11T14:44:34.4082072Z ^^^^^^^^^^^^^^^^^^^
- 2026-05-11T14:44:34.4082108Z File "/usr/local/lib/python3.11/site-packages/sqlalchemy/pool/base.py", line 448, in connect
- 2026-05-11T14:44:34.4084269Z return _ConnectionFairy._checkout(self)
- 2026-05-11T14:44:34.4084631Z ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- 2026-05-11T14:44:34.4084881Z File "/usr/local/lib/python3.11/site-packages/sqlalchemy/pool/base.py", line 1272, in _checkout
- 2026-05-11T14:44:34.4087267Z fairy = _ConnectionRecord.checkout(pool)
- 2026-05-11T14:44:34.4087781Z ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- 2026-05-11T14:44:34.4087899Z File "/usr/local/lib/python3.11/site-packages/sqlalchemy/pool/base.py", line 712, in checkout
- 2026-05-11T14:44:34.4089737Z rec = pool._do_get()
- 2026-05-11T14:44:34.4089809Z ^^^^^^^^^^^^^^
- 2026-05-11T14:44:34.4089883Z File "/usr/local/lib/python3.11/site-packages/sqlalchemy/pool/impl.py", line 177, in _do_get
- 2026-05-11T14:44:34.4091277Z with util.safe_reraise():
- 2026-05-11T14:44:34.4091335Z File "/usr/local/lib/python3.11/site-packages/sqlalchemy/util/langhelpers.py", line 121, in __exit__
- 2026-05-11T14:44:34.4091937Z raise exc_value.with_traceback(exc_tb)
- 2026-05-11T14:44:34.4092229Z File "/usr/local/lib/python3.11/site-packages/sqlalchemy/pool/impl.py", line 175, in _do_get
- 2026-05-11T14:44:34.4092865Z return self._create_connection()
- 2026-05-11T14:44:34.409362Z ^^^^^^^^^^^^^^^^^^^^^^^^^
- 2026-05-11T14:44:34.4093708Z File "/usr/local/lib/python3.11/site-packages/sqlalchemy/pool/base.py", line 389, in _create_connection
- 2026-05-11T14:44:34.4095184Z return _ConnectionRecord(self)
- 2026-05-11T14:44:34.4095235Z ^^^^^^^^^^^^^^^^^^^^^^^
- 2026-05-11T14:44:34.4095393Z File "/usr/local/lib/python3.11/site-packages/sqlalchemy/pool/base.py", line 674, in __init__
- 2026-05-11T14:44:34.4096749Z self.__connect()
- 2026-05-11T14:44:34.4096882Z File "/usr/local/lib/python3.11/site-packages/sqlalchemy/pool/base.py", line 914, in __connect
- 2026-05-11T14:44:34.4098873Z )._exec_w_sync_on_first_run(self.dbapi_connection, self)
- 2026-05-11T14:44:34.4099633Z ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- 2026-05-11T14:44:34.4099803Z File "/usr/local/lib/python3.11/site-packages/sqlalchemy/event/attr.py", line 501, in _exec_w_sync_on_first_run
- 2026-05-11T14:44:34.4101671Z self(*args, **kw)
- 2026-05-11T14:44:34.4101738Z File "/usr/local/lib/python3.11/site-packages/sqlalchemy/event/attr.py", line 515, in __call__
- 2026-05-11T14:44:34.4102561Z fn(*args, **kw)
- 2026-05-11T14:44:34.41028Z File "/app/backend/open_webui/internal/db.py", line 287, in on_connect
- 2026-05-11T14:44:34.4104117Z _apply_sqlite_pragmas(dbapi_connection)
- 2026-05-11T14:44:34.4104308Z File "/app/backend/open_webui/internal/db.py", line 267, in _apply_sqlite_pragmas
- 2026-05-11T14:44:34.4105704Z cursor.execute('PRAGMA journal_mode=WAL')
- 2026-05-11T14:44:34.4106321Z sqlalchemy.exc.OperationalError: (sqlite3.OperationalError) unable to open database file
- 2026-05-11T14:44:34.4106464Z (Background on this error at: https://sqlalche.me/e/20/e3q8)
- 2026-05-11T14:44:57.6279217Z 2026-05-11 14:44:57.627 | INFO | open_webui.utils.session_pool:close_session:80 - Closed shared aiohttp session pool
- 2026-05-11T14:46:35.485Z No new trace in the past 1 min(s).
- 2026-05-11T14:46:37.2606843Z INFO [alembic.runtime.migration] Context impl SQLiteImpl.
- 2026-05-11T14:46:37.2607335Z INFO [alembic.runtime.migration] Will assume non-transactional DDL.
- 2026-05-11T14:47:05.5599349Z WARNI [langchain_community.utils.user_agent] USER_AGENT environment variable not set, consider setting it to identify your requests.
- 2026-05-11T14:47:21.887059Z
- 2026-05-11T14:47:21.8871351Z ██████╗ ██████╗ ███████╗███╗ ██╗ ██╗ ██╗███████╗██████╗ ██╗ ██╗██╗
- 2026-05-11T14:47:21.8871388Z ██╔═══██╗██╔══██╗██╔════╝████╗ ██║ ██║ ██║██╔════╝██╔══██╗██║ ██║██║
- 2026-05-11T14:47:21.887142Z ██║ ██║██████╔╝█████╗ ██╔██╗ ██║ ██║ █╗ ██║█████╗ ██████╔╝██║ ██║██║
- 2026-05-11T14:47:21.8871449Z ██║ ██║██╔═══╝ ██╔══╝ ██║╚██╗██║ ██║███╗██║██╔══╝ ██╔══██╗██║ ██║██║
- 2026-05-11T14:47:21.8871479Z ╚██████╔╝██║ ███████╗██║ ╚████║ ╚███╔███╔╝███████╗██████╔╝╚██████╔╝██║
- 2026-05-11T14:47:21.887151Z ╚═════╝ ╚═╝ ╚══════╝╚═╝ ╚═══╝ ╚══╝╚══╝ ╚══════╝╚═════╝ ╚═════╝ ╚═╝
- 2026-05-11T14:47:21.8871523Z
- 2026-05-11T14:47:21.8871536Z
- 2026-05-11T14:47:21.8871552Z v0.9.5 - building the best AI user interface.
- 2026-05-11T14:47:21.8871565Z
- 2026-05-11T14:47:21.8871614Z https://github.com/open-webui/open-webui
- 2026-05-11T14:47:21.8871628Z
- 2026-05-11T14:47:22.3901952Z
- Fetching 30 files: 0%| | 0/30 [00:00<?, ?it/s]
- Fetching 30 files: 30%|███ | 9/30 [00:00<00:00, 88.40it/s]
- Fetching 30 files: 100%|██████████| 30/30 [00:00<00:00, 186.04it/s]
- 2026-05-11T14:47:23.9004232Z
- Loading weights: 0%| | 0/103 [00:00<?, ?it/s]
- Loading weights: 14%|█▎ | 14/103 [00:00<00:00, 106.07it/s]
- Loading weights: 31%|███ | 32/103 [00:00<00:01, 70.48it/s]
- Loading weights: 57%|█████▋ | 59/103 [00:00<00:00, 120.47it/s]
- Loading weights: 73%|███████▎ | 75/103 [00:00<00:00, 110.20it/s]
- Loading weights: 86%|████████▋ | 89/103 [00:00<00:00, 103.36it/s]
- Loading weights: 100%|██████████| 103/103 [00:00<00:00, 108.05it/s]
- 2026-05-11T14:47:23.909831Z [1mBertModel LOAD REPORT[0m from: /app/backend/data/cache/embedding/models/models--sentence-transformers--all-MiniLM-L6-v2/snapshots/c9745ed1d9f207416be6d2e6f8de32d1f16199bf
- 2026-05-11T14:47:23.9098727Z Key | Status | |
- 2026-05-11T14:47:23.9098749Z ------------------------+------------+--+-
- 2026-05-11T14:47:23.9098764Z embeddings.position_ids | UNEXPECTED | |
- 2026-05-11T14:47:23.9098779Z
- 2026-05-11T14:47:23.9098794Z Notes:
- 2026-05-11T14:47:23.909882Z - UNEXPECTED: can be ignored when loading from different task/architecture; not ok if you expect identical arch.
- 2026-05-11T14:47:26.3532092Z INFO: Started server process [1]
- 2026-05-11T14:47:26.3600318Z INFO: Waiting for application startup.
Advertisement
Add Comment
Please, Sign In to add comment