OSX Cryptomator fuse only allows three mountpoints

This seems to be similar to the one previously reported on github #674. I inadvertently commented on that closed item.

From the UI perspective, the fourth mount/vault unlocking completes without error, but the folder reveal shows the empty mountpoint directory. I’ve tried this with a user specified mountpoint as well as one selected by cryptomator. This happens if the volumes are both local disk or a cloud drive.

When looking at the system with df and mount, I don’t see an entry for the 4th volume. However, when I lock one of the first three vaults, the fourth one will mount, and will show up on df/mount. If I quit cryptomator, the 4th will show mounted from df, but will have null stats and be an empty directory. Trying to access it will yield an “Device not configured”. If I mount the 4th volume via DAV, it works ok concurrently. (Did not require restart).

Logs did not yield a stack trace.

OSX Mojave 10.14.1 and High Sierra 10.13.6 both seem to have this issue.
Fuse 3.8.2
Cryptomator 1.4.0

Any help appreciated. Thanks!

Hi. Can you please update fuse to the latest version? I remember an issue with fuse but it should be fixed with the nio adapter that is provided since Cryptomator 1.4.0. maybe the fuse update was not installed in your system.

Ah, sorry, wrong post for my answer but nevertheless maybe helpful so I leave it here.

This is a known bug, see issue #647 on our bugtracker.

To fix it we need to wait on a third party library, but as soon as on their side it is done, we integrate asap.

Just for the records:
With Cryptomator 1.5.0 beta and Dokany 1.3.1 this issue is also reproduce-able.
Means it does not affect only Mac and Fuse.
OS: Windows 10
I waited and after three minutes i canceled the process of unlocking the 4. vault. Cryptomator does not finish any other operation after that. You’ll have to kill the cryptomator process
Logfile:

08:59:11.622 [main] INFO  org.cryptomator.launcher.Cryptomator - Starting Cryptomator 1.5.0-beta1 on Windows 10 10.0 (amd64)
08:59:11.622 [main] DEBUG org.cryptomator.logging.DebugMode - Debug mode enabled
08:59:11.622 [main] DEBUG org.cryptomator.launcher.IpcFactory - [Client] Failed to connect.
08:59:11.747 [main] DEBUG org.cryptomator.launcher.IpcFactory - [Server] Wrote IPC port 49704 to C:\Users\USERx\AppData\Roaming\Cryptomator\ipcPort.bin
08:59:11.747 [main] DEBUG o.c.launcher.IpcProtocolImpl - Received launch args: 
08:59:11.747 [main] DEBUG org.cryptomator.launcher.Cryptomator - Did not find running application instance. Launching GUI...
08:59:11.950 [main] DEBUG o.c.ui.traymenu.TrayIconController - initialized tray icon
08:59:11.965 [Background Thread 1] DEBUG o.c.ui.launcher.FxApplicationStarter - Starting JavaFX runtime...
08:59:11.965 [Background Thread 3] DEBUG o.c.ui.launcher.FxApplicationStarter - Starting JavaFX runtime...
08:59:12.228 [JavaFX Application Thread] INFO  o.c.ui.launcher.FxApplicationStarter - JavaFX Runtime started.
08:59:12.235 [JavaFX Application Thread] TRACE o.cryptomator.ui.fxapp.FxApplication - FxApplication.start()
08:59:12.613 [JavaFX Application Thread] DEBUG org.cryptomator.ui.common.FontLoader - Loaded family: Font Awesome 5 Pro Solid
08:59:12.756 [JavaFX Application Thread] DEBUG o.c.u.m.MainWindowController - init MainWindowController
08:59:13.081 [JavaFX Application Thread] DEBUG o.cryptomator.ui.fxapp.FxApplication - Showing MainWindow
08:59:17.327 [JavaFX Application Thread] INFO  org.cryptomator.jni.FunctionsLoader - loaded WinFunctions.dll
08:59:17.354 [JavaFX Application Thread] DEBUG o.c.k.WindowsProtectedKeychainAccess - Attempting to load keychain from C:\Users\USERx\AppData\Roaming\Cryptomator\keychain.json
08:59:17.419 [JavaFX Application Thread] DEBUG o.cryptomator.ui.fxapp.FxApplication - Showing UnlockWindow for MH
08:59:17.761 [JavaFX Application Thread] DEBUG o.cryptomator.ui.fxapp.UpdateChecker - Checking for updates...
08:59:18.025 [JavaFX Application Thread] INFO  o.cryptomator.ui.fxapp.UpdateChecker - Current version: 1.5.0-beta1, lastest version: 1.4.15
08:59:18.578 [JavaFX Application Thread] TRACE o.c.ui.unlock.UnlockController - UnlockController.unlock()
08:59:18.578 [JavaFX Application Thread] DEBUG o.c.common.vaults.VaultStats - stop recording stats
08:59:18.581 [JavaFX Application Thread] DEBUG o.c.ui.traymenu.TrayMenuController - sudden termination disabled
08:59:18.615 [Background Thread 1] DEBUG o.cryptomator.cryptofs.ReadonlyFlag - Vault opened for read and write.
08:59:19.041 [Background Thread 1] INFO  com.dokany.java.DokanyDriver - Dokany version: 130
08:59:19.041 [Background Thread 1] INFO  com.dokany.java.DokanyDriver - Dokany driver version: 400
08:59:19.041 [Background Thread 1] DEBUG o.c.frontend.dokany.MountFactory - Mounting on Z:\: ...
08:59:19.107 [Background Thread 4] TRACE o.c.frontend.dokany.ReadWriteAdapter - mounted() is called.
08:59:22.045 [Background Thread 1] TRACE o.cryptomator.frontend.dokany.Mount - Mounting still in progress.
08:59:22.045 [Background Thread 1] DEBUG o.c.frontend.dokany.MountFactory - Mounted directory at Z:\ successfully.
08:59:22.052 [JavaFX Application Thread] DEBUG o.c.common.vaults.VaultStats - start recording stats
08:59:22.054 [JavaFX Application Thread] INFO  o.c.ui.unlock.UnlockController - Unlock of 'VAULT-1' succeeded.
08:59:23.651 [JavaFX Application Thread] TRACE o.c.u.unlock.UnlockSuccessController - UnlockSuccessController.close()
08:59:25.199 [JavaFX Application Thread] DEBUG o.c.k.WindowsProtectedKeychainAccess - Attempting to load keychain from C:\Users\USERx\AppData\Roaming\Cryptomator\keychain.json
08:59:25.213 [JavaFX Application Thread] DEBUG o.cryptomator.ui.fxapp.FxApplication - Showing UnlockWindow for WOW
08:59:26.082 [JavaFX Application Thread] TRACE o.c.ui.unlock.UnlockController - UnlockController.unlock()
08:59:26.083 [JavaFX Application Thread] DEBUG o.c.common.vaults.VaultStats - stop recording stats
08:59:26.085 [Background Thread 1] DEBUG o.cryptomator.cryptofs.ReadonlyFlag - Vault opened for read and write.
08:59:26.226 [Thread-9] TRACE o.c.frontend.dokany.ReadWriteAdapter - zwCreateFile() is called for / with the following parameters:
	CreateDisposition -- OPEN_EXISTING
	createOptions -- EnumIntegerSet(elements=[FILE_DIRECTORY_FILE, FILE_SYNCHRONOUS_IO_NONALERT])
	accessMasks -- EnumIntegerSet(elements=[SYNCHRONIZE])
	fileAccessMasks -- EnumIntegerSet(elements=[])
	fileAttributes -- EnumIntegerSet(elements=[]).
08:59:26.239 [Thread-9] TRACE o.c.frontend.dokany.ReadWriteAdapter - Try to open / as Directory.
08:59:26.245 [Thread-9] TRACE o.c.frontend.dokany.ReadWriteAdapter - (1) / opened successful with handle 1.
08:59:26.249 [Thread-10] TRACE o.c.frontend.dokany.ReadWriteAdapter - (1) getFileInformation() is called for /.
08:59:26.250 [Thread-10] TRACE o.c.frontend.dokany.ReadWriteAdapter - (1) Filesize of / is 0.
08:59:26.259 [Thread-10] TRACE o.c.frontend.dokany.ReadWriteAdapter - (1) File Information successful read from /.
08:59:26.261 [Thread-11] TRACE o.c.frontend.dokany.ReadWriteAdapter - (1) getFileInformation() is called for /.
08:59:26.262 [Thread-11] TRACE o.c.frontend.dokany.ReadWriteAdapter - (1) Filesize of / is 0.
08:59:26.264 [Thread-11] TRACE o.c.frontend.dokany.ReadWriteAdapter - (1) File Information successful read from /.
08:59:26.266 [Thread-13] TRACE o.c.frontend.dokany.ReadWriteAdapter - (1) cleanup() is called for /.
08:59:26.266 [Thread-14] TRACE o.c.frontend.dokany.ReadWriteAdapter - (1) closeFile() is called for /.
08:59:26.320 [Background Thread 1] INFO  com.dokany.java.DokanyDriver - Dokany version: 130
08:59:26.320 [Background Thread 1] INFO  com.dokany.java.DokanyDriver - Dokany driver version: 400
08:59:26.320 [Background Thread 1] DEBUG o.c.frontend.dokany.MountFactory - Mounting on Y:\: ...
08:59:26.337 [Background Thread 3] TRACE o.c.frontend.dokany.ReadWriteAdapter - mounted() is called.
08:59:29.321 [Background Thread 1] TRACE o.cryptomator.frontend.dokany.Mount - Mounting still in progress.
08:59:29.321 [Background Thread 1] DEBUG o.c.frontend.dokany.MountFactory - Mounted directory at Y:\ successfully.
08:59:29.329 [JavaFX Application Thread] DEBUG o.c.common.vaults.VaultStats - start recording stats
08:59:29.331 [JavaFX Application Thread] INFO  o.c.ui.unlock.UnlockController - Unlock of 'VAULT-2' succeeded.
08:59:31.116 [JavaFX Application Thread] TRACE o.c.u.unlock.UnlockSuccessController - UnlockSuccessController.close()
08:59:32.996 [JavaFX Application Thread] DEBUG o.c.k.WindowsProtectedKeychainAccess - Attempting to load keychain from C:\Users\USERx\AppData\Roaming\Cryptomator\keychain.json
08:59:33.012 [JavaFX Application Thread] DEBUG o.cryptomator.ui.fxapp.FxApplication - Showing UnlockWindow for DOC
08:59:37.138 [JavaFX Application Thread] TRACE o.c.ui.unlock.UnlockController - UnlockController.unlock()
08:59:37.138 [JavaFX Application Thread] DEBUG o.c.common.vaults.VaultStats - stop recording stats
08:59:37.140 [Background Thread 1] DEBUG o.cryptomator.cryptofs.ReadonlyFlag - Vault opened for read and write.
08:59:37.345 [Background Thread 1] INFO  com.dokany.java.DokanyDriver - Dokany version: 130
08:59:37.345 [Background Thread 1] INFO  com.dokany.java.DokanyDriver - Dokany driver version: 400
08:59:37.345 [Background Thread 1] DEBUG o.c.frontend.dokany.MountFactory - Mounting on H:\: ...
08:59:40.347 [Background Thread 1] TRACE o.cryptomator.frontend.dokany.Mount - Mounting still in progress.
08:59:45.348 [Background Thread 1] WARN  o.c.frontend.dokany.MountFactory - Mounting timed out.
08:59:45.362 [JavaFX Application Thread] DEBUG o.c.common.vaults.VaultStats - start recording stats
08:59:45.363 [JavaFX Application Thread] INFO  o.c.ui.unlock.UnlockController - Unlock of 'VAULT-3' succeeded.
08:59:45.391 [Background Thread 1] TRACE o.c.frontend.dokany.ReadWriteAdapter - mounted() is called.
08:59:47.059 [JavaFX Application Thread] TRACE o.c.u.unlock.UnlockSuccessController - UnlockSuccessController.close()
08:59:49.292 [JavaFX Application Thread] DEBUG o.c.k.WindowsProtectedKeychainAccess - Attempting to load keychain from C:\Users\USERx\AppData\Roaming\Cryptomator\keychain.json
08:59:49.306 [JavaFX Application Thread] DEBUG o.cryptomator.ui.fxapp.FxApplication - Showing UnlockWindow for BILDER
08:59:50.805 [JavaFX Application Thread] TRACE o.c.ui.unlock.UnlockController - UnlockController.unlock()
08:59:50.805 [JavaFX Application Thread] DEBUG o.c.common.vaults.VaultStats - stop recording stats
09:02:56.165 [JavaFX Application Thread] DEBUG o.c.ui.unlock.UnlockController - Unlock canceled by user.