-
-
Notifications
You must be signed in to change notification settings - Fork 4.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Trash-bin ignores trashbin_retention_obligation #10862
Comments
Update ticket - still have this problem after update to 14.0.3 |
server/apps/files_trashbin/lib/Trashbin.php Lines 716 to 734 in 4adac44
Yes. If a new file is added to nextcloud or a file is moved to trash an expire command is started for the user. When the |
Somehow I find out that in my user Trashbin were huge (around 20GB) old files under |
This has to do with external storage.
logs the following:
|
The versions app uses the following snippet to calculate free space: server/apps/files_versions/lib/Storage.php Lines 756 to 758 in 4adac44
Calling getFileInfo(..., false) means $includeMountPoints=false, so this seems like a possible fix.
|
Found the commit that changed this: de58364 |
I realized, that my trash bin never got deleted. Which makes sense based on the documentation, the default setting Now I changed the setting to Someone said that it is necessary to add another cron job executing I started with NC 13.x and upgraded from there to 17.0.2 over the last few years :) There are some discussion already on the forum, but nobody really seems to know how and what
thanks |
Steps to reproduce
My config.php:
Expected behaviour
Trash bin keep files even if quota exceed regarding "trashbin_retention_obligation" setting.
Actual behaviour
Trash bin ignores "trashbin_retention_obligation" and use only "auto" mode
Server configuration
Operating system: Ubuntu 16.04
Web server: Apache 2.4.34
Database: MySQL 5.7.23
PHP version: 7.0.30
Nextcloud version: 14.0.3
Updated from an older Nextcloud/ownCloud or fresh install: Updated from older
Where did you install Nextcloud from: Official
List of activated apps:
Nextcloud configuration:
Config report
Are you using external storage, if yes which one: local, smb.
Are you using encryption: no
Logs
Nextcloud log (data/nextcloud.log)
Nextcloud log
The text was updated successfully, but these errors were encountered: