Skip to content

[Bug]: Update to 32 crashed #11961

@drp4positive

Description

@drp4positive

⚠️ This issue respects the following points: ⚠️

Bug description

Try to update from 31.X (latest) to Version 32. Following message occures via the webpage:

Update to 32.0.0
Exception: Database error when running migration 5006Date20250927130132 for app mail An exception occurred while executing a query: SQLSTATE[42000]: Syntax error or access violation: 1071 Specified key was too long; max key length is 3072 bytes

Detailed logs
Preparing update

Set log level to debug

Turned on maintenance mode

Repair step: Repair MySQL collation

Repair info: All tables already have the correct collation -> nothing to do

Repair step: Copy data from accounts table when migrating from ownCloud

Repair step: Drop account terms table when migrating from ownCloud

Updating database schema

Updated database

Exception: Database error when running migration 5006Date20250927130132 for app mail An exception occurred while executing a query: SQLSTATE[42000]: Syntax error or access violation: 1071 Specified key was too long; max key length is 3072 bytes

Steps to reproduce

  1. Update via 1blu webpage fails
  2. update vie NC instance started
  3. fails

Expected behavior

New Version is installed

Nextcloud Server version

31

Operating system

None

PHP engine version

None

Web server

None

Database engine version

None

Is this bug present after an update or on a fresh install?

None

Are you using the Nextcloud Server Encryption module?

None

What user-backends are you using?

  • Default user-backend (database)
  • LDAP/ Active Directory
  • SSO - SAML
  • Other

Configuration report

List of activated Apps

Nextcloud Signing status

Nextcloud Logs

Additional info

I am not a tech pro, sorry for not having more information. I can no longer access my NC instance via 1blu Webspace (some infromation visible but not much).

Metadata

Metadata

Assignees

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions