Issue Bug Closed

#99808Upgrade to 11.5 fails with database exception "Data too long for column 'lang' at row 1"

Christoph Ascherl 02/03/23, 14:32 updated 06/29/23, 09:48

Description

Upgrade from 10.4.34 to 11.5.22

Upgrade Wizard fails with database exception
½ Doctrine\DBAL\Exception\DriverException
An exception occurred while executing ‘UPDATE `be_users` SET `lang` = ? WHERE `uid` = ?’ with params [“default”, 74]: Data too long for column ‘lang’ at row 1

In fact, field be_users.lang is of VARCHAR but string to be updated (“default”) has a length of 7. This does not work at all.

Woraround:
ALTER TABLE xxx.be_users MODIFY COLUMN lang VARCHAR;

where xxx is your database name.

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.