bitwarden / self-host

Bitwarden's self-hosted release repository
GNU General Public License v3.0
331 stars 61 forks source link

Specified key was too long; max key length is 1000 bytes #286

Open rdefinis opened 1 month ago

rdefinis commented 1 month ago

when migrating from 2024.6.2 to 2024.8.2 on a qnap nas x86 using mariadb 10

Failed executing DbCommand (4ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30']

CREATE TABLE Cache ( Id varchar(449) CHARACTER SET utf8mb4 NOT NULL, Value longblob NULL, ExpiresAtTime datetime(6) NOT NULL, SlidingExpirationInSeconds bigint NULL, AbsoluteExpiration datetime(6) NULL, CONSTRAINT PK_Cache PRIMARY KEY (Id) ) CHARACTER SET=utf8mb4;

MySqlConnector.MySqlException (0x80004005): Specified key was too long; max key length is 1000 bytes