bitwarden / bitwarden/self-host

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

Open
#286 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Shell
Stars
744
Forks
107
Avg merge
1d 9h
Merged PRs (30d)
7

Description

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

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.