nextcloud / nextcloud/groupfolders

Groupfolders, Wasabi S3 and Trash - Error deleting files! `class OC\\Files\\ObjectStore\\ObjectStoreStorage does not have a method \"setPreserveCacheOnDelete`

Open
#3,647 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

0. Needs triage bug feature: trashbin needs info
Dominant language
PHP
Stars
343
Forks
106
Avg merge
2d 3h
Merged PRs (30d)
34

Description

Message in Logs: --> ObjectStoreStorage does not have a method "setPreserveCacheOnDelete"

System:

  • NextCloud on LAMP
  • Wasabi S3 Storage
  • "Groupfolders"-App with enabled encryption
  • "Deleted Files"-App active

It is not possible to delete files in the group folders until I deactivate the "deleted files"-App.

NextCloud-Log-Error-GroupFolders-Wasabi-Trash.log

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the attached NextCloud-Log-Error-GroupFolders-Wasabi-Trash.log and the reported ObjectStoreStorage error. Reproduce deletion in a group folder with Wasabi S3, encryption, and Deleted Files enabled, then trace the deletion path to identify the incompatible call. Done means files can be deleted without disabling Deleted Files.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
backend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.