mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2026-07-17 09:22:30 -05:00
Upgrade vaultwarden 2024.6.2 to 2025.12.1 #6166
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?
Originally created by @DFO-WAT on GitHub (Jan 20, 2026).
Prerequisites
Vaultwarden Support String
NO DIAG
Vaultwarden Build Version
2024.6.2 + 2025.12.1
Deployment method
Official Container Image
Custom deployment method
No response
Reverse Proxy
NGINX
Host/Server Operating System
Linux
Operating System Version
Debian 12.13 + Docker 5
Clients
Web Vault
Client Version
No response
Steps To Reproduce
Expected Result
Hello
I don't know if I chose the right type of object (bug, discussion) please excuse me in advance.
First of all, thank you for your work, it's really great!
Sorry if my English isn't perfect, I'm using a translation.
I wanted to try updating my Vaultwarden from version 2024.6.2 to the latest 2025.12.1 (I know... why I waited so long... lack of time).
I wanted to keep it simple: a fresh install of Vaultwarden with a backup/import from the MariaDB backup, but I'm having a problem when I try to import it (character collapse issue). I've tried modifying it, but it doesn't change anything, or maybe I'm missing something.
I could really use a little help; that would be great.
Thank you!
MariaDB [(none)]> SELECT DEFAULT_CHARACTER_SET_NAME, DEFAULT_COLLATION_NAME FROM information_schema.SCHEMATA WHERE SCHEMA_NAME = "vaultwarden";
+----------------------------+------------------------+
| DEFAULT_CHARACTER_SET_NAME | DEFAULT_COLLATION_NAME |
+----------------------------+------------------------+
| utf8mb4 | utf8mb4_unicode_ci |
+----------------------------+------------------------+
MariaDB [(none)]> SELECT CHARACTER_SET_NAME, COLLATION_NAME FROM information_schema.
COLUMNSWHERE TABLE_SCHEMA = "vaultwarden" AND CHARACTER_SET_NAME IS NOT NULL;+--------------------+-----------------------+
| CHARACTER_SET_NAME | COLLATION_NAME |
+--------------------+-----------------------+
| utf8mb4 | utf8mb4_uca1400_ai_ci |
| utf8mb4 | utf8mb4_uca1400_ai_ci |
| utf8mb4 | utf8mb4_uca1400_ai_ci |
| utf8mb4 | utf8mb4_uca1400_ai_ci |
| utf8mb4 | utf8mb4_uca1400_ai_ci |
| utf8mb4 | utf8mb4_uca1400_ai_ci |
| utf8mb4 | utf8mb4_unicode_ci |
Mix with utf8mb4_unicode_ci and utf8mb4_uca1400_ai_ci,
how do I modify all the tables?
When I try to import the dump, I get this error.:
CREATE TABLE
attachments(idchar(36) NOT NULL,cipher_uuidchar(36) NOT NULL,file_nametext NOT NULL,file_sizebigint(20) NOT NULL,akeytext DEFAULT NULL,PRIMARY KEY (
id),KEY
cipher_uuid(cipher_uuid),CONSTRAINT
attachments_ibfk_1FOREIGN KEY (cipher_uuid) REFERENCESciphers(uuid)) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci
ERROR 1005 (HY000) at line 104: Can't create table
vaultwarden.attachments(errno: 150 "Foreign key constraint is incorrectly formed")I tried modifying the charset and collapse settings, but I must have missed something.
Actual Result
Hello
I don't know if I chose the right type of object (bug, discussion) please excuse me in advance.
First of all, thank you for your work, it's really great!
Sorry if my English isn't perfect, I'm using a translation.
I wanted to try updating my Vaultwarden from version 2024.6.2 to the latest 2025.12.1 (I know... why I waited so long... lack of time).
I wanted to keep it simple: a fresh install of Vaultwarden with a backup/import from the MariaDB backup, but I'm having a problem when I try to import it (character collapse issue). I've tried modifying it, but it doesn't change anything, or maybe I'm missing something.
I could really use a little help; that would be great.
Thank you!
MariaDB [(none)]> SELECT DEFAULT_CHARACTER_SET_NAME, DEFAULT_COLLATION_NAME FROM information_schema.SCHEMATA WHERE SCHEMA_NAME = "vaultwarden";
+----------------------------+------------------------+
| DEFAULT_CHARACTER_SET_NAME | DEFAULT_COLLATION_NAME |
+----------------------------+------------------------+
| utf8mb4 | utf8mb4_unicode_ci |
+----------------------------+------------------------+
MariaDB [(none)]> SELECT CHARACTER_SET_NAME, COLLATION_NAME FROM information_schema.
COLUMNSWHERE TABLE_SCHEMA = "vaultwarden" AND CHARACTER_SET_NAME IS NOT NULL;+--------------------+-----------------------+
| CHARACTER_SET_NAME | COLLATION_NAME |
+--------------------+-----------------------+
| utf8mb4 | utf8mb4_uca1400_ai_ci |
| utf8mb4 | utf8mb4_uca1400_ai_ci |
| utf8mb4 | utf8mb4_uca1400_ai_ci |
| utf8mb4 | utf8mb4_uca1400_ai_ci |
| utf8mb4 | utf8mb4_uca1400_ai_ci |
| utf8mb4 | utf8mb4_uca1400_ai_ci |
| utf8mb4 | utf8mb4_unicode_ci |
Mix with utf8mb4_unicode_ci and utf8mb4_uca1400_ai_ci,
how do I modify all the tables?
When I try to import the dump, I get this error.:
CREATE TABLE
attachments(idchar(36) NOT NULL,cipher_uuidchar(36) NOT NULL,file_nametext NOT NULL,file_sizebigint(20) NOT NULL,akeytext DEFAULT NULL,PRIMARY KEY (
id),KEY
cipher_uuid(cipher_uuid),CONSTRAINT
attachments_ibfk_1FOREIGN KEY (cipher_uuid) REFERENCESciphers(uuid)) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci
ERROR 1005 (HY000) at line 104: Can't create table
vaultwarden.attachments(errno: 150 "Foreign key constraint is incorrectly formed")I tried modifying the charset and collapse settings, but I must have missed something.
Logs
Screenshots or Videos
No response
Additional Context
No response