[PR #11464] Add Env Var to disable WAL journaling #12902

Closed
opened 2026-02-07 07:03:47 +03:00 by OVERLORD · 0 comments
Owner

Original Pull Request: https://github.com/jellyfin/jellyfin/pull/11464

State: closed
Merged: No


Changes

SQLite WAL journaling is not compatible with all filesystems/VFS extensions, causing the database being locked up in certain conditions.

It's worth noting that database lockup is just one potential issue that can arise from compatibility issues with certain filesystems. In some cases, the use of WAL can even lead to the database being saved in a non-consistent state, resulting in database corruption.

Add an env var to let the user to choose the Journal mode for better compatibility.

For example, when the default WAL is causing problems:

export JELLYFIN_SQLITE__JOURNALMODE=TRUNCATE

Issues

**Original Pull Request:** https://github.com/jellyfin/jellyfin/pull/11464 **State:** closed **Merged:** No --- <!-- Ensure your title is short, descriptive, and in the imperative mood (Fix X, Change Y, instead of Fixed X, Changed Y). For a good inspiration of what to write in commit messages and PRs please review https://chris.beams.io/posts/git-commit/ and our documentation. --> **Changes** <!-- Describe your changes here in 1-5 sentences. --> SQLite WAL journaling is not compatible with all filesystems/VFS extensions, causing the database being locked up in certain conditions. It's worth noting that database lockup is just one potential issue that can arise from compatibility issues with certain filesystems. In some cases, the use of WAL can even lead to the database being saved in a non-consistent state, resulting in database corruption. Add an env var to let the user to choose the Journal mode for better compatibility. For example, when the default WAL is causing problems: ``` export JELLYFIN_SQLITE__JOURNALMODE=TRUNCATE ``` **Issues** <!-- Tag any issues that this PR solves here. ex. Fixes # -->
OVERLORD added the pull-request label 2026-02-07 07:03:47 +03:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/jellyfin#12902