Guest User

Untitled

a guest
May 11th, 2026
37
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 26.28 KB | Fixit | 0 0
  1. 2026-05-11T14:44:34.2926995Z INFO [alembic.runtime.migration] Context impl SQLiteImpl.
  2. 2026-05-11T14:44:34.2928964Z INFO [alembic.runtime.migration] Will assume non-transactional DDL.
  3. 2026-05-11T14:44:34.3207603Z ERROR [open_webui.env] Error running migrations: (sqlite3.OperationalError) unable to open database file
  4. 2026-05-11T14:44:34.3208209Z [SQL: PRAGMA main.table_info("alembic_version")]
  5. 2026-05-11T14:44:34.3208245Z (Background on this error at: https://sqlalche.me/e/20/e3q8)
  6. 2026-05-11T14:44:34.320834Z Traceback (most recent call last):
  7. 2026-05-11T14:44:34.3208378Z File "/usr/local/lib/python3.11/site-packages/sqlalchemy/engine/base.py", line 1967, in _exec_single_context
  8. 2026-05-11T14:44:34.3208437Z self.dialect.do_execute(
  9. 2026-05-11T14:44:34.3208467Z File "/usr/local/lib/python3.11/site-packages/sqlalchemy/engine/default.py", line 952, in do_execute
  10. 2026-05-11T14:44:34.3208489Z cursor.execute(statement, parameters)
  11. 2026-05-11T14:44:34.3208511Z sqlite3.OperationalError: unable to open database file
  12. 2026-05-11T14:44:34.3208549Z
  13. 2026-05-11T14:44:34.3208575Z The above exception was the direct cause of the following exception:
  14. 2026-05-11T14:44:34.3208596Z
  15. 2026-05-11T14:44:34.3208616Z Traceback (most recent call last):
  16. 2026-05-11T14:44:34.3208642Z File "/app/backend/open_webui/config.py", line 69, in run_migrations
  17. 2026-05-11T14:44:34.3208663Z command.upgrade(alembic_cfg, 'head')
  18. 2026-05-11T14:44:34.3208686Z File "/usr/local/lib/python3.11/site-packages/alembic/command.py", line 483, in upgrade
  19. 2026-05-11T14:44:34.3208724Z script.run_env()
  20. 2026-05-11T14:44:34.3208748Z File "/usr/local/lib/python3.11/site-packages/alembic/script/base.py", line 545, in run_env
  21. 2026-05-11T14:44:34.3208774Z util.load_python_file(self.dir, "env.py")
  22. 2026-05-11T14:44:34.3208798Z File "/usr/local/lib/python3.11/site-packages/alembic/util/pyfiles.py", line 116, in load_python_file
  23. 2026-05-11T14:44:34.3208825Z module = load_module_py(module_id, path)
  24. 2026-05-11T14:44:34.3208847Z ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  25. 2026-05-11T14:44:34.3208887Z File "/usr/local/lib/python3.11/site-packages/alembic/util/pyfiles.py", line 136, in load_module_py
  26. 2026-05-11T14:44:34.320891Z spec.loader.exec_module(module) # type: ignore
  27. 2026-05-11T14:44:34.3208931Z ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  28. 2026-05-11T14:44:34.3208954Z File "<frozen importlib._bootstrap_external>", line 940, in exec_module
  29. 2026-05-11T14:44:34.3208977Z File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
  30. 2026-05-11T14:44:34.3209Z File "/app/backend/open_webui/migrations/env.py", line 120, in <module>
  31. 2026-05-11T14:44:34.3209044Z run_migrations_online()
  32. 2026-05-11T14:44:34.3209068Z File "/app/backend/open_webui/migrations/env.py", line 114, in run_migrations_online
  33. 2026-05-11T14:44:34.3209088Z context.run_migrations()
  34. 2026-05-11T14:44:34.320911Z File "<string>", line 8, in run_migrations
  35. 2026-05-11T14:44:34.3209145Z File "/usr/local/lib/python3.11/site-packages/alembic/runtime/environment.py", line 969, in run_migrations
  36. 2026-05-11T14:44:34.3209169Z self.get_context().run_migrations(**kw)
  37. 2026-05-11T14:44:34.3209212Z File "/usr/local/lib/python3.11/site-packages/alembic/runtime/migration.py", line 604, in run_migrations
  38. 2026-05-11T14:44:34.3209234Z heads = self.get_current_heads()
  39. 2026-05-11T14:44:34.3209255Z ^^^^^^^^^^^^^^^^^^^^^^^^
  40. 2026-05-11T14:44:34.320928Z File "/usr/local/lib/python3.11/site-packages/alembic/runtime/migration.py", line 534, in get_current_heads
  41. 2026-05-11T14:44:34.3209301Z if not self._has_version_table():
  42. 2026-05-11T14:44:34.3209338Z ^^^^^^^^^^^^^^^^^^^^^^^^^
  43. 2026-05-11T14:44:34.3209362Z File "/usr/local/lib/python3.11/site-packages/alembic/runtime/migration.py", line 554, in _has_version_table
  44. 2026-05-11T14:44:34.3209383Z return sqla_compat._connectable_has_table(
  45. 2026-05-11T14:44:34.3209405Z ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  46. 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
  47. 2026-05-11T14:44:34.3209452Z return connectable.dialect.has_table(connectable, tablename, schemaname)
  48. 2026-05-11T14:44:34.3209491Z ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  49. 2026-05-11T14:44:34.3209513Z File "<string>", line 2, in has_table
  50. 2026-05-11T14:44:34.3209537Z File "/usr/local/lib/python3.11/site-packages/sqlalchemy/engine/reflection.py", line 89, in cache
  51. 2026-05-11T14:44:34.3209559Z return fn(self, con, *args, **kw)
  52. 2026-05-11T14:44:34.3209579Z ^^^^^^^^^^^^^^^^^^^^^^^^^^
  53. 2026-05-11T14:44:34.3209602Z File "/usr/local/lib/python3.11/site-packages/sqlalchemy/dialects/sqlite/base.py", line 2335, in has_table
  54. 2026-05-11T14:44:34.3209643Z info = self._get_table_pragma(
  55. 2026-05-11T14:44:34.3209666Z ^^^^^^^^^^^^^^^^^^^^^^^
  56. 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
  57. 2026-05-11T14:44:34.3209713Z cursor = connection.exec_driver_sql(statement)
  58. 2026-05-11T14:44:34.3209734Z ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  59. 2026-05-11T14:44:34.3209758Z File "/usr/local/lib/python3.11/site-packages/sqlalchemy/engine/base.py", line 1779, in exec_driver_sql
  60. 2026-05-11T14:44:34.3209795Z ret = self._execute_context(
  61. 2026-05-11T14:44:34.3209815Z ^^^^^^^^^^^^^^^^^^^^^^
  62. 2026-05-11T14:44:34.3209839Z File "/usr/local/lib/python3.11/site-packages/sqlalchemy/engine/base.py", line 1846, in _execute_context
  63. 2026-05-11T14:44:34.3209862Z return self._exec_single_context(
  64. 2026-05-11T14:44:34.3209883Z ^^^^^^^^^^^^^^^^^^^^^^^^^^
  65. 2026-05-11T14:44:34.3209907Z File "/usr/local/lib/python3.11/site-packages/sqlalchemy/engine/base.py", line 1986, in _exec_single_context
  66. 2026-05-11T14:44:34.3209928Z self._handle_dbapi_exception(
  67. 2026-05-11T14:44:34.3209977Z File "/usr/local/lib/python3.11/site-packages/sqlalchemy/engine/base.py", line 2363, in _handle_dbapi_exception
  68. 2026-05-11T14:44:34.3210183Z raise sqlalchemy_exception.with_traceback(exc_info[2]) from e
  69. 2026-05-11T14:44:34.3210216Z File "/usr/local/lib/python3.11/site-packages/sqlalchemy/engine/base.py", line 1967, in _exec_single_context
  70. 2026-05-11T14:44:34.3210237Z self.dialect.do_execute(
  71. 2026-05-11T14:44:34.3210292Z File "/usr/local/lib/python3.11/site-packages/sqlalchemy/engine/default.py", line 952, in do_execute
  72. 2026-05-11T14:44:34.3210317Z cursor.execute(statement, parameters)
  73. 2026-05-11T14:44:34.3210343Z sqlalchemy.exc.OperationalError: (sqlite3.OperationalError) unable to open database file
  74. 2026-05-11T14:44:34.3210365Z [SQL: PRAGMA main.table_info("alembic_version")]
  75. 2026-05-11T14:44:34.3210387Z (Background on this error at: https://sqlalche.me/e/20/e3q8)
  76. 2026-05-11T14:44:34.3673216Z Traceback (most recent call last):
  77. 2026-05-11T14:44:34.3673797Z File "/usr/local/lib/python3.11/site-packages/sqlalchemy/engine/base.py", line 143, in __init__
  78. 2026-05-11T14:44:34.368998Z self._dbapi_connection = engine.raw_connection()
  79. 2026-05-11T14:44:34.3690147Z ^^^^^^^^^^^^^^^^^^^^^^^
  80. 2026-05-11T14:44:34.3690177Z File "/usr/local/lib/python3.11/site-packages/sqlalchemy/engine/base.py", line 3317, in raw_connection
  81. 2026-05-11T14:44:34.3690201Z return self.pool.connect()
  82. 2026-05-11T14:44:34.3690223Z ^^^^^^^^^^^^^^^^^^^
  83. 2026-05-11T14:44:34.3690281Z File "/usr/local/lib/python3.11/site-packages/sqlalchemy/pool/base.py", line 448, in connect
  84. 2026-05-11T14:44:34.3690306Z return _ConnectionFairy._checkout(self)
  85. 2026-05-11T14:44:34.3690333Z ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  86. 2026-05-11T14:44:34.3690359Z File "/usr/local/lib/python3.11/site-packages/sqlalchemy/pool/base.py", line 1272, in _checkout
  87. 2026-05-11T14:44:34.3690384Z fairy = _ConnectionRecord.checkout(pool)
  88. 2026-05-11T14:44:34.3690405Z ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  89. 2026-05-11T14:44:34.3690457Z File "/usr/local/lib/python3.11/site-packages/sqlalchemy/pool/base.py", line 712, in checkout
  90. 2026-05-11T14:44:34.3690478Z rec = pool._do_get()
  91. 2026-05-11T14:44:34.3690499Z ^^^^^^^^^^^^^^
  92. 2026-05-11T14:44:34.3690522Z File "/usr/local/lib/python3.11/site-packages/sqlalchemy/pool/impl.py", line 177, in _do_get
  93. 2026-05-11T14:44:34.3690544Z with util.safe_reraise():
  94. 2026-05-11T14:44:34.3690568Z File "/usr/local/lib/python3.11/site-packages/sqlalchemy/util/langhelpers.py", line 121, in __exit__
  95. 2026-05-11T14:44:34.3690613Z raise exc_value.with_traceback(exc_tb)
  96. 2026-05-11T14:44:34.3690637Z File "/usr/local/lib/python3.11/site-packages/sqlalchemy/pool/impl.py", line 175, in _do_get
  97. 2026-05-11T14:44:34.3690726Z return self._create_connection()
  98. 2026-05-11T14:44:34.3695667Z ^^^^^^^^^^^^^^^^^^^^^^^^^
  99. 2026-05-11T14:44:34.3695861Z File "/usr/local/lib/python3.11/site-packages/sqlalchemy/pool/base.py", line 389, in _create_connection
  100. 2026-05-11T14:44:34.3700899Z return _ConnectionRecord(self)
  101. 2026-05-11T14:44:34.3701064Z ^^^^^^^^^^^^^^^^^^^^^^^
  102. 2026-05-11T14:44:34.3701181Z File "/usr/local/lib/python3.11/site-packages/sqlalchemy/pool/base.py", line 674, in __init__
  103. 2026-05-11T14:44:34.3703964Z self.__connect()
  104. 2026-05-11T14:44:34.3704065Z File "/usr/local/lib/python3.11/site-packages/sqlalchemy/pool/base.py", line 914, in __connect
  105. 2026-05-11T14:44:34.3705477Z )._exec_w_sync_on_first_run(self.dbapi_connection, self)
  106. 2026-05-11T14:44:34.3715583Z ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  107. 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
  108. 2026-05-11T14:44:34.3778096Z self(*args, **kw)
  109. 2026-05-11T14:44:34.377873Z File "/usr/local/lib/python3.11/site-packages/sqlalchemy/event/attr.py", line 515, in __call__
  110. 2026-05-11T14:44:34.378069Z fn(*args, **kw)
  111. 2026-05-11T14:44:34.3781104Z File "/app/backend/open_webui/internal/db.py", line 287, in on_connect
  112. 2026-05-11T14:44:34.378284Z _apply_sqlite_pragmas(dbapi_connection)
  113. 2026-05-11T14:44:34.3782969Z File "/app/backend/open_webui/internal/db.py", line 267, in _apply_sqlite_pragmas
  114. 2026-05-11T14:44:34.3789215Z cursor.execute('PRAGMA journal_mode=WAL')
  115. 2026-05-11T14:44:34.3789333Z sqlite3.OperationalError: unable to open database file
  116. 2026-05-11T14:44:34.3789384Z
  117. 2026-05-11T14:44:34.3789412Z The above exception was the direct cause of the following exception:
  118. 2026-05-11T14:44:34.3789432Z
  119. 2026-05-11T14:44:34.3789452Z Traceback (most recent call last):
  120. 2026-05-11T14:44:34.3789475Z File "<frozen runpy>", line 198, in _run_module_as_main
  121. 2026-05-11T14:44:34.3789496Z File "<frozen runpy>", line 88, in _run_code
  122. 2026-05-11T14:44:34.378952Z File "/usr/local/lib/python3.11/site-packages/uvicorn/__main__.py", line 4, in <module>
  123. 2026-05-11T14:44:34.3789561Z uvicorn.main()
  124. 2026-05-11T14:44:34.3789588Z File "/usr/local/lib/python3.11/site-packages/click/core.py", line 1514, in __call__
  125. 2026-05-11T14:44:34.3790276Z return self.main(*args, **kwargs)
  126. 2026-05-11T14:44:34.3852319Z ^^^^^^^^^^^^^^^^^^^^^^^^^^
  127. 2026-05-11T14:44:34.38527Z File "/usr/local/lib/python3.11/site-packages/click/core.py", line 1435, in main
  128. 2026-05-11T14:44:34.3852734Z rv = self.invoke(ctx)
  129. 2026-05-11T14:44:34.3852761Z ^^^^^^^^^^^^^^^^
  130. 2026-05-11T14:44:34.3852789Z File "/usr/local/lib/python3.11/site-packages/click/core.py", line 1298, in invoke
  131. 2026-05-11T14:44:34.3852858Z return ctx.invoke(self.callback, **ctx.params)
  132. 2026-05-11T14:44:34.3852882Z ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  133. 2026-05-11T14:44:34.3852906Z File "/usr/local/lib/python3.11/site-packages/click/core.py", line 853, in invoke
  134. 2026-05-11T14:44:34.3852928Z return callback(*args, **kwargs)
  135. 2026-05-11T14:44:34.3852948Z ^^^^^^^^^^^^^^^^^^^^^^^^^
  136. 2026-05-11T14:44:34.3852971Z File "/usr/local/lib/python3.11/site-packages/uvicorn/main.py", line 433, in main
  137. 2026-05-11T14:44:34.3853011Z run(
  138. 2026-05-11T14:44:34.3853036Z File "/usr/local/lib/python3.11/site-packages/uvicorn/main.py", line 606, in run
  139. 2026-05-11T14:44:34.3853063Z server.run()
  140. 2026-05-11T14:44:34.3853086Z File "/usr/local/lib/python3.11/site-packages/uvicorn/server.py", line 75, in run
  141. 2026-05-11T14:44:34.385311Z return asyncio_run(self.serve(sockets=sockets), loop_factory=self.config.get_loop_factory())
  142. 2026-05-11T14:44:34.3853133Z ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  143. 2026-05-11T14:44:34.3853171Z File "/usr/local/lib/python3.11/site-packages/uvicorn/_compat.py", line 30, in asyncio_run
  144. 2026-05-11T14:44:34.3853194Z return runner.run(main)
  145. 2026-05-11T14:44:34.3853213Z ^^^^^^^^^^^^^^^^
  146. 2026-05-11T14:44:34.3853236Z File "/usr/local/lib/python3.11/asyncio/runners.py", line 118, in run
  147. 2026-05-11T14:44:34.3853257Z return self._loop.run_until_complete(task)
  148. 2026-05-11T14:44:34.3853278Z ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  149. 2026-05-11T14:44:34.3853302Z File "uvloop/loop.pyx", line 1518, in uvloop.loop.Loop.run_until_complete
  150. 2026-05-11T14:44:34.3877627Z File "/usr/local/lib/python3.11/site-packages/uvicorn/server.py", line 79, in serve
  151. 2026-05-11T14:44:34.3878086Z await self._serve(sockets)
  152. 2026-05-11T14:44:34.3878154Z File "/usr/local/lib/python3.11/site-packages/uvicorn/server.py", line 86, in _serve
  153. 2026-05-11T14:44:34.3878872Z config.load()
  154. 2026-05-11T14:44:34.3878916Z File "/usr/local/lib/python3.11/site-packages/uvicorn/config.py", line 441, in load
  155. 2026-05-11T14:44:34.3880086Z self.loaded_app = import_from_string(self.app)
  156. 2026-05-11T14:44:34.388119Z ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  157. 2026-05-11T14:44:34.3881481Z File "/usr/local/lib/python3.11/site-packages/uvicorn/importer.py", line 19, in import_from_string
  158. 2026-05-11T14:44:34.3881915Z module = importlib.import_module(module_str)
  159. 2026-05-11T14:44:34.3882854Z ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  160. 2026-05-11T14:44:34.3883091Z File "/usr/local/lib/python3.11/importlib/__init__.py", line 126, in import_module
  161. 2026-05-11T14:44:34.38838Z return _bootstrap._gcd_import(name[level:], package, level)
  162. 2026-05-11T14:44:34.3884678Z ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  163. 2026-05-11T14:44:34.3884826Z File "<frozen importlib._bootstrap>", line 1204, in _gcd_import
  164. 2026-05-11T14:44:34.3884859Z File "<frozen importlib._bootstrap>", line 1176, in _find_and_load
  165. 2026-05-11T14:44:34.3884883Z File "<frozen importlib._bootstrap>", line 1147, in _find_and_load_unlocked
  166. 2026-05-11T14:44:34.3884937Z File "<frozen importlib._bootstrap>", line 690, in _load_unlocked
  167. 2026-05-11T14:44:34.3884977Z File "<frozen importlib._bootstrap_external>", line 940, in exec_module
  168. 2026-05-11T14:44:34.3885027Z File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
  169. 2026-05-11T14:44:34.3885227Z File "/app/backend/open_webui/main.py", line 60, in <module>
  170. 2026-05-11T14:44:34.3885746Z from open_webui.utils.asgi_middleware import (
  171. 2026-05-11T14:44:34.3885786Z File "/app/backend/open_webui/utils/asgi_middleware.py", line 46, in <module>
  172. 2026-05-11T14:44:34.3886564Z from open_webui.utils.auth import get_http_authorization_cred
  173. 2026-05-11T14:44:34.3886901Z File "/app/backend/open_webui/utils/auth.py", line 23, in <module>
  174. 2026-05-11T14:44:34.3887744Z from open_webui.utils.access_control import has_permission
  175. 2026-05-11T14:44:34.388793Z File "/app/backend/open_webui/utils/access_control/__init__.py", line 12, in <module>
  176. 2026-05-11T14:44:34.3888674Z from open_webui.config import DEFAULT_USER_PERMISSIONS
  177. 2026-05-11T14:44:34.3888864Z File "/app/backend/open_webui/config.py", line 158, in <module>
  178. 2026-05-11T14:44:34.3889827Z CONFIG_DATA = get_config()
  179. 2026-05-11T14:44:34.3894604Z ^^^^^^^^^^^^
  180. 2026-05-11T14:44:34.3894797Z File "/app/backend/open_webui/config.py", line 154, in get_config
  181. 2026-05-11T14:44:34.3896169Z config_entry = db.query(Config).order_by(Config.id.desc()).first()
  182. 2026-05-11T14:44:34.3897436Z ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  183. 2026-05-11T14:44:34.3897492Z File "/usr/local/lib/python3.11/site-packages/sqlalchemy/orm/query.py", line 2759, in first
  184. 2026-05-11T14:44:34.3902295Z return self.limit(1)._iter().first() # type: ignore
  185. 2026-05-11T14:44:34.3902718Z ^^^^^^^^^^^^^^^^^^^^^
  186. 2026-05-11T14:44:34.3902888Z File "/usr/local/lib/python3.11/site-packages/sqlalchemy/orm/query.py", line 2857, in _iter
  187. 2026-05-11T14:44:34.3907451Z result: Union[ScalarResult[_T], Result[_T]] = self.session.execute(
  188. 2026-05-11T14:44:34.3908117Z ^^^^^^^^^^^^^^^^^^^^^
  189. 2026-05-11T14:44:34.3908256Z File "/usr/local/lib/python3.11/site-packages/sqlalchemy/orm/session.py", line 2351, in execute
  190. 2026-05-11T14:44:34.3980309Z return self._execute_internal(
  191. 2026-05-11T14:44:34.3980652Z ^^^^^^^^^^^^^^^^^^^^^^^
  192. 2026-05-11T14:44:34.3980969Z File "/usr/local/lib/python3.11/site-packages/sqlalchemy/orm/session.py", line 2239, in _execute_internal
  193. 2026-05-11T14:44:34.3984755Z conn = self._connection_for_bind(bind)
  194. 2026-05-11T14:44:34.3985299Z ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  195. 2026-05-11T14:44:34.398566Z File "/usr/local/lib/python3.11/site-packages/sqlalchemy/orm/session.py", line 2108, in _connection_for_bind
  196. 2026-05-11T14:44:34.3989549Z return trans._connection_for_bind(engine, execution_options)
  197. 2026-05-11T14:44:34.3990316Z ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  198. 2026-05-11T14:44:34.3990395Z File "<string>", line 2, in _connection_for_bind
  199. 2026-05-11T14:44:34.3990581Z File "/usr/local/lib/python3.11/site-packages/sqlalchemy/orm/state_changes.py", line 137, in _go
  200. 2026-05-11T14:44:34.3991283Z ret_value = fn(self, *arg, **kw)
  201. 2026-05-11T14:44:34.3991829Z ^^^^^^^^^^^^^^^^^^^^
  202. 2026-05-11T14:44:34.3992017Z File "/usr/local/lib/python3.11/site-packages/sqlalchemy/orm/session.py", line 1187, in _connection_for_bind
  203. 2026-05-11T14:44:34.3995693Z conn = bind.connect()
  204. 2026-05-11T14:44:34.399574Z ^^^^^^^^^^^^^^
  205. 2026-05-11T14:44:34.3995771Z File "/usr/local/lib/python3.11/site-packages/sqlalchemy/engine/base.py", line 3293, in connect
  206. 2026-05-11T14:44:34.3999979Z return self._connection_cls(self)
  207. 2026-05-11T14:44:34.4001042Z ^^^^^^^^^^^^^^^^^^^^^^^^^^
  208. 2026-05-11T14:44:34.4001416Z File "/usr/local/lib/python3.11/site-packages/sqlalchemy/engine/base.py", line 145, in __init__
  209. 2026-05-11T14:44:34.4002194Z Connection._handle_dbapi_exception_noconnection(
  210. 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
  211. 2026-05-11T14:44:34.4006432Z raise sqlalchemy_exception.with_traceback(exc_info[2]) from e
  212. 2026-05-11T14:44:34.4006604Z File "/usr/local/lib/python3.11/site-packages/sqlalchemy/engine/base.py", line 143, in __init__
  213. 2026-05-11T14:44:34.4007508Z self._dbapi_connection = engine.raw_connection()
  214. 2026-05-11T14:44:34.4008376Z ^^^^^^^^^^^^^^^^^^^^^^^
  215. 2026-05-11T14:44:34.4008428Z File "/usr/local/lib/python3.11/site-packages/sqlalchemy/engine/base.py", line 3317, in raw_connection
  216. 2026-05-11T14:44:34.4081612Z return self.pool.connect()
  217. 2026-05-11T14:44:34.4082072Z ^^^^^^^^^^^^^^^^^^^
  218. 2026-05-11T14:44:34.4082108Z File "/usr/local/lib/python3.11/site-packages/sqlalchemy/pool/base.py", line 448, in connect
  219. 2026-05-11T14:44:34.4084269Z return _ConnectionFairy._checkout(self)
  220. 2026-05-11T14:44:34.4084631Z ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  221. 2026-05-11T14:44:34.4084881Z File "/usr/local/lib/python3.11/site-packages/sqlalchemy/pool/base.py", line 1272, in _checkout
  222. 2026-05-11T14:44:34.4087267Z fairy = _ConnectionRecord.checkout(pool)
  223. 2026-05-11T14:44:34.4087781Z ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  224. 2026-05-11T14:44:34.4087899Z File "/usr/local/lib/python3.11/site-packages/sqlalchemy/pool/base.py", line 712, in checkout
  225. 2026-05-11T14:44:34.4089737Z rec = pool._do_get()
  226. 2026-05-11T14:44:34.4089809Z ^^^^^^^^^^^^^^
  227. 2026-05-11T14:44:34.4089883Z File "/usr/local/lib/python3.11/site-packages/sqlalchemy/pool/impl.py", line 177, in _do_get
  228. 2026-05-11T14:44:34.4091277Z with util.safe_reraise():
  229. 2026-05-11T14:44:34.4091335Z File "/usr/local/lib/python3.11/site-packages/sqlalchemy/util/langhelpers.py", line 121, in __exit__
  230. 2026-05-11T14:44:34.4091937Z raise exc_value.with_traceback(exc_tb)
  231. 2026-05-11T14:44:34.4092229Z File "/usr/local/lib/python3.11/site-packages/sqlalchemy/pool/impl.py", line 175, in _do_get
  232. 2026-05-11T14:44:34.4092865Z return self._create_connection()
  233. 2026-05-11T14:44:34.409362Z ^^^^^^^^^^^^^^^^^^^^^^^^^
  234. 2026-05-11T14:44:34.4093708Z File "/usr/local/lib/python3.11/site-packages/sqlalchemy/pool/base.py", line 389, in _create_connection
  235. 2026-05-11T14:44:34.4095184Z return _ConnectionRecord(self)
  236. 2026-05-11T14:44:34.4095235Z ^^^^^^^^^^^^^^^^^^^^^^^
  237. 2026-05-11T14:44:34.4095393Z File "/usr/local/lib/python3.11/site-packages/sqlalchemy/pool/base.py", line 674, in __init__
  238. 2026-05-11T14:44:34.4096749Z self.__connect()
  239. 2026-05-11T14:44:34.4096882Z File "/usr/local/lib/python3.11/site-packages/sqlalchemy/pool/base.py", line 914, in __connect
  240. 2026-05-11T14:44:34.4098873Z )._exec_w_sync_on_first_run(self.dbapi_connection, self)
  241. 2026-05-11T14:44:34.4099633Z ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  242. 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
  243. 2026-05-11T14:44:34.4101671Z self(*args, **kw)
  244. 2026-05-11T14:44:34.4101738Z File "/usr/local/lib/python3.11/site-packages/sqlalchemy/event/attr.py", line 515, in __call__
  245. 2026-05-11T14:44:34.4102561Z fn(*args, **kw)
  246. 2026-05-11T14:44:34.41028Z File "/app/backend/open_webui/internal/db.py", line 287, in on_connect
  247. 2026-05-11T14:44:34.4104117Z _apply_sqlite_pragmas(dbapi_connection)
  248. 2026-05-11T14:44:34.4104308Z File "/app/backend/open_webui/internal/db.py", line 267, in _apply_sqlite_pragmas
  249. 2026-05-11T14:44:34.4105704Z cursor.execute('PRAGMA journal_mode=WAL')
  250. 2026-05-11T14:44:34.4106321Z sqlalchemy.exc.OperationalError: (sqlite3.OperationalError) unable to open database file
  251. 2026-05-11T14:44:34.4106464Z (Background on this error at: https://sqlalche.me/e/20/e3q8)
  252. 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
  253. 2026-05-11T14:46:35.485Z No new trace in the past 1 min(s).
  254. 2026-05-11T14:46:37.2606843Z INFO [alembic.runtime.migration] Context impl SQLiteImpl.
  255. 2026-05-11T14:46:37.2607335Z INFO [alembic.runtime.migration] Will assume non-transactional DDL.
  256. 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.
  257. 2026-05-11T14:47:21.887059Z
  258. 2026-05-11T14:47:21.8871351Z ██████╗ ██████╗ ███████╗███╗ ██╗ ██╗ ██╗███████╗██████╗ ██╗ ██╗██╗
  259. 2026-05-11T14:47:21.8871388Z ██╔═══██╗██╔══██╗██╔════╝████╗ ██║ ██║ ██║██╔════╝██╔══██╗██║ ██║██║
  260. 2026-05-11T14:47:21.887142Z ██║ ██║██████╔╝█████╗ ██╔██╗ ██║ ██║ █╗ ██║█████╗ ██████╔╝██║ ██║██║
  261. 2026-05-11T14:47:21.8871449Z ██║ ██║██╔═══╝ ██╔══╝ ██║╚██╗██║ ██║███╗██║██╔══╝ ██╔══██╗██║ ██║██║
  262. 2026-05-11T14:47:21.8871479Z ╚██████╔╝██║ ███████╗██║ ╚████║ ╚███╔███╔╝███████╗██████╔╝╚██████╔╝██║
  263. 2026-05-11T14:47:21.887151Z ╚═════╝ ╚═╝ ╚══════╝╚═╝ ╚═══╝ ╚══╝╚══╝ ╚══════╝╚═════╝ ╚═════╝ ╚═╝
  264. 2026-05-11T14:47:21.8871523Z
  265. 2026-05-11T14:47:21.8871536Z
  266. 2026-05-11T14:47:21.8871552Z v0.9.5 - building the best AI user interface.
  267. 2026-05-11T14:47:21.8871565Z
  268. 2026-05-11T14:47:21.8871614Z https://github.com/open-webui/open-webui
  269. 2026-05-11T14:47:21.8871628Z
  270. 2026-05-11T14:47:22.3901952Z
  271. Fetching 30 files: 0%| | 0/30 [00:00<?, ?it/s]
  272. Fetching 30 files: 30%|███ | 9/30 [00:00<00:00, 88.40it/s]
  273. Fetching 30 files: 100%|██████████| 30/30 [00:00<00:00, 186.04it/s]
  274. 2026-05-11T14:47:23.9004232Z
  275. Loading weights: 0%| | 0/103 [00:00<?, ?it/s]
  276. Loading weights: 14%|█▎ | 14/103 [00:00<00:00, 106.07it/s]
  277. Loading weights: 31%|███ | 32/103 [00:00<00:01, 70.48it/s]
  278. Loading weights: 57%|█████▋ | 59/103 [00:00<00:00, 120.47it/s]
  279. Loading weights: 73%|███████▎ | 75/103 [00:00<00:00, 110.20it/s]
  280. Loading weights: 86%|████████▋ | 89/103 [00:00<00:00, 103.36it/s]
  281. Loading weights: 100%|██████████| 103/103 [00:00<00:00, 108.05it/s]
  282. 2026-05-11T14:47:23.909831Z BertModel LOAD REPORT from: /app/backend/data/cache/embedding/models/models--sentence-transformers--all-MiniLM-L6-v2/snapshots/c9745ed1d9f207416be6d2e6f8de32d1f16199bf
  283. 2026-05-11T14:47:23.9098727Z Key | Status | |
  284. 2026-05-11T14:47:23.9098749Z ------------------------+------------+--+-
  285. 2026-05-11T14:47:23.9098764Z embeddings.position_ids | UNEXPECTED | |
  286. 2026-05-11T14:47:23.9098779Z
  287. 2026-05-11T14:47:23.9098794Z Notes:
  288. 2026-05-11T14:47:23.909882Z - UNEXPECTED: can be ignored when loading from different task/architecture; not ok if you expect identical arch.
  289. 2026-05-11T14:47:26.3532092Z INFO: Started server process [1]
  290. 2026-05-11T14:47:26.3600318Z INFO: Waiting for application startup.
Advertisement
Add Comment
Please, Sign In to add comment