Skip to content

[Bug]: files in the trash bin are not auto removed if storage space is needed #52358

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

Open
4 of 8 tasks
tanyaka opened this issue Apr 22, 2025 · 0 comments · May be fixed by #53112
Open
4 of 8 tasks

[Bug]: files in the trash bin are not auto removed if storage space is needed #52358

tanyaka opened this issue Apr 22, 2025 · 0 comments · May be fixed by #53112
Assignees
Labels
0. Needs triage Pending check for reproducibility or if it fits our roadmap 30-feedback bug

Comments

@tanyaka
Copy link

tanyaka commented Apr 22, 2025

⚠️ This issue respects the following points: ⚠️

Bug description

For the user account with a limited quota and 'trashbin_retention_obligation' => 'D, auto' files in the trash are supposed to be auto removed if the space is needed. So that does not happen.

Steps to reproduce

  1. take a user account with a limited quota and 'trashbin_retention_obligation' =>'0, auto'
  2. fill up the trash by deleting files
  3. upload files till quota limit is reached and no more file-upload is possible
  4. expire the versions via occ: occ trashbin:expire
  5. no files are deleted from the trash

Expected behavior

  1. take a user account with a limited quota and 'trashbin_retention_obligation' =>'0, auto'
  2. fill up the trash by deleting files
  3. upload files till quota limit is reached and no more file-upload is possible
  4. expire the versions via occ: occ trashbin:expire
  5. all files are deleted from the trash

Nextcloud Server version

30

Operating system

None

PHP engine version

PHP 8.1

Web server

None

Database engine version

None

Is this bug present after an update or on a fresh install?

None

Are you using the Nextcloud Server Encryption module?

None

What user-backends are you using?

  • Default user-backend (database)
  • LDAP/ Active Directory
  • SSO - SAML
  • Other

Configuration report

List of activated Apps

Nextcloud Signing status

Nextcloud Logs

Additional info

No response

@tanyaka tanyaka added 0. Needs triage Pending check for reproducibility or if it fits our roadmap bug labels Apr 22, 2025
@sorbaugh sorbaugh assigned leftybournes and unassigned yemkareems May 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0. Needs triage Pending check for reproducibility or if it fits our roadmap 30-feedback bug
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants