From 837b1196f425bc85dd658bc45bb47580ffa1cb36 Mon Sep 17 00:00:00 2001 From: Daniel Hansson Date: Thu, 25 Apr 2019 15:56:12 +0200 Subject: [PATCH] fix https://github.com/nextcloud/vm/issues/822 --- nextcloud_install_production.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/nextcloud_install_production.sh b/nextcloud_install_production.sh index c4c9c9b8..84ce82c3 100644 --- a/nextcloud_install_production.sh +++ b/nextcloud_install_production.sh @@ -324,6 +324,9 @@ occ_command config:system:set remember_login_cookie_lifetime --value="1800" # Set logrotate (max 10 MB) occ_command config:system:set log_rotate_size --value="10485760" +# Set trashbin retention obligation (save it in trahbin for 6 months or delete when space is needed) +occ_command config:system:set trashbin_retention_obligation --value="auto, 180" + # Change simple signup if grep -rq "free account" "$NCPATH"/core/templates/layout.public.php then