Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -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::

>>>>>>>>>>>>>>>>>>>>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This does not work in rst.

Anyway, for me the command still works, even with maintenance mode enabled:

$ occ config:system:set 'mysql.utf8mb4' --type boolean --value="true"
Nextcloud is in maintenance mode, no apps are loaded.
Commands provided by apps are unavailable.
System config value mysql.utf8mb4 set to boolean true

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::
Expand Down