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

Multiples problems with Livesync-bridge #8

Open
CanardConfit opened this issue Jan 29, 2024 · 4 comments
Open

Multiples problems with Livesync-bridge #8

CanardConfit opened this issue Jan 29, 2024 · 4 comments

Comments

@CanardConfit
Copy link

CanardConfit commented Jan 29, 2024

I'm not sure what to write in this issue, because the behavior of the program changes quite often.

In one case it launches like this:

PS [...]/livesync-bridge> deno run -A main.ts
LiveSync Bridge is now starting...
LiveSync Bridge is now started!
29.01.2024 22:21:21     1       Cache initialized 300 / 10000000000000
29.01.2024 22:21:21     1       Cache initialized 300 / 50000000
29.01.2024 22:21:21     1       Cache initialized 300 / 10000000000000
29.01.2024 22:21:21     -1      Requesting ... get https://[***]/obsidian/_local%2Fobsydian_livesync_milestone
29.01.2024 22:21:21     10      [storage-obsidian] Scan offline changes: Enabled, now starting...
29.01.2024 22:21:21     10      [storage-obsidian] Scan offline changes: Finished
29.01.2024 22:21:22     10      [obsidian] Watch starting from 4185-g1AAAACheJzLYWBgYMpgTmEQTM4vTc5I[***]wxyQVCJDUv3___-zMpiTGBg4vucCxdhTzY1NTJOTsenBY1IeC5BkaABS_-E[***]TA1MUrDpjULACVMKYw
29.01.2024 22:21:22     10      WATCH: START: (since:4185-g1AAAACheJzLYWBgYMpgTmEQTM4vTc5I[***]wxyQVCJDUv3___-zMpiTGBg4vucCxdhTzY1NTJOTsenBY1IeC5BkaABS_-E[***]TA1MUrDpjULACVMKYw)
29.01.2024 22:21:22     -1      Requesting ... get https://obsidian.canardporation.com//obsidian/_changes?style=all_docs&filter=replicate%2Fpull&include_docs=true&since=4185-g1AAAACheJzLYWBgYMpgTmEQTM4vTc5I[***]wxyQVCJDUv3___-zMpiTGBg4vucCxdhTzY1NTJOTsenBY1IeC5BkaABS_-E[***]TA1MUrDpjULACVMKYw&feed=continuous&timeout=100000&heartbeat=5000

And it stays stuck like that indefinitely (I left it running for 20 minutes) without doing anything.

In another case it seems to work, it replies? well the files, but there are a lot of files that I assume are temporary in the storage, which pollutes the storage folder a lot.

Files and folders look like this: %6c69cb467b42342ead6f240746dbd7414103147efddc038c3f32a762643a3a2570rjA1AbrQpWh76pXMfNOkAtdedcviwobjUbym0=

And yet another case, the process works, there are my files (always with a lot of temporary files) and it ends up doing:

error: Uncaught (in promise) TypeError: error sending request for url (https://[***]//obsidian/f%3Ac278c2dbe815b3f3c9546866c851b8dd9ae61f84351dbaeb83c2ac94ce1793ed): connection error: stream closed because of a broken pipe
        return await fetch(requestURI, opt);
               ^
    at async mainFetch (ext:deno_fetch/26_fetch.js:170:12)
    at async fetch (ext:deno_fetch/26_fetch.js:391:7)
    at async DirectFileManipulator._fetch (file:///[***]/livesync-bridge/lib/src/DirectFileManipulator.ts:81:16)
    at async DirectFileManipulator._fetchJson (file:///[***]/livesync-bridge/lib/src/DirectFileManipulator.ts:85:23)
    at async DirectFileManipulator.getById (file:///[***]/livesync-bridge/lib/src/DirectFileManipulator.ts:199:26)
    at async DirectFileManipulator.get (file:///[***]/livesync-bridge/lib/src/DirectFileManipulator.ts:185:21)
    at async PeerCouchDB.put (file:///[***]/livesync-bridge/PeerCouchDB.ts:45:21)
    at async Hub.dispatch (file:///[***]/livesync-bridge/Hub.ts:41:27)
    at async file:///[***]/livesync-bridge/PeerStorage.ts:169:17
    at async _runWithLock (file:///[***]/livesync-bridge/lib/src/lock.ts:79:16)

And finally, it worked once, but only on the last file saved in the database, but it replicated the changes as needed:

LiveSync Bridge is now starting...
LiveSync Bridge is now started!
29.01.2024 22:16:25     1       Cache initialized 300 / 10000000000000
29.01.2024 22:16:25     1       Cache initialized 300 / 50000000
29.01.2024 22:16:25     1       Cache initialized 300 / 10000000000000
29.01.2024 22:16:25     -1      Requesting ... get https://[***]/_local%2Fobsydian_livesync_milestone
29.01.2024 22:16:25     10      [storage-obsidian] Scan offline changes: Enabled, now starting...
29.01.2024 22:16:25     10      [storage-obsidian] Scan offline changes: Finished
29.01.2024 22:16:25     10      [obsidian] Watch starting from 4176-g1AAAACheJzLYWBgY[***]wNDLXMwBCwxyQVCJDUv3___-zMpiTGBg4PuYCxdhTzY1NTJOTsenBY1IeC5BkaABS_-EGsseDDbQwNTA1MUrDpjULACI0KYM
29.01.2024 22:16:25     10      WATCH: START: (since:4176-g1AAAACheJzLYWBgY[***]wNDLXMwBCwxyQVCJDUv3___-zMpiTGBg4PuYCxdhTzY1NTJOTsenBY1IeC5BkaABS_-EGsseDDbQwNTA1MUrDpjULACI0KYM)
29.01.2024 22:16:25     -1      Requesting ... get https://[***]//obsidian/_changes?style=all_docs&filter=replicate%2Fpull&include_docs=true&since=4176-g1AAAACheJzLYWBgY[***]wNDLXMwBCwxyQVCJDUv3___-zMpiTGBg4PuYCxdhTzY1NTJOTsenBY1IeC5BkaABS_-EGsseDDbQwNTA1MUrDpjULACI0KYM&feed=continuous&timeout=100000&heartbeat=5000
29.01.2024 22:16:25     1       WATCH: PROCESSING: 2024-01-28.md
29.01.2024 22:16:25     -1      Collecting chunks: 64
29.01.2024 22:16:25     -1      Requesting ... post https://[***]//obsidian/_all_docs?include_docs=true
29.01.2024 22:16:26     -1      Chunks retrieved (64 / 64)
29.01.2024 22:16:26     10      GET: DONE (META): 2024-01-28.md
29.01.2024 22:16:26     10      [obsidian] --> 2024-01-28.md change detected
29.01.2024 22:16:26     10      [storage-obsidian] <-- obsidian/2024-01-28.md saved
29.01.2024 22:16:26     10      WATCH: PROCESS DONE: 2024-01-28.md
29.01.2024 22:16:26     10      [storage-obsidian] --> 2024-01-28.md change detected
29.01.2024 22:16:41     1       WATCH: PROCESSING: 2024-01-28.md
29.01.2024 22:16:41     -1      Collecting chunks: 64
29.01.2024 22:16:41     -1      Requesting ... post https://[***]//obsidian/_all_docs?include_docs=true
29.01.2024 22:16:41     -1      Chunks retrieved (1 / 64)
29.01.2024 22:16:41     10      GET: DONE (META): 2024-01-28.md
29.01.2024 22:16:41     10      [obsidian] --> 2024-01-28.md change detected
29.01.2024 22:16:41     10      [storage-obsidian] <-- obsidian/2024-01-28.md saved
29.01.2024 22:16:41     10      WATCH: PROCESS DONE: 2024-01-28.md
29.01.2024 22:16:41     10      [storage-obsidian] --> 2024-01-28.md change detected
29.01.2024 22:16:44     1       WATCH: PROCESSING: 2024-01-28.md
29.01.2024 22:16:44     -1      Collecting chunks: 64
29.01.2024 22:16:44     -1      All chunks has been found on cache.
29.01.2024 22:16:44     10      GET: DONE (META): 2024-01-28.md
29.01.2024 22:16:44     10      [obsidian] --> 2024-01-28.md change detected
29.01.2024 22:16:44     10      [storage-obsidian] <-- obsidian/2024-01-28.md saved
29.01.2024 22:16:44     10      WATCH: PROCESS DONE: 2024-01-28.md
29.01.2024 22:16:44     10      [storage-obsidian] --> 2024-01-28.md change detected
29.01.2024 22:16:44     1       GET: START: 2024-01-28.md
29.01.2024 22:16:44     -1      Requesting ... get https://[***]//obsidian/f%3Aad890f0c8[***]b563b93e3490f00955b62ccca97a1ba1dc5ba7f026ba
29.01.2024 22:16:44     10      GET: DONE: 2024-01-28.md
29.01.2024 22:16:44     1       PUT: START: 2024-01-28.md
29.01.2024 22:16:44     -1      Collecting chunks: 1
29.01.2024 22:16:44     -1      Requesting ... post https://[***]//obsidian/_all_docs
29.01.2024 22:16:44     -1      Chunks retrieved (1 / 1)
29.01.2024 22:16:44     10      PUT: All chunks:1, Upload chunk: 1
29.01.2024 22:16:44     -1      Requesting ... post https://[***]//obsidian/_bulk_docs
29.01.2024 22:16:44     -1      Requesting ... get https://[***]//obsidian/f%3Aad890f0c8[***]b563b93e3490f00955b62ccca97a1ba1dc5ba7f026ba
29.01.2024 22:16:45     1       PUT: UPLOADING: 2024-01-28.md
29.01.2024 22:16:45     -1      Requesting ... put https://[***]//obsidian/f%3Aad890f0c8[***]b563b93e3490f00955b62ccca97a1ba1dc5ba7f026ba
29.01.2024 22:16:45     10      PUT: DONE: 2024-01-28.md
29.01.2024 22:16:45     10      [obsidian] <--  2024-01-28.md saved
29.01.2024 22:16:45     1       WATCH: PROCESSING: %6c69cb467b42342ead6f240746dbd741[***]a762643a3a2570rjA1AbrQpWh76pXMfNOkAtdedcviwobjUbym0=
29.01.2024 22:16:45     -1      Collecting chunks: 1
29.01.2024 22:16:45     -1      Requesting ... post https://[***]//obsidian/_all_docs?include_docs=true
29.01.2024 22:16:45     -1      Chunks retrieved (1 / 1)
29.01.2024 22:16:45     10      GET: DONE (META): %6c69cb467b42342ead6f240746dbd741[***]a762643a3a2570rjA1AbrQpWh76pXMfNOkAtdedcviwobjUbym0=
29.01.2024 22:16:45     10      [obsidian] --> %6c69cb467b42342ead6f240746dbd741[***]a762643a3a2570rjA1AbrQpWh76pXMfNOkAtdedcviwobjUbym0=change detected
29.01.2024 22:16:45     10      [storage-obsidian] <-- obsidian/%6c69cb467b42342ead6f240746dbd741[***]a762643a3a2570rjA1AbrQpWh76pXMfNOkAtdedcviwobjUbym0= saved
29.01.2024 22:16:45     10      WATCH: PROCESS DONE: %6c69cb467b42342ead6f240746dbd741[***]a762643a3a2570rjA1AbrQpWh76pXMfNOkAtdedcviwobjUbym0=
29.01.2024 22:16:45     10      [storage-obsidian] --> %6c69cb467b42342ead6f240746dbd741[***]a762643a3a2570rjA1AbrQpWh76pXMfNOkAtdedcviwobjUbym0= change detected

In all of these cases, it doesn't work "enough" to be usable. I tried to understand why but I couldn't figure it out. I would like to point out that I use Obsidian-LiveSync during all these tests and that it works wonderfully.

Specifications

CouchDB v3.3.3-1~bullseye

CouchDB's response to https://[***]/_all_dbs: ["obsidian"]

I'll say it again but replication on several devices with obsidian-livesync works flawlessly, so I would say that it's livesync-bridge which has a problem...

I'm on the main branch of this project for my tests.

The configuration of dat/config.json:

{
    "peers": [
        {
            "type": "couchdb",
            "name": "obsidian",
            "database": "obsidian",
            "username": "[***]",
            "password": "[***]",
            "url": "https://[***]/",
            "customChunkSize": 100,
            "minimumChunkSize": 20,
            "passphrase": "",
            "obfuscatePassphrase": "[***]",
            "baseDir": ""
        },
        {
          "type": "storage",
          "name": "storage-obsidian",
          "baseDir": "./obsidian/",
          "scanOfflineChanges": true
        }
    ]
}

Hope you can help me :)

@fairlygood
Copy link

Not sure if this helps, but mine only syncs if I hit the 'replicate' button in Obsidian.

@CanardConfit
Copy link
Author

CanardConfit commented Feb 2, 2024

I've just tried and no, nothing ;(

But thank you!

@vrtmrz
Copy link
Owner

vrtmrz commented Feb 25, 2024

Sorry for being very late!
It is supposed that E2EE decryption and Path obfuscation are not processed well. And there was a bug around them.
In today's version, fixed the issue about the passphrase and obfuscated passphrase. Would you mind checking the lastest version?

P.S. We should configure the passphrase as same as obfuscatePassphrash. Both are normally the same.

@CanardConfit
Copy link
Author

Well well well... I don't know exactly why or how, but it works now.

What I have done:

  • Try the various combinations of config.json: passphrase filled / no passphrase, obfuscatePassphrase, no obfuscatePassphrase, ... Nothing worked like that. One of the weird results (because they were all different):
PS livesync-bridge> deno run -A main.ts
LiveSync Bridge is now starting...
LiveSync Bridge is now started!
25.02.2024 15:59:51     1       Cache initialized 300 / 10000000000000
25.02.2024 15:59:51     1       Cache initialized 300 / 50000000
25.02.2024 15:59:51     1       Cache initialized 300 / 10000000000000
25.02.2024 15:59:51     -1      Requesting ... get https://[...]//obsidian/_local%2Fobsydian_livesync_milestone
25.02.2024 15:59:51     10      [storage-obsidian] Scan offline changes: Enabled, now starting...
25.02.2024 15:59:51     10      [obsidian] Watch starting from 4659-g1AAAACheJzLYWBgYMpgTmEQTM4vTc5ISXIwNDLXMwBCwxyQVCJDUv3___-zMpiTGBg4P-YCxdhTzY1NTJOTsenBY1IeC5BkaABS_-EGcjiBDbQwNTA1MUrDpjULAB7xKWg
25.02.2024 15:59:51     10      WATCH: START: (since:4659-g1AAAACheJzLYWBgYMpgTmEQTM4vTc5ISXIwNDLXMwBCwxyQVCJDUv3___-zMpiTGBg4P-YCxdhTzY1NTJOTsenBY1IeC5BkaABS_-EGcjiBDbQwNTA1MUrDpjULAB7xKWg)
25.02.2024 15:59:51     -1      Requesting ... get https://[...]//obsidian/_changes?style=all_docs&filter=replicate%2Fpull&include_docs=true&since=4659-g1AAAACheJzLYWBgYMpgTmEQTM4vTc5ISXIwNDLXMwBCwxyQVCJDUv3___-zMpiTGBg4P-YCxdhTzY1NTJOTsenBY1IeC5BkaABS_-EGcjiBDbQwNTA1MUrDpjULAB7xKWg&feed=continuous&timeout=100000&heartbeat=5000
25.02.2024 15:59:51     1       WATCH: SOMETHING WENT WRONG ON EACH PROCESS
Error: Could not determine path
    at DirectFileManipulator.decryptDocumentPath (file:///[...]livesync-bridge/lib/src/DirectFileManipulator.ts:167:31)
    at DirectFileManipulator.processJSONL (file:///[...]livesync-bridge/lib/src/DirectFileManipulator.ts:465:45)
    at DirectFileManipulator.beginWatch (file:///[...]livesync-bridge/lib/src/DirectFileManipulator.ts:512:36)
    at eventLoopTick (ext:core/01_core.js:182:7)
25.02.2024 15:59:51     1       Error:Could not determine path
25.02.2024 15:59:51     1       {"seq":"4693-g1AAAACheJzLYWBgYMpgTmEQTM4vTc5ISXIwNDLXMwBCwxyQVCJDUv3___-zMpiTGBg4f-UCxdhTzY1NTJOTsenBY1IeC5BkaABS_-EGckSDDbQwNTA1MUrDpjULACZOKYo","id":"2024-02-.md","changes":[{"rev":"2-d6ecdfae46
bb4f3293f6de895a42cc7f"}],"doc":{"_id":"2024-02-.md","_rev":"2-d6ecdfae46bb4f3293f6de895a42cc7f","children":["h:+nnun59hbtkc2"],"path":"2024-02-.md","ctime":1707298367100,"mtime":1707298384487,"size":0,"type":"plain","deleted":true}}
25.02.2024 15:59:51     1       WATCH: SOMETHING WENT WRONG ON EACH PROCESS
Error: Could not determine path
    at DirectFileManipulator.decryptDocumentPath (file:///[...]livesync-bridge/lib/src/DirectFileManipulator.ts:167:31)
    at DirectFileManipulator.processJSONL (file:///[...]livesync-bridge/lib/src/DirectFileManipulator.ts:465:45)
    at DirectFileManipulator.beginWatch (file:///[...]livesync-bridge/lib/src/DirectFileManipulator.ts:512:36)
    at eventLoopTick (ext:core/01_core.js:182:7)
25.02.2024 15:59:51     1       Error:Could not determine path
25.02.2024 15:59:51     1       {"seq":"4741-g1AAAACheJzLYWBgYMpgTmEQTM4vTc5ISXIwNDLXMwBCwxyQVCJDUv3___-zMpiTGBi4JHOBYuyp5sYmpsnJ2PTgMSmPBUgyNACp_3ADOXLABlqYGpiaGKVh05oFAMPiKLs","id":"2024-02-07.md","changes":[{"rev":"5-a08512702ed9408096c65a2b5dc866ab"}],"doc":{"_id":"2024-02-07.md","_rev":"5-a08512702ed9408096c65a2b5dc866ab","children":["h:+3vbaeqhcfiwif"],"path":"2024-02-07.md","ctime":1707298367100,"mtime":1707298399568,"size":19,"type":"plain"}}  
25.02.2024 15:59:51     1       WATCH: SOMETHING WENT WRONG ON EACH PROCESS
Error: Could not determine path
    at DirectFileManipulator.decryptDocumentPath (file:///[...]livesync-bridge/lib/src/DirectFileManipulator.ts:167:31)
    at DirectFileManipulator.processJSONL (file:///[...]livesync-bridge/lib/src/DirectFileManipulator.ts:465:45)
    at DirectFileManipulator.beginWatch (file:///[...]livesync-bridge/lib/src/DirectFileManipulator.ts:512:36)
    at eventLoopTick (ext:core/01_core.js:182:7)
25.02.2024 15:59:51     1       Error:Could not determine path
25.02.2024 15:59:51     1       {"seq":"4776-g1AAAACheJzLYWBgYMpgTmEQTM4vTc5ISXIwNDLXMwBCwxyQVCJDUv3___-zMpiTGBi4lHOBYuyp5sYmpsnJ2PTgMSmPBUgyNACp_3ADOVrBBlqYGpiaGKVh05oFAMuyKN4","id":"2024-01-20.md","changes":[{"rev":"139-0e2cab
9a27ca41859097c785dc06da3d"}],"doc":{"_id":"2024-01-20.md","_rev":"139-0e2cab9a27ca41859097c785dc06da3d","children":["h:+2e1fxidzq7051","h:+3hua6u1yker11","h:+2d0fa4mwmwuou","h:+1slgey5rf3hnu","h:+30ff996eg4xa7","h:+2b014jlvv6uzj","h:+2wiz5m7xi60d","h:+1w5fm0rw6mze2","h:+2ye3dkce1o3on","h:+3p4hiap6vp8bg","h:+v1x8lpzz63a7","h:+xyqhmbfyr8gf","h:+of13qjl6af"],"path":"2024-01-20.md","ctime":1705707794122,"mtime":1707341027267,"size":1089,"type":"plain"}}  
25.02.2024 15:59:51     1       WATCH: SOMETHING WENT WRONG ON EACH PROCESS
Error: Could not determine path
    at DirectFileManipulator.decryptDocumentPath (file:///[...]livesync-bridge/lib/src/DirectFileManipulator.ts:167:31)
    at DirectFileManipulator.processJSONL (file:///[...]livesync-bridge/lib/src/DirectFileManipulator.ts:465:45)
    at DirectFileManipulator.beginWatch (file:///[...]livesync-bridge/lib/src/DirectFileManipulator.ts:512:36)
    at eventLoopTick (ext:core/01_core.js:182:7)
25.02.2024 15:59:51     1       Error:Could not determine path
25.02.2024 15:59:51     1       {"seq":"4803-g1AAAACheJzLYWBgYMpgTmEQTM4vTc5ISXIwNDLXMwBCwxyQVCJDUv3___-zMpiTGBi4NHOBYuyp5sYmpsnJ2PTgMSmPBUgyNACp_3ADOWaBDbQwNTA1MUrDpjULANEuKPk","id":"2024-02-09.md","changes":[{"rev":"7-1bfaba65
4a784c8d89101250b0a186fa"}],"doc":{"_id":"2024-02-09.md","_rev":"7-1bfaba654a784c8d89101250b0a186fa","children":["h:+2jybyftv7k57d","h:+irzgly4fdjo3","h:+vbnxjwnejzac","h:+2naa5f0wa0vsk"],"path":"2024-02-09.md","ctime":1707474761094,"mtime":1707502191416,"size":132,"type":"plain"}}
25.02.2024 15:59:51     1       WATCH: SOMETHING WENT WRONG ON EACH PROCESS
Error: Could not determine path
    at DirectFileManipulator.decryptDocumentPath (file:///[...]livesync-bridge/lib/src/DirectFileManipulator.ts:167:31)
    at DirectFileManipulator.processJSONL (file:///[...]livesync-bridge/lib/src/DirectFileManipulator.ts:465:45)
    at DirectFileManipulator.beginWatch (file:///[...]livesync-bridge/lib/src/DirectFileManipulator.ts:512:36)
    at eventLoopTick (ext:core/01_core.js:182:7)
25.02.2024 15:59:51     1       Error:Could not determine path
25.02.2024 15:59:51     1       {"seq":"4832-g1AAAACheJzLYWBgYMpgTmEQTM4vTc5ISXIwNDLXMwBCwxyQVCJDUv3___-zMpiTGBi49HOBYuyp5sYmpsnJ2PTgMSmPBUgyNACp_3ADOTaCDbQwNTA1MUrDpjULANbuKRY","id":"[...]/Obsidian.md","changes":[{"rev":"5-3
740bbeb46454ac1b81335b6b6912d76"}],"doc":{"_id":"[...]/Obsidian.md","_rev":"5-3740bbeb46454ac1b81335b6b6912d76","children":["h:+4ewek1m54ues","h:+34buvpuyvyq18","h:+1c1s3yydp6j0v","h:+wtresk3ois0b","h:+2v3ocmovuu3lc"],"path":"[...]/Obsidian.md","ctime":1704749757213,"mtime":1708000244322,"size":305,"type":"plain"}}
25.02.2024 15:59:51     1       WATCH: SOMETHING WENT WRONG ON EACH PROCESS
Error: Could not determine path
    at DirectFileManipulator.decryptDocumentPath (file:///[...]livesync-bridge/lib/src/DirectFileManipulator.ts:167:31)
    at DirectFileManipulator.processJSONL (file:///[...]livesync-bridge/lib/src/DirectFileManipulator.ts:465:45)
    at DirectFileManipulator.beginWatch (file:///[...]livesync-bridge/lib/src/DirectFileManipulator.ts:512:36)
    at eventLoopTick (ext:core/01_core.js:182:7)
25.02.2024 15:59:52     1       Error:Could not determine path
25.02.2024 15:59:52     1       {"seq":"4855-g1AAAACheJzLYWBgYMpgTmEQTM4vTc5ISXIwNDLXMwBCwxyQVCJDUv3___-zMpiTGBi4rHOBYuyp5sYmpsnJ2PTgMSmPBUgyNACp_3ADOfaADbQwNTA1MUrDpjULAN3IKS0","id":"[...]/[...].md","chan
ges":[{"rev":"2-f6198eb08d164a38a20d58785527efa7"}],"doc":{"_id":"[...]/[...].md","_rev":"2-f6198eb08d164a38a20d58785527efa7","children":["h:+4vd7uit6benx","h:+2jz2mx2emzbnb","h:+1a75bgfgbmmy4","h:+3o71mgufzxo32","h:+3qpli5udllc8b","h:+2y3i78er2kc1g","h:+2ftnzoaubk6gu"],"path":"[...]/[...].md","ctime":1704749757213,"mtime":1708000286862,"size":185,"type":"plain"}}
25.02.2024 15:59:52     1       WATCH: SOMETHING WENT WRONG ON EACH PROCESS
Error: Could not determine path
    at DirectFileManipulator.decryptDocumentPath (file:///[...]livesync-bridge/lib/src/DirectFileManipulator.ts:167:31)
    at DirectFileManipulator.processJSONL (file:///[...]livesync-bridge/lib/src/DirectFileManipulator.ts:465:45)
    at DirectFileManipulator.beginWatch (file:///[...]livesync-bridge/lib/src/DirectFileManipulator.ts:512:36)
    at eventLoopTick (ext:core/01_core.js:182:7)
25.02.2024 15:59:52     1       Error:Could not determine path
25.02.2024 15:59:52     1       {"seq":"4905-g1AAAACheJzLYWBgYMpgTmEQTM4vTc5ISXIwNDLXMwBCwxyQVCJDUv3___-zMpiTGBi4QnKBYuyp5sYmpsnJ2PTgMSmPBUgyNACp_3ADOa6CDbQwNTA1MUrDpjULAOxVKV8","id":"[...]/Astronomy/[...].md","chang
es":[{"rev":"109-ad28e2a4e3be42ca9001399064d864ee"}],"doc":{"_id":"[...]/Astronomy/[...].md","_rev":"109-ad28e2a4e3be42ca9001399064d864ee","children":["h:+3i9a86r1arq1y","h:+7pxyg2lqmo0r","h:+37veqkgz9wgnb","h:+1iozw
vazz1opo","h:+1doe20ixyfgs0","h:+29iiipq1daca9","h:+12l5xw13j3wbr","h:+1yw7voe1i7dbp","h:+2xu0c1xqsokep","h:+irhfjsrpr2mi","h:+meqcth5az8ni","h:+1z8whawy284t5","h:+21wt3izelo9ck","h:+1r128ad8e60im","h:+3t59lbepy7qhn","h:+2yhonctesrqry"],"path":"[...]/Astronomy/[...].md","ctime":1705611871246,"mtime":1708000435290,"size":597,"type":"plain"}}
25.02.2024 15:59:52     1       WATCH: SOMETHING WENT WRONG ON EACH PROCESS
Error: Could not determine path
    at DirectFileManipulator.decryptDocumentPath (file:///[...]livesync-bridge/lib/src/DirectFileManipulator.ts:167:31)
    at DirectFileManipulator.processJSONL (file:///[...]livesync-bridge/lib/src/DirectFileManipulator.ts:465:45)
    at DirectFileManipulator.beginWatch (file:///[...]livesync-bridge/lib/src/DirectFileManipulator.ts:512:36)
    at eventLoopTick (ext:core/01_core.js:182:7)
25.02.2024 15:59:52     1       Error:Could not determine path
25.02.2024 15:59:52     1       {"seq":"4987-g1AAAACheJzLYWBgYMpgTmEQTM4vTc5ISXIwNDLXMwBCwxyQVCJDUv3___-zMpiTGBi4SnOBYuyp5sYmpsnJ2PTgMSmPBUgyNACp_3ADOdnABlqYGpiaGKVh05oFAN_NKLI","id":"[...]/[...].md","
changes":[{"rev":"3-5eed9ca2e06b4d138bbf6ec620994d64"}],"doc":{"_id":"[...]/[...].md","_rev":"3-5eed9ca2e06b4d138bbf6ec620994d64","children":["h:+3awfdpkwvuec7","h:+1httn7q0j0em9","h:+3tqnuvec4ecz9","h:+1fs07nclkmkcg","h:+8t1ezbxqv5yz"],"path":"[...]/[...].md","ctime":1704749757214,"mtime":1708000294886,"size":158,"type":"plain"}}
25.02.2024 15:59:52     1       WATCH: SOMETHING WENT WRONG ON EACH PROCESS
Error: Could not determine path
    at DirectFileManipulator.decryptDocumentPath (file:///[...]livesync-bridge/lib/src/DirectFileManipulator.ts:167:31)
    at DirectFileManipulator.processJSONL (file:///[...]livesync-bridge/lib/src/DirectFileManipulator.ts:465:45)
    at DirectFileManipulator.beginWatch (file:///[...]livesync-bridge/lib/src/DirectFileManipulator.ts:512:36)
    at eventLoopTick (ext:core/01_core.js:182:7)
25.02.2024 15:59:52     1       Error:Could not determine path
25.02.2024 15:59:52     1       {"seq":"4995-g1AAAACheJzLYWBgYMpgTmEQTM4vTc5ISXIwNDLXMwBCwxyQVCJDUv3___-zMpiTGBi4ynKBYuyp5sYmpsnJ2PTgMSmPBUgyNACp_3ADOXnBBlqYGpiaGKVh05oFAOEuKLo","id":"[...]/[...]/n
ote.md","changes":[{"rev":"5-e999ffe5c61f4f70ac1f85b37dd4d665"}],"doc":{"_id":"[...]/[...]/note.md","_rev":"5-e999ffe5c61f4f70ac1f85b37dd4d665","children":["h:+1fj5jkljfk8nc","h:+1spwdu3bu4ljj","h:
+11fpy08pysuzh","h:+2x50mn5uuxkbr","h:+3hua6u1yker11","h:+2uaz2w6hy1m2y","h:+3d4tlgme2gglz","h:+1vvh4h9uc011m","h:+3vcvsmxuzsnhn","h:+3v3sb43a85u69","h:+20zwvkrplbqb9","h:+2vcwqtjj5fpz8","h:+2bj8bhh764r9f","h:+18fqm2h06cnb5","h:
+33u59leflju2o","h:+syhy9hyrfbcb","h:+3nm95he4gctq9","h:+3602ii8mx2ap4","h:+2avw1gzlvdcm5","h:+30bxu1chtat74","h:+15xaggx80v045","h:+ae793dp7u0qj","h:+o69wza4kzcnw","h:+ziy80tupzlur","h:+md09fvx8hzhq","h:+15zyfyerwtbbx","h:+539q
vt8hxgld","h:+2l84uz8pk7tl5","h:+3fsiu58vy9jcb","h:+3q89yglfp1vlj","h:+12dweiivn6pjm","h:+vesxp6typox8","h:+6ztctx8wjksl","h:+1f2joq0cuorcp","h:+2s2gf4iouylv","h:+1cx5m82r4e51g","h:+1rc8gxuz79dlj","h:+3a4krprkq1uhf","h:+1it1jsff
e0xcb","h:+3qjdyq8ll1glr","h:+1f0n19ink61kh","h:+3otdppgi834nk","h:+tck48n452anb","h:+1kbs0lsnqryq0","h:+1tv3mxdzqj4e0","h:+ol1iu03nxguv","h:+1ah8zmtmo4x0y","h:+1f0n19ink61kh","h:+271drf8mubh20","h:+un7m8zihlnoe","h:+fbkyc0zo3hn
w","h:+3fkwv2z8y3zr2","h:+6v9fmopbh03b","h:+21q2vpc1jjphp","h:+34jpakeqdu6fx","h:+2wl3x8d691f5t","h:+ygt45rvj86mr","h:+nnun59hbtkc2","h:+1ve05gttq0y96","h:+3sqq8t1gbw6in","h:+10ouh3m8q53ns","h:+2qynbfx8q83qg","h:+1gr85qjnd82f1",
"h:+14i7m0pwt5f97","h:+10ouh3m8q53ns","h:+2st2oix0ijmbn","h:+10ouh3m8q53ns","h:+xhgydfluq2aj","h:+10ouh3m8q53ns","h:+1yaxlrpa8yt65","h:+35y1w2p5kg3xk","h:+17quqq1x9jzyu","h:+3b5ztgm6r3bsp","h:+1i44hljuoiicn","h:+20p3a9zbe0tzn","
h:+fj1fgnc8qr81","h:+o5l0dmbfco8u","h:+3thhvl9t541qc","h:+10ouh3m8q53ns","h:+2hszvi00ycp34","h:+10ouh3m8q53ns","h:+ls19u12xx5mb","h:+10ouh3m8q53ns","h:+2q6z2ylqq6ta3","h:+10ouh3m8q53ns","h:+22mr0ju9ezqli","h:+10ouh3m8q53ns","h:+
10f6yhfh4w5z2","h:+20p3a9zbe0tzn","h:+1igxrrqkyt5g1","h:+o5l0dmbfco8u","h:+1th525d85b5z9","h:+10ouh3m8q53ns","h:+24sggq582136r","h:+10ouh3m8q53ns","h:+2gy4t8suh0ih8","h:+10ouh3m8q53ns","h:+1avie8m076nxq","h:+o5l0dmbfco8u","h:+1b
mv8ywmovzfj","h:+10ouh3m8q53ns","h:+yzsuxek4itzn","h:+10ouh3m8q53ns","h:+2zowuebtx2160","h:+2fgp06v3ovmge","h:+6yc9stsguca7","h:+10ouh3m8q53ns","h:+1k0vpspv04vpn","h:+10ouh3m8q53ns","h:+17ygp44dc296s","h:+20p3a9zbe0tzn","h:+23g9
zih2ubq1m","h:+10ouh3m8q53ns","h:+2j1owsdxaf2rf","h:+3drtxfq98k6ar","h:+3qu31v4kh4prw","h:+1n6dzplez0fzu","h:+33v307328f08i","h:+3grdazrcei4ju","h:+2jibnqjf0ndgt","h:+2pmrojp1eucjn","h:+2rzn2hplvtlak","h:+1f0n19ink61kh","h:+1tas
3dmuuxzu0","h:+34t42newau1nx","h:+1tlvg7woho4ox","h:+5r0vzkpqyt3m","h:+1c835hstkwc9a","h:+31hu3j5o9onsk","h:+21ie98itxz0ad","h:+3vgb2nmzwydmm","h:+16z6cktrl09fp","h:+vmf779n8u27n","h:+2bgkkstqiisxa","h:+1xqaz586sguu4","h:+2iiu9v
13lev2k","h:+1vbjrta957cwb","h:+2dxdhbrhunu2q","h:+dme96ptm1fdi","h:+qjcp8j8we0ca","h:+1zoblrdgiwpms","h:+1p00ypf0izcuj","h:+6vi4e4tbd2dy","h:+2abaqrvd996oe","h:+1n7b0r5bm9lie","h:+1n6kt15cmoutx","h:+2s5irbmvy66v5","h:+1a3m6qi4b
4573","h:+ec08od6lhd76","h:+2rfq9syd5d377","h:+1q89jscxvidio","h:+1v48y6ymkx33d","h:+3ibldck496tsq","h:+3sf9x9jtmxs7y","h:+2ftw6b948n8hi","h:+hw55c15ivjby","h:+syk0jca06a42","h:+nnun59hbtkc2"],"path":"[...]/[...]/note.md","ctime":1704749757237,"mtime":1708109097489,"size":6584,"type":"plain"}}
25.02.2024 15:59:52     1       WATCH: SOMETHING WENT WRONG ON EACH PROCESS
Error: Could not determine path
    at DirectFileManipulator.decryptDocumentPath (file:///[...]livesync-bridge/lib/src/DirectFileManipulator.ts:167:31)
    at DirectFileManipulator.processJSONL (file:///[...]livesync-bridge/lib/src/DirectFileManipulator.ts:465:45)
    at DirectFileManipulator.beginWatch (file:///[...]livesync-bridge/lib/src/DirectFileManipulator.ts:512:36)
    at eventLoopTick (ext:core/01_core.js:182:7)
25.02.2024 15:59:52     1       Error:Could not determine path
25.02.2024 15:59:52     1       {"seq":"5013-g1AAAACheJzLYWBgYMpgTmEQTM4vTc5ISXIwNDLXMwBCwxyQVCJDUv3___-zMpiTGBi4qnKBYuyp5sYmpsnJ2PTgMSmPBUgyNACp_3ADOaXBBlqYGpiaGKVh05oFAOTWKMw","id":"Untitled.md","changes":[{"rev":"8-92f569315d
e14445b12da069682afddf"},{"rev":"6-c6771374c93a474fa73a4cfb3498736e"}],"doc":{"_id":"Untitled.md","_rev":"8-92f569315de14445b12da069682afddf","children":["h:+nnun59hbtkc2"],"path":"Untitled.md","ctime":1706714979963,"mtime":1708371696796,"size":0,"type":"plain","deleted":true}}
25.02.2024 15:59:52     1       WATCH: SOMETHING WENT WRONG ON EACH PROCESS
Error: Could not determine path
    at DirectFileManipulator.decryptDocumentPath (file:///[...]livesync-bridge/lib/src/DirectFileManipulator.ts:167:31)
    at DirectFileManipulator.processJSONL (file:///[...]livesync-bridge/lib/src/DirectFileManipulator.ts:465:45)
    at DirectFileManipulator.beginWatch (file:///[...]livesync-bridge/lib/src/DirectFileManipulator.ts:512:36)
    at eventLoopTick (ext:core/01_core.js:182:7)
25.02.2024 15:59:52     1       Error:Could not determine path
25.02.2024 15:59:52     1       {"seq":"5046-g1AAAACheJzLYWBgYMpgTmEQTM4vTc5ISXIwNDLXMwBCwxyQVCJDUv3___-zMpiTGBi4-nOBYuyp5sYmpsnJ2PTgMSmPBUgyNACp_3ADOdXBBlqYGpiaGKVh05oFAO_dKO0","id":"[...]/To Do.md","changes":[{"rev":"19-246
fecacee2c41da9d928842c6916a15"}],"doc":{"_id":"[...]/To Do.md","_rev":"19-246fecacee2c41da9d928842c6916a15","children":["h:+yfubk08u7bs5","h:+356twcpuses12","h:+18vojr6wt3mh","h:+14csvhchly9b5","h:+ttj5qu1zooab","h:+cbh1xpgf9
se7","h:+1xrc6rb29asnu","h:+3v949619iva56","h:+1hfhtlf0e7tvd","h:+25nq9s5hqlcw4","h:+39faxh0013trd","h:+1g4i9snntxd2p","h:+3gx2si9m46xlm","h:+1j16rp2cvt5qw","h:+2o3kflpw8pmtt","h:+15iojc54kplvy","h:+ppefsxbfnzax","h:+i01eamyosns7"],"path":"[...]/To Do.md","ctime":1704749757214,"mtime":1708075348469,"size":898,"type":"plain"}}
25.02.2024 15:59:52     1       WATCH: SKIP i:.obsidian/graph.json: OUT OF TARGET FOLDER
25.02.2024 15:59:52     1       WATCH: SOMETHING WENT WRONG ON EACH PROCESS
Error: Could not determine path
    at DirectFileManipulator.decryptDocumentPath (file:///[...]livesync-bridge/lib/src/DirectFileManipulator.ts:167:31)
    at DirectFileManipulator.processJSONL (file:///[...]livesync-bridge/lib/src/DirectFileManipulator.ts:465:45)
    at DirectFileManipulator.beginWatch (file:///[...]livesync-bridge/lib/src/DirectFileManipulator.ts:512:36)
    at eventLoopTick (ext:core/01_core.js:182:7)
25.02.2024 15:59:52     1       Error:Could not determine path
25.02.2024 15:59:52     1       {"seq":"5069-g1AAAACheJzLYWBgYMpgTmEQTM4vTc5ISXIwNDLXMwBCwxyQVCJDUv3___-zMpiTGBi4puUCxdhTzY1NTJOTsenBY1IeC5BkaABS_-EGcpqDDbQwNTA1MUrDpjULAPUiKQQ","id":"[...]/Untitled.md","changes":[{"rev":"2-1157
d9c4570e412f9f9a19b0f4777795"}],"doc":{"_id":"[...]/Untitled.md","_rev":"2-1157d9c4570e412f9f9a19b0f4777795","children":["h:+nnun59hbtkc2"],"path":"[...]/Untitled.md","ctime":1708417679057,"mtime":1708417682763,"size":0,"type":"plain","deleted":true}}
25.02.2024 15:59:52     1       WATCH: SOMETHING WENT WRONG ON EACH PROCESS
Error: Could not determine path
    at DirectFileManipulator.decryptDocumentPath (file:///[...]livesync-bridge/lib/src/DirectFileManipulator.ts:167:31)
    at DirectFileManipulator.processJSONL (file:///[...]livesync-bridge/lib/src/DirectFileManipulator.ts:465:45)
    at DirectFileManipulator.beginWatch (file:///[...]livesync-bridge/lib/src/DirectFileManipulator.ts:512:36)
    at eventLoopTick (ext:core/01_core.js:182:7)
25.02.2024 15:59:52     1       Error:Could not determine path
25.02.2024 15:59:52     1       {"seq":"5155-g1AAAACheJzLYWBgYMpgTmEQTM4vTc5ISXIwNDLXMwBCwxyQVCJDUv3___-zMpiTGBi4tuQCxdhTzY1NTJOTsenBY1IeC5BkaABS_-EGcuaDDbQwNTA1MUrDpjULAAobKVo","id":"[...]/[...].md","ch
anges":[{"rev":"3-3e58f4fcb66345c999af83e1c10456b4"}],"doc":{"_id":"[...]/[...].md","_rev":"3-3e58f4fcb66345c999af83e1c10456b4","children":["h:+2o69ue2of3zgb","h:+fwvkj1hwuruo","h:+16iwlrihvgls4","h:+2y9
g8gsxaale7","h:+2t3g5yp5dyl8d","h:+2t8bovoc9dnom","h:+2iilkgr9ar40g","h:+177yaje6b8zht","h:+1fmz2guexe44n","h:+14ug93w9fd6m6","h:+3so44xak4d2m4","h:+3so7vnpqrzhlp","h:+3ewlxexgiyay1","h:+pq79mtz8yy6k","h:+1e8k7ndrgha9n","h:+1xk9
h6nm3guyf","h:+2jfauso9m74mc","h:+18wx3tgnwy6c1","h:+2qw4bj66kfmh4","h:+3jycueo5spj3o","h:+2q1899yr84amf","h:+33f2hs1fu7tgv","h:+1mup1alzsttda","h:+30qmnze0kyy9t","h:+1lbhzs97kqj6h","h:+b5ctm08w9sg2","h:+1zghgwlkzz6qn","h:+12dyt
w90cwe1n","h:+15324xc1ifhei","h:+lsjhlkgoex4a","h:+pirv83n453qp","h:+19mys3tnx0dir","h:+13pvi4lncick","h:+ewh4hf5ne2zj","h:+1ybwd0hzptrrb","h:+1cap0hm5gu0mh","h:+3505w7ayi7ihj","h:+32jw60lh2udtq","h:+mkbbqm8elgo2","h:+5kxyqbhq7h
ij","h:+21z0201ij2m1v","h:+1g086gk7tnxof","h:+jriexf0crtoh","h:+391ogb16479ma","h:+fdmp9sca34h7","h:+f7z7v2bggmdk","h:+1gggpd0i2c8wt","h:+zxoxioz0k2pz","h:+2w7eq5cgh9mvh","h:+nqk9ne1s5olb","h:+39sg7sfzxqa9n","h:+1lighulbn5duh","h:+3gnqrqp5eqwsx"],"path":"[...]/[...].md","ctime":1704749757212,"mtime":1708075406728,"size":1906,"type":"plain"}}
25.02.2024 15:59:52     1       WATCH: SOMETHING WENT WRONG ON EACH PROCESS
Error: Could not determine path
    at DirectFileManipulator.decryptDocumentPath (file:///[...]livesync-bridge/lib/src/DirectFileManipulator.ts:167:31)
    at DirectFileManipulator.processJSONL (file:///[...]livesync-bridge/lib/src/DirectFileManipulator.ts:465:45)
    at DirectFileManipulator.beginWatch (file:///[...]livesync-bridge/lib/src/DirectFileManipulator.ts:512:36)
    at eventLoopTick (ext:core/01_core.js:182:7)
25.02.2024 15:59:52     1       Error:Could not determine path
25.02.2024 15:59:52     1       {"seq":"5246-g1AAAACheJzLYWBgYMpgTmEQTM4vTc5ISXIwNDLXMwBCwxyQVCJDUv3___-zMpiTGBi4XucCxdhTzY1NTJOTsenBY1IeC5BkaABS_-EGck4GG2hhamBqYpSGTWsWACeYKbU","id":"[...]/[...].md","changes":
[{"rev":"11-c9fb40e9620e4635bf2a120e5d8ae894"}],"doc":{"_id":"[...]/[...].md","_rev":"11-c9fb40e9620e4635bf2a120e5d8ae894","children":["h:+3bkkcppkjyeib","h:+25ijd4ngzlhsv","h:+xgqar7u1r46w","h:+nnun59hbtkc2","
h:+1ap0ef5hfg44a","h:+39kumjsovirwt","h:+2j2g4qt16kx8v","h:+10ouh3m8q53ns","h:+jdo4u8n82pwx","h:+2lu5t5sczgb2w","h:+18l2bbro747ef"],"path":"[...]/[...].md","ctime":1704929701876,"mtime":1708381409061,"size":316,"type":"plain"}}
25.02.2024 15:59:52     1       WATCH: SKIP i:.git/index: OUT OF TARGET FOLDER
25.02.2024 15:59:52     1       WATCH: SOMETHING WENT WRONG ON EACH PROCESS
Error: Could not determine path
    at DirectFileManipulator.decryptDocumentPath (file:///[...]livesync-bridge/lib/src/DirectFileManipulator.ts:167:31)
    at DirectFileManipulator.processJSONL (file:///[...]livesync-bridge/lib/src/DirectFileManipulator.ts:465:45)
    at DirectFileManipulator.beginWatch (file:///[...]livesync-bridge/lib/src/DirectFileManipulator.ts:512:36)
    at eventLoopTick (ext:core/01_core.js:182:7)
25.02.2024 15:59:52     1       Error:Could not determine path
25.02.2024 15:59:52     1       {"seq":"5273-g1AAAACheJzLYWBgYMpgTmEQTM4vTc5ISXIwNDLXMwBCwxyQVCJDUv3___-zMpiTGBi4_uQCxdhTzY1NTJOTsenBY1IeC5BkaABS_-EGcs4FG2hhamBqYpSGTWsWADCPKdA","id":"[...]/Dojo.md","changes":[{"rev":"62-8e87ecd
d4e884f298fd4b396f8a53faa"}],"doc":{"_id":"[...]/Dojo.md","_rev":"62-8e87ecdd4e884f298fd4b396f8a53faa","children":["h:+22piqd2e8o0i4","h:+287mcayopxc8e","h:+1in7lkm1dc68z","h:+nnun59hbtkc2","h:+3hxodw8pa0eh0","h:+1ypet7o9qahy4",
"h:+nnun59hbtkc2","h:+ixj8phykfhqo","h:+1xjbjzxk4n18s","h:+2a4s0dqgu777w","h:+2b1ddxux4bhib","h:+3vv8qgy44sdeb","h:+1ieo2xfvs173m","h:+10ouh3m8q53ns"],"path":"[...]/Dojo.md","ctime":1708417679057,"mtime":1708418150496,"size":444,"type":"plain","deleted":true}}
25.02.2024 15:59:52     1       WATCH: SOMETHING WENT WRONG ON EACH PROCESS
Error: Could not determine path
    at DirectFileManipulator.decryptDocumentPath (file:///[...]livesync-bridge/lib/src/DirectFileManipulator.ts:167:31)
    at DirectFileManipulator.processJSONL (file:///[...]livesync-bridge/lib/src/DirectFileManipulator.ts:465:45)
    at DirectFileManipulator.beginWatch (file:///[...]livesync-bridge/lib/src/DirectFileManipulator.ts:512:36)
    at eventLoopTick (ext:core/01_core.js:182:7)
25.02.2024 15:59:52     1       Error:Could not determine path
25.02.2024 15:59:52     1       {"seq":"5296-g1AAAACheJzLYWBgYMpgTmEQTM4vTc5ISXIwNDLXMwBCwxyQVCJDUv3___-zMpiTGBi4mXOBYuyp5sYmpsnJ2PTgMSmPBUgyNACp_3ADOdeCDbQwNTA1MUrDpjULAMM5KOg","id":"[...]/Services/[...].md","change
s":[{"rev":"5-75726e072379476096656316b7685250"}],"doc":{"_id":"[...]/Services/[...].md","_rev":"5-75726e072379476096656316b7685250","children":["h:+3r5zecgbde37x"],"path":"[...]/Services/[...].md","ctime":1704929701876,"mtime":1708512500857,"size":155,"type":"plain","deleted":true}}
25.02.2024 15:59:52     1       WATCH: SOMETHING WENT WRONG ON EACH PROCESS
Error: Could not determine path
    at DirectFileManipulator.decryptDocumentPath (file:///[...]livesync-bridge/lib/src/DirectFileManipulator.ts:167:31)
    at DirectFileManipulator.processJSONL (file:///[...]livesync-bridge/lib/src/DirectFileManipulator.ts:465:45)
    at DirectFileManipulator.beginWatch (file:///[...]livesync-bridge/lib/src/DirectFileManipulator.ts:512:36)
    at eventLoopTick (ext:core/01_core.js:182:7)
25.02.2024 15:59:52     1       Error:Could not determine path
25.02.2024 15:59:52     1       {"seq":"5298-g1AAAACheJzLYWBgYMpgTmEQTM4vTc5ISXIwNDLXMwBCwxyQVCJDUv3___-zMpiTGBi4WXKBYuyp5sYmpsnJ2PTgMSmPBUgyNACp_3ADOdeBDbQwNTA1MUrDpjULAMPOKOo","id":"[...].md","changes":[{"rev":
"6-7adb491e752249db80da022f621e95a3"}],"doc":{"_id":"[...].md","_rev":"6-7adb491e752249db80da022f621e95a3","children":["h:+kh9zcpc6v908","h:+2w9295cx2ewec","h:+16nhkeb1qdmts","h:+1fsosatkj8opd","h:+2idhzzcynr9ck","h:+335ceqr2t4xvs"],"path":"[...].md","ctime":1704749757239,"mtime":1708512500869,"size":170,"type":"plain","deleted":true}}
25.02.2024 15:59:52     1       WATCH: SOMETHING WENT WRONG ON EACH PROCESS
Error: Could not determine path
    at DirectFileManipulator.decryptDocumentPath (file:///[...]livesync-bridge/lib/src/DirectFileManipulator.ts:167:31)
    at DirectFileManipulator.processJSONL (file:///[...]livesync-bridge/lib/src/DirectFileManipulator.ts:465:45)
    at DirectFileManipulator.beginWatch (file:///[...]livesync-bridge/lib/src/DirectFileManipulator.ts:512:36)
    at eventLoopTick (ext:core/01_core.js:182:7)
25.02.2024 15:59:52     1       Error:Could not determine path
25.02.2024 15:59:52     1       {"seq":"5301-g1AAAACheJzLYWBgYMpgTmEQTM4vTc5ISXIwNDLXMwBCwxyQVCJDUv3___-zMpiTGBi42XKBYuyp5sYmpsnJ2PTgMSmPBUgyNACp_3ADOdeDDbQwNTA1MUrDpjULAMTWKO0","id":"Welcome.md","changes":[{"rev":"5-5c9369babb8
442c1a4a390a2fb79d636"}],"doc":{"_id":"Welcome.md","_rev":"5-5c9369babb8442c1a4a390a2fb79d636","children":["h:+24n3595z4kn5o","h:+awpkoiym1xbl","h:+2j8lypsu8ie3l"],"path":"Welcome.md","ctime":1705915785050,"mtime":1708512500866,"size":203,"type":"plain","deleted":true}}
25.02.2024 15:59:52     1       WATCH: SKIP i:.obsidian/workspace-mobile.json: OUT OF TARGET FOLDER
25.02.2024 15:59:53     1       WATCH: SOMETHING WENT WRONG ON EACH PROCESS
Error: Could not determine path
    at DirectFileManipulator.decryptDocumentPath (file:///[...]livesync-bridge/lib/src/DirectFileManipulator.ts:167:31)
    at DirectFileManipulator.processJSONL (file:///[...]livesync-bridge/lib/src/DirectFileManipulator.ts:465:45)
    at DirectFileManipulator.beginWatch (file:///[...]livesync-bridge/lib/src/DirectFileManipulator.ts:512:36)
    at eventLoopTick (ext:core/01_core.js:182:7)
25.02.2024 15:59:53     1       Error:Could not determine path
25.02.2024 15:59:53     1       {"seq":"5364-g1AAAACheJzLYWBgYMpgTmEQTM4vTc5ISXIwNDLXMwBCwxyQVCJDUv3___-zMpiTGBi4xXOBYuyp5sYmpsnJ2PTgMSmPBUgyNACp_3ADOe-CDbQwNTA1MUrDpjULANKVKSw","id":"[...].md","changes":[{"rev":"1-65a8
6f3471d0ddec5c54bf3079498122"}],"doc":{"_id":"[...].md","_rev":"1-65a86f3471d0ddec5c54bf3079498122","children":["h:+22piqd2e8o0i4","h:+287mcayopxc8e","h:+1in7lkm1dc68z","h:+nnun59hbtkc2","h:+3hxodw8pa0eh0","h:+1ypet7o9q
ahy4","h:+nnun59hbtkc2","h:+ixj8phykfhqo","h:+1xjbjzxk4n18s","h:+2a4s0dqgu777w","h:+2b1ddxux4bhib","h:+3vv8qgy44sdeb","h:+1ieo2xfvs173m","h:+10ouh3m8q53ns"],"path":"[...].md","ctime":1708417679057,"mtime":1708418134466,"size":444,"type":"plain"}}
25.02.2024 15:59:53     1       WATCH: SOMETHING WENT WRONG ON EACH PROCESS
Error: Could not determine path
    at DirectFileManipulator.decryptDocumentPath (file:///[...]livesync-bridge/lib/src/DirectFileManipulator.ts:167:31)
    at DirectFileManipulator.processJSONL (file:///[...]livesync-bridge/lib/src/DirectFileManipulator.ts:465:45)
    at DirectFileManipulator.beginWatch (file:///[...]livesync-bridge/lib/src/DirectFileManipulator.ts:512:36)
    at eventLoopTick (ext:core/01_core.js:182:7)
25.02.2024 15:59:53     1       Error:Could not determine path
25.02.2024 15:59:53     1       {"seq":"5381-g1AAAACheJzLYWBgYMpgTmEQTM4vTc5ISXIwNDLXMwBCwxyQVCJDUv3___-zMpiTGBi4VXKBYuyp5sYmpsnJ2PTgMSmPBUgyNACp_3ADOR-CDbQwNTA1MUrDpjULANj0KT0","id":"[...]/[...].md","changes":[{"rev
":"12-eefd6fa8d674409da3a16a1d4a319d6c"}],"doc":{"_id":"[...]/[...].md","_rev":"12-eefd6fa8d674409da3a16a1d4a319d6c","children":["h:+7u8s0zysejac","h:+1jwwgbbzintzl","h:+2huaxjslh59n4","h:+19is8h9xlw756","h:+3e8852u795x9q","h:+op260p1gomo"],"path":"[...]/[...].md","ctime":1704929701876,"mtime":1708463757457,"size":369,"type":"plain"}}
25.02.2024 15:59:53     1       WATCH: SKIP i:.obsidian/app.json: OUT OF TARGET FOLDER
25.02.2024 15:59:53     1       WATCH: SKIP i:.obsidian/community-plugins.json: OUT OF TARGET FOLDER
25.02.2024 15:59:53     1       WATCH: SKIP i:.obsidian/core-plugins-migration.json: OUT OF TARGET FOLDER
25.02.2024 15:59:53     1       WATCH: SKIP i:.obsidian/core-plugins.json: OUT OF TARGET FOLDER
25.02.2024 15:59:53     1       WATCH: SKIP i:.obsidian/appearance.json: OUT OF TARGET FOLDER
25.02.2024 15:59:54     1       WATCH: SKIP i:.obsidian/workspace.json: OUT OF TARGET FOLDER
25.02.2024 15:59:54     1       WATCH: SOMETHING WENT WRONG ON EACH PROCESS
Error: Could not determine path
    at DirectFileManipulator.decryptDocumentPath (file:///[...]livesync-bridge/lib/src/DirectFileManipulator.ts:167:31)
    at DirectFileManipulator.processJSONL (file:///[...]livesync-bridge/lib/src/DirectFileManipulator.ts:465:45)
    at DirectFileManipulator.beginWatch (file:///[...]livesync-bridge/lib/src/DirectFileManipulator.ts:512:36)
    at eventLoopTick (ext:core/01_core.js:182:7)
25.02.2024 15:59:54     1       Error:Could not determine path
25.02.2024 15:59:54     1       {"seq":"6195-g1AAAACheJzLYWBgYMpgTmEQTM4vTc5ISXIwNDLXMwBCwxyQVCJDUv3___-zMpiTGBh4MnOBYuyp5sYmpsnJ2PTgMSmPBUgyNACp_3ADuU-BDbQwNTA1MUrDpjULAPWfKW4","id":"2024-02-25.md","changes":[{"rev":"225-ed91ea
9492d44a8aba61512a3c434e37"}],"doc":{"_id":"2024-02-25.md","_rev":"225-ed91ea9492d44a8aba61512a3c434e37","children":["h:+1ya9dudduvwyl","h:+2p9x0lwdbvf69","h:+3rvp0zihi7wch","h:+1b3704ah64b29","h:+2dvyt6ot28tmk","h:+1l6o4a1v6ftr
z","h:+3e0v4zrp6mbps","h:+10mywmx479vvh","h:+18lbhe3izxlxq","h:+1lq9tn3chqsy3","h:+1f34v661y1nr7","h:+j2x1vthpwagl","h:+1d268rlf9km36","h:+2xboif3mmcaca"],"path":"2024-02-25.md","ctime":1708864557910,"mtime":1708869556694,"size":5326,"type":"plain"}}
  • I decided to start all over again, so I deleted livesync on obsidian, and I redid the setup wizard, setting the same value for passphrase and obfuscate path passphrase. I rebuilt everything, and resynced my phone (which allowed me to be sure that it still worked well, which it did).
    - I then tried to restart livesync-bridge with the configuration, filled with passphrase and obfuscatePassphrase the same. It didn't work, here are the logs:
PS livesync-bridge> deno run -A main.ts
LiveSync Bridge is now starting...
LiveSync Bridge is now started!
25.02.2024 16:20:50     1       Cache initialized 300 / 10000000000000
25.02.2024 16:20:50     1       Cache initialized 300 / 50000000
25.02.2024 16:20:50     1       Cache initialized 300 / 10000000000000
25.02.2024 16:20:50     -1      Requesting ... get https://[...]//obsidian/_local%2Fobsydian_livesync_milestone
25.02.2024 16:20:50     10      [storage-obsidian] Scan offline changes: Enabled, now starting...
25.02.2024 16:20:50     10      [obsidian] Remote database looks like rebuilt. fetch from the first again.
25.02.2024 16:20:50     10      WATCH: START: (since:0)
25.02.2024 16:20:50     -1      Requesting ... get https://[...]//obsidian/_changes?style=all_docs&filter=replicate%2Fpull&include_docs=true&since=0&feed=continuous&timeout=100000&heartbeat=5000
25.02.2024 16:20:50     10      WATCH: CONNECTION HAS BEEN CLOSED, RECONNECTING...
25.02.2024 16:21:00     10      WATCH: START: (since:0)
25.02.2024 16:21:00     -1      Requesting ... get https://[...]//obsidian/_changes?style=all_docs&filter=replicate%2Fpull&include_docs=true&since=0&feed=continuous&timeout=100000&heartbeat=5000
25.02.2024 16:21:00     10      WATCH: CONNECTION HAS BEEN CLOSED, RECONNECTING...
25.02.2024 16:21:10     10      WATCH: START: (since:0)
25.02.2024 16:21:10     -1      Requesting ... get https://[...]//obsidian/_changes?style=all_docs&filter=replicate%2Fpull&include_docs=true&since=0&feed=continuous&timeout=100000&heartbeat=5000
25.02.2024 16:21:10     10      WATCH: CONNECTION HAS BEEN CLOSED, RECONNECTING...
25.02.2024 16:21:20     10      WATCH: START: (since:0)
25.02.2024 16:21:20     -1      Requesting ... get https://[...]//obsidian/_changes?style=all_docs&filter=replicate%2Fpull&include_docs=true&since=0&feed=continuous&timeout=100000&heartbeat=5000
25.02.2024 16:21:20     10      WATCH: CONNECTION HAS BEEN CLOSED, RECONNECTING...
25.02.2024 16:21:30     10      WATCH: START: (since:0)
25.02.2024 16:21:30     -1      Requesting ... get https://[...]//obsidian/_changes?style=all_docs&filter=replicate%2Fpull&include_docs=true&since=0&feed=continuous&timeout=100000&heartbeat=5000
25.02.2024 16:21:30     10      WATCH: CONNECTION HAS BEEN CLOSED, RECONNECTING...
 - What I tried was to completely reset the git that I had, to remove all the temporary files (or per-user files) and start from scratch. I put the same configuration, and magic, it works! :
PS livesync-bridge> deno run -A main.ts
LiveSync Bridge is now starting...
LiveSync Bridge is now started!
25.02.2024 16:23:47     1       Cache initialized 300 / 10000000000000
25.02.2024 16:23:47     1       Cache initialized 300 / 50000000
25.02.2024 16:23:47     1       Cache initialized 300 / 10000000000000
25.02.2024 16:23:47     -1      Requesting ... get https://[...]//obsidian/_local%2Fobsydian_livesync_milestone
25.02.2024 16:23:47     10      [storage-obsidian] Scan offline changes: Enabled, now starting...
25.02.2024 16:23:47     10      [obsidian] Remote database looks like rebuilt. fetch from the first again.
25.02.2024 16:23:47     10      WATCH: START: (since:0)
25.02.2024 16:23:47     -1      Requesting ... get https://[...]//obsidian/_changes?style=all_docs&filter=replicate%2Fpull&include_docs=true&since=0&feed=continuous&timeout=100000&heartbeat=5000
25.02.2024 16:23:47     1       WATCH: SKIP obsydian_livesync_version: Not a document
25.02.2024 16:23:47     1       WATCH: PROCESSING: [...]admin1.txt
25.02.2024 16:23:47     -1      Collecting chunks: 1
25.02.2024 16:23:47     -1      Requesting ... post https://[...]//obsidian/_all_docs?include_docs=true
25.02.2024 16:23:47     -1      Chunks retrieved (1 / 1)
25.02.2024 16:23:47     10      GET: DONE (META): [...]admin1.txt
25.02.2024 16:23:47     10      [obsidian] --> [...]admin1.txt change detected
25.02.2024 16:23:47     10      [storage-obsidian] <-- obsidian/[...]admin1.txt saved
25.02.2024 16:23:47     10      WATCH: PROCESS DONE: [...]admin1.txt
25.02.2024 16:23:47     1       WATCH: SKIP _design/replicate: Not a document
25.02.2024 16:23:47     1       WATCH: PROCESSING: [...]keytool.md
25.02.2024 16:23:47     -1      Collecting chunks: 1

[...]

25.02.2024 16:23:52     -1      Requesting ... post https://[...]//obsidian/_all_docs?include_docs=true
25.02.2024 16:23:52     -1      Chunks retrieved (1 / 1)
25.02.2024 16:23:52     10      GET: DONE (META): 2024-01-20.md
25.02.2024 16:23:52     10      [obsidian] --> 2024-01-20.md change detected
25.02.2024 16:23:52     10      [storage-obsidian] <-- obsidian/2024-01-20.md saved
25.02.2024 16:23:52     10      WATCH: PROCESS DONE: 2024-01-20.md
25.02.2024 16:23:52     1       WATCH: SKIP ix:f:12d8bc8a37a6e29c55841b9f5db396e93603d789f40bb1aeace13a5ba326de88: OUT OF TARGET FOLDER
25.02.2024 16:23:52     1       WATCH: SKIP ix:f:1bec3c9338e79ef2a62ec301f7a2f5bf19e6b429d0c758882c0dc07955238979: OUT OF TARGET FOLDER
25.02.2024 16:23:52     1       WATCH: SKIP ix:f:67d96061f373f120f5f7bd569725650e1803cb277678a2a8bc736eddf06cd9e1: OUT OF TARGET FOLDER
25.02.2024 16:23:52     1       WATCH: SKIP ix:f:8c9ef7d0be6c4cadda845ef1a022d0241b91bb380c36861f670b9a078dd84d47: OUT OF TARGET FOLDER
25.02.2024 16:23:52     1       WATCH: SKIP ix:f:91d4ea0f6b6e60dc1437d7c9e7a01d0f2abcbdf10525c6ca7d57dd51f9cda459: OUT OF TARGET FOLDER
25.02.2024 16:23:52     1       WATCH: SKIP ix:f:37000a32fcf79f1f74c31f47a34a4119a96bab96e3a3f514f153acb5d0af7946: OUT OF TARGET FOLDER
25.02.2024 16:23:52     1       WATCH: SKIP ix:f:3f13c4f9c865a39cfc7f11c1e905e8839fd4d1af3fb79421113223782fcdfcc0: OUT OF TARGET FOLDER
25.02.2024 16:23:52     1       WATCH: SKIP ix:f:8a2ec2852883b62d0caf1215826854717f52e3e9e22ee0e1a91a6b1f2f2aa31c: OUT OF TARGET FOLDER
25.02.2024 16:23:52     1       WATCH: SKIP ix:f:ff54dc326a7bba1bd2de2da2ca2f1164fa39c514364d2195364fde028538f69e: OUT OF TARGET FOLDER
25.02.2024 16:23:52     1       WATCH: SKIP ix:f:5adc8b197fc72697d149064259f1edf74d7366aec63c4545072c2de5160abe15: OUT OF TARGET FOLDER
25.02.2024 16:23:52     1       WATCH: SKIP _design/chunks: Not a document

Here is the magic config that works:

{
  "peers": [
    {
      "type": "couchdb",
      "name": "obsidian",
      "database": "obsidian",
      "username": "[...]",
      "password": "[...]",
      "url": "https://[...]/",
      "customChunkSize": 100,
      "minimumChunkSize": 20,
      "passphrase": "[blabla]",
      "obfuscatePassphrase": "[blabla]",
      "baseDir": ""
    },
    {
      "type": "storage",
      "name": "storage-obsidian",
      "baseDir": "./obsidian/",
      "scanOfflineChanges": true
    }
  ]
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants