First I should say the serer is 10.8.0 and there is no `trashbin_retention_obligation set (see config.php below). I have been asked to upgrade the server but the data disk is full so firast I want to sort this out. what should trashbin_retention_obligation be set to. Looked at user manual and cant work it out.
Anyway it does not seem to be working
ben@sun:/var/www/owncloud/config$ sudo -u www-data /var/www/owncloud/occ trashbin:expire master
Auto expiration is configured - expiration will be handled automatically.
but there are a lot of old files in /data/owncloud/data/master/files_trashbin/files, here are just a few.
-rw-r--r-- 1 www-data www-data 16034234 Jan 20 2017 'WORKSHOP FLYER.psd.d1630587054'
-rw-r--r-- 1 www-data www-data 1186040 Jan 29 2018 workshop_flyers.jpg.d1604924565
drwxr-xr-x 2 www-data www-data 4096 Nov 26 2018 Workshops.d1543230153
drwxr-xr-x 2 www-data www-data 4096 Nov 26 2018 Workshops.d1543236381
drwxr-xr-x 2 www-data www-data 4096 Apr 6 2019 Workshops.d1604924551
drwxr-xr-x 2 www-data www-data 4096 Jun 13 2018 Workshops.d1604925280
drwxr-xr-x 2 www-data www-data 4096 Apr 4 2022 Workshops.d1649086410
-rw-r--r-- 1 www-data www-data 4394110 Aug 12 2020 Worries.jpg.d1610632150
-rw-r--r-- 1 www-data www-data 1102518 Mar 5 2020 wotton-under-edge-text-final.jpg.d1678753213
-rw-r--r-- 1 www-data www-data 561541 Mar 5 2020 wotton-under-edge-text.jpg.d1678753219
drwxr-xr-x 2 www-data www-data 4096 Apr 3 15:29 wrap_wave_graff#6.d1680532181
-rw-r--r-- 1 www-data www-data 137521 Sep 2 2020 'xr_clifton suspension bridge.htm.d1602682668'
-rw-r--r-- 1 www-data www-data 569418 Jun 1 2020 xr_guide_impossible.pdf.d1591090114
-rw-r--r-- 1 www-data www-data 591343 Mar 16 2022 XR-rebellion-approaches.jpg.d1647448916
-rw-r--r-- 1 www-data www-data 13824 Sep 5 2019 xr_regen_cafe_oct20_oct24.doc.d1618399129
-rw-r--r-- 1 www-data www-data 690133 Jul 31 2019 yard_arts_aug31.pdf.d1580315445
-rw-r--r-- 1 www-data www-data 19220070 Jun 22 2017 yard_wal_advertsl.psd.d1680533464
drwxr-xr-x 2 www-data www-data 4096 Apr 3 15:29 'yard wall.d1680532189'
-rw-r--r-- 1 www-data www-data 626722 Aug 2 2022 yardy_party_scruffedit.jpg.d1659445865
drwxr-xr-x 2 www-data www-data 4096 Mar 14 00:26 'Yas Queen.d1678753574'
-rw-r--r-- 1 www-data www-data 313116 Jun 14 2021 'YC OC Flyer.jpg.d1623857986'
-rw-r--r-- 1 www-data www-data 615002 Jun 22 2017 'yellow fish.jpg.d1680537546'
-rw-r--r-- 1 www-data www-data 615002 Sep 18 2016 'yellow fish.jpg.d1682955861'
-rw-r--r-- 1 www-data www-data 5822728 Oct 14 2020 yellow_leaves_in_night.jpg.d1602682489
-rw-r--r-- 1 www-data www-data 5189665 Jun 14 2021 'Young Creatives Open Call - The 3am Project.pdf.d1623857986'
-rw-r--r-- 1 www-data www-data 4636600 Jan 21 2018 'Young Foundation CLT Review.pdf.d1540921604'
-rw-r--r-- 1 www-data www-data 10809643 Dec 9 2011 'Young MC - Bust A Move (Stickybuds Remix).mp3.d1638367665'
-rw-r--r-- 1 www-data www-data 3232112 Oct 19 2020 'zamzam_GAIAS_VIRUSPHERE [smaller].jpg.d1605555243'
-rw-r--r-- 1 www-data www-data 61184 Oct 29 2019 ZOOM0001.WAV.d1573667654
-rw-r--r-- 1 www-data www-data 60007016 Oct 29 2019 ZOOM0002.WAV.d1573667987
-rw-r--r-- 1 www-data www-data 41944576 Oct 1 2019 ZOOM0008.WAV.d1571927415
-rw-r--r-- 1 www-data www-data 65062912 Oct 1 2019 ZOOM0009.WAV.d1571927415
-rw-r--r-- 1 www-data www-data 97166848 Oct 12 2019 ZOOM0010.WAV.d1571927583
-rw-r--r-- 1 www-data www-data 34829568 Oct 12 2019 ZOOM0011.WAV.d1571927583
-rw-r--r-- 1 www-data www-data 50681088 Oct 12 2019 ZOOM0012.WAV.d1571927583
-rw-r--r-- 1 www-data www-data 18979840 Oct 12 2019 ZOOM0013.WAV.d1571927583
-rw-r--r-- 1 www-data www-data 81928192 Oct 12 2019 ZOOM0014.WAV.d1571927587
-rw-r--r-- 1 www-data www-data 74873088 Oct 14 2019 ZOOM0015.WAV.d1571927587
-rw-r--r-- 1 www-data www-data 33183744 Oct 14 2019 ZOOM0016.WAV.d1571927587
-rw-r--r-- 1 www-data www-data 4421120 Oct 14 2019 ZOOM0017.WAV.d1571927588
-rw-r--r-- 1 www-data www-data 344295424 Oct 15 2019 ZOOM0018.WAV.d1571927591
-rw-r--r-- 1 www-data www-data 1965 Jun 4 2021 'zoom recordings - Shortcut (2).lnk.d1622829189'
-rw-r--r-- 1 www-data www-data 1965 Jun 4 2021 'zoom recordings - Shortcut.lnk.d1622829194'
-rw-r--r-- 1 www-data www-data 208573 Sep 2 2020 zylzab.jpg.d1656074156
over 300GB in total amd the disk is full.
config.php has the following but no trashbin_retention_obligation
<?php
$CONFIG = array (
'updatechecker' => false,
'instanceid' => 'ocyxjlsnx5tm',
'passwordsalt' => 'W3/SCKifYFtk/xPPlmX6wtDLbMeLoD',
'secret' => '+XN6tkZZYE7h4VxyC6jLlH4oyrTU40ROVytt0Z8ZFAlHo5vJ',
'trusted_domains' =>
array (
0 => 'cloud.prsc.org.uk',
1 => '192.168.1.50',
2 => 'prsc-cloud.org',
),
'datadirectory' => '/data/owncloud/data',
'overwrite.cli.url' => 'https://prsc-cloud.org/owncloud',
'dbtype' => 'mysql',
'version' => '10.8.0.4',
'dbname' => 'owncloudmv',
'dbhost' => 'localhost',
'dbtableprefix' => 'oc_',
'dbuser' => 'owncloudmv',
'dbpassword' => '**************',
'logtimezone' => 'UTC',
'installed' => true,
'log_type' => 'owncloud',
'logfile' => '/var/log/owncloud/owncloud.log',
'memcache.local' => '\\OC\\Memcache\\Redis',
'filelocking.enabled' => 'true',
'memcache.distributed' => '\\OC\\Memcache\\Redis',
'memcache.locking' => '\\OC\\Memcache\\Redis',
'redis' =>
array (
'host' => 'localhost',
'port' => 6379,
'timeout' => 0,
'dbindex' => 0,
),
'mail_from_address' => 'it',
'mail_smtpmode' => 'php',
'mail_domain' => 'prsc.org.uk',
'maintenance' => false,
'singleuser' => false,
'theme' => '',
'loglevel' => 2,
);