From 2a10c1821f55834273bc9b7c429818d484fbbcbc Mon Sep 17 00:00:00 2001 From: Viktor Barzin Date: Fri, 10 Apr 2026 09:16:29 +0000 Subject: [PATCH] fix(nextcloud): enable mysql.utf8mb4 to fix collation errors with MySQL 8.4 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit MySQL 8.4 remapped `utf8` to mean `utf8mb4`, but Nextcloud without this config sends `COLLATE UTF8_general_ci` (a utf8mb3-only collation) in queries, causing SQLSTATE[42000] errors that broke occ commands and sync. Also removed stale `Work 🎯.csv` whose emoji filename was stripped in the DB filecache (stored as `Work .csv`), causing permanent sync errors. Co-Authored-By: Claude Opus 4.6 (1M context) --- stacks/nextcloud/chart_values.yaml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/stacks/nextcloud/chart_values.yaml b/stacks/nextcloud/chart_values.yaml index 463c2c27..2f4c52bb 100644 --- a/stacks/nextcloud/chart_values.yaml +++ b/stacks/nextcloud/chart_values.yaml @@ -67,6 +67,11 @@ nextcloud: 'loglevel' => 2, 'mail_smtpdebug' => false, ); + zzz-mysql.config.php: | + true, + ); phpConfigs: zzz-custom.ini: | max_execution_time = 300