zadam / trilium

Build your personal knowledge base with Trilium Notes
GNU Affero General Public License v3.0
27.09k stars 1.9k forks source link

(Bug report) Endless sync #4545

Open flamion opened 9 months ago

flamion commented 9 months ago

Trilium Version

0.62.4

What operating system are you using?

Linux

What is your setup?

Local + Server

Operating System Version

Linux blahaj-blaster 6.6.8-zen1-1-zen #1 ZEN SMP PREEMPT_DYNAMIC Thu, 21 Dec 2023 19:00:41 +0000 x86_64 GNU/Linux

Description

Sync seems to loop endlessly. I've pasted a portion of the log, I only noticed after spending a bit of time downstairs, leaving my laptop turned on, in a span of ~4 hours it transferred >40 Gigabytes of Data, just syncing over and over. I can provide an anonymized Database and the full log via email if you need it :) I've also found (closed) issue #4288 which seems to also have had the problem, although it was for an older version. I have also tried clearing my local install and syncing fresh from the server, but after a while it started again. I think I also have the log file where it started occuring, there's nothing about it in the log file from today, then there's a ton of it in todays logfile. (The logfiles are from the local client installation)

Thanks for the cool software <3

(I couldn't add much more of the error logs here, they were too long)

Error logs

23:40:16.213 DB size: 85413 KB 23:40:16.770 { "appVersion": "0.62.4", "dbVersion": 227, "syncVersion": 31, "buildDate": "2023-12-07T00:03:59+01:00", "buildRevision": "2e23c521c356c2305124f5df0f474532fa5f34ce", "dataDirectory": "/home/flamion/.local/share/trilium-data", "clipperProtocolVersion": "1.0", "utcDateTime": "2023-12-26T22:40:16.212Z" } 23:40:16.770 CPU model: AMD Ryzen 7 5825U with Radeon Graphics, logical cores: 16 freq: 400 Mhz 23:40:16.771 Trusted reverse proxy: false 23:40:16.771 App HTTP server starting up at port 37840 23:40:16.774 Listening on port 37840 23:40:16.781 Becca (note cache) load took 7ms 23:40:16.860 Registered global shortcut Ctrl+Alt+P for action createNoteIntoInbox 23:40:16.894 Generated CSRF token [removed] with secret _csrf=[removed] Path=/ 23:40:17.087 200 GET /api/options with 7216 bytes took 0ms 23:40:17.090 200 GET /api/tree with 99670 bytes took 2ms 23:40:17.092 200 GET /api/keyboard-actions with 14046 bytes took 0ms 23:40:17.094 200 GET /api/script/widgets with 2908 bytes took 1ms 23:40:17.125 200 GET /api/keyboard-shortcuts-for-notes with 2 bytes took 0ms 23:40:17.185 200 POST /api/tree/load with 15063 bytes took 1ms 23:40:17.498 200 GET /api/notes/iRmXVYwtTlLA/blob with 1782 bytes took 1ms 23:40:17.499 200 GET /api/note-map/iRmXVYwtTlLA/backlink-count with 11 bytes took 1ms 23:40:19.128 200 GET /api/script/startup with 2171 bytes took 2ms 23:40:19.137 200 PUT /api/special-notes/api-script-launcher with 350 bytes took 7ms 23:40:19.138 200 POST /api/tree/load with 6625 bytes took 0ms 23:40:19.154 200 PUT /api/special-notes/api-script-launcher with 355 bytes took 1ms 23:40:20.785 Table counts: notes: 454, revisions: 722, attachments: 1008, branches: 483, attributes: 456, etapi_tokens: 0, blobs: 1202 23:40:20.800 All consistency checks passed with no errors detected (took 16ms) 23:40:22.193 Sending message to all clients: {"type":"sync-push-in-progress","lastSyncedPush":3661526} 23:40:22.193 Sync fiJMaYQ3jf: Pushing 2 sync changes in 131ms 23:40:22.193 Nothing to push 23:40:22.274 Sending message to all clients: {"type":"sync-pull-in-progress","lastSyncedPush":3661780} 23:40:22.280 updated: {revisions: [A5qoktfpwVBe, ACoCiBjte1jS, AO50rYD7AcsA, AP3xLfS8UkHI, ASr3YINBZcMR, AVMIrPT3dgyJ, AgwEmwrYqmDk, AnHR5eK89oF3, ApCMH3C1IYuO, AzgaI5wfben5, C55ui9O5PZrX, C6soRSLgi2U6, C7FAgK9UCcLy, C8MgH6j9Qxg3, CEnCAORG51uf, CP5Kzut6Kr8j, CW4K8zAZu617, CXS5JnEsti2v, Ccfm9z3Ns45g, CrzNb9ur8qRz, Ctkv8VGHSWir, D25m3ojbDXh1, D6EwwCjYmxYR, D84Z7sOlK2ut, DL6W4ID4hqbP, DTA64oc9bRec, DUXDg4BU1FKy, DWUOeyEGIqyA, DZXQUgpPghBH, Dl503XvOFcnq, Do8lBvlPEEAw, DrY5wM2253Px, DtBjW4dnZ2O0, F2lF0vr45yMK, F739nexFVE0S, FH9TjbS9CE1v, FHsQgggP5euI, FLnUJLndiaWQ, FldCLsX5q6Kv, FneflZRW84Hy, FvltIJYK85Th, G29iG9WtgGqq, G7QHhbkxVGnt, G9vIEq22VpZT, GWqh1S645a9n, GacWDMFIXwzO, Gag6r0xwWkkl, GkwiceqbK86X, GlhbJwlE4NM1, HETUtc3Ah937, HFOHvxuS6gLx, HJWyup7bCoDN, HJaZGP1YNW5d, HPDlkG4cRsvb, HSfCf3QmgT90, Hf8GCE0ajsSk, HfFwlbbQy9BL, HqlU1GJh4uDm, OAPo9At9s5pZ, OBJpOc0eTWka, OHHnlEMFqz05, OJYKeQx6Si7A, OMzNt19VAOR6, OOtKHc9XuH3K, OQZ47FvXT0wq, ORuEpNWduP8i, OXSZx82tyYB9, OYUH7yMOo2cW, OdLWu9fiN5Ko, OhNpnnFbOikJ, OxxBqbHouWmu, OyKDZ7tRUrGZ, SI2JQghaHhih, SJyInUsp3vUx, STF0xX1Fl8yI, SZXJD8ryoPOc, Sn7Q5nRAXdtd, SqVRZDAqcVuU, Sr1xVquU7AxG, SrmtmgKids3r, SwBXKtcsLmxN, T13RgZYc3Wc5, T3w3CT8Tvqgx, T7eemtIl3ayt, TBjRKhzvFmZW, TDwyyoJ26xBb, TTJb5NBFppYd, TTkFktDVjclG, Th0s8a2rdGrh, TiNakzsdcE2D, TpmuemeTn5jG, Tt8gS5EvTlyP, Tz8f2eJTvTQF]}, alreadyUpdated: 0, erased: 0, alreadyErased: 146 23:40:22.281 Sync yMHWwKxRBf: Pulled 250 changes in 102 KB, starting at entityChangeId=4815412 in 81ms and applied them in 7ms, 0 outstanding pulls 23:40:22.334 Finished pull 23:40:22.334 Nothing to push 23:40:22.490 Content hash computation took 14ms 23:40:22.490 Content hash check for revisions sector A FAILED. Local is dco3r+3VX5BWSvDv3lHBn8nSKbg=, remote is nDnX+vzU8QYeffl+S+9rMf87pDM= 23:40:22.490 Content hash check for revisions sector C FAILED. Local is hHxZZvJa65xBNl3UbTH4XSplx2o=, remote is jl4MJxYKOppSzDaJ354/ZW995a8= 23:40:22.490 Content hash check for revisions sector D FAILED. Local is 8WD4sXsV6ul1m5S79Dl0KgcMRY8=, remote is gZCD2aW7NqS9AEQcY2NJxATXN5s= 23:40:22.490 Content hash check for revisions sector F FAILED. Local is MoXln6HBO68leHhp5BHdwqDONzw=, remote is cPRfBUNVqPpg4NZAEudwp0+CzP8= 23:40:22.490 Content hash check for revisions sector G FAILED. Local is IvoKre7ukBpN7mCqSzgeoFYmZq0=, remote is x6hHD0QkU78Z9TpjFKzECCnpvIc= 23:40:22.490 Content hash check for revisions sector H FAILED. Local is ZP87200joaMq1CsKxuM+VMrn81U=, remote is pMZ18BBlINo8v+UK15b38gEtcoA= 23:40:22.490 Content hash check for revisions sector O FAILED. Local is uFsxV8vE80MonnuP0Lk2iV46BiU=, remote is kq+cZY23ryqfnE8/il/E7DMPBGo= 23:40:22.490 Content hash check for revisions sector S FAILED. Local is Epem1qUTtHvi22WG2Pg+SZbrBhA=, remote is cWwQxgIaO+z5wqm8YVJoCdeCFqE= 23:40:22.490 Content hash check for revisions sector T FAILED. Local is 0I/AQ+sZSMhKmDPq4ormigb4+os=, remote is 54SJUWtTLIJO03ngpeIxq3Axwrg= 23:40:22.490 Content hash check for revisions sector W FAILED. Local is FeTeyMZJDdMkVONgacyqiH3pdeE=, remote is Az5erJbgCiCZtIEquXyhBQgV/Ag= 23:40:22.490 Content hash check for revisions sector X FAILED. Local is JKbDv6TjGVjHOrROKda9tSD5lRs=, remote is nZop6IfdyfbVWx7wKU/nR/8E9rI= 23:40:22.490 Content hash check for revisions sector Y FAILED. Local is DYu7s2afRWlR+5qQwpZUk1vyUwM=, remote is pv7gq0UezY8RnkUdLiobL7ghq3I= 23:40:22.490 Content hash check for revisions sector Z FAILED. Local is 7WJ9Fy3AJ8BOwDMFxncM/w+YiiY=, remote is hysZisJ9h5qG7VXo+BQ/uLKzTU4= 23:40:22.490 Content hash check for revisions sector e FAILED. Local is bNXC/QgZCJ09SFBHbcRKjKorBlg=, remote is nISW8XoTdDgVBYFu9FoF32vuXnQ= 23:40:22.490 Content hash check for revisions sector f FAILED. Local is fXcU3PdRAFw3rmDwjhm5QY3ENRw=, remote is 5poF35HnWJFvdQOJqAKiZ99RpHk= 23:40:22.490 Content hash check for revisions sector g FAILED. Local is zwTwIAUCp5pxSEeqGgKQOg94Ols=, remote is lVAmL9yp5yHoS9A6G14+TtSCLKk= 23:40:22.490 Content hash check for revisions sector h FAILED. Local is hbzrwEFT+R9wHCbESEJ+osEH+iQ=, remote is yQSMlHxEugQwo6l5uT3LtbVL13o= 23:40:22.490 Content hash check for revisions sector n FAILED. Local is +rwkdcWN/vq6WwUkHYC0/MbP92w=, remote is UXShBj4NKOBOs/Ya+rLCyEgQpus= 23:40:22.490 Content hash check for revisions sector p FAILED. Local is aDSbRBv1ESbm9RGmlP3ae8xJmFc=, remote is AjeypkguAe9pTeic25C7eNF2Mjg= 23:40:22.490 Content hash check for revisions sector q FAILED. Local is OackjIRFEVdCzfj0PyjSGGZLXuk=, remote is ZHy0JIlqduLFJ2L2D2OSzOypP+g= 23:40:22.490 Content hash check for revisions sector v FAILED. Local is Qc2xZjs/hwVIoRyZaSFVHT4VM54=, remote is cOl7lkaY3RGvzYEpvPh3JE8p7lg= 23:40:22.490 Content hash check for revisions sector x FAILED. Local is Xwj1uCMwFbfvCbXyN/KT7ETK7ok=, remote is riuNbt57mJyANqvt7Zdql6iGZzw= 23:40:22.490 Content hash check for revisions sector z FAILED. Local is KICaO51YDDxAC84umlg/COWR4+0=, remote is ziyho1BNmPXFw6WM16KOSnEeovk= 23:40:22.490 Content hash check for blobs sector 0 FAILED. Local is XWtC7s6IwgzOENZ8UtZ5xwGwlF8=, remote is J1crLM5ePt7BxbOzxkeiYT3gTq0= 23:40:22.490 Content hash check for blobs sector 1 FAILED. Local is od6u8eZTN6TvN3ehhOj7wnrYGjw=, remote is w+EMBO0j3fVC8jF82OcxmBWT6/A= 23:40:22.490 Content hash check for blobs sector 9 FAILED. Local is RFsxzMzPl+4tkLgE7nUYKbWKEUc=, remote is kxW9m0hY4UUN3dBMoADNNCvdJVI= 23:40:22.490 Content hash check for blobs sector D FAILED. Local is cMyQ6JZT8N1BSFDq1j2mG1afYwM=, remote is 4pz+Gh4K7AFF9ELsHTf5tRHPgio= 23:40:22.490 Content hash check for blobs sector G FAILED. Local is g+7aQnk+x+SDgH7QGBzM2lEYM8Y=, remote is fv8WqhHLUUflgHMqFb+yjWTBr80= 23:40:22.490 Content hash check for blobs sector H FAILED. Local is oBGMrDotUox5+cWdGi8Mi3LV/94=, remote is YXh6gT7XrjrJUVpRckmRjnXRef8= 23:40:22.490 Content hash check for blobs sector I FAILED. Local is nyamCziKuRBph/Q56A5W+cHcI90=, remote is pW8E2lSAWvlJmeiDeShTG+qJpSc= 23:40:22.490 Content hash check for blobs sector J FAILED. Local is SziDvkXiQ+2Ok+UqVh9edAET9cY=, remote is RyNsOaN7iNOztUL+Kj5O7HcNSHw= 23:40:22.490 Content hash check for blobs sector M FAILED. Local is ua7owaEGeWP4jOR+cLQkGY1B1vo=, remote is KqwiNcaNbj//XtXHKh4+8/w22zQ= 23:40:22.490 Content hash check for blobs sector N FAILED. Local is E7ateV0msrP/yyTd1qScA1uW2ps=, remote is XslCS3ZFpXFO6yhjJhvYxS1R9ZI= 23:40:22.490 Content hash check for blobs sector O FAILED. Local is TWUYserOg0qva3sPndJH52F5n8k=, remote is ePxpf8hWfxbJxxhpmBzKEApfQ3s= 23:40:22.490 Content hash check for blobs sector P FAILED. Local is ZWb/IWWA8ZlzJGNzw+0DKpVZmq0=, remote is OoOOqPvYIzYMJ1GGtt8bGQpOPik= 23:40:22.490 Content hash check for blobs sector Q FAILED. Local is oznu24lFPIZZ3r0dpI+trbZrEr4=, remote is lXC9DaZOYiMj0fi2AhXDy0a9+tw= 23:40:22.490 Content hash check for blobs sector T FAILED. Local is 5MJj3lk1vIiQd2d76+eqwGRxHyc=, remote is KbVtyB3FgTscrqhF4c5uqqjwA5I= 23:40:22.490 Content hash check for blobs sector U FAILED. Local is ECfpfxyfXqK6F2yA938GE+/2r9M=, remote is PCNpLahoyQW2/XDj2gs4bpVP/eI= 23:40:22.490 Content hash check for blobs sector V FAILED. Local is 5GFRgTSjHg31Xsy48ZoTkGzUflc=, remote is tvHlPpwly3UmhjBMaq6AcjpeeLI= 23:40:22.490 Content hash check for blobs sector c FAILED. Local is v061PiBqavMOMsddPv0ltRr0F/0=, remote is +1Wv9xdfKP0hNfDWkN6Tg9BtVf8= 23:40:22.490 Content hash check for blobs sector e FAILED. Local is pgPxk/YQaTYE8/gAnWIIv0wHB1w=, remote is o9eaZaO4kXCE+nlEFii30bqkdqI= 23:40:22.490 Content hash check for blobs sector f FAILED. Local is 6wbzQpkwguWpeYMQXxpgF3XTfiE=, remote is rrwjQiMXuOGb+b3lQsrxp8l7us4= 23:40:22.490 Content hash check for blobs sector j FAILED. Local is FGxP748nEYtfIq6yf+kIoePR/XE=, remote is wNhPTQoSAargkfLZfjsIL/JbH0s= 23:40:22.490 Content hash check for blobs sector k FAILED. Local is LRk6/1JyX4G3POR5zsOW7pu1ECI=, remote is LuXMiiFF4qlJ6gbQgD4pB7QRKuQ= 23:40:22.490 Content hash check for blobs sector l FAILED. Local is BggbGuYwm9CKPClTIPCfRWsXdLQ=, remote is smQDQCOHc+3fHryA2pepkDGaQ8E= 23:40:22.490 Content hash check for blobs sector o FAILED. Local is I9j91HrQfTWYy9NA5m9EKtA7HY4=, remote is ImUjPXHQ4jxW2DLuOcc4emk77js= 23:40:22.490 Content hash check for blobs sector p FAILED. Local is fK9mqOrN8EhcVMT5vq8It8ecS58=, remote is eFXu42nCmNHn38H1ozb2S3xO8ZY= 23:40:22.490 Content hash check for blobs sector v FAILED. Local is BeR9DKHFfmHLq2Otalp14W/p0xQ=, remote is SYwRCt9W1zLD96AYjT4hKuZajsw= 23:40:22.564 Added sector A of 'revisions' (25 entities) to the sync queue. 23:40:22.736 Added sector C of 'revisions' (28 entities) to the sync queue. 23:40:22.796 Added sector D of 'revisions' (27 entities) to the sync queue. 23:40:22.852 Added sector F of 'revisions' (24 entities) to the sync queue. 23:40:22.909 Added sector G of 'revisions' (35 entities) to the sync queue. 23:40:23.020 Added sector H of 'revisions' (29 entities) to the sync queue. 23:40:23.076 Added sector O of 'revisions' (28 entities) to the sync queue. 23:40:23.134 Added sector S of 'revisions' (24 entities) to the sync queue. 23:40:23.193 Added sector T of 'revisions' (30 entities) to the sync queue. 23:40:23.248 Added sector W of 'revisions' (27 entities) to the sync queue. 23:40:23.310 Added sector X of 'revisions' (35 entities) to the sync queue. 23:40:23.370 Added sector Y of 'revisions' (27 entities) to the sync queue. 23:40:23.429 Added sector Z of 'revisions' (33 entities) to the sync queue. 23:40:23.492 Added sector e of 'revisions' (33 entities) to the sync queue. 23:40:23.551 Added sector f of 'revisions' (26 entities) to the sync queue. 23:40:23.607 Added sector g of 'revisions' (20 entities) to the sync queue. 23:40:23.662 Added sector h of 'revisions' (30 entities) to the sync queue. 23:40:23.717 Added sector n of 'revisions' (21 entities) to the sync queue. 23:40:23.788 Added sector p of 'revisions' (30 entities) to the sync queue. 23:40:23.852 Added sector q of 'revisions' (20 entities) to the sync queue.

dedmagic commented 9 months ago

I have the same problem. I have three local instances (Windows) and a server on Ubuntu. On all three there is endless synchronization. A complete reload of the local database from the server does not help for long.

UPD. At the same time, it loads the processor, disk and network, sometimes heavily (it starts to slow down and freeze) изображение

zadam commented 9 months ago

Hello, could you please provide the anonymised database from client and server (between those two where this is happening), plus all the relevant logs (more is better) to zadam.apps@gmail.com?

Thanks!

Lz1y commented 9 months ago

Same here

flamion commented 9 months ago

Hello, could you please provide the anonymised database from client and server (between those two where this is happening), plus all the relevant logs (more is better) to zadam.apps@gmail.com?

Thanks!

Email sent :)

r-nd-m commented 9 months ago

I have a similar problem - it happened for the second time today - the first time it occurred it was after downloading new version with fix for https://github.com/zadam/trilium/issues/4453 - dunno if that matters.

I was able to fix it by deleting all local content and re-downloading it from the server - this time around it did not help though.

flamion commented 9 months ago

I've had it happen again, on a different client where it wasn't happening before. It seems like it might be connected to deleting revisions, that's what I did while editing a document before it started again.

zadam commented 9 months ago

Hello, sorry for late reply, please try the new 0.63.0-beta. It contains new changes mainly related to sync erased entities.

dedmagic commented 9 months ago

It did not help. I installed the 0.63.0-beta client on two PCs and the 0.63-latest server, and there is still endless synchronization.

dedmagic commented 9 months ago

Fully reloading the local DB from the server seems to have solved the problem, at least for now.

r-nd-m commented 9 months ago

Is there a way to reliably trigger the issue? I was able to fix the second time it happened by resetting the server data and rebasing it from the client data and it hasn't happen since.

dedmagic commented 9 months ago

My problem is solved. Installation 0.63-beta + full reload of local databases from the server on all clients - profit! Thank you!

hulmgulm commented 9 months ago

I have the same issue, but it does not get fixed with 0.63.0-beta. My document.db is around 800MB in size and I can see in my nginx logs that in the last 9 hours 1.40GB were transferred to this client. Looking into the server log, I see the following entries over and over again. Unfortunately, there are not timestamps so I cannot say how often this occurs:

Slow 200 GET /api/sync/changed?instanceId=L9mdCDVjO7EV&lastEntityChangeId=27774493&logMarkerId=0KMs04e8nL with 110962 bytes took 13ms
200 GET /api/sync/changed?instanceId=L9mdCDVjO7EV&lastEntityChangeId=27774693&logMarkerId=hSSHyfEDfJ with 75 bytes took 1ms
Sending message to all clients: {"type":"sync-pull-in-progress","lastSyncedPush":0}
updated: {}, alreadyUpdated: 0, erased: 0, alreadyErased: 1
204 PUT /api/sync/update?logMarkerId=OxpidJLVAH with 0 bytes took 1ms
204 POST /api/sync/finished with 0 bytes took 0ms
Content hash computation took 93ms
Slow 200 GET /api/sync/check with 13699 bytes took 112ms
Slow 204 POST /api/sync/check-entity-changes with 0 bytes took 36ms
Added sector e of 'attachments' (200 entities) to the sync queue.
Slow 204 POST /api/sync/queue-sector/attachments/e with 0 bytes took 10ms
304 GET /api/setup/status with 59 bytes took 1ms
200 POST /api/login/sync with 58 bytes took 1ms
Sending message to all clients: {"type":"sync-pull-in-progress","lastSyncedPush":0}
updated: {attachments: [e0MJ10J2Qx0B, e0nvqFe7bYHN, e1BhPjFJt2V6, e24auoQhIGBS, e2k67DV4vOxQ, e2nXQiUuQ2qt, e36RJYAxHZ3Y, e3wGUa9lkBOp, e42YLb4xmj9X, e4N2YPyRJHUN, e4nEvDXlqXvy, e5BSHRpSFeWz, e5C4hsBNWdtN, e5P7eiUuV3gT, e5yZ3qznOhQk, e65mlPJJP3QE, e6V5iexBiX8t, e6YnHEo8Nvdw, e6sfxboDBssA, e70IW8mxvX25, e7B30aSWtmbR, e7iEKUQoCRBG, e8HCvCuIS76V, e8SpMWqAYqeo, e91iclx7Jo1N, e9AiDhhZibNI, e9YErLfWmG4S, e9g9qK4l1Nqf, eAE4wfoGuWbd, eAsHi73PYE4U, eB7vSJpcQSXJ, eBm2xIDBlfHg, eCZf54aRdXfz, eCryksK1LHFm, eDdsom9Wh9gb, eDlqM49wrFdm, eEQZdTW7EoLo, eEWPwXXMR1WK, eEaTAlJd8dQV, eEmYPath2vl0, eFNBtGC2vfKc, eFUPIjW8SOsA, eGaPYV0MtHNI, eH534SOLD3qt, eHJiRJAmUTNg, eHn36nkRU7sF, eHpI9oiXORag, eIZi8hnB9GKk, eJlqo6p7HdIe, eJpNIqawL2rq, eKTpCSnegoaD, eKox3UvLkWvn, eLYRh1MztY3c, eM0fVE7Hoq7I, eM8htazgQceX, eMEagjxqDBRv, eMfOOsgcih2k, eMi1voGGg3B6, eMjXFsJWC24D, eMjrSGZXh5lo, eN17iNiPrX2H, eNgwWEekSH1u, eNnUsBfab7Pl, eNqaN6GtwH4d, eNqwNVc2IvtQ, eO4P1ja3H9es, eP6Ta2fcOOiA, ePEoNDyrVGMG, ePJQl7KSEbEO, ePUMMRgVy6uy, ePXCicFPxjna, eQKNwWJtqthu, eQh1MnoLbBGN, eRwEIA62hy6H, eSEt3YeoM7Db, eSRCCD6SIwpg, eSu75y4Fb1RE, eT9ionJEWlES, eTvQ5oGlRIZK, eU6H6vTazfKv, eUrOcGWnC4mk, eUuZF9FSwrsN, eUwpRWUziWDh, eV6FRk4dk4xC, eVcM8d3Xz6uC, eWMdiyVdMMf3, eWjbPdtnJ5uB, eWmY1cK4o81M, eXOR5EMYTykI, eY8pO2FwZ2tm, eYE60PYocqC6, eYLbqDmGeNUF, eYhTaprAYuXi, eYrGHY6dxPv4, eZ03K2UMmJxS, eZKyEwOh1pBu, eadOcMaKiHWV, ebI37T3G6R1N, ebK1a9ZnSeBQ, ebgn8EUghcSm, edEWeMcSEzQo, edbe3HW4Br8V, edjaYyeLDSBp, ee76jynnzfDT, eeac1eaIalxy, eehI4LsMVVy1, eesDliXATRqw, efEaMa9lZoOm, efGBmeTb0wxD, efYpcYnvwzP1, efpMy01hTHMe, egs5jQs4M7L4, egwQkjj9wIrB, ehb5w8jRe8j3, ehrFz06rXgCk, ehyhD5FThuuD, eiMj1laOlgU1, eiYz1QmdUlw0, ein6Zi9cUtUI, eix0beurhYa5, ej30Yy2e3kVl, ejUHYRR5j3l2, ejmYtZbS5QSw, ek1An4zrjxmf, ektiEYCjcqhA, elBdsSrZ8V6k, elPqYEt1DWHj, elXWzcQtTtZ0, eleFT1GRCUGF, eljYAALEUMoe, elu8XLnaeG7K, em0dAChG8FEJ, emuTjFaadrKD, endCMMXCoG7L, enjYFDzsD4iA, enryrcKYk8gf, eofAEG6S9yOC, eonVAuU8WhLW, eopsgM66RRTs, epQ1iruMGVND, eplC2pCr6LiQ, eqWrm78uSoiG, eqja9AvwcrJz, eqtlYIzEOa2E, er49S3Ir4iKb, erRqbq7876WM, erqYzlXGj0BB, ervOiJQTfuhW, esFpb9eqgByZ, esd92E6ebbEU, etYqML3jJRal, euAHSFxWPlwx, eupTaVBa1UD5, ev3wkhM7x9Br, evcGeLwqtMAO, evsxwwCmv8mf, ewTvQO30BPmt, ewzn3FIJtRxw, ex5r7xUhGuFK, exCGGEYJ3xxB, exuKQ4lKyTrn, eyMULOHfKEyG, ez1UmPi21Qjo, ezKSaqy6kPCE, ezVsYMbsbD0P, ezqz2utVTGIx, ezvWrUy9b65W, ezxJwzrxsy2t, ezyFM4WNonfY]}, alreadyUpdated: 0, erased: 0, alreadyErased: 23
Slow 204 PUT /api/sync/update?logMarkerId=Y3iw3ktZFp with 0 bytes took 25ms
Returning 199 entity changes in 3ms
200 GET /api/sync/changed?instanceId=L9mdCDVjO7EV&lastEntityChangeId=27774693&logMarkerId=9eewRxdcUF with 110962 bytes took 5ms
200 GET /api/sync/changed?instanceId=L9mdCDVjO7EV&lastEntityChangeId=27774893&logMarkerId=JAztGMci18 with 75 bytes took 1ms
Sending message to all clients: {"type":"sync-pull-in-progress","lastSyncedPush":0}
updated: {}, alreadyUpdated: 0, erased: 0, alreadyErased: 1
204 PUT /api/sync/update?logMarkerId=3pOg38BpiO with 0 bytes took 0ms
204 POST /api/sync/finished with 0 bytes took 0ms
Content hash computation took 88ms
hulmgulm commented 9 months ago

I solved this issue for me by deleting the Trilium data folders and reconnecting the client to the server. After around 5 minutes, all 24.000 items were synced. One thing which is special about this client was, that it was running on a PC, which did not run for the last two weeks, therefore a lot of changes piled up.

zadam commented 9 months ago

Please try 0.63.1-beta. Thanks for helping to debug this issue.

meichthys commented 8 months ago

Related to #4613