Delete folder not possible

Hello,

Some files cannot be deleted.
I am using mountain duck with Cryptomator in windows server 2016.

When I delete the folder, the end of loading announces that the folder is deleted, however it is still present in windows explorer.

I am using Google Drive + Mountain Duck (cryptomator included).

I just tried with NetDrive3 + cryptomator and these folders are visible too. The concern therefore seems to come from Cryptomator.

On another server, I have exactly the same concerns.
I share the logs with you as an attachment :

[Log deleted]

Hi.
I deleted your log and kindly ask to check log contents before you post something in public boards.
You exposed email adresses, file names, company names, UIDs etc in cleartext in this log. Im pretty sure this was not your intention.
Further more it was a mountain duck log. Please head to mountain duck support with this, or send cryptomator log files.
You can try and install cryptomator app on your system and then check if the error persists.

Hello,

I share the logs with you as an attachment, the cryptomator logs.
Here I have mounted a drive via netdrive + cryptomator.
I saved the logs when I wanted to delete a folder.

I have about 15 files in this case.

I deleted the folder: D: \ My Drive \ Data \ d \ VC \ from google Drive and the folder has been deleted.
Cannot do this from my network drive directly. (However it is not easy to identify which one is the correct one (maybe I deleted files that I shouldn’t by deleting this folder))

Thanks a lot for your help :slight_smile:

08:49:22.460 [dokanMount-1-callback-4] TRACE o.c.frontend.dokany.ReadWriteAdapter - Try to open / as Directory.
08:49:22.461 [dokanMount-1-callback-2] WARN  o.c.cryptofs.CryptoPathMapper - Did not find valid content inside of D:\Mon Drive\Data\d\VC\Z5XPPUO55AB4HUUPXKWHBDVA4GGLKJ\7lLdH-rrd7_BF3cWUnX7mAyn4MgTQymQ.c9r
08:49:22.462 [dokanMount-1-callback-2] WARN  o.c.frontend.dokany.ReadWriteAdapter - (569) findFilesWithPattern(): IO error accessing NON-ENCRYPTED FILE PATH. Will be ignored in file listing. Reported Exception:
java.nio.file.NoSuchFileException: NON-ENCRYPTED FILE PATH: Could not determine type of file D:\Mon Drive\Data\d\VC\Z5XPPUO55AB4HUUPXKWHBDVA4GGLKJ\7lLdH-rrd7_BF3cWUnX7mAyn4MgTQymQ.c9r
	at org.cryptomator.cryptofs.CryptoPathMapper.getCiphertextFileType(CryptoPathMapper.java:108)
	at org.cryptomator.cryptofs.attr.AttributeProvider.readAttributes(AttributeProvider.java:42)
	at org.cryptomator.cryptofs.CryptoFileSystemImpl.readAttributes(CryptoFileSystemImpl.java:239)
	at org.cryptomator.cryptofs.CryptoFileSystemProvider.readAttributes(CryptoFileSystemProvider.java:423)
	at java.base/java.nio.file.Files.readAttributes(Unknown Source)
	at org.cryptomator.frontend.dokany.ReadWriteAdapter.lambda$findFilesWithPattern$2(ReadWriteAdapter.java:534)
	at java.base/java.util.stream.ReferencePipeline$3$1.accept(Unknown Source)
	at java.base/java.util.Iterator.forEachRemaining(Unknown Source)
	at java.base/java.util.Spliterators$IteratorSpliterator.forEachRemaining(Unknown Source)
	at java.base/java.util.stream.AbstractPipeline.copyInto(Unknown Source)
	at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(Unknown Source)
	at java.base/java.util.stream.ForEachOps$ForEachOp.evaluateSequential(Unknown Source)
	at java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(Unknown Source)
	at java.base/java.util.stream.AbstractPipeline.evaluate(Unknown Source)
	at java.base/java.util.stream.ReferencePipeline.forEach(Unknown Source)
	at org.cryptomator.frontend.dokany.ReadWriteAdapter.findFilesWithPattern(ReadWriteAdapter.java:547)
	at com.dokany.java.DokanyOperationsProxy$FindFilesWithPatternProxy.callback(DokanyOperationsProxy.java:215)
	at jdk.internal.reflect.GeneratedMethodAccessor74.invoke(Unknown Source)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	at java.base/java.lang.reflect.Method.invoke(Unknown Source)
	at com.sun.jna.CallbackReference$DefaultCallbackProxy.invokeCallback(CallbackReference.java:579)
	at com.sun.jna.CallbackReference$DefaultCallbackProxy.callback(CallbackReference.java:610)
08:49:22.693 [dokanMount-1-callback-4] TRACE o.c.frontend.dokany.ReadWriteAdapter - (570) / opened successful with handle 570.
08:49:22.693 [dokanMount-1-callback-1] TRACE o.c.frontend.dokany.ReadWriteAdapter - (570) cleanup() is called for /.
08:49:22.693 [dokanMount-1-callback-4] TRACE o.c.frontend.dokany.ReadWriteAdapter - (570) closeFile() is called for /.
08:49:22.694 [dokanMount-1-callback-2] WARN  o.c.cryptofs.CryptoPathMapper - Did not find valid content inside of D:\Mon Drive\Data\d\VC\Z5XPPUO55AB4HUUPXKWHBDVA4GGLKJ\BowdsVRZIznkoadu8saNkl1Syoigzih0.c9r
08:49:22.694 [dokanMount-1-callback-2] WARN  o.c.frontend.dokany.ReadWriteAdapter - (569) findFilesWithPattern(): IO error accessing NON-ENCRYPTED FILE PATH. Will be ignored in file listing. Reported Exception:
java.nio.file.NoSuchFileException: NON-ENCRYPTED FILE PATH: Could not determine type of file D:\Mon Drive\Data\d\VC\Z5XPPUO55AB4HUUPXKWHBDVA4GGLKJ\BowdsVRZIznkoadu8saNkl1Syoigzih0.c9r
	at org.cryptomator.cryptofs.CryptoPathMapper.getCiphertextFileType(CryptoPathMapper.java:108)
	at org.cryptomator.cryptofs.attr.AttributeProvider.readAttributes(AttributeProvider.java:42)
	at org.cryptomator.cryptofs.CryptoFileSystemImpl.readAttributes(CryptoFileSystemImpl.java:239)
	at org.cryptomator.cryptofs.CryptoFileSystemProvider.readAttributes(CryptoFileSystemProvider.java:423)
	at java.base/java.nio.file.Files.readAttributes(Unknown Source)
	at org.cryptomator.frontend.dokany.ReadWriteAdapter.lambda$findFilesWithPattern$2(ReadWriteAdapter.java:534)
	at java.base/java.util.stream.ReferencePipeline$3$1.accept(Unknown Source)
	at java.base/java.util.Iterator.forEachRemaining(Unknown Source)
	at java.base/java.util.Spliterators$IteratorSpliterator.forEachRemaining(Unknown Source)
	at java.base/java.util.stream.AbstractPipeline.copyInto(Unknown Source)
	at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(Unknown Source)
	at java.base/java.util.stream.ForEachOps$ForEachOp.evaluateSequential(Unknown Source)
	at java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(Unknown Source)
	at java.base/java.util.stream.AbstractPipeline.evaluate(Unknown Source)
	at java.base/java.util.stream.ReferencePipeline.forEach(Unknown Source)
	at org.cryptomator.frontend.dokany.ReadWriteAdapter.findFilesWithPattern(ReadWriteAdapter.java:547)
	at com.dokany.java.DokanyOperationsProxy$FindFilesWithPatternProxy.callback(DokanyOperationsProxy.java:215)
	at jdk.internal.reflect.GeneratedMethodAccessor74.invoke(Unknown Source)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	at java.base/java.lang.reflect.Method.invoke(Unknown Source)
	at com.sun.jna.CallbackReference$DefaultCallbackProxy.invokeCallback(CallbackReference.java:579)
	at com.sun.jna.CallbackReference$DefaultCallbackProxy.callback(CallbackReference.java:610)
08:49:22.694 [dokanMount-1-callback-2] TRACE o.c.frontend.dokany.ReadWriteAdapter - (569) Successful searched content in NON-ENCRYPTED FILE PATH.
08:49:22.695 [dokanMount-1-callback-2] TRACE o.c.c.dir.CryptoDirectoryStream - CLOSE c8968504-6a26-4849-8fa2-c977370b999e
08:49:22.695 [dokanMount-1-callback-0] TRACE o.c.frontend.dokany.ReadWriteAdapter - (569) cleanup() is called for NON-ENCRYPTED FILE PATH
08:49:22.695 [dokanMount-1-callback-1] TRACE o.c.frontend.dokany.ReadWriteAdapter - (569) closeFile() is called for NON-ENCRYPTED FILE PATH.
08:49:22.695 [dokanMount-1-callback-4] TRACE o.c.frontend.dokany.ReadWriteAdapter - zwCreateFile() is called for / with the following parameters:
	CreateDisposition -- OPEN_EXISTING
	createOptions -- [FILE_SYNCHRONOUS_IO_NONALERT]
	accessMasks -- [GENERIC_READ]
	fileAccessMasks -- []
	fileAttributes -- [].
08:49:22.696 [dokanMount-1-callback-4] TRACE o.c.frontend.dokany.ReadWriteAdapter - Try to open / as Directory.
08:49:22.698 [dokanMount-1-callback-4] TRACE o.c.frontend.dokany.ReadWriteAdapter - (571) / opened successful with handle 571.
08:49:22.698 [dokanMount-1-callback-2] TRACE o.c.frontend.dokany.ReadWriteAdapter - (571) getFileInformation() is called for /.
08:49:22.700 [dokanMount-1-callback-2] TRACE o.c.frontend.dokany.ReadWriteAdapter - (571) File Information successful read from /.
08:49:22.700 [dokanMount-1-callback-3] TRACE o.c.frontend.dokany.ReadWriteAdapter - (571) getFileInformation() is called for /.
08:49:22.701 [dokanMount-1-callback-3] TRACE o.c.frontend.dokany.ReadWriteAdapter - (571) File Information successful read from /.
08:49:22.701 [dokanMount-1-callback-0] TRACE o.c.frontend.dokany.ReadWriteAdapter - (571) getFileInformation() is called for /.
08:49:22.703 [dokanMount-1-callback-0] TRACE o.c.frontend.dokany.ReadWriteAdapter - (571) File Information successful read from /.
08:49:22.703 [dokanMount-1-callback-1] TRACE o.c.frontend.dokany.ReadWriteAdapter - getFreeDiskSpace() is called.
08:49:22.704 [dokanMount-1-callback-4] TRACE o.c.frontend.dokany.ReadWriteAdapter - (571) cleanup() is called for /.
08:49:22.704 [dokanMount-1-callback-2] TRACE o.c.frontend.dokany.ReadWriteAdapter - (571) closeFile() is called for /.
08:49:22.705 [dokanMount-1-callback-3] TRACE o.c.frontend.dokany.ReadWriteAdapter - (391) cleanup() is called for /Serie.
08:49:22.705 [dokanMount-1-callback-0] TRACE o.c.frontend.dokany.ReadWriteAdapter - (391) closeFile() is called for /Serie.
08:49:22.705 [dokanMount-1-callback-1] TRACE o.c.frontend.dokany.ReadWriteAdapter - (396) cleanup() is called for /Serie.
08:49:22.705 [dokanMount-1-callback-4] TRACE o.c.frontend.dokany.ReadWriteAdapter - (396) closeFile() is called for /Serie.
08:49:22.705 [dokanMount-1-callback-2] TRACE o.c.frontend.dokany.ReadWriteAdapter - (376) cleanup() is called for /Serie/Manga.
08:49:22.705 [dokanMount-1-callback-3] TRACE o.c.frontend.dokany.ReadWriteAdapter - (376) closeFile() is called for /Serie/Manga.
08:49:22.706 [dokanMount-1-callback-0] TRACE o.c.frontend.dokany.ReadWriteAdapter - (377) cleanup() is called for /Serie/Manga.
08:49:22.706 [dokanMount-1-callback-1] TRACE o.c.frontend.dokany.ReadWriteAdapter - (377) closeFile() is called for /Serie/Manga.
08:49:22.707 [dokanMount-1-callback-4] TRACE o.c.frontend.dokany.ReadWriteAdapter - zwCreateFile() is called for /Serie/Manga/NON-ENCRYPTED FILE PATH with the following parameters:
	CreateDisposition -- OPEN_EXISTING
	createOptions -- [FILE_DIRECTORY_FILE, FILE_SYNCHRONOUS_IO_NONALERT]
	accessMasks -- [SYNCHRONIZE, DELETE]
	fileAccessMasks -- []
	fileAttributes -- [].
08:49:22.711 [dokanMount-1-callback-4] TRACE o.c.frontend.dokany.ReadWriteAdapter - Try to open NON-ENCRYPTED FILE PATH as Directory.
08:49:22.719 [dokanMount-1-callback-4] TRACE o.c.frontend.dokany.ReadWriteAdapter - (572) NON-ENCRYPTED FILE PATH opened successful with handle 572.
08:49:22.720 [dokanMount-1-callback-2] TRACE o.c.frontend.dokany.ReadWriteAdapter - (572) getFileInformation() is called for NON-ENCRYPTED FILE PATH.
08:49:22.724 [dokanMount-1-callback-2] TRACE o.c.frontend.dokany.ReadWriteAdapter - (572) File Information successful read from NON-ENCRYPTED FILE PATH.
08:49:22.724 [dokanMount-1-callback-3] TRACE o.c.frontend.dokany.ReadWriteAdapter - (572) getFileInformation() is called for NON-ENCRYPTED FILE PATH.
08:49:22.728 [dokanMount-1-callback-3] TRACE o.c.frontend.dokany.ReadWriteAdapter - (572) File Information successful read from NON-ENCRYPTED FILE PATH.
08:49:22.729 [dokanMount-1-callback-0] TRACE o.c.frontend.dokany.ReadWriteAdapter - (572) getFileInformation() is called for NON-ENCRYPTED FILE PATH.
08:49:22.733 [dokanMount-1-callback-0] TRACE o.c.frontend.dokany.ReadWriteAdapter - (572) File Information successful read from NON-ENCRYPTED FILE PATH
08:49:22.733 [dokanMount-1-callback-0] TRACE o.c.frontend.dokany.ReadWriteAdapter - (572) deleteDirectory() is called for NON-ENCRYPTED FILE PATH
08:49:22.735 [dokanMount-1-callback-0] TRACE o.c.c.dir.CryptoDirectoryStream - OPEN c8968504-6a26-4849-8fa2-c977370b999e
08:49:22.736 [dokanMount-1-callback-0] TRACE o.c.frontend.dokany.ReadWriteAdapter - (572) Deletion of NON-ENCRYPTED FILE PATH not possible.
08:49:22.736 [dokanMount-1-callback-0] TRACE o.c.c.dir.CryptoDirectoryStream - CLOSE c8968504-6a26-4849-8fa2-c977370b999e
08:49:22.736 [dokanMount-1-callback-1] TRACE o.c.frontend.dokany.ReadWriteAdapter - (572) cleanup() is called for NON-ENCRYPTED FILE PATH
08:49:22.736 [dokanMount-1-callback-4] TRACE o.c.frontend.dokany.ReadWriteAdapter - (572) closeFile() is called for NON-ENCRYPTED FILE PATH
08:49:22.736 [dokanMount-1-callback-2] TRACE o.c.frontend.dokany.ReadWriteAdapter - zwCreateFile() is called for NON-ENCRYPTED FILE PATH with the following parameters:
	CreateDisposition -- OPEN_EXISTING
	createOptions -- []
	accessMasks -- []
	fileAccessMasks -- []
	fileAttributes -- [].
08:49:22.740 [dokanMount-1-callback-2] TRACE o.c.frontend.dokany.ReadWriteAdapter - Try to open /Serie/Manga as Directory.
08:49:22.748 [dokanMount-1-callback-2] TRACE o.c.frontend.dokany.ReadWriteAdapter - (573) /Serie/Manga opened successful with handle 573.
08:49:22.748 [dokanMount-1-callback-3] TRACE o.c.frontend.dokany.ReadWriteAdapter - (573) getFileInformation() is called for /Serie/Manga.
08:49:22.752 [dokanMount-1-callback-3] TRACE o.c.frontend.dokany.ReadWriteAdapter - (573) File Information successful read from /Serie/Manga.
08:49:22.753 [dokanMount-1-callback-0] TRACE o.c.frontend.dokany.ReadWriteAdapter - (573) cleanup() is called for /Serie/Manga.
08:49:22.753 [dokanMount-1-callback-1] TRACE o.c.frontend.dokany.ReadWriteAdapter - (573) closeFile() is called for /Serie/Manga.
08:49:22.753 [dokanMount-1-callback-4] TRACE o.c.frontend.dokany.ReadWriteAdapter - 

or with other folder

08:56:16.281 [dokanMount-1-callback-1] WARN  o.c.c.dir.BrokenDirectoryFilter - Broken directory file D:\Mon Drive\Data\d\SC\L4QEJTPZNZY776EMJTEESSWTGUFUPH\MJ7hZ_KcwaPhI7pcHTzR0gelnVx7mIaTwb-WWA==.c9r\dir.c9r. Directory D:\Mon Drive\Data\d\CQ\HY2A2BEHRWDUGFINCTYAYBEDYCGTDR does not exist.
08:56:24.332 [dokanMount-1-callback-2] WARN  o.c.cryptofs.CryptoPathMapper - Did not find valid content inside of D:\Mon Drive\Data\d\MP\3HNEPEXHTZFQFYLLTHVXNWKQFTMF36\1qGyI7_-F1WPj4M4-d34TxXGQi7eHjJ1ZV-c0aAbiXqNlqIYOtdgZ7rqyRg1I_dJwJvohRwD4zQW555cXFUDB9Zrdrfg.c9r

Also I don’t know if this is due to cryptomator but when I launch a lot of transfers, sometimes this one displays an error message (or not) then stops the copy on the Drive to copy everything in the Temp folder

Still exposing file names (I like that series too :wink:). I recommend to edit your post.

This message is saying that the folder was corrupted or not available as cryptomator cannot identify its content. You should try to restore it from a backup.

“Still exposing file names (I like that series too :wink:). I recommend to edit your post.”
Thank’s, it’s ok now :slight_smile:

Alright I understand.
So you have to look in the logs to delete by hand to make the link between the unencrypted folder and the encrypted folder? Couldn’t it be simpler?
Because I have email to identify the good files which are corrupted in the logs.

Not sure if I get your question right. But yes: as you do have some corrupt files in your vault, and you do have problems with your vault, you should try to solve these problems. This means: study the log and care for every problem you find in there.
A more easier way I can think about is to reupload a complete, fresh vault. But based on the amount of data you have in your vault, I guess thats kind of a hassle.

Hello,

Sorry my english is very bad.
I see.
As a priority I can rename the corrupted files.
I created a “trash” folder to put these folders and it works.
This will prevent me from analyzing the log for too long.

thank you for your help