Skip to content

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

@tanyaka

Description

@tanyaka

⚠️ 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

Metadata

Metadata

Assignees

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions