From 5f16c3a87228b822d20ba5ece27215e212263bb5 Mon Sep 17 00:00:00 2001 From: Oliver Anyanwu <113263811+oliv3rdrt@users.noreply.github.com> Date: Wed, 18 Nov 2026 11:45:00 +0100 Subject: [PATCH] fix: use MariaDB 10.11 for the default database MariaDB 10.6 is older than the versions current Nextcloud releases support. MARIADB_AUTO_UPGRADE lets volumes created by 10.6 upgrade on first start. Signed-off-by: Oliver Anyanwu <113263811+oliv3rdrt@users.noreply.github.com> --- docker-compose.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/docker-compose.yml b/docker-compose.yml index b14820b..067b9f4 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -789,8 +789,10 @@ services: image: ghcr.io/nextcloud/nextcloud-dev-noop:latest database-mysql: - image: mariadb:10.6 + image: mariadb:10.11 environment: + # Upgrades the system tables of a volume created by an older MariaDB. + MARIADB_AUTO_UPGRADE: '1' MYSQL_ROOT_PASSWORD: 'nextcloud' MYSQL_PASSWORD: 'nextcloud' MYSQL_USER: 'nextcloud'