Cryptomator 1.4.2 isn't unlocking vaults 🤪

os:windows

#1

I can’t open any vault after installing the newest release (1.4.2). After i press the Unlock button a message pop up saying “Error Unlocking. Check the register file for more info”. I tried unninstalling this version, and installing 1.4.1 but the same happens. Help!


#2

It’s now working after restarting PC with version 1.4.1


#3

I noticed the same issue after I just updated to 1.4.2. (clean install. I deinstalled dokany and cryptomator before installing 1.4.2)
As I always want to have the same drive letter for a vault (backup purposes), I clicked the checkbox “use own drive letter”, and entered the desired letter in the text field. After that, I could not unlock my vault.

java.lang.IllegalStateException: Mount failed: Cannot assign a drive letter or mount point. Probably already used by another volume.

I will ad the complete logfile at the end of this post.

BUT: I assume the checkbox is a mistake. Do not enable the checkbox. If you just select a drive letter from the drop down menu (that is replaced by the input field when enabling the checkbox), everything workes fine.

I will open a github issue

Logfile:

09:48:01.842 [main] INFO org.cryptomator.launcher.Cryptomator - Starting Cryptomator 1.4.2 on Windows 10 10.0 (amd64)
09:48:01.905 [main] INFO o.c.launcher.FileOpenRequestHandler - Unable to setOpenFileHandler, probably not supported on this OS.
09:48:02.624 [JavaFX Application Thread] INFO o.c.launcher.MainApplication - JavaFX application started.
09:48:02.682 [JavaFX Application Thread] INFO o.c.common.settings.SettingsProvider - Failed to load settings, creating new one.
09:48:02.816 [JavaFX Application Thread] INFO org.cryptomator.jni.JniModule - loaded WinFunctions.dll
09:48:02.848 [JavaFX Application Thread] INFO o.c.ui.controllers.MainController - Unable to setPreferencesHandler, probably not supported on this OS.
09:48:27.902 [JavaFX Application Thread] INFO o.c.ui.controllers.WelcomeController - Current version: 1.4.2, lastest version: 1.4.2
09:48:28.356 [pool-3-thread-1] INFO o.c.common.settings.SettingsProvider - Settings saved to C:\Users\USERNAME\AppData\Roaming\Cryptomator\settings.json
09:49:38.477 [JavaFX Application Thread] INFO o.c.k.WindowsProtectedKeychainAccess - Creating new keychain at path C:\Users\USERNAME\AppData\Roaming\Cryptomator\keychain.json
09:49:39.390 [pool-3-thread-1] INFO o.c.common.settings.SettingsProvider - Settings saved to C:\Users\USERNAME\AppData\Roaming\Cryptomator\settings.json
09:49:46.697 [pool-3-thread-1] INFO o.c.common.settings.SettingsProvider - Settings saved to C:\Users\USERNAME\AppData\Roaming\Cryptomator\settings.json
09:49:48.514 [pool-3-thread-1] INFO o.c.common.settings.SettingsProvider - Settings saved to C:\Users\USERNAME\AppData\Roaming\Cryptomator\settings.json
09:49:50.793 [pool-3-thread-1] INFO o.c.common.settings.SettingsProvider - Settings saved to C:\Users\USERNAME\AppData\Roaming\Cryptomator\settings.json
09:49:52.627 [Background Thread 2] INFO com.dokany.java.DokanyDriver - Dokany version: 120
09:49:52.627 [Background Thread 2] INFO com.dokany.java.DokanyDriver - Dokany driver version: 400
09:49:52.651 [Background Thread 3] WARN com.dokany.java.DokanyDriver - Error while mounting
java.lang.IllegalStateException: Mount failed: Cannot assign a drive letter or mount point. Probably already used by another volume.
at com.dokany.java.DokanyDriver.start(DokanyDriver.java:65)
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)
09:49:52.651 [Background Thread 2] ERROR o.c.frontend.dokany.MountFactory - Mounting failed.
java.util.concurrent.ExecutionException: java.lang.IllegalStateException: Mount failed: Cannot assign a drive letter or mount point. Probably already used by another volume.
at java.base/java.util.concurrent.FutureTask.report(Unknown Source)
at java.base/java.util.concurrent.FutureTask.get(Unknown Source)
at org.cryptomator.frontend.dokany.Mount.mount(Mount.java:36)
at org.cryptomator.frontend.dokany.MountFactory.mount(MountFactory.java:74)
at org.cryptomator.ui.model.DokanyVolume.mount(DokanyVolume.java:42)
at org.cryptomator.ui.model.Vault.unlock(Vault.java:108)
at org.cryptomator.ui.controllers.UnlockController.lambda$didClickUnlockButton$0(UnlockController.java:396)
at org.cryptomator.ui.util.Tasks.lambda$create$0(Tasks.java:33)
at org.cryptomator.ui.util.Tasks$TaskImpl.call(Tasks.java:139)
at javafx.graphics/javafx.concurrent.Task$TaskCallable.call(Unknown Source)
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: java.lang.IllegalStateException: Mount failed: Cannot assign a drive letter or mount point. Probably already used by another volume.
at com.dokany.java.DokanyDriver.start(DokanyDriver.java:65)
… 5 common frames omitted
09:49:52.666 [JavaFX Application Thread] ERROR o.c.ui.controllers.UnlockController - Unlock failed for technical reasons.
org.cryptomator.ui.model.Volume$VolumeException: Unable to mount Filesystem
at org.cryptomator.ui.model.DokanyVolume.mount(DokanyVolume.java:44)
at org.cryptomator.ui.model.Vault.unlock(Vault.java:108)
at org.cryptomator.ui.controllers.UnlockController.lambda$didClickUnlockButton$0(UnlockController.java:396)
at org.cryptomator.ui.util.Tasks.lambda$create$0(Tasks.java:33)
at org.cryptomator.ui.util.Tasks$TaskImpl.call(Tasks.java:139)
at javafx.graphics/javafx.concurrent.Task$TaskCallable.call(Unknown Source)
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.MountFailedException: java.lang.IllegalStateException: Mount failed: Cannot assign a drive letter or mount point. Probably already used by another volume.
at org.cryptomator.frontend.dokany.MountFactory.mount(MountFactory.java:81)
at org.cryptomator.ui.model.DokanyVolume.mount(DokanyVolume.java:42)
… 11 common frames omitted
Caused by: java.lang.IllegalStateException: Mount failed: Cannot assign a drive letter or mount point. Probably already used by another volume.
at com.dokany.java.DokanyDriver.start(DokanyDriver.java:65)
… 5 common frames omitted
09:50:27.064 [Background Thread 2] INFO com.dokany.java.DokanyDriver - Dokany version: 120
09:50:27.064 [Background Thread 2] INFO com.dokany.java.DokanyDriver - Dokany driver version: 400
09:50:27.084 [Background Thread 3] WARN com.dokany.java.DokanyDriver - Error while mounting
java.lang.IllegalStateException: Mount failed: Cannot assign a drive letter or mount point. Probably already used by another volume.
at com.dokany.java.DokanyDriver.start(DokanyDriver.java:65)
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)
09:50:27.084 [Background Thread 2] ERROR o.c.frontend.dokany.MountFactory - Mounting failed.
java.util.concurrent.ExecutionException: java.lang.IllegalStateException: Mount failed: Cannot assign a drive letter or mount point. Probably already used by another volume.
at java.base/java.util.concurrent.FutureTask.report(Unknown Source)
at java.base/java.util.concurrent.FutureTask.get(Unknown Source)
at org.cryptomator.frontend.dokany.Mount.mount(Mount.java:36)
at org.cryptomator.frontend.dokany.MountFactory.mount(MountFactory.java:74)
at org.cryptomator.ui.model.DokanyVolume.mount(DokanyVolume.java:42)
at org.cryptomator.ui.model.Vault.unlock(Vault.java:108)
at org.cryptomator.ui.controllers.UnlockController.lambda$didClickUnlockButton$0(UnlockController.java:396)
at org.cryptomator.ui.util.Tasks.lambda$create$0(Tasks.java:33)
at org.cryptomator.ui.util.Tasks$TaskImpl.call(Tasks.java:139)
at javafx.graphics/javafx.concurrent.Task$TaskCallable.call(Unknown Source)
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: java.lang.IllegalStateException: Mount failed: Cannot assign a drive letter or mount point. Probably already used by another volume.
at com.dokany.java.DokanyDriver.start(DokanyDriver.java:65)
… 5 common frames omitted
09:50:27.098 [JavaFX Application Thread] ERROR o.c.ui.controllers.UnlockController - Unlock failed for technical reasons.
org.cryptomator.ui.model.Volume$VolumeException: Unable to mount Filesystem
at org.cryptomator.ui.model.DokanyVolume.mount(DokanyVolume.java:44)
at org.cryptomator.ui.model.Vault.unlock(Vault.java:108)
at org.cryptomator.ui.controllers.UnlockController.lambda$didClickUnlockButton$0(UnlockController.java:396)
at org.cryptomator.ui.util.Tasks.lambda$create$0(Tasks.java:33)
at org.cryptomator.ui.util.Tasks$TaskImpl.call(Tasks.java:139)
at javafx.graphics/javafx.concurrent.Task$TaskCallable.call(Unknown Source)
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.MountFailedException: java.lang.IllegalStateException: Mount failed: Cannot assign a drive letter or mount point. Probably already used by another volume.
at org.cryptomator.frontend.dokany.MountFactory.mount(MountFactory.java:81)
at org.cryptomator.ui.model.DokanyVolume.mount(DokanyVolume.java:42)
… 11 common frames omitted
Caused by: java.lang.IllegalStateException: Mount failed: Cannot assign a drive letter or mount point. Probably already used by another volume.
at com.dokany.java.DokanyDriver.start(DokanyDriver.java:65)
… 5 common frames omitted
09:52:00.884 [Thread-0] INFO o.c.launcher.CleanShutdownPerformer - Goodbye.


#4

And I found out that this is a dokany issue only. If the interface is WebDAV, the settings work correctly.
But with 1.4.x dokany is default, so I assume there will be more users with this problems.


#5

To shed some light into this: The cause for this error is a misunderstanding/insufficient translation (-;

The text entered into the text field is used as a path to point to some directory or free volume. And since a single letter is not a valid path, you can’t unlock the vault. This option is for mounting your cryptomator vault into an empty directory, if you want to. The original english text of the Checkbox is “Use Custom Mount Point” and a mount point can be anything as long it is a valid (absolute) path to an empty directory


An example of using Custom Mount Points please
#6

Thank you. And you are right, sorry.
I recommend to have a bit more explanation in the settings, and/or an other error message.
see my github post for suggestions.