mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2026-05-24 09:03:15 -05:00
[PR #6453] [MERGED] Use an older version of mariadb to prevent a panic #20610
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/dani-garcia/vaultwarden/pull/6453
Author: @BlackDex
Created: 11/10/2025
Status: ✅ Merged
Merged: 11/10/2025
Merged by: @dani-garcia
Base:
main← Head:use-older-mariadb-lib📝 Commits (3)
e1131c8Use an older version of mariadb to prevent a panice3c871dUpdate GHA versionsa4b1771Resolve docker build check issue📊 Changes
5 files changed (+99 additions, -67 deletions)
View changed files
📝
.github/workflows/release.yml(+1 -1)📝
Cargo.lock(+60 -60)📝
Cargo.toml(+4 -4)📝
docker/Dockerfile.debian(+17 -1)📝
docker/Dockerfile.j2(+17 -1)📄 Description
The Debian builds use a newer version of libmariadb which causes Diesel to panic on certain queries. This commit prevents this by using an older version of libmariadb which doesn't cause this panic.
The Alpine based versions use a patched version which reverts the commit in the libmariadb library which causes this panic. In the future this might be fixed in Diesel it self (https://github.com/dani-garcia/vaultwarden/issues/6416#issuecomment-3508822097), but until then, we use an older version of the library.
Fixes #6416
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.