Unlock failed suddenly


#1

Hello,

I have been using cryptomator for a while now and this morning I couldn’t unlock my vault, I didn’t change anything, didn’t change password, didn’t upgrade version (I have 1.4.5):
screenshot

What can I do ? It says to look for log files but I don’t know where there are.

Thank you for any help. I am running Linux Mint Sylvia.


#2

You can find the log file in ~/.Cryptomator/cryptomator.log


#3

Thank you. So there are numerous logs cryptomator.log , cryptomator0.log, cryptomator1.log…

So I just opened cryptomator.log :

16:16:20.932 [main] INFO org.cryptomator.launcher.Cryptomator - Starting Cryptomator 1.4.4 on Linux 4.15.0-45-generic (amd64)

16:16:21.287 [main] INFO o.c.launcher.FileOpenRequestHandler - Unable to setOpenFileHandler, probably not supported on this OS.

16:16:21.648 [JavaFX Application Thread] INFO o.c.launcher.MainApplication - JavaFX application started.

16:16:21.723 [JavaFX Application Thread] INFO o.c.common.settings.SettingsProvider - Settings loaded from /home/arnauld/.Cryptomator/settings.json

16:16:21.917 [JavaFX Application Thread] INFO o.c.ui.controllers.MainController - Unable to setPreferencesHandler, probably not supported on this OS.

16:16:22.856 [JavaFX Application Thread] INFO o.c.ui.controllers.WelcomeController - Current version: 1.4.4, lastest version: 1.4.5

16:16:33.474 [Background Thread 2] ERROR org.cryptomator.ui.model.FuseVolume - Failed to create mount path at /home/arnauld/.Cryptomator/dXv62-sOSQCR_x. Giving up after 10 attempts.

16:16:33.492 [JavaFX Application Thread] ERROR o.c.ui.controllers.UnlockController - Unlock failed for technical reasons.

java.nio.file.FileAlreadyExistsException: /home/arnauld/.Cryptomator/dXv62-sOSQCR

at org.cryptomator.ui.model.FuseVolume.createTemporaryMountPoint(FuseVolume.java:86)

at org.cryptomator.ui.model.FuseVolume.mount(FuseVolume.java:55)

at org.cryptomator.ui.model.Vault.unlock(Vault.java:117)

at org.cryptomator.ui.controllers.UnlockController.lambda$didClickUnlockButton$0(UnlockController.java:439)

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)

16:16:35.067 [JavaFX Application Thread] INFO o.c.launcher.MainApplication - JavaFX application stopped.

16:16:35.071 [Thread-0] INFO o.c.launcher.CleanShutdownPerformer - Goodbye.

And when using version 1.4.5:

16:22:52.508 [main] INFO org.cryptomator.launcher.Cryptomator - Starting Cryptomator 1.4.5 on Linux 4.15.0-45-generic (amd64)
16:22:52.847 [main] INFO o.c.launcher.FileOpenRequestHandler - Unable to setOpenFileHandler, probably not supported on this OS.
16:22:53.230 [JavaFX Application Thread] INFO o.c.launcher.MainApplication - JavaFX application started.
16:22:53.303 [JavaFX Application Thread] INFO o.c.common.settings.SettingsProvider - Settings loaded from /home/arnauld/.Cryptomator/settings.json
16:22:53.499 [JavaFX Application Thread] INFO o.c.ui.controllers.MainController - Unable to setPreferencesHandler, probably not supported on this OS.
16:22:54.516 [JavaFX Application Thread] INFO o.c.ui.controllers.WelcomeController - Current version: 1.4.5, lastest version: 1.4.5
16:23:04.232 [Background Thread 2] ERROR org.cryptomator.ui.model.FuseVolume - Failed to create mount path at /home/arnauld/.Cryptomator/dXv62-sOSQCR_x. Giving up after 10 attempts.
16:23:04.242 [JavaFX Application Thread] ERROR o.c.ui.controllers.UnlockController - Unlock failed for technical reasons.
java.nio.file.FileAlreadyExistsException: /home/arnauld/.Cryptomator/dXv62-sOSQCR
at org.cryptomator.ui.model.FuseVolume.createTemporaryMountPoint(FuseVolume.java:86)
at org.cryptomator.ui.model.FuseVolume.mount(FuseVolume.java:55)
at org.cryptomator.ui.model.Vault.unlock(Vault.java:117)
at org.cryptomator.ui.controllers.UnlockController.lambda$didClickUnlockButton$0(UnlockController.java:439)
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)


#4

Try the following: Delete ~/.Cryptomator/dXv62-sOSQCR and try again. Not sure what happened with the mount point but maybe it hadn’t been properly unmounted.

Edit: But check its contents first before deleting. It should be empty.


#5

Thank you, it worked. I deleted ~/.Cryptomator/dXv62-sOSQCR but it didn’t work first, so I deleted all the ~/.Cryptomator/dXv62-sOSQCR folders (0,1,2…) and it worked fine.