Skip to content

Unable to delete directory created by aborted upload #17262

@mohammad-aliB

Description

@mohammad-aliB

Describe the bug

I am using S3 protocol with Digital Ocean spaces. I aborted the upload of a folder within a Cryptomator vault mid upload and it ended up creating 2 folders, I am able to rename the folder but when I try to delete the folder I get a file not found error

File not found ([Redacted] Digital Ocean Spaces)
/[Redacted]/main-vault/d/DB/[Redacted]. Please contact your web hosting service provider for assistance.

The directory itself is empty. I assume there is some sort of broken link between what the Cryptomator vault expects and what is present in S3.

To Reproduce
Steps to reproduce the behavior:

  1. Start an upload of a folder structure of files.
  2. Abort mid upload
  3. Attempt to delete the created folders.

Expected behavior
I am able to delete the folder.

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: MacOS
  • Version CyberDuck version 9.1.6
**Log Files**
expiryInMilliseconds=9223372036854775807}', identity=null}, uuid='REDACTED', nickname='REDACTED', defaultpath='/REDACTED', workdir=null, custom=null, labels=[]}, state=open} alive with failure BackgroundException{class=class ch.cyberduck.core.exception.NotfoundException, file=null, message='File not found', detail='/REDACTED/main-vault/d/DB/REDACTED', cause='null'}
2025-07-21 02:35:32,650 [Thread-135] WARN  ch.cyberduck.core.threading.AbstractRetryCallable - Cancel retry for failure BackgroundException{class=class ch.cyberduck.core.exception.NotfoundException, file=null, message='File not found', detail='/REDACTED/main-vault/d/DB/REDACTED', cause='null'} after 0 counts
2025-07-21 02:35:32,650 [Thread-135] WARN  ch.cyberduck.core.threading.BackgroundCallable - Failure overwriting cause for failure java.lang.Exception with BackgroundException{class=class ch.cyberduck.core.exception.NotfoundException, file=null, message='File not found', detail='/REDACTED/main-vault/d/DB/REDACTED', cause='null'}
2025-07-21 02:35:32,650 [Thread-135] WARN  ch.cyberduck.core.threading.BackgroundCallable - Failure running background task WorkerBackgroundAction{worker=DeleteWorker{files=[Path{path='/REDACTED/main-vault/folder-to-delete', type=[directory, placeholder, decrypted]}]}}

Additional context
Add any other context about the problem here.

Metadata

Metadata

Assignees

Labels

cryptomatorCryptomator Vaults3AWS S3 Protocol Implementation

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions