File corruption (KeePass document)


#1

Good morning.

I can’t open a .kdbx document anymore since yesterday. The app itself gives me an error that “too many databases” are open. However, the file shows with -- in the Size column in Finder. I cannot copy or move this file because of error code -41. How can I restore this file? Please help!

Thanks.


#2

Hi Zettt,

as I dont know if you have your vault online or not, I have tu guess. And usually the vaults are online.
Have you tried to access the file directly with cyberduck.io?


#3

Sure. I forgot to mention that. The file is on an external USB key. When I mount the Cryptomator images though Mountain Duck, it shows up as a 0 byte file now.


#4

Hey Zettt,

did you try to access the vault / file using the Cryptomator desktop application? If you have any specific errors there, you may send me a message including the logfile / error messages.

You may also run sanitizer on your vault to check for known problems.


#5

Thanks, Sanitizer looks useful. I run it and it makes me a little more worried about my files:

8 problem(s) found.
FATAL Exception java.lang.IllegalStateException: Not a JSON Object: "\u0000\u0000�\u0017�\u0017�\u0017�\u0017�\u0017�\u0017�\u0017�\u0017�\u0017�\u0017�\u0017�\u0017�\u0017�\u0017�\u0017�\u0017�\u0017�\u0017�\u0017�\u0017�\u0017�\u0017\u0000\u0000�\u0017�\u0017�\u0017\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000"
		at com.google.gson.JsonElement.getAsJsonObject(JsonElement.java:90)
		at org.cryptomator.cryptolib.api.KeyFile.parse(KeyFile.java:81)
		at org.cryptomator.sanitizer.integrity.checks.Checks.lambda$isMasterkeyBackupFile$2(Checks.java:71)
		at org.cryptomator.sanitizer.integrity.checks.Check.check(Check.java:30)
		at org.cryptomator.sanitizer.integrity.checks.CompoundFileCheck.lambda$checkThrowingExceptions$1(CompoundFileCheck.java:36)
		at java.lang.Iterable.forEach(Iterable.java:75)
		at org.cryptomator.sanitizer.integrity.checks.CompoundFileCheck.checkThrowingExceptions(CompoundFileCheck.java:36)
		at org.cryptomator.sanitizer.integrity.checks.FilteredCheck.check(FilteredCheck.java:13)
		at org.cryptomator.sanitizer.integrity.checks.CompoundDirectoryCheck.lambda$null$3(CompoundDirectoryCheck.java:72)
		at java.util.Iterator.forEachRemaining(Iterator.java:116)
		at java.util.Spliterators$IteratorSpliterator.forEachRemaining(Spliterators.java:1801)
		at java.util.stream.ReferencePipeline$Head.forEach(ReferencePipeline.java:580)
		at org.cryptomator.sanitizer.integrity.checks.CompoundDirectoryCheck.lambda$containing$5(CompoundDirectoryCheck.java:67)
		at org.cryptomator.sanitizer.integrity.checks.Check.check(Check.java:30)
		at org.cryptomator.sanitizer.integrity.checks.CompoundDirectoryCheck.lambda$checkThrowingExceptions$1(CompoundDirectoryCheck.java:43)
		at java.lang.Iterable.forEach(Iterable.java:75)
		at org.cryptomator.sanitizer.integrity.checks.CompoundDirectoryCheck.checkThrowingExceptions(CompoundDirectoryCheck.java:43)
		at org.cryptomator.sanitizer.integrity.checks.FilteredCheck.check(FilteredCheck.java:13)
		at org.cryptomator.sanitizer.integrity.IntegrityCheck.lambda$check$0(IntegrityCheck.java:49)
		at java.util.Optional.ifPresent(Optional.java:159)
		at org.cryptomator.sanitizer.integrity.IntegrityCheck.check(IntegrityCheck.java:47)
		at org.cryptomator.sanitizer.commands.CheckRunner.run(CheckRunner.java:60)
		at org.cryptomator.sanitizer.commands.CheckCommand.run(CheckCommand.java:123)
		at org.cryptomator.sanitizer.commands.Commands.run(Commands.java:75)
		at org.cryptomator.sanitizer.Sanitizer.main(Sanitizer.java:16)
		at java.util.Optional.ifPresent(Optional.java:159)
		at org.cryptomator.sanitizer.Sanitizer.main(Sanitizer.java:12)
	
ERROR SizeMismatch d/AO/FZXDLHUY4EWFMWMCNO657VYMFDXCHD/3OIC2NY6OE3GAEYOGEAJVVF23K3GVJNJVRTVJASQNKTQ==== expected: >= 88 actual: 0
ERROR SizeMismatch d/AO/FZXDLHUY4EWFMWMCNO657VYMFDXCHD/4GRULDSZ22BY3R5GDRTHEHKGRSD5HKPA4V5FLZQ2 expected: >= 88 actual: 0
ERROR SizeMismatch d/AO/FZXDLHUY4EWFMWMCNO657VYMFDXCHD/YZ5QML6N43KJYB5DGTP3FKGEYBAGTSKMBQY7WEU3KY====== expected: >= 88 actual: 0
ERROR Unauthentic file header: d/AO/FZXDLHUY4EWFMWMCNO657VYMFDXCHD/MCSH7NQJBYCNOS37HUINS3OHDDNNSCIRYS6AJGF6PDX5ESSUQE======
ERROR Unauthentic file header: d/AO/FZXDLHUY4EWFMWMCNO657VYMFDXCHD/U3LHMBDCHM2LDC4SXZGZZVIS7UHGWJZG6LHFS2WBXY7Q====
WARN  MissingDirectory path: d/JT/JVMPSW63GXOQZ46RZLUZI4YVED4DO7 dirfile: d/AO/FZXDLHUY4EWFMWMCNO657VYMFDXCHD/0FLB6OF454HPSIKJBECCU42IW5WI25T7OFRSQ==== notADirectoryButExists: false
WARN  SuspectFile interfaces
INFO  EmptyEncryptedFile d/AO/FZXDLHUY4EWFMWMCNO657VYMFDXCHD/MCSH7NQJBYCNOS37HUINS3OHDDNNSCIRYS6AJGF6PDX5ESSUQE======
INFO  RootExists d/AO/FZXDLHUY4EWFMWMCNO657VYMFDXCHD

#6

Hallo,
ich bin mir nicht sicher, ob ich hier richtig bin. Ich habe eine Frage: ich möchte meinen Keepass Password
Safe mit Cryptomator in Dropbox nutzen. Ist dies möglich? Wenn ja, wie? Über eine schnelle Antwort in deutsch, würde ich mich sehr freuen.
Vorab besten Danke,
Jörg


#7

Ist eigentlich nicht notwendig eine eh schon verschlüsselten Keypass Datei mit cryptomator nochmals verschlüsselt online abzulegen.

Aber wenn du es dennoch machen willst: einfach die Keypass kdbx Datei im Vault ablegen.


#8

Ich kann dazu nur sagen, dass mein ursprüngliches Problem nie gelöst wurde und so wie ich das empfinde Cryptomator ein weitestgehend nicht unterstütztes Produkt ist. Nach diesem Problem hier, habe ich mir eine andere Lösung gesucht.


#9

Hi Michael,

was heißt einfach Keypass kdbx Datei im Vault ablegen. Mir ist derBegriff “Vault” nicht bekannt.
Ich bin wohl hierfür zu sehr Laie. Kannst Du mir dies genau schreiben, ggf. Schritt für Schritt. Ich danke dir.
Jörg


#10

Vault ist der Tresor den cryptomator erstellt. Das neue WebDAV Verzeichnis, welches du siehst wenn du einen Tresor geöffnet hast.