From 7ab37877989ae61091a382ae9d0d6b4528fd2b43 Mon Sep 17 00:00:00 2001 From: "Dustin C. Hatch" Date: Mon, 20 Dec 2021 22:15:53 -0600 Subject: [PATCH] r/nextcloud: Correct memcache config syntax Nextcloud uses double backslashes in its fully-qualified path names. Although single backslashes work, the application will replace them, leading to a constant conflict between itself and the Ansible template. --- roles/nextcloud/templates/config.php.j2 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/roles/nextcloud/templates/config.php.j2 b/roles/nextcloud/templates/config.php.j2 index 3f8a855..a1966cd 100644 --- a/roles/nextcloud/templates/config.php.j2 +++ b/roles/nextcloud/templates/config.php.j2 @@ -58,8 +58,8 @@ $CONFIG = array ( 'mail_smtpport' => '{{ nextcloud_smtp.port }}', {% endif %} 'filelocking.enabled' => true, - 'memcache.distributed' => '\OC\Memcache\Redis', - 'memcache.locking' => '\OC\Memcache\Redis', + 'memcache.distributed' => '\\OC\\Memcache\\Redis', + 'memcache.locking' => '\\OC\\Memcache\\Redis', 'redis' => array ( 'host' => 'localhost',