Impossible to install ldap user and group backend in nextcloud 16.0.1
The error is Doctrine\DBAL\Exception\DriverException: An exception occurred while executing ‘CREATE TABLE oc_ldap_user_mapping
(ldap_dn
VARCHAR(255) DEFAULT ‘’ NOT NULL, owncloud_name
VARCHAR(255) DEFAULT ‘’ NOT NULL, directory_uuid
VARCHAR(255) DEFAULT ‘’ NOT NULL, UNIQUE INDEX ldap_dn_users (ldap_dn
), PRIMARY KEY(owncloud_name
)) DEFAULT CHARACTER SET utf8mb4 COLLATE utf8mb4_bin ENGINE = InnoDB ROW_FORMAT = compressed’: SQLSTATE[HY000]: General error: 1709 Index column size too large. The maximum column size is 767 bytes.
What file format are you using? “Index column size too large” is almost always caused by using a file format other than Barracuda. There are various documents available that describe the migration process, eg, the admin manual.