Loosing data while writing

Hi all,

I use logseq desktop together with cryptomator for encrypting the file on apple icloud on a pc (windows 11).

Unfortunately it regularly happens that I loose data while writing. A whole sentence or a part of it disappears in front of me.

Anyone has fix or know if I there a compability issues with logseq/cryptomator/apple icloud/windows 11?

Thanks so much!

Regards
Chris

1 Like

some additional details from the cryptomator logs. it seems that cryptomator cannot get a lock on the file. Any idea why? Thx

12:12:02.238 [Thread-383736] TRACE o.cryptomator.frontend.fuse.OpenFile - Attempting to read 0-4096:
12:12:02.239 [Thread-383736] TRACE o.c.f.fuse.locks.DataRLockImpl - Released read data lock for '[, 2ndbrain, journals, 2022_01_12.md]'
12:12:02.239 [Thread-383736] TRACE o.c.f.fuse.locks.PathRLockImpl - Released read path lock for '[, 2ndbrain, journals, 2022_01_12.md]'
12:12:02.239 [Thread-383736] TRACE o.c.f.fuse.locks.PathRLockImpl - Released read path lock for '[, 2ndbrain, journals]'
12:12:02.239 [Thread-383736] TRACE o.c.f.fuse.locks.PathRLockImpl - Released read path lock for '[, 2ndbrain]'
12:12:02.239 [Thread-383736] TRACE o.c.f.fuse.locks.PathRLockImpl - Released read path lock for '[]'
12:12:02.239 [Thread-383735] TRACE o.c.frontend.fuse.ReadOnlyAdapter - getattr /2ndbrain/journals (lastModifiedTime: 2022-01-12T11:11:47.5646744Z, lastAccessTime: 2022-01-12T11:11:53.2656805Z, creationTime: 2021-12-14T14:46:39.5309449Z, isRegularFile: false, isDirectory: true, isSymbolicLink: false, isOther: false, size: 81920, fileKey: null)
12:12:02.240 [Thread-383735] TRACE o.c.f.fuse.locks.DataRLockImpl - Released read data lock for '[, 2ndbrain, journals]'
12:12:02.240 [Thread-383735] TRACE o.c.f.fuse.locks.PathRLockImpl - Released read path lock for '[, 2ndbrain, journals]'
12:12:02.240 [Thread-383735] TRACE o.c.f.fuse.locks.PathRLockImpl - Released read path lock for '[, 2ndbrain]'
12:12:02.240 [Thread-383735] TRACE o.c.f.fuse.locks.PathRLockImpl - Released read path lock for '[]'
12:12:02.239 [Thread-383736] ERROR o.c.frontend.fuse.ReadOnlyAdapter - read /2ndbrain/journals/2022_01_12.md failed.
java.nio.channels.NonReadableChannelException: null
	at org.cryptomator.cryptofs@2.3.1/org.cryptomator.cryptofs.ch.AbstractFileChannel.assertReadable(AbstractFileChannel.java:102)
	at org.cryptomator.cryptofs@2.3.1/org.cryptomator.cryptofs.ch.AbstractFileChannel.read(AbstractFileChannel.java:149)
	at org.cryptomator.cryptofs@2.3.1/org.cryptomator.cryptofs.ch.AbstractFileChannel.read(AbstractFileChannel.java:139)
	at org.cryptomator.frontend.fuse@1.3.3/org.cryptomator.frontend.fuse.OpenFile.readNext(OpenFile.java:98)
	at org.cryptomator.frontend.fuse@1.3.3/org.cryptomator.frontend.fuse.OpenFile.read(OpenFile.java:55)
	at org.cryptomator.frontend.fuse@1.3.3/org.cryptomator.frontend.fuse.ReadOnlyFileHandler.read(ReadOnlyFileHandler.java:70)
	at org.cryptomator.frontend.fuse@1.3.3/org.cryptomator.frontend.fuse.ReadOnlyAdapter.read(ReadOnlyAdapter.java:230)
	at ru.serce.jnrfuse.AbstractFuseFS.lambda$init$3(AbstractFuseFS.java:138)
	at jnr.ffi.provider.jffi.NativeClosureProxy$$impl$$11.invoke(Unknown Source)
12:12:02.241 [Thread-383737] TRACE o.c.f.fuse.locks.PathRLockImpl - Acquired read path lock for '[]'
12:12:02.241 [Thread-383737] TRACE o.c.f.fuse.locks.PathRLockImpl - Acquired read path lock for '[, 2ndbrain]'
12:12:02.241 [Thread-383737] TRACE o.c.f.fuse.locks.PathRLockImpl - Acquired read path lock for '[, 2ndbrain, journals]'
12:12:02.241 [Thread-383737] TRACE o.c.f.fuse.locks.DataRLockImpl - Acquired read data lock for '[, 2ndbrain, journals]'
12:12:02.241 [Thread-383738] TRACE o.c.f.fuse.locks.PathRLockImpl - Acquired read path lock for '[]'
12:12:02.241 [Thread-383738] TRACE o.c.f.fuse.locks.PathRLockImpl - Acquired read path lock for '[, 2ndbrain]'
12:12:02.241 [Thread-383738] TRACE o.c.f.fuse.locks.PathRLockImpl - Acquired read path lock for '[, 2ndbrain, journals]'
12:12:02.241 [Thread-383739] TRACE o.c.f.fuse.locks.PathRLockImpl - Acquired read path lock for '[]'
12:12:02.241 [Thread-383738] TRACE o.c.f.fuse.locks.PathRLockImpl - Acquired read path lock for '[, 2ndbrain, journals, 2022_01_12.md]'
12:12:02.241 [Thread-383739] TRACE o.c.f.fuse.locks.PathRLockImpl - Acquired read path lock for '[, 2ndbrain]'
12:12:02.241 [Thread-383738] TRACE o.c.f.fuse.locks.DataRLockImpl - Acquired read data lock for '[, 2ndbrain, journals, 2022_01_12.md]'
12:12:02.241 [Thread-383739] TRACE o.c.f.fuse.locks.PathRLockImpl - Acquired read path lock for '[, 2ndbrain, journals]'

This happens to me too, just using standard iCloud sync, no Cryptomator. I’ve tried copying my graph to a local-only folder, and it seems to work fine there, but that doesn’t really help when I want to use it with the iOS app.

Can confirm the same thing happened to me today while on my Mac and using iCloud sync. An entire block I had just written disappeared.

Can confirm, happened to me today. My Logseq directory lives on iCloud