-
-
Notifications
You must be signed in to change notification settings - Fork 28
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
The folder contents are unavailable because of an unknown error #327
Comments
I think the issue here is that we don't handle the re-authorization of the underlying cloud providers yet. And if you migrate from one device to another afaik this is needed. So, although it's not the best UX, you can workaround this by deleting the vault in the Cryptomator app on the device where it's not working and add it again. Note: Please be sure that you not delete the vault from the cloud provider itself but just from the Cryptomator app in the overview and then tap on edit or swipe left on the vault, i.e. do not delete the folder where your vault is stored. Otherwise you are risking to loose all your data. In the future you should simply see a message that you need to login again via Google Drive, Dropbox or whatever your underlying cloud providers are :) |
I don’t know what you mean about “re-authorization”. In past I migrated from one iPhone to another without any issue about Cryptomator and existing vault. Vault that is always on iCloud (so iPhone already authorized on it else I couldn’t access the vault). As I explained I could unlock the vault even if the result is the one I reported. |
However I can confirm that creating a new vault from my iPad isn't a warkaround as the same error of the bug report is present if I try to unlock it from my iPhone.
Let me know if this isn't a frustrating situation. |
Another info: I created a new vault from macOS and now this vault cannot be opened (same reported error) neither with iPhone nor with iPad (whereas the "original" vault, created with macOS many years ago, can be opened with iPad). |
I agree with you that it's a super frustrating situation. How to export the log files from the Cryptomator 2.0 iOS app is described in the documentation. You can either post them here in the thread or email them to us at [email protected]. Please keep in mind that the logs can contain sensitive information like plaintext paths or filenames, etc. |
I had the same Problem on iPhone 13 Pro with iOS 17.1 and iPad Air (Gen. 5) with iPadOS 17.1 using iCloud. It occurs on old (before upgrade to iOS 17.1) and new (after upgrade to iOS 17.1) folders, but it's not every new created folder affected. I can see the contend of the folder in iOS and iPadOS if I manually sync the file "dirid.c9r" in the crypted directory. I found the path of the right folder with the function to search the encrypted file in the MacOS Version of Cryptomator. |
Thanks for the logs @marcopallotta 🙂 I see that the vault is located in the iCloud container of the "classic" / legacy Cryptomator app. Could you please try if it makes any difference for you if you create a vault under macOS in iCloud Drive in a different place, i.e. out side of the Cryptomator folder / container? As @tobihagemann pointed out in a different issue the error code we get from Apple here has not much documentation but it might be related to some weird permissions with app containers in iCloud. |
I too have this problem however my problem is actually happening with sub folders. So my vault has folders and files at the root vault in iCloud. Then I visit one of those folders that has additional folders inside and I get this same error. I can attach the log file. |
@phil1995 I think you could be right. In fact I moved the test vault outside Cryptomator directory, in Cloud, and now iPhone can mount it in file without issues! Thank you for your support. |
@phil1995 I think I spoke too early. In fact in iPhone now I can read the test vault (moved to iCloud root directory) but not with iPad with last iPadOS release Thank you. |
I tried to create a new vault from iPhone (last release as macOS has 12.x release so not the last) and into iCloud root directory. Ok with iPhone and macOS but not with iPad. I think this is the real test without variables like operating system versions that are not the last ones. If I create a new vault from IOS 17.x (in iCloud root directory so we haven't the question of cryptomator legacy directory position) at least iPadOS (17.x) should read it. I made this tests as (with last option) I could re-create my production vault with a combination of factors that workaround this issue but at last I didn't found a viable solution. |
In short: is there anybody that can create a new vault from IOS17 (last release) and can unlock it without issues in iPadOS 17 (last release) and viceversa? I haven't macOS14 so I cannot test this OS but at least from iPadOS to iOS and viceversa all should be run ok. Because in my tests now this isn't possibile so it should be classified as a "great" bug. |
I made a new vault on my iPhone (iOS 17.1.1) directly in the iCloud-Folder and safe a file in it. I can unlock the vault, but I don't get the directory on my iPad (iPadOS 17.1.1). On my Mac (macOS 14.1.1) I can read the file. Vice versa I made a new vault on my iPad directly in the iCloud-Folder and safe a file in it. I cant' access the file from my iPhone but from my Mac. Before I test the reading I switched on the logging, but the logfiles are empty. |
@sonnmar so you had confirmed the bug. I need to open the vault from both macOS, iOS and iPadOS (when I am outside my home) and now this is not possibile anymore (the strange thing is that I could do without problems with my old iPhone but always with latest release). The question about the sync of deride.c9r is not applicable in my situation as when I am outside my home I cannot identified the correct file to open as they have the uncrypted name. |
@marcopallotta I'm thinking it's a bug. But it is maybe a syncing-problem and not I migration-problem or a problem with access rights. And I had made a typo, the filename is "dirid.c9r". |
@sonnmar the question is that I cannot explain to myself why in the "old" iPhone (XR) all worked ok whereas In the new one (13), but both with the same release (before I switched the phones the old one was fully updated), we have the issue. You said that you have the same issue with iPhone 13 Pro: did the problem appear after the switch to new smartphone or after OS upgrade? In my situation (as said) after the smartphone switch (and same os release) so I can also suppose that starting from old software releases (either cryptomator or iOS), and upgrading them to the last ones (as happened to me in these last years) the problem, for reasons that I don't know, doesn't appear (situation that changes after you start "installing" last software releases from "scratch"). |
@marcopallotta I can not remember if the Problem occurs on my old iPhone, I update to 13 Pro from a 6s nearby 2 years ago. Actually it bothers me since a few weeks. I use always an actual release of cryptomator an all my devices. |
Seeing the same issue on iOS 17.1.1, macOS 14.1.1 with iCloud Sync. Files app fails to display the content of sub-directories. When adding new files into the root of a vault - everything works great. It all started around iOS 16 to 17 upgrade. Tried following approaches to address the issue:
@tobihagemann @phil1995, I'm happy to help debugging this issue further |
I just had this exact issue. Note: I usually use Cryptomator on MacOS and iOS with a volume I keep on pCloud and I never had any issues. I wanted to give iCloud a try and this happened. I created the volume on MacOS, then I picked my iPad and tried to open the volume. I got the error message saying the volume could not be opened because of an error. I had an intuition and went on the File app visiting the encrypted folder (not the decrypted volume) and forcing the offline download of the files. I went back to Cryptomator volume and now I was able to open it! So in my case the issue was that Cryptomator wasn't able to automatically download the file it needed, but once I manually downloaded them, it was able to open the volume. I'm not sure if this will be true for all the new folders and files, but it could be possible that at least the root folder (the one containing the Cryptomator master key) must be downloaded before it's able to open any other subfolders or files. Ps: I'm using iOS 17.2 and MacOS 13.x |
@andreagrandi thanks for your feedback. I checked in my iPhone and I realized that marsterkey.cryptomator and vault.cryptomator files (in vault root folder) are always just downloaded: obviously it's not true for the folder that contains all of my data and I'm afraid that downloading this folder could download all other subdirectories as well.....I should do some tests about this thing with a test vault to be sure. |
The files in the root folder (only the files, not the folders) should be enough to make it work. At least when I use it with pCloud, I don't have to sync down all the folders. Content is being downloaded the first time I try to access it, so I suppose it should be the same with iCloud storage. |
@andreagrandi in my root cryptomator directory I only have mastery.cryptomator, vault.cryptomator (and their backup files) and a single folder that, inside, has other folders. So I cannot download this single directory. |
I never said you have to download the folder. I even wrote "only the files, not the folder " |
@andreagrandi then I haven’t understood what you suggested. You said that you should download only the files in root folder. I supposed Cryptomator root folder but if you mean only encrypted files related to the ones that I want to access then it’s not useful for mobile users as I can only discover this only in the desktop app. |
Unfortunately same issues with last IOS mobile version too (I was looking forward for it for months) |
I managed to resolve this issue on iOS 17 by forcing iCloud to download all the files for the directory, which holds the target vault. Steps:
I hope it helps someone else. Ideally, Cryptomator app would tell iCloud to download all required files automatically. |
This resolved it for me! Just tried it exactly as you shared. |
@ivanRylach the problem is that in your device you should have an amount of free space enough to store all your vault data (and it’s not always possible). Before this issue Cryotomator obviously worked also in these situations of lack of free space) However thanks for your workaround. |
@marcopallotta Yeah, my solution is a workaround, which requires a user to manually force iCloud to download all the files to get the latest updates from other sources. Ideally, Cryptomator would tell iCloud to download a local copy of a missing file automatically. I agree with you completely - this looks like a regression introduced with iOS 17. Considering that it is not clear whether this issue will be resolved by the maintainers any time soon, it unblocks me and other users to access files on an iOS device in the short term and makes the app usable to some degree. |
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. Closing this as duplicate of #316. |
Please agree to the following
Summary
I purchased a new iPhone (model 13) that exited out of the box with iOS 16. So, first, I upgraded it to iOS 17 and then I migrated all of my data from my old iPhone (it had always iOS 17). The question is that, even if I can unlock my vault, the result is that it's not shown in file. The error is "the folder contents are unavailable because of an unknown error". No issue with my iPad (iPadOS 17) and macOS (macOS 12). If I try to create a new vault from iPhone this is correctly shown, as well as it is from macOS but not with iPadOS.
What software is involved?
last mobile version with iOS 17
Volume Type
None
Steps to Reproduce
1 open cryptomator
2 unlock vault
3 the error is displayed in file
Expected Behavior
The vault should be showed in File.
Actual Behavior
Vault is not mounted in file.
Reproducibility
Always
Relevant Log Output
No response
Anything else?
No response
The text was updated successfully, but these errors were encountered: