Skip to content

External local storage + encryption -- deleted files are left on the server #41343

@thecoffeebin

Description

@thecoffeebin

Steps to reproduce

  1. Enable 'files_external_allow_create_new_local' => 'true', in config/config.php and restart docker
  2. Enable Server-side encryption with Default encryption module
  3. Create External local storage from the web UI admin settings
  4. Upload files into the external local storage
  5. Delete some files/folders from the external local storage
  6. Browse to /files/files_encryption/keys/files// and notice the deleted files/folders are still present

Expected behaviour

Similar to non-local storage, the encrypted files/folders should be deleted from the server in the case of External local storage

Actual behaviour

The deleted files/folders are still present on the server as described in step (6) above

Server configuration

Operating system: Debian 12 (bookworm)

Web server: Docker-compose

Database: mariadb:10.11

PHP version: PHP 7.4.3

ownCloud version: (see ownCloud admin page) ownCloud 10.15.0 (stable)

Updated from an older ownCloud or fresh install: fresh instal

Where did you install ownCloud from: Official docker

Signing status (ownCloud 9.0 and above):

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions