Nextcloud version (eg, 20.0.5):
Operating system and version (eg, Ubuntu 20.04):
Apache or nginx version (eg, Apache 2.4.25):
PHP version (eg, 7.4):
The issue you are facing:
I recently updated to nextcloud 23 and my recycle bin is now empty. I have previously had 365 days of retention, but now I can’t keep deleted files for more than a handful of minutes. I’m using 9.3TB of an available 37TB, so I don’t think it’s storage related. I can see the activity showing the file was created and deleted, but nothing is available when I click “Deleted Files”.
I’m at a loss for next steps in trying to figure out why this is happening.
Is this the first time you’ve seen this error? (Y/N): Y
Steps to replicate it:
(EDIT: This is only an issue with Group Folders for me)
- set trash retention in config.php
'trashbin_retention_obligation' => '365, auto',
- upload a new file, delete-test.txt
- delete file delete-test.txt
- file is visible when clicking the “Deleted Files” button
- wait a while (presumably until background jobs or cron is scheduled)
- check “Deleted Files”, nothing is available.
The output of your Nextcloud log in Admin > Logging:
includes sensitive data, will pm upon request
The output of your config.php file in
/path/to/nextcloud (make sure you remove any identifiable information!):
<?php $CONFIG = array ( 'memcache.local' => '\\OC\\Memcache\\APCu', 'datadirectory' => '/data', 'filesystem_check_changes' => 1, 'instanceid' => 'XXXXXXXXXXXXXXX', 'passwordsalt' => 'XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX', 'secret' => 'XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX', 'trusted_domains' => array ( 0 => '192.168.0.75:4433', 1 => 'nextcloud.mydomain.com', ), 'default_phone_region' => 'US', 'dbtype' => 'mysql', 'version' => '18.104.22.168', 'dbname' => 'nextcloud', 'dbhost' => '192.168.0.75:3306', 'dbport' => '', 'dbtableprefix' => 'oc_', 'mysql.utf8mb4' => true, 'dbuser' => 'xxxxxxxxxxxxxxxx', 'dbpassword' => 'xxxxxxxxxxxxxxxxxxxxxxxxxx', 'installed' => true, 'trusted_proxies' => array ( 0 => 'letsencrypt', ), 'overwrite.cli.url' => 'https://nextcloud.mydomain.com', 'overwritehost' => 'nextcloud.mydomain.com', 'overwriteprotocol' => 'https', 'maintenance' => false, 'theme' => '', 'loglevel' => 2, 'mail_smtpmode' => 'smtp', 'mail_smtpsecure' => 'ssl', 'mail_sendmailmode' => 'smtp', 'mail_from_address' => 'mydomain.com', 'mail_domain' => 'gmail.com', 'mail_smtpauthtype' => 'LOGIN', 'mail_smtpauth' => 1, 'mail_smtphost' => 'smtp.gmail.com', 'mail_smtpport' => '465', 'mail_smtpname' => 'xxxxxxxxxxxxxxxxxxx', 'mail_smtppassword' => 'xxxxxxxxxxxxxxxxxxxxxxx', 'app_install_overwrite' => array ( 0 => 'groupfolders', 1 => 'external', 2 => 'theming_customcss', 3 => 'audioplayer', ), 'ldapIgnoreNamingRules' => false, 'ldapProviderFactory' => 'OCA\\User_LDAP\\LDAPProviderFactory', 'updater.secret' => 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx', 'trashbin_retention_obligation' => '365, auto', 'versions_retention_obligation' => 'auto, 90', );
The output of your Apache/nginx/system log in
/var/log/nginx/error.log is empty