Error opening Cryptomator after latest update

I had Cryptomato installed and god a notification (Windows 10) of update available. I did download/update now just opening the program I get the following:

org.cryptomator.common.vaults.Volume$VolumeException: Unable to mount Filesystem
at org.cryptomator.common.vaults.DokanyVolume.mount(DokanyVolume.java:48)
at org.cryptomator.common.vaults.Vault.unlock(Vault.java:151)
at org.cryptomator.ui.unlock.UnlockWorkflow.attemptUnlock(UnlockWorkflow.java:100)
at org.cryptomator.ui.unlock.UnlockWorkflow.call(UnlockWorkflow.java:81)
at org.cryptomator.ui.unlock.UnlockWorkflow.call(UnlockWorkflow.java:44)
at javafx.concurrent.Task$TaskCallable.call(Task.java:1425)
at java.base/java.util.concurrent.FutureTask.run(Unknown Source)
at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
at java.base/java.util.concurrent.FutureTask.run(Unknown Source)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.base/java.lang.Thread.run(Unknown Source)
Caused by: org.cryptomator.frontend.dokany.DokanyMountFailedException: Error while mounting.
at org.cryptomator.frontend.dokany.MountFactory.mount(MountFactory.java:130)
at org.cryptomator.frontend.dokany.MountFactory.mount(MountFactory.java:116)
at org.cryptomator.common.vaults.DokanyVolume.mount(DokanyVolume.java:43)
… 11 more
Caused by: com.dokany.java.DokanyException: DokanMain returned error code-4: Dokan mount failed - Driver answer that something is wrong.
at com.dokany.java.DokanyMount.lambda$mount$2(DokanyMount.java:98)
… 1 more

Can you do the following and provide a full log file afterwards?

  1. (Re-)Start Cryptomator
  2. Enable Debug Mode
  3. Attempt to unlock the vault
  4. Quit Cryptomator

Debug Mode can be enabled in the general preferences, you also find there a link to the log file location. The log in question is named cryptomator0.log.

09:16:08.240 [main] INFO  org.cryptomator.launcher.Cryptomator - Starting Cryptomator 1.5.17 on Windows 10 10.0 (amd64)
09:16:08.700 [JavaFX Application Thread] INFO  o.c.ui.launcher.FxApplicationStarter - JavaFX Runtime started.
09:16:09.458 [App Background Thread 003] INFO  com.dokany.java.DokanyMount - Dokany API/driver version: 150 / 0
09:16:09.482 [dokanMount-1-main] INFO  org.cryptomator.common.vaults.Vault - Unmounted vault 'MEGA'
09:16:09.487 [dokanMount-1-main] WARN  org.cryptomator.common.vaults.Vault - Unexpected unmount and lock of vault MEGA
com.dokany.java.DokanyException: DokanMain returned error code-4: Dokan mount failed - Driver answer that something is wrong.
	at com.dokany.java.DokanyMount.lambda$mount$2(DokanyMount.java:98)
	at java.base/java.lang.Thread.run(Unknown Source)
09:16:31.961 [App Background Thread 003] ERROR o.c.frontend.dokany.MountFactory - Mounting failed.
com.dokany.java.DokanyException: DokanMain returned error code-4: Dokan mount failed - Driver answer that something is wrong.
	at com.dokany.java.DokanyMount.lambda$mount$2(DokanyMount.java:98)
	at java.base/java.lang.Thread.run(Unknown Source)
09:16:31.966 [JavaFX Application Thread] INFO  o.c.ui.unlock.UnlockWorkflow - Unlock of 'MEGA' failed.
09:16:31.967 [JavaFX Application Thread] ERROR o.c.ui.unlock.UnlockWorkflow - Unlock failed for technical reasons.
org.cryptomator.common.vaults.Volume$VolumeException: Unable to mount Filesystem
	at org.cryptomator.common.vaults.DokanyVolume.mount(DokanyVolume.java:48)
	at org.cryptomator.common.vaults.Vault.unlock(Vault.java:151)
	at org.cryptomator.ui.unlock.UnlockWorkflow.attemptUnlock(UnlockWorkflow.java:100)
	at org.cryptomator.ui.unlock.UnlockWorkflow.call(UnlockWorkflow.java:81)
	at org.cryptomator.ui.unlock.UnlockWorkflow.call(UnlockWorkflow.java:44)
	at javafx.concurrent.Task$TaskCallable.call(Task.java:1425)
	at java.base/java.util.concurrent.FutureTask.run(Unknown Source)
	at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
	at java.base/java.util.concurrent.FutureTask.run(Unknown Source)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
	at java.base/java.lang.Thread.run(Unknown Source)
Caused by: org.cryptomator.frontend.dokany.DokanyMountFailedException: Error while mounting.
	at org.cryptomator.frontend.dokany.MountFactory.mount(MountFactory.java:130)
	at org.cryptomator.frontend.dokany.MountFactory.mount(MountFactory.java:116)
	at org.cryptomator.common.vaults.DokanyVolume.mount(DokanyVolume.java:43)
	... 11 common frames omitted
Caused by: com.dokany.java.DokanyException: DokanMain returned error code-4: Dokan mount failed - Driver answer that something is wrong.
	at com.dokany.java.DokanyMount.lambda$mount$2(DokanyMount.java:98)
	... 1 common frames omitted
09:19:21.902 [JavaFX Application Thread] INFO  o.cryptomator.ui.fxapp.UpdateChecker - Current version: 1.5.17, lastest version: 1.5.17
09:19:29.199 [App Scheduled Executor 01] INFO  o.c.common.settings.SettingsProvider - Settings saved to C:\Users\user\AppData\Roaming\Cryptomator\settings.json
09:19:31.438 [App Scheduled Executor 01] INFO  o.c.common.settings.SettingsProvider - Settings saved to C:\Users\user\AppData\Roaming\Cryptomator\settings.json
09:19:33.610 [JavaFX Application Thread] INFO  o.cryptomator.ui.fxapp.UpdateChecker - Current version: 1.5.17, lastest version: 1.5.17
11:07:56.067 [JavaFX Application Thread] INFO  o.cryptomator.ui.fxapp.UpdateChecker - Current version: 1.5.17, lastest version: 1.5.17
11:08:00.609 [JavaFX Application Thread] DEBUG org.cryptomator.logging.DebugMode - Debug mode enabled
11:08:01.609 [App Scheduled Executor 02] DEBUG o.c.common.settings.SettingsProvider - Attempting to save settings to C:\Users\user\AppData\Roaming\Cryptomator\settings.json
11:08:01.615 [App Scheduled Executor 02] INFO  o.c.common.settings.SettingsProvider - Settings saved to C:\Users\user\AppData\Roaming\Cryptomator\settings.json
11:08:08.727 [JavaFX Application Thread] DEBUG o.c.common.vaults.VaultStats - stop recording stats
11:08:08.728 [JavaFX Application Thread] DEBUG o.c.ui.launcher.AppLifecycleListener - Allow quitting without prompt: false
11:08:08.735 [JavaFX Application Thread] DEBUG o.cryptomator.ui.fxapp.FxApplication - Start unlock workflow for MEGA
11:08:08.738 [App Background Thread 006] DEBUG o.cryptomator.cryptofs.ReadonlyFlag - Vault opened for read and write.
11:08:09.013 [App Background Thread 006] DEBUG o.c.c.common.MasterkeyBackupHelper - Verified backup file: C:\Users\user\Documents\MEGA\CLOUD_DATA\masterkey.cryptomator.F507FF35.bkup
11:08:09.017 [App Background Thread 006] DEBUG o.c.frontend.dokany.MountFactory - Mounting on M:\: ...
11:08:09.017 [App Background Thread 006] INFO  com.dokany.java.DokanyMount - Dokany API/driver version: 150 / 0
11:08:09.020 [dokanMount-2-main] INFO  org.cryptomator.common.vaults.Vault - Unmounted vault 'MEGA'
11:08:09.020 [dokanMount-2-main] TRACE org.cryptomator.common.vaults.Vault - Trying to close associated CryptoFS...
11:08:09.021 [JavaFX Application Thread] DEBUG o.c.common.vaults.VaultStats - stop recording stats
11:08:09.021 [dokanMount-2-main] WARN  org.cryptomator.common.vaults.Vault - Unexpected unmount and lock of vault MEGA
com.dokany.java.DokanyException: DokanMain returned error code-4: Dokan mount failed - Driver answer that something is wrong.
	at com.dokany.java.DokanyMount.lambda$mount$2(DokanyMount.java:98)
	at java.base/java.lang.Thread.run(Unknown Source)
11:08:09.022 [JavaFX Application Thread] DEBUG o.c.ui.launcher.AppLifecycleListener - Allow quitting without prompt: true
11:08:31.518 [App Background Thread 006] ERROR o.c.frontend.dokany.MountFactory - Mounting failed.
com.dokany.java.DokanyException: DokanMain returned error code-4: Dokan mount failed - Driver answer that something is wrong.
	at com.dokany.java.DokanyMount.lambda$mount$2(DokanyMount.java:98)
	at java.base/java.lang.Thread.run(Unknown Source)
11:08:31.518 [App Background Thread 006] TRACE org.cryptomator.common.vaults.Vault - Trying to close associated CryptoFS...
11:08:31.520 [JavaFX Application Thread] INFO  o.c.ui.unlock.UnlockWorkflow - Unlock of 'MEGA' failed.
11:08:31.521 [JavaFX Application Thread] ERROR o.c.ui.unlock.UnlockWorkflow - Unlock failed for technical reasons.
org.cryptomator.common.vaults.Volume$VolumeException: Unable to mount Filesystem
	at org.cryptomator.common.vaults.DokanyVolume.mount(DokanyVolume.java:48)
	at org.cryptomator.common.vaults.Vault.unlock(Vault.java:151)
	at org.cryptomator.ui.unlock.UnlockWorkflow.attemptUnlock(UnlockWorkflow.java:100)
	at org.cryptomator.ui.unlock.UnlockWorkflow.call(UnlockWorkflow.java:81)
	at org.cryptomator.ui.unlock.UnlockWorkflow.call(UnlockWorkflow.java:44)
	at javafx.concurrent.Task$TaskCallable.call(Task.java:1425)
	at java.base/java.util.concurrent.FutureTask.run(Unknown Source)
	at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
	at java.base/java.util.concurrent.FutureTask.run(Unknown Source)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
	at java.base/java.lang.Thread.run(Unknown Source)
Caused by: org.cryptomator.frontend.dokany.DokanyMountFailedException: Error while mounting.
	at org.cryptomator.frontend.dokany.MountFactory.mount(MountFactory.java:130)
	at org.cryptomator.frontend.dokany.MountFactory.mount(MountFactory.java:116)
	at org.cryptomator.common.vaults.DokanyVolume.mount(DokanyVolume.java:43)
	... 11 common frames omitted
Caused by: com.dokany.java.DokanyException: DokanMain returned error code-4: Dokan mount failed - Driver answer that something is wrong.
	at com.dokany.java.DokanyMount.lambda$mount$2(DokanyMount.java:98)
	... 1 common frames omitted
11:08:31.559 [JavaFX Application Thread] DEBUG o.c.common.vaults.VaultState - Failed transiting into state PROCESSING: Expected state was notLOCKED.

As i thought, Dokany is not properly installed your system, there exists no driver with version “0”. (it should be 400)

You can either try to uninstall and then install it again or you can switch to WinFSP, see WinFSP: How to use it.

1 Like

I have this issue periodically and on multiple windows computers after the latest update.
I’ve re-run the WinFSP.msi and went for repair… it doesn’t seem to help. I have to be fair… I’m not fond of external packages in general, I’m wondering if I should switch to WebDAV instead?

\EDIT: Not even WebDAV works…This below is a newly created Vault after switching the settings to WebDAV. Why did this use to work in the prev version but not on the latest?

org.cryptomator.common.vaults.Volume$VolumeException: org.cryptomator.frontend.webdav.mount.Mounter$CommandFailedException: Command failed with exit code 2. Expected 0. Stderr: System error 53 has occurred.

The network path was not found.


	at org.cryptomator.common.vaults.WebDavVolume.mountServlet(WebDavVolume.java:86)
	at org.cryptomator.common.vaults.WebDavVolume.mount(WebDavVolume.java:48)
	at org.cryptomator.common.vaults.Vault.unlock(Vault.java:151)
	at org.cryptomator.ui.unlock.UnlockWorkflow.attemptUnlock(UnlockWorkflow.java:100)
	at org.cryptomator.ui.unlock.UnlockWorkflow.call(UnlockWorkflow.java:81)
	at org.cryptomator.ui.unlock.UnlockWorkflow.call(UnlockWorkflow.java:44)
	at javafx.concurrent.Task$TaskCallable.call(Task.java:1425)
	at java.base/java.util.concurrent.FutureTask.run(Unknown Source)
	at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
	at java.base/java.util.concurrent.FutureTask.run(Unknown Source)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
	at java.base/java.lang.Thread.run(Unknown Source)
Caused by: org.cryptomator.frontend.webdav.mount.Mounter$CommandFailedException: Command failed with exit code 2. Expected 0. Stderr: System error 53 has occurred.

The network path was not found.


	at org.cryptomator.frontend.webdav.mount.ProcessUtil.assertExitValue(ProcessUtil.java:28)
	at org.cryptomator.frontend.webdav.mount.WindowsMounter.mount(WindowsMounter.java:43)
	at org.cryptomator.frontend.webdav.servlet.WebDavServletController.mount(WebDavServletController.java:102)
	at org.cryptomator.common.vaults.WebDavVolume.mountServlet(WebDavVolume.java:84)
	... 12 more

This message indicates a system configuration error. Search our forums and the internet for “System error 53 The network path was not found”.

Related articles are for example:

To understand the problematic a little better: With selecting WebDAV Cryptomator is starting a local-only server, which is used to operate on an unlocked vault. The unlocked vault is integrated into the Windows Explorer with the net use command.

A VPN, a proxy server or security software can inhibit this on different ways (e.g. blocking access to localhost). A good overview from Windows is Redirecting.


Using WebDAV has some drawbacks, for example it is slow in general and the file size is restricted to 4GB in Windows (Windows: 4 GiB file size limit on virtual drive)

1 Like

Here is a hint from me: It helped me to use the Dokany Setup.exe instead of the msi package. After I installed Dokany 1.5.0.3000 with the Setup.exe I can open the vault.

1 Like