opencloud icon indicating copy to clipboard operation
opencloud copied to clipboard

Data is not deleted from S3 after deleting the space (personal or project)

Open ScharfViktor opened this issue 1 month ago • 3 comments

Describe the bug

setup https://github.com/opencloud-eu/opencloud-compose with

use COMPOSE_FILE=docker-compose.yml:storage/decomposeds3.yml:traefik/opencloud.ym and minio see here how to setup https://github.com/opencloud-eu/qa/pull/70

Steps to reproduce

Project space:

  1. Create a project space with file
  2. Verify that the space and files is stored in the S3 bucket.
  3. Disable and delete space
  4. Verify that the space is deleted from S3.

Personal space:

  1. test user uploads files
  2. admin deletes test user
  3. Verify that users files are deleted from S3.

Expected behavior

The space with files inside is deleted.

Actual behavior

The space with files inside still exists in s3.

Setup

Please describe how you started the server and provide a list of relevant environment variables or configuration files.

OC_XXX=somevalue
OC_YYY=somevalue
PROXY_XXX=somevalue

Additional context

Add any other context about the problem here.

ScharfViktor avatar Nov 17 '25 16:11 ScharfViktor

Did you purge the trash bin?

micbar avatar Nov 17 '25 18:11 micbar

Did you purge the trash bin?

Yes, after purging the trash, the files are gone from s3. But if I delete the space -> the files still exist.

ScharfViktor avatar Nov 17 '25 19:11 ScharfViktor

Ok. From my pov, the behavior is expected.

micbar avatar Nov 17 '25 19:11 micbar