From a22c8aa0d2f615f8d542e259c1b03066e0794666 Mon Sep 17 00:00:00 2001 From: "Dustin C. Hatch" Date: Sun, 13 Oct 2024 18:38:12 -0500 Subject: [PATCH] r/nextcloud: Configure trashbin retention Setting the `trashbin_retention_obligation` setting to `auto, 30` should supposedly delete files in users' trash bins after 30 days. --- roles/nextcloud/templates/config.php.j2 | 1 + 1 file changed, 1 insertion(+) diff --git a/roles/nextcloud/templates/config.php.j2 b/roles/nextcloud/templates/config.php.j2 index df9d3d3..21bc8a0 100644 --- a/roles/nextcloud/templates/config.php.j2 +++ b/roles/nextcloud/templates/config.php.j2 @@ -48,6 +48,7 @@ $CONFIG = array ( 'ldapProviderFactory' => 'OCA\\User_LDAP\\LDAPProviderFactory', 'maintenance' => {{ nextcloud_maintenance|bool|string|lower }}, 'theme' => '', + 'trashbin_retention_obligation' => 'auto, 30', 'loglevel' => 2, {% if nextcloud_smtp is defined %} 'mail_from_address' => '{{ nextcloud_smtp.from.split("@")[0] }}',