Timothy Jaeryang Baek
b645b0dc23
refac
Create and publish Docker images with specific build args / merge-cuda126-images (push) Blocked by required conditions
Create and publish Docker images with specific build args / build-main-image (linux/amd64, ubuntu-latest) (push) Waiting to run
Create and publish Docker images with specific build args / build-main-image (linux/arm64, ubuntu-24.04-arm) (push) Waiting to run
Create and publish Docker images with specific build args / build-cuda-image (linux/amd64, ubuntu-latest) (push) Waiting to run
Create and publish Docker images with specific build args / build-cuda-image (linux/arm64, ubuntu-24.04-arm) (push) Waiting to run
Create and publish Docker images with specific build args / build-cuda126-image (linux/amd64, ubuntu-latest) (push) Waiting to run
Create and publish Docker images with specific build args / build-cuda126-image (linux/arm64, ubuntu-24.04-arm) (push) Waiting to run
Create and publish Docker images with specific build args / build-ollama-image (linux/amd64, ubuntu-latest) (push) Waiting to run
Create and publish Docker images with specific build args / build-ollama-image (linux/arm64, ubuntu-24.04-arm) (push) Waiting to run
Create and publish Docker images with specific build args / build-slim-image (linux/amd64, ubuntu-latest) (push) Waiting to run
Create and publish Docker images with specific build args / build-slim-image (linux/arm64, ubuntu-24.04-arm) (push) Waiting to run
Create and publish Docker images with specific build args / merge-main-images (push) Blocked by required conditions
Create and publish Docker images with specific build args / merge-cuda-images (push) Blocked by required conditions
Create and publish Docker images with specific build args / merge-ollama-images (push) Blocked by required conditions
Create and publish Docker images with specific build args / merge-slim-images (push) Blocked by required conditions
Create and publish Docker images with specific build args / copy-to-dockerhub (, main) (push) Blocked by required conditions
Create and publish Docker images with specific build args / copy-to-dockerhub (-cuda, cuda) (push) Blocked by required conditions
Create and publish Docker images with specific build args / copy-to-dockerhub (-cuda126, cuda126) (push) Blocked by required conditions
Create and publish Docker images with specific build args / copy-to-dockerhub (-ollama, ollama) (push) Blocked by required conditions
Create and publish Docker images with specific build args / copy-to-dockerhub (-slim, slim) (push) Blocked by required conditions
Python CI / Format Backend (push) Waiting to run
Frontend Build / Format & Build Frontend (push) Waiting to run
Frontend Build / Frontend Unit Tests (push) Waiting to run
2026-04-20 18:47:53 +09:00
Timothy Jaeryang Baek
7cc7b367dc
refac
2026-04-17 11:27:58 +09:00
Timothy Jaeryang Baek
26b8ca5b5e
refac
2026-04-12 19:41:02 -05:00
Timothy Jaeryang Baek
25898116ea
chore: format
2026-04-12 18:12:59 -05:00
Timothy Jaeryang Baek
27169124f2
refac: async db
2026-04-12 14:22:11 -05:00
Timothy Jaeryang Baek
de3317e26b
refac
2026-03-17 17:58:01 -05:00
Classic298
04fae8b357
fix: use NullPool for SQLCipher engine to prevent segfault ( #22273 )
...
The SQLCipher engine used a dummy sqlite:// URL with a creator function,
which caused SQLAlchemy to auto-select SingletonThreadPool. This pool
non-deterministically closes in-use connections when thread count exceeds
pool_size (default 5), leading to use-after-free segfaults (exit code 139)
in the native sqlcipher3 C library during multi-threaded operations like
user signup.
Now defaults to NullPool (each operation creates/closes its own connection)
for maximum safety with the native C extension. Also respects the
DATABASE_POOL_SIZE setting: if explicitly set >0, QueuePool is used with
the configured pool parameters, matching the behavior of other DB paths.
Fixes #22258
2026-03-06 14:04:10 -06:00
Timothy Jaeryang Baek
f376d4f378
chore: format
2026-02-11 16:24:11 -06:00
Timothy Jaeryang Baek
8646aebaab
refac/fix: DATABASE_ENABLE_SESSION_SHARING env var
2026-01-10 00:16:04 +04:00
Timothy Jaeryang Baek
2bb13d5dbc
refac: get_db_context
2026-01-05 03:46:40 +04:00
Timothy Jaeryang Baek
b1d0f00d8c
refac/enh: db session sharing
2025-12-29 00:21:18 +04:00
Timothy Jaeryang Baek
2041ab483e
refac/enh: db session sharing
2025-12-28 22:00:44 +04:00
Timothy Jaeryang Baek
9824f0e333
enh: ENABLE_DB_MIGRATIONS
2025-12-23 10:14:54 +04:00
Timothy Jaeryang Baek
01e88c6ac2
chore: format
2025-12-21 23:34:08 +04:00
Classic298
b3904b6ecb
fix: Fix handling of absolute paths for SQLCipher databases ( #20074 )
...
* sequential
* zero default
* fix
* fix: preserve absolute paths in sqlite+sqlcipher URLs
Previously, the connection logic incorrectly stripped the leading slash
from `sqlite+sqlcipher` paths, forcibly converting absolute paths
(e.g., `sqlite+sqlcipher:////app/data.db`) into relative paths
(which became `app/data.db`). This caused database initialization failures
when using absolute paths, such as with Docker volume mounts.
This change removes the slash-stripping logic, ensuring that absolute
path conventions (starting with `/`) are respected while maintaining
support for relative paths (which do not start with `/`).
2025-12-21 09:18:20 -05:00
Classic298
823b9a6dd9
chore/perf: Remove old SRC level log env vars with no impact ( #20045 )
...
* Update openai.py
* Update env.py
* Merge pull request open-webui#19030 from open-webui/dev (#119 )
Co-authored-by: Tim Baek <tim@openwebui.com>
Co-authored-by: Claude <noreply@anthropic.com>
---------
Co-authored-by: Tim Baek <tim@openwebui.com>
Co-authored-by: Claude <noreply@anthropic.com>
2025-12-20 08:16:14 -05:00
Adam Tao
7bd7559bfe
refactor: format
...
Signed-off-by: Adam Tao <tcx4c70@gmail.com>
2025-08-10 22:28:31 +08:00
Adam Tao
b23abcbfe5
feat(db): Add DATABASE_ENABLE_SQLITE_WAL to enable SQLite WAL
...
Signed-off-by: Adam Tao <tcx4c70@gmail.com>
2025-08-10 22:28:31 +08:00
Timothy Jaeryang Baek
c77b36bdcc
refac
2025-08-10 00:02:58 +04:00
Timothy Jaeryang Baek
77189664c2
chore: format
2025-08-09 23:57:35 +04:00
Adam M. Smith
c9a4bc18f4
feat: Implement SQLCipher support for database encryption
...
- Added sqlcipher3 dependency to requirements.txt for SQLCipher integration.
- Modified database connection handling in wrappers.py to support encrypted SQLite databases using the new sqlite+sqlcipher:// URL protocol.
- Updated db.py to handle SQLCipher URLs for SQLAlchemy connections.
- Enhanced Alembic migration environment to support SQLCipher URLs.
2025-07-31 23:21:35 +00:00
Timothy Jaeryang Baek
aef0ad2d10
refac
2025-06-21 19:12:43 +04:00
René Pfitzner
63d99abf41
Change default db pooling
2025-06-21 14:01:57 +01:00
Timothy Jaeryang Baek
17b9a81504
chore: format
2025-06-20 20:32:23 +04:00
Taehong Gu
c7ef6025af
Provide more detailed information to the user upon database connection failure
...
modified: backend/open_webui/internal/db.py
2025-06-20 14:13:43 +09:00
Bryan Bassett
12896fb728
use unquote_user in peewee 3.17.10
2025-05-20 15:18:32 -04:00
MadsLang
d4a26f8031
Merge branch 'open-webui:main' into main
2025-01-13 08:28:13 +01:00
Timothy Jaeryang Baek
38208866b9
fix
2024-12-19 20:01:18 -08:00
MadsLang
6f1065b56a
Merge branch 'dev' of github.com:open-webui/open-webui
2024-12-16 10:00:24 +01:00
Timothy Jaeryang Baek
d3d161f723
wip
2024-12-10 00:54:13 -08:00