java.io.IOException: Error during file system creation

With latest version (1.5.6).

Completely stuck with this issue.

Version used: latest version (1.5.6).
Steps to reproduce:
-Login to pCloud (as usual).
-P drive was created/mapped in Windows 10 Home (latest version 2004)
-Back to Cryptomator and enter password.

See these errors after CORRECT password was entered.

image.png

java.io.IOException: Error during file system creation.
at org.cryptomator.cryptofs.CryptoFileSystems.create(CryptoFileSystems.java:53)
at org.cryptomator.cryptofs.CryptoFileSystemProvider.newFileSystem(CryptoFileSystemProvider.java:301)
at org.cryptomator.cryptofs.CryptoFileSystemProvider.newFileSystem(CryptoFileSystemProvider.java:93)
at java.base/java.nio.file.FileSystems.newFileSystem(Unknown Source)
at java.base/java.nio.file.FileSystems.newFileSystem(Unknown Source)
at org.cryptomator.cryptofs.CryptoFileSystemProvider.newFileSystem(CryptoFileSystemProvider.java:134)
at org.cryptomator.common.vaults.Vault.unlockCryptoFileSystem(Vault.java:120)
at org.cryptomator.common.vaults.Vault.lambda$getCryptoFileSystem$0(Vault.java:98)
at org.cryptomator.common.LazyInitializer.lambda$invokeFactoryIfNull$1(LazyInitializer.java:62)
at java.base/java.util.concurrent.atomic.AtomicReference.updateAndGet(Unknown Source)
at org.cryptomator.common.LazyInitializer.initializeLazily(LazyInitializer.java:49)
at org.cryptomator.common.vaults.Vault.getCryptoFileSystem(Vault.java:98)
at org.cryptomator.common.vaults.Vault.unlock(Vault.java:127)
at org.cryptomator.ui.unlock.UnlockWorkflow.attemptUnlock(UnlockWorkflow.java:103)
at org.cryptomator.ui.unlock.UnlockWorkflow.call(UnlockWorkflow.java:80)
at org.cryptomator.ui.unlock.UnlockWorkflow.call(UnlockWorkflow.java:43)
at javafx.concurrent.Task$TaskCallable.call(Task.java:1425)
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.io.UncheckedIOException: java.nio.file.FileSystemException: P:\masterkey.cryptomator.966227ED.bkup: The request could not be performed because of an I/O device error
at org.cryptomator.cryptofs.CryptoFileSystemModule.provideCryptor(CryptoFileSystemModule.java:47)
at org.cryptomator.cryptofs.CryptoFileSystemModule_ProvideCryptorFactory.provideCryptor(CryptoFileSystemModule_ProvideCryptorFactory.java:56)
at org.cryptomator.cryptofs.CryptoFileSystemModule_ProvideCryptorFactory.get(CryptoFileSystemModule_ProvideCryptorFactory.java:43)
at org.cryptomator.cryptofs.CryptoFileSystemModule_ProvideCryptorFactory.get(CryptoFileSystemModule_ProvideCryptorFactory.java:11)
at dagger.internal.DoubleCheck.get(DoubleCheck.java:47)
at org.cryptomator.cryptofs.CryptoFileSystemImpl_Factory.get(CryptoFileSystemImpl_Factory.java:110)
at org.cryptomator.cryptofs.CryptoFileSystemImpl_Factory.get(CryptoFileSystemImpl_Factory.java:16)
at dagger.internal.DoubleCheck.get(DoubleCheck.java:47)
at org.cryptomator.cryptofs.DaggerCryptoFileSystemProviderComponent$CryptoFileSystemComponentImpl.cryptoFileSystem(DaggerCryptoFileSystemProviderComponent.java:329)
at org.cryptomator.cryptofs.CryptoFileSystems.lambda$create$0(CryptoFileSystems.java:47)
at java.base/java.util.concurrent.ConcurrentHashMap.compute(Unknown Source)
at org.cryptomator.cryptofs.CryptoFileSystems.create(CryptoFileSystems.java:40)
... 22 more
Caused by: java.nio.file.FileSystemException: P:\masterkey.cryptomator.966227ED.bkup: The request could not be performed because of an I/O device error
at java.base/sun.nio.fs.WindowsException.translateToIOException(Unknown Source)
at java.base/sun.nio.fs.WindowsException.rethrowAsIOException(Unknown Source)
at java.base/sun.nio.fs.WindowsException.rethrowAsIOException(Unknown Source)
at java.base/sun.nio.fs.WindowsFileSystemProvider.newByteChannel(Unknown Source)
at java.base/java.nio.file.Files.newByteChannel(Unknown Source)
at java.base/java.nio.file.Files.newByteChannel(Unknown Source)
at org.cryptomator.cryptofs.common.MasterkeyBackupHelper.backupMasterKey(MasterkeyBackupHelper.java:58)
at org.cryptomator.cryptofs.CryptoFileSystemModule.provideCryptor(CryptoFileSystemModule.java:43)
... 33 more

Welcome to the Cryptomator Community :slight_smile:

I assume p Drive is the virtual volume provided by pCloud, from where you can access your cloud data.
Did it worked before? And if yes, in what version and is it still working?

The error is is thrown during the backup strategy of Cryptomator: Every time you unlock your vault, a backup of the masterkey file is written. And in your case this write operation fails due to an IO device error. (i.e. of the pDrive device)

Third party applications giving access to your cloud data was always a source of problems. If it is feasible, I suggest to use a “normal” sync client where your data is downloaded to your computer and just watched by a sync client.