From efedd28d685799e9bc7ca7b3536b0bd00ad87aca Mon Sep 17 00:00:00 2001 From: Jan Beilicke Date: Fri, 27 Mar 2020 00:14:17 +0100 Subject: [PATCH] Works around a bug in MariaDB (various versions >10.x) where the Nextcloud setup fails after a while, gets stuck or shows interesting behaviour like not creating users See: https://github.com/docker-library/mariadb/issues/262 --- tasks/main.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tasks/main.yml b/tasks/main.yml index 4988f0a..2a55c6f 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -29,6 +29,8 @@ group: "{{ docker_user }}" mode: '0640' content: | + # See https://github.com/docker-library/mariadb/issues/262 + MYSQL_INITDB_SKIP_TZINFO=1 MYSQL_ROOT_PASSWORD={{ mariadb_root_password }} MYSQL_DATABASE={{ mysql_database }} MYSQL_PASSWORD={{ nextcloud_mariadb_password }}