Skip to content

Sync errors with sync version 35 due to LLM embeddings #5766

@deajan

Description

@deajan

Description

Updated my server and desktop clients to TriliumNext 0.94 today.
Since then, TriliumNext "eats" a whole CPU, and seems to be stuck into a sync loop.

I've already tried to check database integrity, fill entity records, and force a full sync.

TriliumNext Version

0.94

What operating system are you using?

Windows

What is your setup?

Local + server sync

Operating System Version

Win11 24H2

Error logs

13:15:43.180 Finished pull
13:15:43.180 Nothing to push
13:15:43.445 Content hash computation took 59ms
13:15:43.445 Content hash check for note_embeddings sector E FAILED. Local is i9+10mw5r03w1YXN2EjRqwUzsjs=, remote is tPfbQwioIGok8+J+D7DzkrLOZv4=
13:15:43.445 Content hash check for note_embeddings sector V FAILED. Local is P6TGI59hhoaRH1oIXGhTr5m/EEo=, remote is JZDjhvhNzJu+N4b+vke2sF+kKfU=
13:15:43.445 Content hash check for note_embeddings sector Z FAILED. Local is UY2dAqXbcMchiwAoYLHkBY+kXNI=, remote is e3gXi51qCCVH3veQfeKyxeU2UtI=
13:15:43.445 Content hash check for note_embeddings sector m FAILED. Local is L2siY7K1tFpYDS81SCSu3o1tPmw=, remote is S8zYngIYP23eA1nnLHCM2RU2f64=
13:15:43.485 200 GET /api/keyboard-shortcuts-for-notes with 2 bytes took 0ms
13:15:43.485 200 POST /api/tree/load with 4143 bytes took 0ms
13:15:43.486 200 POST /api/tree/load with 13399 bytes took 0ms
13:15:43.523 200 GET /api/notes/yyE8TjPO2E76/blob with 305 bytes took 1ms
13:15:43.580 Added sector E of 'note_embeddings' (56 entities) to the sync queue.
13:15:43.653 Added sector V of 'note_embeddings' (44 entities) to the sync queue.
13:15:43.746 Added sector Z of 'note_embeddings' (51 entities) to the sync queue.
13:15:43.821 Added sector m of 'note_embeddings' (70 entities) to the sync queue.
13:15:44.022 ERROR: Cannot find entity for entity change {"id":588384,"entityName":"note_embeddings","entityId":"EmkmCuc5qKIEwP41","hash":"9shLJe1kMItS|ollama|mxbai-embed-large:latest|1024|4|2025-06-03 09:06:52.127Z","isErased":0,"changeId":"E2fscG74obZ9","componentId":"NA","instanceId":"wQbqWNFQo2EN","isSynced":1,"utcDateChanged":"2025-06-03 09:06:52.127Z"}
13:15:44.023 ERROR: Cannot find entity for entity change {"id":588406,"entityName":"note_embeddings","entityId":"VA956D2SfHjccRzg","hash":"9shLJe1kMItS|local|local|384|3|2025-06-03 09:06:52.427Z","isErased":0,"changeId":"GdUqOInvMzQP","componentId":"NA","instanceId":"wQbqWNFQo2EN","isSynced":1,"utcDateChanged":"2025-06-03 09:06:52.427Z"}
13:15:44.026 ERROR: Cannot find entity for entity change {"id":588490,"entityName":"note_embeddings","entityId":"ZuA8dt41zsz7wWxP","hash":"FrviA95YqCdr|local|local|384|2|2025-06-03 10:26:40.064Z","isErased":0,"changeId":"vsMpoTUtmBFt","componentId":"NA","instanceId":"mb70kH315sfK","isSynced":1,"utcDateChanged":"2025-06-03 10:26:40.064Z"}
13:15:44.027 ERROR: Cannot find entity for entity change {"id":588519,"entityName":"note_embeddings","entityId":"mPzhcMwAfRC4guzS","hash":"FrviA95YqCdr|ollama|mxbai-embed-large:latest|1024|2|2025-06-03 10:26:40.005Z","isErased":0,"changeId":"KG2ef6Y7ERYW","componentId":"NA","instanceId":"mb70kH315sfK","isSynced":1,"utcDateChanged":"2025-06-03 10:26:40.005Z"}
13:15:44.080 200 GET /api/note-map/_backendLog/backlink-count with 11 bytes took 1ms
13:15:44.080 200 GET /api/notes/_backendLog/blob with 157 bytes took 0ms

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions