Skip to content

Table oc_migrations is not utf8mb4 #8085

@AND51

Description

@AND51

Steps to reproduce

  1. Prepare MariaDB according to https://docs.nextcloud.com/server/12/admin_manual/configuration_database/mysql_4byte_support.html#enabling-mysql-4-byte-support
  2. Install fresh Nextcloud 13.0.0.8 aka Nextcloud 13 Beta 3

Expected behaviour

All tables have collation utf8mb4_bin.

Actual behaviour

All tables are utf8_mb4, except for oc_migrations, which is utf8_unicode_bin.

Server configuration

Operating system: Ubuntu 16.04
Web server: Apache 2.4.18
Database: mysql Ver 15.1 Distrib 10.0.31-MariaDB, for debian-linux-gnu (x86_64) using readline 5.2
PHP version: PHP 7.0.22-0ubuntu0.16.04.1
Nextcloud version: Nextcloud 13 Beta 3
Updated from an older Nextcloud/ownCloud or fresh install: Fresh
Where did you install Nextcloud from: nextcloud-13.0.0beta3.zip

image

I must admit that I don't know the exact purpose of oc_migrations. Maybe this is on purpose. However, the documentation at https://docs.nextcloud.com/server/12/admin_manual/configuration_database/mysql_4byte_support.html#enabling-mysql-4-byte-support describes how to alter ALL tables to use utf8mb4.

From that I conclude that either the documentation is not accurate enough and needs to be updated accordingly. Or the installer does a mistake.

Maybe this is related to #7528 and therein referenced tickets? If you think I'm on the woodway, then just close this ticket.

Metadata

Metadata

Assignees

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions