Sync problem

Operating system

Windows

Joplin version

3.0.15

Desktop version info

Joplin 3.0.15 (prod, win32)

ID client : 583ac45c478c4264beb4a44ccc17ae40
Version de Synchro : 3
Version du profil : 47
Trousseau supporté : Oui

Révision : 598677b

Backup: 1.4.1
Cursor Sync: 2.1.0
Note Tabs: 1.4.0
Outline: 1.5.13

Sync target

WebDAV

What issue do you have?

I have recently noticed that some notes arent synced or deleted after syncing.

Here is Synchronizer log after modifying a note and created a new one that has been deleted :

2024-09-16 22:04:41: Preparing scheduled sync
2024-09-16 22:04:41: Starting scheduled sync
2024-09-16 22:04:41: Synchronizer: Sync: starting: Starting synchronisation to target 6... supportsAccurateTimestamp = false; supportsMultiPut = false} [1726517081610]
2024-09-16 22:04:41: Synchronizer: Indexing resources...
2024-09-16 22:04:41: ResourceService::indexNoteResources: Start
2024-09-16 22:04:41: ResourceService::indexNoteResources: Completed
2024-09-16 22:04:42: Synchronizer: Sync target remote info: {"version":3,"e2ee":{"value":false,"updatedTime":0},"activeMasterKeyId":{"value":"","updatedTime":0},"masterKeys":[],"ppk":{"value":null,"updatedTime":0},"appMinVersion":"3.0.0"}
2024-09-16 22:04:42: Synchronizer: Sync target is already setup - checking it...
2024-09-16 22:04:42: Synchronizer: Sync target local info: {"version":3,"e2ee":{"value":false,"updatedTime":0},"activeMasterKeyId":{"value":"","updatedTime":0},"masterKeys":[],"ppk":{"value":null,"updatedTime":0},"appMinVersion":"3.0.0"}
2024-09-16 22:04:43: SearchEngine: Updating FTS table...
2024-09-16 22:04:43: Updating items_normalized from {"updated_time":0,"id":""}
2024-09-16 22:04:43: SearchEngine: Updated FTS table in 79ms. Inserted: 2. Deleted: 0
2024-09-16 22:04:44: Synchronizer: Sync: createRemote: remote does not exist, and local is new and has never been synced: Note: (Local 8014c26fcf2d4cfe9cb43b60459311e5)
2024-09-16 22:04:45: Synchronizer: Sync: updateRemote: local has changes: Note: (Local 78f8b606ebd4418d86be06533d740d53): (Remote 78f8b606ebd4418d86be06533d740d53.md)
2024-09-16 22:04:45: Synchronizer: TaskQueue.stop: syncDownload: waiting for tasks to complete: 0
2024-09-16 22:04:45: Synchronizer: TaskQueue.stop: syncDownload: Done, waited for 0
2024-09-16 22:04:46: Synchronizer: BasicDelta: Report: {"timestamp":1726516629000,"older":28,"newer":0,"equal":1}
2024-09-16 22:04:46: Synchronizer: supportsDeltaWithItems =  <false>
2024-09-16 22:04:46: Synchronizer: Sync: fetchingTotal: Fetching delta items from sync target
2024-09-16 22:04:46: Synchronizer: Sync: fetchingProcessed: Processing fetched item
2024-09-16 22:04:46: Synchronizer: Sync: deleteLocal: remote has been deleted: Note: (Local 8014c26fcf2d4cfe9cb43b60459311e5): (Remote 8014c26fcf2d4cfe9cb43b60459311e5.md)
2024-09-16 22:04:46: DeleteAction: sync: deleteLocal: titles: ["windows 107"]; Item IDs: ["8014c26fcf2d4cfe9cb43b60459311e5"]
2024-09-16 22:04:46: Synchronizer: Sync: finished: Synchronisation finished [1726517081610]
2024-09-16 22:04:46: Synchronizer: Operations completed: 
2024-09-16 22:04:46: Synchronizer: createRemote: 1
2024-09-16 22:04:46: Synchronizer: updateRemote: 1
2024-09-16 22:04:46: Synchronizer: fetchingTotal: 1
2024-09-16 22:04:46: Synchronizer: fetchingProcessed: 1
2024-09-16 22:04:46: Synchronizer: deleteLocal: 1
2024-09-16 22:04:46: Synchronizer: Total folders: 1
2024-09-16 22:04:46: Synchronizer: Total notes: 10
2024-09-16 22:04:46: Synchronizer: Total resources: 3
2024-09-16 22:04:46: checkDisabledSyncItemsNotification: No errors: Hiding notification
2024-09-16 22:04:46: useFormNote: Sync has finished and note has never been changed - reloading it
2024-09-16 22:04:48: DecryptionWorker: cannot start because no master key is currently loaded.
2024-09-16 22:04:56: SearchEngine: Updating FTS table...
2024-09-16 22:04:56: Updating items_normalized from {"updated_time":0,"id":""}
2024-09-16 22:04:56: SearchEngine: Updated FTS table in 28ms. Inserted: 0. Deleted: 1

The same new note re-created and successfully synced a few minutes later ...

2024-09-16 22:12:31: Preparing scheduled sync
2024-09-16 22:12:31: Starting scheduled sync
2024-09-16 22:12:31: Synchronizer: Sync: starting: Starting synchronisation to target 6... supportsAccurateTimestamp = false; supportsMultiPut = false} [1726517551532]
2024-09-16 22:12:31: Synchronizer: Indexing resources...
2024-09-16 22:12:31: ResourceService::indexNoteResources: Start
2024-09-16 22:12:31: ResourceService::indexNoteResources: Completed
2024-09-16 22:12:32: Synchronizer: Sync target remote info: {"version":3,"e2ee":{"value":false,"updatedTime":0},"activeMasterKeyId":{"value":"","updatedTime":0},"masterKeys":[],"ppk":{"value":null,"updatedTime":0},"appMinVersion":"3.0.0"}
2024-09-16 22:12:32: Synchronizer: Sync target is already setup - checking it...
2024-09-16 22:12:32: Synchronizer: Sync target local info: {"version":3,"e2ee":{"value":false,"updatedTime":0},"activeMasterKeyId":{"value":"","updatedTime":0},"masterKeys":[],"ppk":{"value":null,"updatedTime":0},"appMinVersion":"3.0.0"}
2024-09-16 22:12:33: Synchronizer: Sync: createRemote: remote does not exist, and local is new and has never been synced: Note: (Local a5252183dd7e4fda89e43eb461f36b70)
2024-09-16 22:12:33: Synchronizer: TaskQueue.stop: syncDownload: waiting for tasks to complete: 0
2024-09-16 22:12:33: Synchronizer: TaskQueue.stop: syncDownload: Done, waited for 0
2024-09-16 22:12:34: Synchronizer: Sync: finished: Synchronisation finished [1726517551532]
2024-09-16 22:12:34: Synchronizer: Operations completed: 
2024-09-16 22:12:34: Synchronizer: createRemote: 1
2024-09-16 22:12:34: Synchronizer: Total folders: 1
2024-09-16 22:12:34: Synchronizer: Total notes: 11
2024-09-16 22:12:34: Synchronizer: Total resources: 3
2024-09-16 22:12:34: checkDisabledSyncItemsNotification: No errors: Hiding notification
2024-09-16 22:12:34: useFormNote: Sync has finished and note has never been changed - reloading it
2024-09-16 22:12:41: SearchEngine: Updating FTS table...
2024-09-16 22:12:41: Updating items_normalized from {"updated_time":0,"id":""}
2024-09-16 22:12:41: SearchEngine: Updated FTS table in 32ms. Inserted: 1. Deleted: 0

But deleted after the next sync :

2024-09-16 22:14:25: Preparing scheduled sync
2024-09-16 22:14:25: Starting scheduled sync
2024-09-16 22:14:25: Synchronizer: Sync: starting: Starting synchronisation to target 6... supportsAccurateTimestamp = false; supportsMultiPut = false} [1726517665512]
2024-09-16 22:14:25: Synchronizer: Indexing resources...
2024-09-16 22:14:25: ResourceService::indexNoteResources: Start
2024-09-16 22:14:25: ResourceService::indexNoteResources: Completed
2024-09-16 22:14:26: Synchronizer: Sync target remote info: {"version":3,"e2ee":{"value":false,"updatedTime":0},"activeMasterKeyId":{"value":"","updatedTime":0},"masterKeys":[],"ppk":{"value":null,"updatedTime":0},"appMinVersion":"3.0.0"}
2024-09-16 22:14:26: Synchronizer: Sync target is already setup - checking it...
2024-09-16 22:14:26: Synchronizer: Sync target local info: {"version":3,"e2ee":{"value":false,"updatedTime":0},"activeMasterKeyId":{"value":"","updatedTime":0},"masterKeys":[],"ppk":{"value":null,"updatedTime":0},"appMinVersion":"3.0.0"}
2024-09-16 22:14:27: Synchronizer: TaskQueue.stop: syncDownload: waiting for tasks to complete: 0
2024-09-16 22:14:27: Synchronizer: TaskQueue.stop: syncDownload: Done, waited for 0
2024-09-16 22:14:28: Synchronizer: BasicDelta: Report: {"timestamp":1726516629000,"older":28,"newer":0,"equal":1}
2024-09-16 22:14:28: Synchronizer: supportsDeltaWithItems =  <false>
2024-09-16 22:14:28: Synchronizer: Sync: fetchingTotal: Fetching delta items from sync target
2024-09-16 22:14:28: Synchronizer: Sync: fetchingProcessed: Processing fetched item
2024-09-16 22:14:28: Synchronizer: Sync: deleteLocal: remote has been deleted: Note: (Local a5252183dd7e4fda89e43eb461f36b70): (Remote a5252183dd7e4fda89e43eb461f36b70.md)
2024-09-16 22:14:28: DeleteAction: sync: deleteLocal: titles: ["windows 107"]; Item IDs: ["a5252183dd7e4fda89e43eb461f36b70"]
2024-09-16 22:14:28: Synchronizer: Sync: finished: Synchronisation finished [1726517665512]
2024-09-16 22:14:28: Synchronizer: Operations completed: 
2024-09-16 22:14:28: Synchronizer: fetchingTotal: 1
2024-09-16 22:14:28: Synchronizer: fetchingProcessed: 1
2024-09-16 22:14:28: Synchronizer: deleteLocal: 1
2024-09-16 22:14:28: Synchronizer: Total folders: 1
2024-09-16 22:14:28: Synchronizer: Total notes: 10
2024-09-16 22:14:28: Synchronizer: Total resources: 3
2024-09-16 22:14:28: checkDisabledSyncItemsNotification: No errors: Hiding notification
2024-09-16 22:14:28: useFormNote: Sync has finished and note has never been changed - reloading it
2024-09-16 22:14:29: DecryptionWorker: cannot start because no master key is currently loaded.
2024-09-16 22:14:35: SearchEngine: Updating FTS table...
2024-09-16 22:14:35: Updating items_normalized from {"updated_time":0,"id":""}
2024-09-16 22:14:35: SearchEngine: Updated FTS table in 28ms. Inserted: 0. Deleted: 1

I have the same problem with several notes, sometimes synced, sometimes not, sometimes deleted !
Maybe the problem is server side !?

Hi,

Is Webdav your only sync choice?

Perhaps another type would be more reliable?

My issue is resolved, it was indeed a server-side problem.

1 Like