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

Files disappeared from local vault in ios #324

Open
2 tasks done
migzlv opened this issue Oct 16, 2023 · 2 comments
Open
2 tasks done

Files disappeared from local vault in ios #324

migzlv opened this issue Oct 16, 2023 · 2 comments
Labels
type:bug Something isn't working

Comments

@migzlv
Copy link

migzlv commented Oct 16, 2023

Please agree to the following

Summary

When working offline, files is not in local vault ios

System Setup

  • iOS: [Version shown in the settings of iOS under "General > About"]17.0.3
  • Cryptomator: [Version 2.4.9

I was at a place where there was no internet connection, and would show someone some pictures, which i had in pcloud. As there was no connection this did not work ofc, so i was looking for an app to save files, also in a protected fiolder. So i found cryptomator, and downloaded 50 favorites fotoes/documents to a cryptomator vault. I downloaded them and made sure that all fotoes was shown. So i deactivated internet connection and began to work with my fotoes, grouping them in different folders. while working i could still see the fotoes In the subfolder. After 1 minute, the fotoes suddenly disappeared, and i got the mess “no internet connectiion, and after 20 minutes the new folders was empty and the fotoes was not in the main folder. I also wanted to save example important documents, and cryptomator seems a good app for a protected vault.
I think it was interaction with icloud sync, i then deactivated icloud drive. I can still backup the ipad, but it says 92 apps will not backup data. I have not figured out if its my settings or what.

So i googled it and found a txt saying “ if you do not want a folder to be synced with icloud, put an extension of “ nosync” to the folder ( folder.nocsync) then icloud will not sync it.
It worked.
As i can open saved acrobat pdf files even if my internet connection is deactivated, i am not sure if it is cryptomator or icloud.
Whats more intesting, i wanted to rename a folder, and imidiatly the fotoes disppears. ( they where there, but when i switched internet off, they seemed to be already synced with the icloud, so i could not view them whith no internet. I have to create a new folder “ new folder.nosync” and then move the fotoes there, then it worked.
Next step was to create a vault “ favorites.nosync” and that seems to work.
Standard of some other apps (cloud) syncing; if the files are deleted, they will be deleted in the cloud as well. May be if icloud sync can not seee the files in cryptomator ( when its locked?) they are deleted in the icloud?
Also for any “ normal” user this “ local store should be working even if they know nothing about icloud setting.
If its icloud and not cryptomator, will you consider to put it in the documentation? ( for offline work)

Cloud Type

Other File Provider

Steps to Reproduce

  1. [First Step] create a local vault on ios
  2. Download fotoes
  3. Wait 1 minute
  4. deactivate internet (wifi/mobile)
  5. The fotoes can not be displayed due to “missing internet”

Expected Behavior

The fotoes to stay in the local folder

Actual Behavior

Fotoes “disappeared

Reproducibility

Always

Relevant Log Output

No response

Anything else?

I have done everything i can to avoid using icloud for sync ( fotoes, messages, ..).even now deactivated icloud drive.
You may say it should work the other way around, but still i think cryptomator should work in offline mode on ios, even if icould is set or not.
At least just a note “working in offline mode in local vaults”
But still i do not understand the logic in detail how it works

@migzlv migzlv added the type:bug Something isn't working label Oct 16, 2023
@migzlv
Copy link
Author

migzlv commented Oct 24, 2023

So after some days !!! My fikes were gone. Or CM could not show them off line (without internet) did deactivate icloud sync and icloud backup, and activated internet connection, and now CM could sho w my local files, from where ?
so now i think thenfollowing happen:
Me clicking on a file
Cryptomator: no internet so i can not download any thing.

CM should say: if the file is on the device then show it, and if internet is not active do nothing more.(if internet IS active THEN its time to decide if there is a newer version).
The file does extist o my ipad, but i cant upload foles from ipad using chrome . I will later upload a file from pc.

@migzlv
Copy link
Author

migzlv commented Oct 24, 2023

cryptomator-files-20231024
picture illustrating that there are files in cryptomator folders, but it will not display them because CM first check if internet is active.
at least that is my best guess.

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

No branches or pull requests

1 participant