Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"Content Unavailable" error after unlocking a vault hosted in iCloud Drive that was created on MacOS #316

Closed
2 tasks done
theCyberTech opened this issue Apr 29, 2023 · 12 comments
Labels
storage:icloud-drive type:bug Something isn't working
Milestone

Comments

@theCyberTech
Copy link

Please agree to the following

Summary

I have a vault that was created on MacOS, this vault is created in iCloud Drive. I can see the vault when using Cryptomator on IOS but when I unlock the vault it returns an error message "Content UnavailableThe folder contents could not be displayed because of an unknown error"

System Setup

  • iOS: 16.5
  • MacOS: Ventura 13.2.1
  • Cryptomator MacOS: 1.8.0 (dmg-4440)
  • Cryptomator IOS: 2.4.9 (1094) - Trial

Cloud Type

iCloud Drive

Steps to Reproduce

  1. Create a new vault with Cryptomator on MacOS using default iCloud location with a password and recovery key
  2. Copy a single test file to the new vault
  3. Open up Cryptomator on IOS and select "Open Existing Vault"
  4. Select iCloud Drive
  5. Select the vault created in step 1 under the iCloud Drive location
  6. Enter the password to unlock the vault
  7. Error returns

Expected Behavior

After creating a new vault on MacOS we should be able to successfully unlock the vault on another device being being able to view all the files located in the vault.

Actual Behavior

Vault unlocks successfully but content of vault cannot be displayed

Reproducibility

Always

Relevant Log Output

2023/04/28 16:01:44:114  enumerateItems getAdapter failed with: defaultLock for identifier: NSFileProviderItemIdentifier(_rawValue: NSFileProviderRootContainerItemIdentifier)
2023/04/28 16:01:55:542  enumerateItems failed with: Error Domain=NSCocoaErrorDomain Code=256 "The file “ADCD322HKXOKW7KJ5GDZGMILLRJUAN” couldn’t be opened." UserInfo={NSURL=file:///var/mobile/Library/Mobile%20Documents/iCloud~com~setolabs~Cryptomator/Documents/Tech/d/AX/ADCD322HKXOKW7KJ5GDZGMILLRJUAN, NSFilePath=/var/mobile/Library/Mobile Documents/iCloud~com~setolabs~Cryptomator/Documents/Tech/d/AX/ADCD322HKXOKW7KJ5GDZGMILLRJUAN, NSUnderlyingError=0x103d079a0 {Error Domain=NSPOSIXErrorDomain Code=11 "Resource deadlock avoided"}} for identifier: NSFileProviderItemIdentifier(_rawValue: NSFileProviderRootContainerItemIdentifier)
2023/04/28 16:01:57:053  enumerateItems failed with: Error Domain=NSCocoaErrorDomain Code=256 "The file “ADCD322HKXOKW7KJ5GDZGMILLRJUAN” couldn’t be opened." UserInfo={NSURL=file:///var/mobile/Library/Mobile%20Documents/iCloud~com~setolabs~Cryptomator/Documents/Tech/d/AX/ADCD322HKXOKW7KJ5GDZGMILLRJUAN, NSFilePath=/var/mobile/Library/Mobile Documents/iCloud~com~setolabs~Cryptomator/Documents/Tech/d/AX/ADCD322HKXOKW7KJ5GDZGMILLRJUAN, NSUnderlyingError=0x103c0b0b0 {Error Domain=NSPOSIXErrorDomain Code=11 "Resource deadlock avoided"}} for identifier: NSFileProviderItemIdentifier(_rawValue: NSFileProviderRootContainerItemIdentifier)
2023/04/28 16:01:57:981  enumerateItems failed with: Error Domain=NSCocoaErrorDomain Code=256 "The file “ADCD322HKXOKW7KJ5GDZGMILLRJUAN” couldn’t be opened." UserInfo={NSURL=file:///var/mobile/Library/Mobile%20Documents/iCloud~com~setolabs~Cryptomator/Documents/Tech/d/AX/ADCD322HKXOKW7KJ5GDZGMILLRJUAN, NSFilePath=/var/mobile/Library/Mobile Documents/iCloud~com~setolabs~Cryptomator/Documents/Tech/d/AX/ADCD322HKXOKW7KJ5GDZGMILLRJUAN, NSUnderlyingError=0x103d160e0 {Error Domain=NSPOSIXErrorDomain Code=11 "Resource deadlock avoided"}} for identifier: NSFileProviderItemIdentifier(_rawValue: NSFileProviderRootContainerItemIdentifier)
2023/04/28 16:06:50:144  enumerateItems getAdapter failed with: defaultLock for identifier: NSFileProviderItemIdentifier(_rawValue: NSFileProviderRootContainerItemIdentifier)
2023/04/28 16:06:59:631  enumerateItems getAdapter failed with: defaultLock for identifier: NSFileProviderItemIdentifier(_rawValue: NSFileProviderRootContainerItemIdentifier)
2023/04/28 16:07:03:765  enumerateItems getAdapter failed with: defaultLock for identifier: NSFileProviderItemIdentifier(_rawValue: NSFileProviderRootContainerItemIdentifier)
2023/04/28 16:07:16:007  enumerateItems getAdapter failed with: defaultLock for identifier: NSFileProviderItemIdentifier(_rawValue: NSFileProviderRootContainerItemIdentifier)
2023/04/28 16:07:23:923  enumerateItems failed with: Error Domain=NSCocoaErrorDomain Code=256 "The file “ADCD322HKXOKW7KJ5GDZGMILLRJUAN” couldn’t be opened." UserInfo={NSURL=file:///var/mobile/Library/Mobile%20Documents/iCloud~com~setolabs~Cryptomator/Documents/Tech/d/AX/ADCD322HKXOKW7KJ5GDZGMILLRJUAN, NSFilePath=/var/mobile/Library/Mobile Documents/iCloud~com~setolabs~Cryptomator/Documents/Tech/d/AX/ADCD322HKXOKW7KJ5GDZGMILLRJUAN, NSUnderlyingError=0x103d16090 {Error Domain=NSPOSIXErrorDomain Code=11 "Resource deadlock avoided"}} for identifier: NSFileProviderItemIdentifier(_rawValue: NSFileProviderRootContainerItemIdentifier)
2023/04/28 16:07:25:540  enumerateItems failed with: Error Domain=NSCocoaErrorDomain Code=256 "The file “ADCD322HKXOKW7KJ5GDZGMILLRJUAN” couldn’t be opened." UserInfo={NSURL=file:///var/mobile/Library/Mobile%20Documents/iCloud~com~setolabs~Cryptomator/Documents/Tech/d/AX/ADCD322HKXOKW7KJ5GDZGMILLRJUAN, NSFilePath=/var/mobile/Library/Mobile Documents/iCloud~com~setolabs~Cryptomator/Documents/Tech/d/AX/ADCD322HKXOKW7KJ5GDZGMILLRJUAN, NSUnderlyingError=0x103c12ca0 {Error Domain=NSPOSIXErrorDomain Code=11 "Resource deadlock avoided"}} for identifier: NSFileProviderItemIdentifier(_rawValue: NSFileProviderRootContainerItemIdentifier)
2023/04/28 16:07:26:924  enumerateItems failed with: Error Domain=NSCocoaErrorDomain Code=256 "The file “ADCD322HKXOKW7KJ5GDZGMILLRJUAN” couldn’t be opened." UserInfo={NSURL=file:///var/mobile/Library/Mobile%20Documents/iCloud~com~setolabs~Cryptomator/Documents/Tech/d/AX/ADCD322HKXOKW7KJ5GDZGMILLRJUAN, NSFilePath=/var/mobile/Library/Mobile Documents/iCloud~com~setolabs~Cryptomator/Documents/Tech/d/AX/ADCD322HKXOKW7KJ5GDZGMILLRJUAN, NSUnderlyingError=0x103d0e510 {Error Domain=NSPOSIXErrorDomain Code=11 "Resource deadlock avoided"}} for identifier: NSFileProviderItemIdentifier(_rawValue: NSFileProviderRootContainerItemIdentifier)
2023/04/28 16:07:27:657  enumerateItems failed with: Error Domain=NSCocoaErrorDomain Code=256 "The file “ADCD322HKXOKW7KJ5GDZGMILLRJUAN” couldn’t be opened." UserInfo={NSURL=file:///var/mobile/Library/Mobile%20Documents/iCloud~com~setolabs~Cryptomator/Documents/Tech/d/AX/ADCD322HKXOKW7KJ5GDZGMILLRJUAN, NSFilePath=/var/mobile/Library/Mobile Documents/iCloud~com~setolabs~Cryptomator/Documents/Tech/d/AX/ADCD322HKXOKW7KJ5GDZGMILLRJUAN, NSUnderlyingError=0x103c13a80 {Error Domain=NSPOSIXErrorDomain Code=11 "Resource deadlock avoided"}} for identifier: NSFileProviderItemIdentifier(_rawValue: NSFileProviderRootContainerItemIdentifier)
2023/04/28 16:07:28:322  enumerateItems failed with: Error Domain=NSCocoaErrorDomain Code=256 "The file “ADCD322HKXOKW7KJ5GDZGMILLRJUAN” couldn’t be opened." UserInfo={NSURL=file:///var/mobile/Library/Mobile%20Documents/iCloud~com~setolabs~Cryptomator/Documents/Tech/d/AX/ADCD322HKXOKW7KJ5GDZGMILLRJUAN, NSFilePath=/var/mobile/Library/Mobile Documents/iCloud~com~setolabs~Cryptomator/Documents/Tech/d/AX/ADCD322HKXOKW7KJ5GDZGMILLRJUAN, NSUnderlyingError=0x103d0f610 {Error Domain=NSPOSIXErrorDomain Code=11 "Resource deadlock avoided"}} for identifier: NSFileProviderItemIdentifier(_rawValue: NSFileProviderRootContainerItemIdentifier)
2023/04/28 16:07:30:923  enumerateItems failed with: Error Domain=NSCocoaErrorDomain Code=256 "The file “ADCD322HKXOKW7KJ5GDZGMILLRJUAN” couldn’t be opened." UserInfo={NSURL=file:///var/mobile/Library/Mobile%20Documents/iCloud~com~setolabs~Cryptomator/Documents/Tech/d/AX/ADCD322HKXOKW7KJ5GDZGMILLRJUAN, NSFilePath=/var/mobile/Library/Mobile Documents/iCloud~com~setolabs~Cryptomator/Documents/Tech/d/AX/ADCD322HKXOKW7KJ5GDZGMILLRJUAN, NSUnderlyingError=0x103c14b00 {Error Domain=NSPOSIXErrorDomain Code=11 "Resource deadlock avoided"}} for identifier: NSFileProviderItemIdentifier(_rawValue: NSFileProviderRootContainerItemIdentifier)
2023/04/28 16:07:31:636  enumerateItems failed with: Error Domain=NSCocoaErrorDomain Code=256 "The file “ADCD322HKXOKW7KJ5GDZGMILLRJUAN” couldn’t be opened." UserInfo={NSURL=file:///var/mobile/Library/Mobile%20Documents/iCloud~com~setolabs~Cryptomator/Documents/Tech/d/AX/ADCD322HKXOKW7KJ5GDZGMILLRJUAN, NSFilePath=/var/mobile/Library/Mobile Documents/iCloud~com~setolabs~Cryptomator/Documents/Tech/d/AX/ADCD322HKXOKW7KJ5GDZGMILLRJUAN, NSUnderlyingError=0x1038282b0 {Error Domain=NSPOSIXErrorDomain Code=11 "Resource deadlock avoided"}} for identifier: NSFileProviderItemIdentifier(_rawValue: NSFileProviderRootContainerItemIdentifier)
2023/04/28 16:09:02:086  enumerateItems failed with: Error Domain=NSCocoaErrorDomain Code=256 "The file “ADCD322HKXOKW7KJ5GDZGMILLRJUAN” couldn’t be opened." UserInfo={NSURL=file:///var/mobile/Library/Mobile%20Documents/iCloud~com~setolabs~Cryptomator/Documents/Tech/d/AX/ADCD322HKXOKW7KJ5GDZGMILLRJUAN, NSFilePath=/var/mobile/Library/Mobile Documents/iCloud~com~setolabs~Cryptomator/Documents/Tech/d/AX/ADCD322HKXOKW7KJ5GDZGMILLRJUAN, NSUnderlyingError=0x10641f080 {Error Domain=NSPOSIXErrorDomain Code=11 "Resource deadlock avoided"}} for identifier: NSFileProviderItemIdentifier(_rawValue: NSFileProviderRootContainerItemIdentifier)
2023/04/28 16:09:02:089  enumerateItems failed with: Error Domain=NSCocoaErrorDomain Code=256 "The file “ADCD322HKXOKW7KJ5GDZGMILLRJUAN” couldn’t be opened." UserInfo={NSURL=file:///var/mobile/Library/Mobile%20Documents/iCloud~com~setolabs~Cryptomator/Documents/Tech/d/AX/ADCD322HKXOKW7KJ5GDZGMILLRJUAN, NSFilePath=/var/mobile/Library/Mobile Documents/iCloud~com~setolabs~Cryptomator/Documents/Tech/d/AX/ADCD322HKXOKW7KJ5GDZGMILLRJUAN, NSUnderlyingError=0x10652c280 {Error Domain=NSPOSIXErrorDomain Code=11 "Resource deadlock avoided"}} for identifier: NSFileProviderItemIdentifier(_rawValue: NSFileProviderRootContainerItemIdentifier)
2023/04/28 16:09:02:996  enumerateItems failed with: Error Domain=NSCocoaErrorDomain Code=256 "The file “ADCD322HKXOKW7KJ5GDZGMILLRJUAN” couldn’t be opened." UserInfo={NSURL=file:///var/mobile/Library/Mobile%20Documents/iCloud~com~setolabs~Cryptomator/Documents/Tech/d/AX/ADCD322HKXOKW7KJ5GDZGMILLRJUAN, NSFilePath=/var/mobile/Library/Mobile Documents/iCloud~com~setolabs~Cryptomator/Documents/Tech/d/AX/ADCD322HKXOKW7KJ5GDZGMILLRJUAN, NSUnderlyingError=0x105e2e380 {Error Domain=NSPOSIXErrorDomain Code=11 "Resource deadlock avoided"}} for identifier: NSFileProviderItemIdentifier(_rawValue: NSFileProviderRootContainerItemIdentifier)
2023/04/28 16:09:04:015  enumerateItems failed with: Error Domain=NSCocoaErrorDomain Code=256 "The file “ADCD322HKXOKW7KJ5GDZGMILLRJUAN” couldn’t be opened." UserInfo={NSURL=file:///var/mobile/Library/Mobile%20Documents/iCloud~com~setolabs~Cryptomator/Documents/Tech/d/AX/ADCD322HKXOKW7KJ5GDZGMILLRJUAN, NSFilePath=/var/mobile/Library/Mobile Documents/iCloud~com~setolabs~Cryptomator/Documents/Tech/d/AX/ADCD322HKXOKW7KJ5GDZGMILLRJUAN, NSUnderlyingError=0x105f19870 {Error Domain=NSPOSIXErrorDomain Code=11 "Resource deadlock avoided"}} for identifier: NSFileProviderItemIdentifier(_rawValue: NSFileProviderRootContainerItemIdentifier)
2023/04/28 16:09:05:285  enumerateItems failed with: Error Domain=NSCocoaErrorDomain Code=256 "The file “ADCD322HKXOKW7KJ5GDZGMILLRJUAN” couldn’t be opened." UserInfo={NSURL=file:///var/mobile/Library/Mobile%20Documents/iCloud~com~setolabs~Cryptomator/Documents/Tech/d/AX/ADCD322HKXOKW7KJ5GDZGMILLRJUAN, NSFilePath=/var/mobile/Library/Mobile Documents/iCloud~com~setolabs~Cryptomator/Documents/Tech/d/AX/ADCD322HKXOKW7KJ5GDZGMILLRJUAN, NSUnderlyingError=0x106312c10 {Error Domain=NSPOSIXErrorDomain Code=11 "Resource deadlock avoided"}} for identifier: NSFileProviderItemIdentifier(_rawValue: NSFileProviderRootContainerItemIdentifier)
2023/04/28 16:09:08:199  enumerateItems failed with: Error Domain=NSCocoaErrorDomain Code=256 "The file “ADCD322HKXOKW7KJ5GDZGMILLRJUAN” couldn’t be opened." UserInfo={NSURL=file:///var/mobile/Library/Mobile%20Documents/iCloud~com~setolabs~Cryptomator/Documents/Tech/d/AX/ADCD322HKXOKW7KJ5GDZGMILLRJUAN, NSFilePath=/var/mobile/Library/Mobile Documents/iCloud~com~setolabs~Cryptomator/Documents/Tech/d/AX/ADCD322HKXOKW7KJ5GDZGMILLRJUAN, NSUnderlyingError=0x10630f360 {Error Domain=NSPOSIXErrorDomain Code=11 "Resource deadlock avoided"}} for identifier: NSFileProviderItemIdentifier(_rawValue: NSFileProviderRootContainerItemIdentifier)
2023/04/28 16:17:34:348  domain changed from: Optional(nil) to: Optional(Optional(<NSFileProviderDomain: 0x106429240, T{2}h id=0{34}F vid=61706673-7575-6964-0040-766F6C756D01 (enabled,syncTrash)>))
2023/04/28 16:17:35:767  FPExt: persistentIdentifierForItem(at: file:///private/var/mobile/Containers/Shared/AppGroup/3D24CB55-13B4-4F44-8D3D-FE3453BFF681/File%20Provider%20Storage/040985AF-0B13-4635-9A24-6F23BDEF9BBF/) called
2023/04/28 16:17:35:767  FPExt: item(for: NSFileProviderItemIdentifier(_rawValue: NSFileProviderRootContainerItemIdentifier)) called
2023/04/28 16:17:35:771  FPExt: urlForItem(withPersistentIdentifier: NSFileProviderItemIdentifier(_rawValue: NSFileProviderRootContainerItemIdentifier)) called
2023/04/28 16:17:35:771  FPExt: item(for: NSFileProviderItemIdentifier(_rawValue: NSFileProviderRootContainerItemIdentifier)) called
2023/04/28 16:17:35:788  FPExt: persistentIdentifierForItem(at: file:///private/var/mobile/Containers/Shared/AppGroup/3D24CB55-13B4-4F44-8D3D-FE3453BFF681/File%20Provider%20Storage/040985AF-0B13-4635-9A24-6F23BDEF9BBF/) called
2023/04/28 16:17:35:788  FPExt: item(for: NSFileProviderItemIdentifier(_rawValue: NSFileProviderRootContainerItemIdentifier)) called
2023/04/28 16:17:35:792  FPExt: item(for: NSFileProviderItemIdentifier(_rawValue: NSFileProviderRootContainerItemIdentifier)) called
2023/04/28 16:17:35:799  FPExt: persistentIdentifierForItem(at: file:///private/var/mobile/Containers/Shared/AppGroup/3D24CB55-13B4-4F44-8D3D-FE3453BFF681/File%20Provider%20Storage/040985AF-0B13-4635-9A24-6F23BDEF9BBF/) called
2023/04/28 16:17:35:799  FPExt: item(for: NSFileProviderItemIdentifier(_rawValue: NSFileProviderRootContainerItemIdentifier)) called
2023/04/28 16:17:35:801  FPExt: urlForItem(withPersistentIdentifier: NSFileProviderItemIdentifier(_rawValue: NSFileProviderRootContainerItemIdentifier)) called
2023/04/28 16:17:35:801  FPExt: item(for: NSFileProviderItemIdentifier(_rawValue: NSFileProviderRootContainerItemIdentifier)) called
2023/04/28 16:17:35:919  FPExt: enumerator(for: NSFileProviderItemIdentifier(_rawValue: NSFileProviderRootContainerItemIdentifier)) called
2023/04/28 16:17:35:919  FPExt: item(for: NSFileProviderItemIdentifier(_rawValue: NSFileProviderRootContainerItemIdentifier)) called
2023/04/28 16:17:35:920  currentSyncAnchor for NSFileProviderRootContainerItemIdentifier called -> return: Optional(CryptomatorFileProvider.SyncAnchor(invalidated: true, date: 2023-04-28 16:09:06 +0000)) 
2023/04/28 16:17:35:920  enumerateItems called for identifier: NSFileProviderItemIdentifier(_rawValue: NSFileProviderRootContainerItemIdentifier) - initialPage true
2023/04/28 16:17:35:924  readLock /(0x0000000105f041c0) called
2023/04/28 16:17:35:924  readLock /(0x0000000105f041c0) done
2023/04/28 16:17:35:924  readLock /(0x0000000105e16ca0) called
2023/04/28 16:17:35:924  readLock /(0x0000000105e16ca0) done
2023/04/28 16:17:35:925  acquired lock for path: CloudPath(path: "/") - type: read
2023/04/28 16:17:35:926  LocalFileSystemProvider: fillCache(for: /d/AX/ADCD322HKXOKW7KJ5GDZGMILLRJUAN) called with startAccessingSecurityScopedResource: false
2023/04/28 16:17:35:929  LocalFileSystemProvider: fillCache(for: /d/AX/ADCD322HKXOKW7KJ5GDZGMILLRJUAN) failed readingIntent evaluation with error: Error Domain=NSCocoaErrorDomain Code=256 "The file “ADCD322HKXOKW7KJ5GDZGMILLRJUAN” couldn’t be opened." UserInfo={NSURL=file:///var/mobile/Library/Mobile%20Documents/iCloud~com~setolabs~Cryptomator/Documents/Tech/d/AX/ADCD322HKXOKW7KJ5GDZGMILLRJUAN, NSFilePath=/var/mobile/Library/Mobile Documents/iCloud~com~setolabs~Cryptomator/Documents/Tech/d/AX/ADCD322HKXOKW7KJ5GDZGMILLRJUAN, NSUnderlyingError=0x105e174e0 {Error Domain=NSPOSIXErrorDomain Code=11 "Resource deadlock avoided"}}
2023/04/28 16:17:35:930  enumerateItems failed with: Error Domain=NSCocoaErrorDomain Code=256 "The file “ADCD322HKXOKW7KJ5GDZGMILLRJUAN” couldn’t be opened." UserInfo={NSURL=file:///var/mobile/Library/Mobile%20Documents/iCloud~com~setolabs~Cryptomator/Documents/Tech/d/AX/ADCD322HKXOKW7KJ5GDZGMILLRJUAN, NSFilePath=/var/mobile/Library/Mobile Documents/iCloud~com~setolabs~Cryptomator/Documents/Tech/d/AX/ADCD322HKXOKW7KJ5GDZGMILLRJUAN, NSUnderlyingError=0x105e174e0 {Error Domain=NSPOSIXErrorDomain Code=11 "Resource deadlock avoided"}} for identifier: NSFileProviderItemIdentifier(_rawValue: NSFileProviderRootContainerItemIdentifier)
2023/04/29 00:56:47:414  enumerateItems getAdapter failed with: defaultLock for identifier: NSFileProviderItemIdentifier(_rawValue: NSFileProviderRootContainerItemIdentifier)
2023/04/29 00:57:09:870  enumerateItems getAdapter failed with: defaultLock for identifier: NSFileProviderItemIdentifier(_rawValue: NSFileProviderRootContainerItemIdentifier)
2023/04/29 00:57:17:534  enumerateItems failed with: Error Domain=NSCocoaErrorDomain Code=256 "The file “ADCD322HKXOKW7KJ5GDZGMILLRJUAN” couldn’t be opened." UserInfo={NSURL=file:///var/mobile/Library/Mobile%20Documents/iCloud~com~setolabs~Cryptomator/Documents/Tech/d/AX/ADCD322HKXOKW7KJ5GDZGMILLRJUAN, NSFilePath=/var/mobile/Library/Mobile Documents/iCloud~com~setolabs~Cryptomator/Documents/Tech/d/AX/ADCD322HKXOKW7KJ5GDZGMILLRJUAN, NSUnderlyingError=0x105e09e30 {Error Domain=NSPOSIXErrorDomain Code=11 "Resource deadlock avoided"}} for identifier: NSFileProviderItemIdentifier(_rawValue: NSFileProviderRootContainerItemIdentifier)
2023/04/29 00:57:19:494  enumerateItems failed with: Error Domain=NSCocoaErrorDomain Code=256 "The file “ADCD322HKXOKW7KJ5GDZGMILLRJUAN” couldn’t be opened." UserInfo={NSURL=file:///var/mobile/Library/Mobile%20Documents/iCloud~com~setolabs~Cryptomator/Documents/Tech/d/AX/ADCD322HKXOKW7KJ5GDZGMILLRJUAN, NSFilePath=/var/mobile/Library/Mobile Documents/iCloud~com~setolabs~Cryptomator/Documents/Tech/d/AX/ADCD322HKXOKW7KJ5GDZGMILLRJUAN, NSUnderlyingError=0x105a07880 {Error Domain=NSPOSIXErrorDomain Code=11 "Resource deadlock avoided"}} for identifier: NSFileProviderItemIdentifier(_rawValue: NSFileProviderRootContainerItemIdentifier)
2023/04/29 01:19:59:877  enumerateItems getAdapter failed with: defaultLock for identifier: NSFileProviderItemIdentifier(_rawValue: NSFileProviderRootContainerItemIdentifier)
2023/04/29 01:27:19:235  enumerateItems getAdapter failed with: defaultLock for identifier: NSFileProviderItemIdentifier(_rawValue: NSFileProviderRootContainerItemIdentifier)
2023/04/29 01:27:27:614  enumerateItems failed with: Error Domain=NSCocoaErrorDomain Code=256 "The file “MWNDGW5RWLOYBJS5KXMU4ZAH4IQLU6” couldn’t be opened." UserInfo={NSURL=file:///var/mobile/Library/Mobile%20Documents/com~apple~CloudDocs/theTech_backups/d/E5/MWNDGW5RWLOYBJS5KXMU4ZAH4IQLU6, NSFilePath=/var/mobile/Library/Mobile Documents/com~apple~CloudDocs/theTech_backups/d/E5/MWNDGW5RWLOYBJS5KXMU4ZAH4IQLU6, NSUnderlyingError=0x105e22fc0 {Error Domain=NSPOSIXErrorDomain Code=11 "Resource deadlock avoided"}} for identifier: NSFileProviderItemIdentifier(_rawValue: NSFileProviderRootContainerItemIdentifier)
2023/04/29 01:31:30:905  enumerateItems failed with: Error Domain=NSCocoaErrorDomain Code=256 "The file “MWNDGW5RWLOYBJS5KXMU4ZAH4IQLU6” couldn’t be opened." UserInfo={NSURL=file:///var/mobile/Library/Mobile%20Documents/com~apple~CloudDocs/theTech_backups/d/E5/MWNDGW5RWLOYBJS5KXMU4ZAH4IQLU6, NSFilePath=/var/mobile/Library/Mobile Documents/com~apple~CloudDocs/theTech_backups/d/E5/MWNDGW5RWLOYBJS5KXMU4ZAH4IQLU6, NSUnderlyingError=0x1063151c0 {Error Domain=NSPOSIXErrorDomain Code=11 "Resource deadlock avoided"}} for identifier: NSFileProviderItemIdentifier(_rawValue: NSFileProviderRootContainerItemIdentifier)
2023/04/29 01:31:52:514  FPExt: persistentIdentifierForItem(at: file:///private/var/mobile/Containers/Shared/AppGroup/3D24CB55-13B4-4F44-8D3D-FE3453BFF681/File%20Provider%20Storage/37399548-7A62-408E-BDF2-FA225A62B705/) called
2023/04/29 01:31:52:514  FPExt: item(for: NSFileProviderItemIdentifier(_rawValue: NSFileProviderRootContainerItemIdentifier)) called
2023/04/29 01:31:52:519  FPExt: urlForItem(withPersistentIdentifier: NSFileProviderItemIdentifier(_rawValue: NSFileProviderRootContainerItemIdentifier)) called
2023/04/29 01:31:52:519  FPExt: item(for: NSFileProviderItemIdentifier(_rawValue: NSFileProviderRootContainerItemIdentifier)) called
2023/04/29 01:31:52:526  FPExt: persistentIdentifierForItem(at: file:///private/var/mobile/Containers/Shared/AppGroup/3D24CB55-13B4-4F44-8D3D-FE3453BFF681/File%20Provider%20Storage/37399548-7A62-408E-BDF2-FA225A62B705/) called
2023/04/29 01:31:52:527  FPExt: item(for: NSFileProviderItemIdentifier(_rawValue: NSFileProviderRootContainerItemIdentifier)) called
2023/04/29 01:31:52:532  FPExt: item(for: NSFileProviderItemIdentifier(_rawValue: NSFileProviderRootContainerItemIdentifier)) called
2023/04/29 01:31:52:552  FPExt: persistentIdentifierForItem(at: file:///private/var/mobile/Containers/Shared/AppGroup/3D24CB55-13B4-4F44-8D3D-FE3453BFF681/File%20Provider%20Storage/37399548-7A62-408E-BDF2-FA225A62B705/) called
2023/04/29 01:31:52:552  FPExt: item(for: NSFileProviderItemIdentifier(_rawValue: NSFileProviderRootContainerItemIdentifier)) called
2023/04/29 01:31:52:553  FPExt: urlForItem(withPersistentIdentifier: NSFileProviderItemIdentifier(_rawValue: NSFileProviderRootContainerItemIdentifier)) called
2023/04/29 01:31:52:553  FPExt: item(for: NSFileProviderItemIdentifier(_rawValue: NSFileProviderRootContainerItemIdentifier)) called
2023/04/29 01:31:52:558  FPExt: enumerator(for: NSFileProviderItemIdentifier(_rawValue: NSFileProviderRootContainerItemIdentifier)) called
2023/04/29 01:31:52:558  FPExt: item(for: NSFileProviderItemIdentifier(_rawValue: NSFileProviderRootContainerItemIdentifier)) called
2023/04/29 01:31:52:559  currentSyncAnchor for NSFileProviderRootContainerItemIdentifier called -> return: Optional(CryptomatorFileProvider.SyncAnchor(invalidated: false, date: 2023-04-29 01:27:25 +0000)) 
2023/04/29 01:31:52:559  enumerateItems called for identifier: NSFileProviderItemIdentifier(_rawValue: NSFileProviderRootContainerItemIdentifier) - initialPage true
2023/04/29 01:31:52:562  readLock /(0x0000000105e174e0) called
2023/04/29 01:31:52:562  readLock /(0x0000000105e174e0) done
2023/04/29 01:31:52:563  readLock /(0x0000000105e297b0) called
2023/04/29 01:31:52:563  readLock /(0x0000000105e297b0) done
2023/04/29 01:31:52:563  acquired lock for path: CloudPath(path: "/") - type: read
2023/04/29 01:31:52:564  LocalFileSystemProvider: fillCache(for: /d/E5/MWNDGW5RWLOYBJS5KXMU4ZAH4IQLU6) called with startAccessingSecurityScopedResource: false
2023/04/29 01:31:52:568  LocalFileSystemProvider: fillCache(for: /d/E5/MWNDGW5RWLOYBJS5KXMU4ZAH4IQLU6) failed readingIntent evaluation with error: Error Domain=NSCocoaErrorDomain Code=256 "The file “MWNDGW5RWLOYBJS5KXMU4ZAH4IQLU6” couldn’t be opened." UserInfo={NSURL=file:///var/mobile/Library/Mobile%20Documents/com~apple~CloudDocs/theTech_backups/d/E5/MWNDGW5RWLOYBJS5KXMU4ZAH4IQLU6, NSFilePath=/var/mobile/Library/Mobile Documents/com~apple~CloudDocs/theTech_backups/d/E5/MWNDGW5RWLOYBJS5KXMU4ZAH4IQLU6, NSUnderlyingError=0x106322b30 {Error Domain=NSPOSIXErrorDomain Code=11 "Resource deadlock avoided"}}
2023/04/29 01:31:52:569  enumerateItems failed with: Error Domain=NSCocoaErrorDomain Code=256 "The file “MWNDGW5RWLOYBJS5KXMU4ZAH4IQLU6” couldn’t be opened." UserInfo={NSURL=file:///var/mobile/Library/Mobile%20Documents/com~apple~CloudDocs/theTech_backups/d/E5/MWNDGW5RWLOYBJS5KXMU4ZAH4IQLU6, NSFilePath=/var/mobile/Library/Mobile Documents/com~apple~CloudDocs/theTech_backups/d/E5/MWNDGW5RWLOYBJS5KXMU4ZAH4IQLU6, NSUnderlyingError=0x106322b30 {Error Domain=NSPOSIXErrorDomain Code=11 "Resource deadlock avoided"}} for identifier: NSFileProviderItemIdentifier(_rawValue: NSFileProviderRootContainerItemIdentifier)
2023/04/29 01:31:54:424  FPExt: enumerator(for: NSFileProviderItemIdentifier(_rawValue: NSFileProviderRootContainerItemIdentifier)) called
2023/04/29 01:31:54:424  FPExt: item(for: NSFileProviderItemIdentifier(_rawValue: NSFileProviderRootContainerItemIdentifier)) called
2023/04/29 01:31:54:427  currentSyncAnchor for NSFileProviderRootContainerItemIdentifier called -> return: Optional(CryptomatorFileProvider.SyncAnchor(invalidated: false, date: 2023-04-29 01:27:25 +0000)) 
2023/04/29 01:31:54:427  enumerateItems called for identifier: NSFileProviderItemIdentifier(_rawValue: NSFileProviderRootContainerItemIdentifier) - initialPage true
2023/04/29 01:31:54:440  readLock /(0x0000000105e17940) called
2023/04/29 01:31:54:440  readLock /(0x0000000105e17940) done
2023/04/29 01:31:54:441  readLock /(0x0000000105f181c0) called
2023/04/29 01:31:54:441  readLock /(0x0000000105f181c0) done
2023/04/29 01:31:54:441  acquired lock for path: CloudPath(path: "/") - type: read
2023/04/29 01:31:54:442  LocalFileSystemProvider: fillCache(for: /d/E5/MWNDGW5RWLOYBJS5KXMU4ZAH4IQLU6) called with startAccessingSecurityScopedResource: false
2023/04/29 01:31:54:449  LocalFileSystemProvider: fillCache(for: /d/E5/MWNDGW5RWLOYBJS5KXMU4ZAH4IQLU6) failed readingIntent evaluation with error: Error Domain=NSCocoaErrorDomain Code=256 "The file “MWNDGW5RWLOYBJS5KXMU4ZAH4IQLU6” couldn’t be opened." UserInfo={NSURL=file:///var/mobile/Library/Mobile%20Documents/com~apple~CloudDocs/theTech_backups/d/E5/MWNDGW5RWLOYBJS5KXMU4ZAH4IQLU6, NSFilePath=/var/mobile/Library/Mobile Documents/com~apple~CloudDocs/theTech_backups/d/E5/MWNDGW5RWLOYBJS5KXMU4ZAH4IQLU6, NSUnderlyingError=0x105f0ff30 {Error Domain=NSPOSIXErrorDomain Code=11 "Resource deadlock avoided"}}
2023/04/29 01:31:54:450  enumerateItems failed with: Error Domain=NSCocoaErrorDomain Code=256 "The file “MWNDGW5RWLOYBJS5KXMU4ZAH4IQLU6” couldn’t be opened." UserInfo={NSURL=file:///var/mobile/Library/Mobile%20Documents/com~apple~CloudDocs/theTech_backups/d/E5/MWNDGW5RWLOYBJS5KXMU4ZAH4IQLU6, NSFilePath=/var/mobile/Library/Mobile Documents/com~apple~CloudDocs/theTech_backups/d/E5/MWNDGW5RWLOYBJS5KXMU4ZAH4IQLU6, NSUnderlyingError=0x105f0ff30 {Error Domain=NSPOSIXErrorDomain Code=11 "Resource deadlock avoided"}} for identifier: NSFileProviderItemIdentifier(_rawValue: NSFileProviderRootContainerItemIdentifier)
2023/04/29 01:31:57:039  FPExt: enumerator(for: NSFileProviderItemIdentifier(_rawValue: NSFileProviderRootContainerItemIdentifier)) called
2023/04/29 01:31:57:039  FPExt: item(for: NSFileProviderItemIdentifier(_rawValue: NSFileProviderRootContainerItemIdentifier)) called
2023/04/29 01:31:57:042  currentSyncAnchor for NSFileProviderRootContainerItemIdentifier called -> return: Optional(CryptomatorFileProvider.SyncAnchor(invalidated: false, date: 2023-04-29 01:27:25 +0000)) 
2023/04/29 01:31:57:042  enumerateItems called for identifier: NSFileProviderItemIdentifier(_rawValue: NSFileProviderRootContainerItemIdentifier) - initialPage true
2023/04/29 01:31:57:055  readLock /(0x0000000105e1ac20) called
2023/04/29 01:31:57:055  readLock /(0x0000000105e1ac20) done
2023/04/29 01:31:57:055  readLock /(0x0000000105e27ed0) called
2023/04/29 01:31:57:055  readLock /(0x0000000105e27ed0) done
2023/04/29 01:31:57:056  acquired lock for path: CloudPath(path: "/") - type: read
2023/04/29 01:31:57:056  LocalFileSystemProvider: fillCache(for: /d/E5/MWNDGW5RWLOYBJS5KXMU4ZAH4IQLU6) called with startAccessingSecurityScopedResource: false
2023/04/29 01:31:57:064  LocalFileSystemProvider: fillCache(for: /d/E5/MWNDGW5RWLOYBJS5KXMU4ZAH4IQLU6) failed readingIntent evaluation with error: Error Domain=NSCocoaErrorDomain Code=256 "The file “MWNDGW5RWLOYBJS5KXMU4ZAH4IQLU6” couldn’t be opened." UserInfo={NSURL=file:///var/mobile/Library/Mobile%20Documents/com~apple~CloudDocs/theTech_backups/d/E5/MWNDGW5RWLOYBJS5KXMU4ZAH4IQLU6, NSFilePath=/var/mobile/Library/Mobile Documents/com~apple~CloudDocs/theTech_backups/d/E5/MWNDGW5RWLOYBJS5KXMU4ZAH4IQLU6, NSUnderlyingError=0x105f13800 {Error Domain=NSPOSIXErrorDomain Code=11 "Resource deadlock avoided"}}
2023/04/29 01:31:57:065  enumerateItems failed with: Error Domain=NSCocoaErrorDomain Code=256 "The file “MWNDGW5RWLOYBJS5KXMU4ZAH4IQLU6” couldn’t be opened." UserInfo={NSURL=file:///var/mobile/Library/Mobile%20Documents/com~apple~CloudDocs/theTech_backups/d/E5/MWNDGW5RWLOYBJS5KXMU4ZAH4IQLU6, NSFilePath=/var/mobile/Library/Mobile Documents/com~apple~CloudDocs/theTech_backups/d/E5/MWNDGW5RWLOYBJS5KXMU4ZAH4IQLU6, NSUnderlyingError=0x105f13800 {Error Domain=NSPOSIXErrorDomain Code=11 "Resource deadlock avoided"}} for identifier: NSFileProviderItemIdentifier(_rawValue: NSFileProviderRootContainerItemIdentifier)
2023/04/29 01:31:58:040  FPExt: enumerator(for: NSFileProviderItemIdentifier(_rawValue: NSFileProviderRootContainerItemIdentifier)) called
2023/04/29 01:31:58:040  FPExt: item(for: NSFileProviderItemIdentifier(_rawValue: NSFileProviderRootContainerItemIdentifier)) called
2023/04/29 01:31:58:043  currentSyncAnchor for NSFileProviderRootContainerItemIdentifier called -> return: Optional(CryptomatorFileProvider.SyncAnchor(invalidated: false, date: 2023-04-29 01:27:25 +0000)) 
2023/04/29 01:31:58:043  enumerateItems called for identifier: NSFileProviderItemIdentifier(_rawValue: NSFileProviderRootContainerItemIdentifier) - initialPage true
2023/04/29 01:31:58:051  readLock /(0x0000000106321bf0) called
2023/04/29 01:31:58:051  readLock /(0x0000000106321bf0) done
2023/04/29 01:31:58:051  readLock /(0x0000000105e2dfd0) called
2023/04/29 01:31:58:051  readLock /(0x0000000105e2dfd0) done
2023/04/29 01:31:58:052  acquired lock for path: CloudPath(path: "/") - type: read
2023/04/29 01:31:58:053  LocalFileSystemProvider: fillCache(for: /d/E5/MWNDGW5RWLOYBJS5KXMU4ZAH4IQLU6) called with startAccessingSecurityScopedResource: false
2023/04/29 01:31:58:060  LocalFileSystemProvider: fillCache(for: /d/E5/MWNDGW5RWLOYBJS5KXMU4ZAH4IQLU6) failed readingIntent evaluation with error: Error Domain=NSCocoaErrorDomain Code=256 "The file “MWNDGW5RWLOYBJS5KXMU4ZAH4IQLU6” couldn’t be opened." UserInfo={NSURL=file:///var/mobile/Library/Mobile%20Documents/com~apple~CloudDocs/theTech_backups/d/E5/MWNDGW5RWLOYBJS5KXMU4ZAH4IQLU6, NSFilePath=/var/mobile/Library/Mobile Documents/com~apple~CloudDocs/theTech_backups/d/E5/MWNDGW5RWLOYBJS5KXMU4ZAH4IQLU6, NSUnderlyingError=0x105a23410 {Error Domain=NSPOSIXErrorDomain Code=11 "Resource deadlock avoided"}}
2023/04/29 01:31:58:060  enumerateItems failed with: Error Domain=NSCocoaErrorDomain Code=256 "The file “MWNDGW5RWLOYBJS5KXMU4ZAH4IQLU6” couldn’t be opened." UserInfo={NSURL=file:///var/mobile/Library/Mobile%20Documents/com~apple~CloudDocs/theTech_backups/d/E5/MWNDGW5RWLOYBJS5KXMU4ZAH4IQLU6, NSFilePath=/var/mobile/Library/Mobile Documents/com~apple~CloudDocs/theTech_backups/d/E5/MWNDGW5RWLOYBJS5KXMU4ZAH4IQLU6, NSUnderlyingError=0x105a23410 {Error Domain=NSPOSIXErrorDomain Code=11 "Resource deadlock avoided"}} for identifier: NSFileProviderItemIdentifier(_rawValue: NSFileProviderRootContainerItemIdentifier)
2023/04/29 01:31:59:089  FPExt: enumerator(for: NSFileProviderItemIdentifier(_rawValue: NSFileProviderRootContainerItemIdentifier)) called
2023/04/29 01:31:59:089  FPExt: item(for: NSFileProviderItemIdentifier(_rawValue: NSFileProviderRootContainerItemIdentifier)) called
2023/04/29 01:31:59:091  currentSyncAnchor for NSFileProviderRootContainerItemIdentifier called -> return: Optional(CryptomatorFileProvider.SyncAnchor(invalidated: false, date: 2023-04-29 01:27:25 +0000)) 
2023/04/29 01:31:59:091  enumerateItems called for identifier: NSFileProviderItemIdentifier(_rawValue: NSFileProviderRootContainerItemIdentifier) - initialPage true
2023/04/29 01:31:59:099  readLock /(0x0000000105e1b5c0) called
2023/04/29 01:31:59:099  readLock /(0x0000000105e1b5c0) done
2023/04/29 01:31:59:099  readLock /(0x0000000105e2ded0) called
2023/04/29 01:31:59:100  readLock /(0x0000000105e2ded0) done
2023/04/29 01:31:59:100  acquired lock for path: CloudPath(path: "/") - type: read
2023/04/29 01:31:59:101  LocalFileSystemProvider: fillCache(for: /d/E5/MWNDGW5RWLOYBJS5KXMU4ZAH4IQLU6) called with startAccessingSecurityScopedResource: false
2023/04/29 01:31:59:108  LocalFileSystemProvider: fillCache(for: /d/E5/MWNDGW5RWLOYBJS5KXMU4ZAH4IQLU6) failed readingIntent evaluation with error: Error Domain=NSCocoaErrorDomain Code=256 "The file “MWNDGW5RWLOYBJS5KXMU4ZAH4IQLU6” couldn’t be opened." UserInfo={NSURL=file:///var/mobile/Library/Mobile%20Documents/com~apple~CloudDocs/theTech_backups/d/E5/MWNDGW5RWLOYBJS5KXMU4ZAH4IQLU6, NSFilePath=/var/mobile/Library/Mobile Documents/com~apple~CloudDocs/theTech_backups/d/E5/MWNDGW5RWLOYBJS5KXMU4ZAH4IQLU6, NSUnderlyingError=0x105e1b5c0 {Error Domain=NSPOSIXErrorDomain Code=11 "Resource deadlock avoided"}}
2023/04/29 01:31:59:108  enumerateItems failed with: Error Domain=NSCocoaErrorDomain Code=256 "The file “MWNDGW5RWLOYBJS5KXMU4ZAH4IQLU6” couldn’t be opened." UserInfo={NSURL=file:///var/mobile/Library/Mobile%20Documents/com~apple~CloudDocs/theTech_backups/d/E5/MWNDGW5RWLOYBJS5KXMU4ZAH4IQLU6, NSFilePath=/var/mobile/Library/Mobile Documents/com~apple~CloudDocs/theTech_backups/d/E5/MWNDGW5RWLOYBJS5KXMU4ZAH4IQLU6, NSUnderlyingError=0x105e1b5c0 {Error Domain=NSPOSIXErrorDomain Code=11 "Resource deadlock avoided"}} for identifier: NSFileProviderItemIdentifier(_rawValue: NSFileProviderRootContainerItemIdentifier)

Anything else?

This issue also existed for a vault created in a much earlier version on MacOS Cryptomator. This vault had about 7GB worth of files.
I decided to attempt a new vault created with the latest MacOS Cryptomator version but issue is still the same

@theCyberTech theCyberTech added the type:bug Something isn't working label Apr 29, 2023
@theCyberTech
Copy link
Author

Update: I have performed the following steps and it seems to have fixed the issue

  1. Opened Cryptomator in IOS and deleted the vault entry
  2. Uninstalled Cryptomator from IOS
  3. Restarted IOS device
  4. Installed Cryptomator from IOS App store
  5. Open up Cryptomator on IOS and select "Open Existing Vault"
  6. Select iCloud Drive
  7. Select` the vault in the iCloud Drive location
  8. Enter the password to unlock the vault
  9. Select open in Files & enter password.
  10. Backout and select Cryptomator from Files locations
  11. Cryptomator successfully opens and displays vault

@theCyberTech
Copy link
Author

2nd Update: Seem that the issue has returned, even though I can successfully unlock the vault on IOS and see my stored folders/files if I try and navigate into them the error message returns

@unwired01
Copy link

Hi,
experiencing the same issue. I attempted to reinstall the app as you said, but it was unsuccessful.

Having the error: enumerateItems failed with: Error Domain=NSCocoaErrorDomain Code=256 "The file “63OJSJG32DOC75V3T4CVRJJNVLMPRW” couldn’t be opened." UserInfo={NSURL=file:///var/mobile/Library/Mobile%20Documents/comappleCloudDocs/Backup/d/WN/63OJSJG32DOC75V3T4CVRJJNVLMPRW, NSFilePath=/var/mobile/Library/Mobile Documents/comappleCloudDocs/Backup/d/WN/63OJSJG32DOC75V3T4CVRJJNVLMPRW, NSUnderlyingError=0x105009380 {Error Domain=NSPOSIXErrorDomain Code=11 "Resource deadlock avoided"}} for identifier: NSFileProviderItemIdentifier(_rawValue: NSFileProviderRootContainerItemIdentifier)

@tobihagemann
Copy link
Member

Sorry that nobody looked into this. I've tried to get more information about this "Resource deadlock avoided" error, but couldn't find anything definitive. Maybe it's some kind of "permission" problem, as mentioned here: https://developer.apple.com/forums/thread/118663

I can see that you've used the "old" Cryptomator app before and are trying to access a vault that is inside the "old" iCloud container (iCloud~com~setolabs~Cryptomator). In that case, I'd suggested moving this vault to a different location because maybe the "new" app has issues to access the "old" container, even though I haven't encountered this issue before.

BUT since you're getting the same error for the "root" directory of iCloud drive (com~apple~CloudDocs), I have actually no other suggestion and am puzzled by this. Do you still have this issue or was it somehow solved by some update?

@vik7-67
Copy link

vik7-67 commented Oct 8, 2023

I just got the same issue. Created a new vault on macOS stored on iCloud Drive - and then on iOS got the error "Content Unavailable" after unlocking the vault. Could not find any solution and ended up deleting the vault. Everything worked fine in the opposite direction: creating the vault in iOS, and then opening it on macOS.

@httpiga
Copy link

httpiga commented Dec 7, 2023

I'm facing the same problem and the logs are pretty similar.
In the beginning, the root folder was unavailable. If I download on my iPhone the file mentioned in the "The file “XXXX” couldn’t be opened." error, I manage to see directories in the root folder, but can't open any of them.
I found this page from the Apple docs, but I don't know what can cause the potential deadlock. Assuming it was caused by a hidden iCloud sync from my Mac, I shut it down but the error kept occurring.
Removing and re-adding the vault didn't help.

@tobihagemann
Copy link
Member

One of our users reported via email:

By the way I found a fix!
I went into iCloud Drive in the files app. Went to the source files in my iCloud and picked a random folder in the cyrptomator vault and forced it to download. Then u was able to get into the vault.

Does that help anyone with this same issue?

@httpiga
Copy link

httpiga commented Dec 9, 2023

Thanks for sharing, but it didn't helped me. I downloaded more than one random folders but the error still occurs. Only downloading the folder specified in the logs moves the "Content unavailable" error one level deep in the the folders tree.

@seanmcquade20
Copy link

One of our users reported via email:

By the way I found a fix!
I went into iCloud Drive in the files app. Went to the source files in my iCloud and picked a random folder in the cyrptomator vault and forced it to download. Then u was able to get into the vault.

Does that help anyone with this same issue?

I'm a brand new user of Cryptomator and fixed the issue by downloading all files.

Steps to reproduce:

  • Downloaded Cryptomator for Windows
  • Created a Vault in iCloud
  • Added the Vault in iOS (17.2)
  • Could not access anything in the folders on iOS with the Content Unavailable message.

Steps to resolve:

  • Navigated to iCloud Drive under Files
  • Long pressed on the encrypted folder and selected "Download"
  • After all files downloaded, I navigated back to the Vault
  • All files were now visible

I'm not sure if this is a fix that will work on an ongoing basis with files constantly being updated but appears to work for now at least.

One other thing to note is that I have the same data stored in by OneDrive and Google Drive and have no issues accessing it. This appears to only affect files stored in iCloud Drive.

@httpiga
Copy link

httpiga commented Dec 17, 2023

Thanks for sharing your suggestion, @seanmcquade20 - it's a nice workaround but quite unfeasible in case of a large vault.
As an update on this issue, creating a new vault on iOS and adding files on macOS still causes the "Content unavailable" on iOS. The same happens when creating a vault on macOS.

@janknieling
Copy link

janknieling commented Feb 15, 2024

Same probleme here

024/01/14 23:06:03:047  acquired lock for path: CloudPath(path: "/") - type: read
2024/01/14 23:06:03:047  LocalFileSystemProvider: fillCache(for: /d/JP/TECYAYNA2KYI32YHR64SFTSCNUYWEX) called with startAccessingSecurityScopedResource: false
2024/01/14 23:06:03:052  LocalFileSystemProvider: fillCache(for: /d/JP/TECYAYNA2KYI32YHR64SFTSCNUYWEX) failed readingIntent evaluation with error: Error Domain=NSCocoaErrorDomain Code=256 "Die Datei „TECYAYNA2KYI32YHR64SFTSCNUYWEX“ konnte nicht geöffnet werden." UserInfo={NSURL=file:///var/mobile/Library/Mobile%20Documents/com~apple~CloudDocs/Cryptomator_Container/XXXXXXXX/d/JP/TECYAYNA2KYI32YHR64SFTSCNUYWEX, NSFilePath=/var/mobile/Library/Mobile Documents/com~apple~CloudDocs/Cryptomator_Container/XXXXXXXX/d/JP/TECYAYNA2KYI32YHR64SFTSCNUYWEX, NSUnderlyingError=0x137d278d0 {Error Domain=NSPOSIXErrorDomain Code=11 "Resource deadlock avoided"}}
2024/01/14 23:06:03:053  enumerateItems failed with: Error Domain=NSCocoaErrorDomain Code=256 "Die Datei „TECYAYNA2KYI32YHR64SFTSCNUYWEX“ konnte nicht geöffnet werden." UserInfo={NSURL=file:///var/mobile/Library/Mobile%20Documents/com~apple~CloudDocs/Cryptomator_Container XXXXXXXX/d/JP/TECYAYNA2KYI32YHR64SFTSCNUYWEX, NSFilePath=/var/mobile/Library/Mobile Documents/com~apple~CloudDocs/Cryptomator_Container/XXXXXXXX/d/JP/TECYAYNA2KYI32YHR64SFTSCNUYWEX, NSUnderlyingError=0x137d278d0 {Error Domain=NSPOSIXErrorDomain Code=11 "Resource deadlock avoided"}} for identifier: NSFileProviderItemIdentifier(_rawValue: NSFileProviderRootContainerItemIdentifier)
2024/01/14 23:06:03:241  FPExt: enumerator(for: NSFileProviderItemIdentifier(_rawValue: NSFileProviderWorkingSetContainerItemIdentifier)) called
2024/01/14 23:06:03:251  Enumerate changes for: NSFileProviderWorkingSetContainerItemIdentifier anchor: Optional(CryptomatorFileProvider.SyncAnchor(invalidated: true, date: 2024-01-10 14:35:35 +0000))
2024/01/14 23:06:03:265  Invalidated Working Set new anchor -> SyncAnchor(invalidated: true, date: 2024-01-14 23:06:03 +0000)
2024/01/14 23:06:03:679  currentSyncAnchor for NSFileProviderWorkingSetContainerItemIdentifier called -> return: Optional(CryptomatorFileProvider.SyncAnchor(invalidated: true, date: 2024-01-14 23:06:03 +0000)) 
2024/01/14 23:06:03:679  enumerateItems called for identifier: NSFileProviderItemIdentifier(_rawValue: NSFileProviderWorkingSetContainerItemIdentifier) - initialPage true
2024/01/14 23:06:03:684  enumerateItems returned 0 items for identifier: NSFileProviderItemIdentifier(_rawValue: NSFileProviderWorkingSetContainerItemIdentifier)
2024/01/14 23:06:03:885  Enumerate changes for: NSFileProviderWorkingSetContainerItemIdentifier anchor: Optional(CryptomatorFileProvider.SyncAnchor(invalidated: true, date: 2024-01-14 23:06:03 +0000))
2024/01/14 23:06:03:890  Remove 0 items from the working set
2024/01/14 23:06:03:890  Updated 0 items from the working set

I have this problem with multiple cryptomator containers only on iOS/iPadOS devices.
On my macOS devices everything is working without any problems.
A long time it worked without any problems

@tobihagemann
Copy link
Member

We were finally able to reproduce it and found a fix. We'll release an update soon. Thank you all for your bug reports and patience.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
storage:icloud-drive type:bug Something isn't working
Projects
None yet
Development

No branches or pull requests

7 participants