Saving, Copying does not work with Ubuntu 18.04

os:linux

#1

I recently switched to Ubuntu 18.04 and the Cryptomator desktop app doesn’t seem to work properly.

It is possible to unlock the vault and access the data. But saving a file after changing it or copying a new file in the vault, does not work.

Do you know of this problem already? Is it somehow possible to log what is going on to give you more details?

Thanks!


#2

There are two choices here:

  1. Use the AppImage 1.4.0 Beta 1 from here which uses FUSE (use at your own risk):

https://github.com/cryptomator/cryptomator/releases

  1. Install version 1.3.2 from the 16.04 deb and manually mount the vault using DAVFS. To do this, open the vault as normal, then create a directory (for example, mine is /home/$USER/Cryptomator) and mount it with the following command:

sudo mount -t davfs -o gid=<INSERT USER ID HERE>,uid=<INSERT USER ID HERE> http://localhost:<INSERT PORT HERE>/<INSERT PREFIX HERE>/<INSERT VAULT NAME HERE>/ /home/$USER/Cryptomator

So for example, mine looks like this:

sudo mount -t davfs -o gid=chris,uid=chris http://localhost:42427/alPso2vyRLJy/Documents/ /home/chris/Cryptomator

You don’t have to specify a Username or Password when it asks.

Then open and modify files from the /home/$USER/Cryptomator folder (or whatever mount point you choose).

When you are done with the vault, first pass this command:

sudo umount /home/$USER/Cryptomator

Then there is a bug in 18.04 which means you have to first eject the vault in your file manager (PCManFM here) before locking the vault in Cryptomator.

I’ve been using the second method in Xubuntu 18.04 since it was released and it seems to be OK.


#3

Thank you very much!


#4

THe AppImage seemed to work. But now this problem comes up. Do you have any idea?

10:38:06.021 [main] INFO  org.cryptomator.launcher.Cryptomator - Starting Cryptomator 1.4.0-beta1 on Linux 4.15.0-23-generic (amd64)
10:38:06.537 [main] INFO  o.c.launcher.FileOpenRequestHandler - Unable to setOpenFileHandler, probably not supported on this OS.
10:38:07.084 [JavaFX Application Thread] INFO  o.c.launcher.MainApplication - JavaFX application started.
10:38:07.200 [JavaFX Application Thread] INFO  o.c.common.settings.SettingsProvider - Settings loaded from /home/christian/.Cryptomator/settings.json
10:38:07.201 [JavaFX Application Thread] DEBUG org.cryptomator.logging.DebugMode - Debug mode initialized
10:38:07.207 [JavaFX Application Thread] DEBUG org.cryptomator.ui.l10n.Localization - Loaded localization default file: /localization/en.txt
10:38:07.207 [JavaFX Application Thread] DEBUG org.cryptomator.ui.l10n.Localization - Detected language "en" and region "US"
10:38:07.215 [JavaFX Application Thread] TRACE org.cryptomator.ui.l10n.Localization - Attempting to load localization from: /localization/en_US.txt
10:38:07.216 [JavaFX Application Thread] TRACE org.cryptomator.ui.l10n.Localization - Attempting to load localization from: /localization/en.txt
10:38:07.380 [JavaFX Application Thread] WARN  o.c.k.WindowsProtectedKeychainAccess - Windows DataProtection module loaded, but no cryptomator.keychainPath property found.
10:38:07.482 [JavaFX Application Thread] INFO  o.c.ui.controllers.MainController - Unable to setPreferencesHandler, probably not supported on this OS.
10:38:08.899 [JavaFX Application Thread] ERROR o.c.ui.util.AsyncTaskService - Uncaught exception
java.io.IOException: Engine closed
	at jdk.incubator.httpclient/jdk.incubator.http.AsyncSSLDelegate.unwrapBuffer(Unknown Source)
	at jdk.incubator.httpclient/jdk.incubator.http.AsyncSSLDelegate.handshakeReceiveAndUnWrap(Unknown Source)
	at jdk.incubator.httpclient/jdk.incubator.http.AsyncSSLDelegate.doHandshakeImpl(Unknown Source)
	at jdk.incubator.httpclient/jdk.incubator.http.AsyncSSLDelegate.doHandshakeNow(Unknown Source)
	at jdk.incubator.httpclient/jdk.incubator.http.AsyncSSLDelegate.connect(Unknown Source)
	at jdk.incubator.httpclient/jdk.incubator.http.AsyncSSLConnection.connect(Unknown Source)
	at jdk.incubator.httpclient/jdk.incubator.http.Http2Connection.<init>(Unknown Source)
	at jdk.incubator.httpclient/jdk.incubator.http.Http2ClientImpl.getConnectionFor(Unknown Source)
	at jdk.incubator.httpclient/jdk.incubator.http.ExchangeImpl.get(Unknown Source)
	at jdk.incubator.httpclient/jdk.incubator.http.Exchange.establishExchange(Unknown Source)
	at jdk.incubator.httpclient/jdk.incubator.http.Exchange.responseImpl0(Unknown Source)
	at jdk.incubator.httpclient/jdk.incubator.http.Exchange.responseImpl(Unknown Source)
	at jdk.incubator.httpclient/jdk.incubator.http.Exchange.response(Unknown Source)
	at jdk.incubator.httpclient/jdk.incubator.http.MultiExchange.response(Unknown Source)
	at jdk.incubator.httpclient/jdk.incubator.http.HttpClientImpl.send(Unknown Source)
	at org.cryptomator.ui.controllers.WelcomeController.lambda$checkForUpdates$0(WelcomeController.java:119)
	at org.cryptomator.ui.util.AsyncTaskService.lambda$asyncTaskOf$0(AsyncTaskService.java:43)
	at org.cryptomator.ui.util.AsyncTaskService$AsyncTaskImpl.lambda$run$6(AsyncTaskService.java:106)
	at org.cryptomator.ui.util.AsyncTaskService.logExceptions(AsyncTaskService.java:135)
	at org.cryptomator.ui.util.AsyncTaskService.access$100(AsyncTaskService.java:24)
	at org.cryptomator.ui.util.AsyncTaskService$AsyncTaskImpl.lambda$run$7(AsyncTaskService.java:104)
	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)
10:38:49.639 [JavaFX Application Thread] WARN  o.c.k.WindowsProtectedKeychainAccess - Windows DataProtection module loaded, but no cryptomator.keychainPath property found.
10:39:01.929 [JavaFX Application Thread] ERROR o.c.ui.controllers.UnlockController - Unlock failed for technical reasons.
java.nio.file.DirectoryNotEmptyException: Mount point is not empty.
	at org.cryptomator.ui.model.FuseVolume.createDirIfNotExist(FuseVolume.java:74)
	at org.cryptomator.ui.model.FuseVolume.prepare(FuseVolume.java:65)
	at org.cryptomator.ui.model.Vault.unlock(Vault.java:103)
	at org.cryptomator.ui.controllers.UnlockController.lambda$didClickUnlockButton$0(UnlockController.java:434)
	at org.cryptomator.ui.util.AsyncTaskService.lambda$asyncTaskOf$0(AsyncTaskService.java:43)
	at org.cryptomator.ui.util.AsyncTaskService$AsyncTaskImpl.lambda$run$6(AsyncTaskService.java:106)
	at org.cryptomator.ui.util.AsyncTaskService.logExceptions(AsyncTaskService.java:135)
	at org.cryptomator.ui.util.AsyncTaskService.access$100(AsyncTaskService.java:24)
	at org.cryptomator.ui.util.AsyncTaskService$AsyncTaskImpl.lambda$run$7(AsyncTaskService.java:104)
	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)