From 4694abf30f81d54e09d40d226d497c192e9b763f Mon Sep 17 00:00:00 2001 From: Andrew Smith <1479644+asmith15@users.noreply.github.com> Date: Mon, 4 Mar 2024 15:38:40 -0500 Subject: [PATCH] Update mysql_4byte_support.rst Point out mistake in instructions Signed-off-by: Andrew Smith <1479644+asmith15@users.noreply.github.com> --- .../configuration_database/mysql_4byte_support.rst | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/admin_manual/configuration_database/mysql_4byte_support.rst b/admin_manual/configuration_database/mysql_4byte_support.rst index 3c209845ee8..bdde4e6caff 100644 --- a/admin_manual/configuration_database/mysql_4byte_support.rst +++ b/admin_manual/configuration_database/mysql_4byte_support.rst @@ -52,7 +52,12 @@ The result should look like this:: ALTER DATABASE nextcloud CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci; 5. Set the ``mysql.utf8mb4`` config to true in your config.php:: - +>>>>>>>>>>>>>>>>>>>> +This command doesn't work if nextcloud is in maintenance mode. It says: +Nextcloud is in maintenance mode, hence the database isn't accessible. +Cannot perform any command except 'maintenance:mode --off' +I would have reported this documentation problem in some other way if I knew what other ways there were available. +<<<<<<<<<<<<<<<<<<<< $ sudo -u www-data php occ config:system:set mysql.utf8mb4 --type boolean --value="true" 6. Convert all existing tables to the new collation by running the repair step::