Unlock fail Ubuntu 18.04


#1

After a few wrong password attempts I got the unlock fail. This system is a school computer, so I do not have sudo access. Debug mode enabled, with logfile attached. Appreciate any help :slight_smile:

10:19:48.529 [main] INFO  org.cryptomator.launcher.Cryptomator - Starting Cryptomator 1.4.6 on Linux 4.15.0-46-generic (amd64)
10:19:48.688 [main] INFO  o.c.launcher.IpcProtocolImpl - Received launch args: 
10:19:48.957 [JavaFX Application Thread] INFO  org.cryptomator.launcher.Cryptomator - JavaFX application started.
10:19:49.232 [JavaFX Application Thread] INFO  o.c.ui.controllers.MainController - Unable to setPreferencesHandler, probably not supported on this OS.
10:19:50.423 [JavaFX Application Thread] INFO  o.c.ui.controllers.WelcomeController - Current version: 1.4.6, lastest version: 1.4.6
10:20:04.752 [JavaFX Application Thread] DEBUG org.cryptomator.logging.DebugMode - Debug mode enabled
10:20:05.751 [pool-1-thread-1] DEBUG o.c.common.settings.SettingsProvider - Attempting to save settings to /home/../.config/Cryptomator/settings.json
10:20:05.757 [pool-1-thread-1] INFO  o.c.common.settings.SettingsProvider - Settings saved to /home/../.config/Cryptomator/settings.json
10:20:26.022 [Background Thread 2] INFO  o.cryptomator.cryptofs.ReadonlyFlag - Vault opened readonly.
10:20:26.442 [Background Thread 2] DEBUG org.cryptomator.ui.model.FuseVolume - Successfully created mount point: /home/../.local/share/Cryptomator/mnt/hAbea_65QWxn_0
10:20:26.741 [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.FuseVolume.mount(FuseVolume.java:106)
	at org.cryptomator.ui.model.FuseVolume.mount(FuseVolume.java:57)
	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.concurrent.Task$TaskCallable.call(Task.java:1425)
	at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
	at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
	at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
	at java.base/java.lang.Thread.run(Thread.java:834)
Caused by: org.cryptomator.frontend.fuse.mount.CommandFailedException: ru.serce.jnrfuse.FuseException: Unable to mount FS
	at org.cryptomator.frontend.fuse.mount.AbstractMount.mount(AbstractMount.java:25)
	at org.cryptomator.frontend.fuse.mount.LinuxMounter.mount(LinuxMounter.java:20)
	at org.cryptomator.ui.model.FuseVolume.mount(FuseVolume.java:104)
	... 12 common frames omitted
Caused by: ru.serce.jnrfuse.FuseException: Unable to mount FS
	at ru.serce.jnrfuse.AbstractFuseFS.mount(AbstractFuseFS.java:281)
	at org.cryptomator.frontend.fuse.mount.AbstractMount.mount(AbstractMount.java:23)
	... 14 common frames omitted
Caused by: ru.serce.jnrfuse.FuseException: Unable to mount FS, return code = 1
	at ru.serce.jnrfuse.AbstractFuseFS.mount(AbstractFuseFS.java:277)
	... 15 common frames omitted
10:20:31.714 [JavaFX Application Thread] INFO  org.cryptomator.launcher.Cryptomator - JavaFX application stopped.
10:20:31.717 [main] INFO  org.cryptomator.launcher.Cryptomator - Shutting down...
10:20:31.725 [Thread-8] WARN  o.c.frontend.fuse.ReadOnlyAdapter - File system adapter already marked as unmounted. This could indicate an error.
10:20:31.727 [Thread-0] DEBUG o.c.launcher.CleanShutdownPerformer - Running graceful shutdown tasks...
10:20:31.730 [Thread-0] INFO  o.c.launcher.CleanShutdownPerformer - Goodbye.

#2

Good news is: Your password is correct, otherwise Cryptomator wouldn’t have tried to mount the filesystem.

Bad news: FUSE returning -1 doesn’t really help understanding what could be the problem. :slightly_frowning_face:


#3

Thanks for superfast answer! Perhaps some additional clues will help?

  • I did a reboot without locking the vault first.
  • I have deleted and reopened the vault in Cryptomator. Same status.
  • The vault worked fine yesterday.
  • The vault resides in a local git repository. No commits or changes have been done.

#4

Anything suspicious with the mount point ~/.local/share/Cryptomator/mnt/hAbea_65QWxn_0? Missing access rights? Maybe it is still somehow “mounted” or recognized as a device?


#5

I can access that directory, and it is empty. Should I try deleting it?

UPDATE: removed vault from Cryptomator. Deleted mount directory. Then reopened vault in Cryptomator. Unlock failed.


#6

This is interesting. When trying to create a dummy vault on the desktop, that vault also fails to unlock. Is there any way to purge a Cryptomator appimage and all its data?

15:35:06.625 [main] INFO  org.cryptomator.launcher.Cryptomator - Starting Cryptomator 1.4.6 on Linux 4.15.0-46-generic (amd64)
15:35:06.792 [main] INFO  o.c.launcher.IpcProtocolImpl - Received launch args: 
15:35:06.798 [main] DEBUG org.cryptomator.logging.DebugMode - Debug mode enabled
15:35:07.052 [JavaFX Application Thread] INFO  org.cryptomator.launcher.Cryptomator - JavaFX application started.
15:35:07.078 [JavaFX Application Thread] DEBUG org.cryptomator.ui.l10n.Localization - Loaded localization default file: /localization/en.txt
15:35:07.079 [JavaFX Application Thread] DEBUG org.cryptomator.ui.l10n.Localization - Detected language "en" and region "US"
15:35:07.082 [JavaFX Application Thread] TRACE org.cryptomator.ui.l10n.Localization - Attempting to load localization from: /localization/en_US.txt
15:35:07.083 [JavaFX Application Thread] TRACE org.cryptomator.ui.l10n.Localization - Attempting to load localization from: /localization/en.txt
15:35:07.327 [JavaFX Application Thread] INFO  o.c.ui.controllers.MainController - Unable to setPreferencesHandler, probably not supported on this OS.
15:35:08.598 [JavaFX Application Thread] INFO  o.c.ui.controllers.WelcomeController - Current version: 1.4.6, lastest version: 1.4.6
15:35:12.204 [Background Thread 2] DEBUG o.cryptomator.cryptofs.ReadonlyFlag - Vault opened for read and write.
15:35:12.696 [Background Thread 2] DEBUG org.cryptomator.ui.model.FuseVolume - Successfully created mount point: /home/..../.local/share/Cryptomator/mnt/83RkI0v4RDBT_1
15:35:12.983 [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.FuseVolume.mount(FuseVolume.java:106)
	at org.cryptomator.ui.model.FuseVolume.mount(FuseVolume.java:57)
	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.concurrent.Task$TaskCallable.call(Task.java:1425)
	at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
	at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
	at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
	at java.base/java.lang.Thread.run(Thread.java:834)
Caused by: org.cryptomator.frontend.fuse.mount.CommandFailedException: ru.serce.jnrfuse.FuseException: Unable to mount FS
	at org.cryptomator.frontend.fuse.mount.AbstractMount.mount(AbstractMount.java:25)
	at org.cryptomator.frontend.fuse.mount.LinuxMounter.mount(LinuxMounter.java:20)
	at org.cryptomator.ui.model.FuseVolume.mount(FuseVolume.java:104)
	... 12 common frames omitted
Caused by: ru.serce.jnrfuse.FuseException: Unable to mount FS
	at ru.serce.jnrfuse.AbstractFuseFS.mount(AbstractFuseFS.java:281)
	at org.cryptomator.frontend.fuse.mount.AbstractMount.mount(AbstractMount.java:23)
	... 14 common frames omitted
Caused by: ru.serce.jnrfuse.FuseException: Unable to mount FS, return code = 1
	at ru.serce.jnrfuse.AbstractFuseFS.mount(AbstractFuseFS.java:277)
	... 15 common frames omitted
15:35:15.035 [JavaFX Application Thread] INFO  org.cryptomator.launcher.Cryptomator - JavaFX application stopped.
15:35:15.037 [main] INFO  org.cryptomator.launcher.Cryptomator - Shutting down...
15:35:15.051 [Thread-8] WARN  o.c.frontend.fuse.ReadOnlyAdapter - File system adapter already marked as unmounted. This could indicate an error.
15:35:15.055 [Thread-0] DEBUG o.c.launcher.CleanShutdownPerformer - Running graceful shutdown tasks...
15:35:15.059 [Thread-0] INFO  o.c.launcher.CleanShutdownPerformer - Goodbye.

#7

I solved the problem by deleting log, settings and mount folder with locations found in the changelog. After restarting Cryptomator I can open the existing vault as normal.