This morning I installed Cryptomator for Windows 10. I tried to open a vault that was previously accessible by iOS and was created on MacOS. When attempting to open on Windows 10, I get a screen “Your vault needs to be upgraded to a new format, before you can access it” with a button to Upgrade Vault.
So I upgraded one of my vaults as prompted by the Windows 10 client. When opening the vault I do not see the folders within the vault, as I can on iOS. I see files that were not in any of the vault’s folders. When attempting to open a file on Windows 10, they all are corrupt and unable to be opened. Worried I quickly opened the vault on iOS Cryptomator and to my dread when I try to access the folders I get an error! On top of the iOS app I get a exclamation point with a long alpha-numeric string with a red background saying “could not be found”.
I can only conclude that whatever the upgrading of the vault Windows client did corrupted the whole vault! This is devastating, and with all my experience I should have known better and made backups.
Is there a work-around or remedy? If not, years of documents are gone.
Nothing suspicious in the upgrade log. However, we had an incidence with iCloud Drive and Windows the other day and I’d like to verify if that’s the same in your case.
After that, there will be a tree.txt inside your vault. Could you please upload it again? Since all filenames are encrypted, these are not sensitive data. But with that information, I can analyze the vault structure, verify my suspicion, and hopefully come up with a solution.
I have the exact same problem. My upgrade log shows no errors but in my tree.txt I see some old names and paths which should have been moved in new locations. Can you explain how to transform the upgrade log into that batch script? I could move them by hand but there are a lot of folders to move. Thank you.
Let’s say you have an upgrade.log that looks like this:
23:03:24.798 [App Background Thread 005] INFO o.c.c.migration.v7.Version7Migrator - Upgrading /path/to/vault from version 6 to version 7.
23:03:25.121 [App Background Thread 005] INFO o.c.c.migration.v7.Version7Migrator - Backed up masterkey from masterkey.cryptomator to masterkey.cryptomator.BF508FF7.bkup.
23:03:25.128 [App Background Thread 005] INFO o.c.c.migration.v7.Version7Migrator - Underlying file system meets filename length requirements.
23:03:25.133 [App Background Thread 005] INFO o.c.c.migration.v7.Version7Migrator - Starting migration of 6 files
23:03:25.136 [App Background Thread 005] INFO o.c.c.migration.v7.MigratingVisitor - MOVED /path/to/vault/d/PU/GMVYWIUWIWIQGQ7VFPCYRBNGALQ3I2/AAWFIWJ7LU676KBHR6573H7M6HKRTGJMWTTCEQXU4DCA==== to /path/to/vault/d/PU/GMVYWIUWIWIQGQ7VFPCYRBNGALQ3I2/ACxUWT9dPf8oJ4-7_Z_s8dUZmSy05iJC9ODE.c9r
23:03:25.136 [App Background Thread 005] INFO o.c.c.migration.v7.MigratingVisitor - MOVED /path/to/vault/d/PU/GMVYWIUWIWIQGQ7VFPCYRBNGALQ3I2/J6BA7RDFMOWYP2CMS2MBZ6VX525TOZG6BI53QOW3 to /path/to/vault/d/PU/GMVYWIUWIWIQGQ7VFPCYRBNGALQ3I2/T4IPxGVjrYfoTJaYHPq37rs3ZN4KO7g62w==.c9r
23:03:25.138 [App Background Thread 005] INFO o.c.c.migration.v7.MigratingVisitor - MOVED /path/to/vault/d/PU/GMVYWIUWIWIQGQ7VFPCYRBNGALQ3I2/Y7B5ROYHCMDSKZNQYEMZBDBT6K5FMNRSUTX47LAANO3PKZWA2I====== to /path/to/vault/d/PU/GMVYWIUWIWIQGQ7VFPCYRBNGALQ3I2/x8PYuwcTByVlsMEZkIwz8rpWNjKk78-sAGu29WbA0g==.c9r
23:03:25.410 [App Background Thread 005] INFO o.c.c.migration.v7.Version7Migrator - Updated masterkey.
23:03:25.410 [App Background Thread 005] INFO o.c.c.migration.v7.Version7Migrator - Upgraded /path/to/vault from version 6 to version 7.
Either use mv oder make an alias ( alias MOVE=‘mv’ )
Also change " to ’
But…
All my files ARE moved to c9r… and the filenames in the log dont exist anymore. So I get a “file not found”.
error when opening…
[webdav-015] WARN o.c.cryptofs.CryptoPathMapper - Did not find valid content inside of
and the c9r are directories AND files… is that right?
there should be some dir.c9r
like
MOVE “…/d/UQ/LFF7GZ2OOBJKCOHHDZPQCMI7BMG272/0TLAODBUO5F6GRBQIERIXA6WOR6SLXUQPGA3AWMECLJLA====” “…/d/UQ/LFF7GZ2OOBJKCOHHDZPQCMI7BMG272/msDhho7pfGiGCCRRcHrOj6S70g8wNgswglpW.c9r/dir.c9r”
but it went to…
…/d/UQ/LFF7GZ2OOBJKCOHHDZPQCMI7BMG272/msDhho7pfGiGCCRRcHrOj6S70g8wNgswglpW.c9r/0TLAODBUO5F6GRBQIERIXA6WOR6SLXUQPGA3AWMECLJLA====
I also got some dir(5).c9r / dir(1) dir(2)… files…