I've done some more testing on this and can report there is a consistent problem with syncing attachments between two machines. I deleted the log.txt files on both machines.
- Created a new note
- Synced it
- Added an attachment
- Synced again
- Attachment does not sync, it only inserts a place holder.
Here are the logs from the two machines. The first is the 'sending' machine.
The second is the machine I expect to see the synced note.
Could a kind developer please review and advise.
Thanks.
First machine:
2023-02-23 16:05:10: "Fetching geolocation..."
2023-02-23 16:05:10: "Got lat/long"
2023-02-23 16:05:10: "Updating lat/long of note f59e21c8e2dc4004831459915fd2e28f"
2023-02-23 16:05:20: "SearchEngine: Updating FTS table..."
2023-02-23 16:05:20: "SearchEngine: Updated FTS table in 42ms. Inserted: 1. Deleted: 0"
2023-02-23 16:05:32: "Preparing scheduled sync"
2023-02-23 16:05:32: "Starting scheduled sync"
2023-02-23 16:05:32: Synchronizer: "Sync: starting: Starting synchronisation to target 3... supportsAccurateTimestamp = false; supportsMultiPut = false [1677168332141]"
2023-02-23 16:05:32: Synchronizer: "Indexing resources..."
2023-02-23 16:05:32: "ResourceService::indexNoteResources: Start"
2023-02-23 16:05:32: "ResourceService::indexNoteResources: Completed"
2023-02-23 16:05:33: Synchronizer: "Sync target remote info:", "{"version_":3,"masterKeys_":[],"e2ee_":{"value":false,"updatedTime":0},"activeMasterKeyId_":{"value":"","updatedTime":0},"ppk_":{"value":null,"updatedTime":0}}"
2023-02-23 16:05:33: Synchronizer: "Sync target is already setup - checking it..."
2023-02-23 16:05:33: Synchronizer: "Sync target local info:", "{"version_":3,"masterKeys_":[],"e2ee_":{"value":false,"updatedTime":0},"activeMasterKeyId_":{"value":"","updatedTime":0},"ppk_":{"value":null,"updatedTime":0}}"
2023-02-23 16:05:33: "SearchEngine: Updating FTS table..."
2023-02-23 16:05:33: "SearchEngine: Updated FTS table in 36ms. Inserted: 1. Deleted: 0"
2023-02-23 16:05:33: Synchronizer: "Sync: createRemote: remote does not exist, and local is new and has never been synced: Note: (Local f59e21c8e2dc4004831459915fd2e28f)"
2023-02-23 16:05:34: Synchronizer: "TaskQueue.stop: syncDownload: waiting for tasks to complete: 0"
2023-02-23 16:05:34: Synchronizer: "TaskQueue.stop: syncDownload: Done, waited for 0"
2023-02-23 16:05:43: Synchronizer: "BasicDelta: Report: {"timestamp":1677168017466,"older":4034,"newer":2,"equal":1}"
2023-02-23 16:05:43: Synchronizer: "Sync: fetchingTotal: Fetching delta items from sync target"
2023-02-23 16:05:43: Synchronizer: "Sync: fetchingProcessed: Processing fetched item"
2023-02-23 16:05:44: Synchronizer: "Sync: updateLocal: remote is more recent than local: Note: (Local bdb7a4a5d2694d21ba80bb8ed35cbb8c): (Remote bdb7a4a5d2694d21ba80bb8ed35cbb8c.md)"
2023-02-23 16:05:44: Synchronizer: "Sync: fetchingProcessed: Processing fetched item"
2023-02-23 16:05:44: Synchronizer: "Sync: finished: Synchronisation finished [1677168332141]"
2023-02-23 16:05:44: Synchronizer: "Operations completed: "
2023-02-23 16:05:44: Synchronizer: "createRemote: 1"
2023-02-23 16:05:44: Synchronizer: "fetchingTotal: 2"
2023-02-23 16:05:44: Synchronizer: "fetchingProcessed: 2"
2023-02-23 16:05:44: Synchronizer: "updateLocal: 1"
2023-02-23 16:05:44: Synchronizer: "Total folders: 33"
2023-02-23 16:05:44: Synchronizer: "Total notes: 877"
2023-02-23 16:05:44: Synchronizer: "Total resources: 1628"
2023-02-23 16:05:45: "Sync has finished and note has never been changed - reloading it"
2023-02-23 16:05:46: "DecryptionWorker: cannot start because no master key is currently loaded."
2023-02-23 16:05:54: "SearchEngine: Updating FTS table..."
2023-02-23 16:05:54: "SearchEngine: Updated FTS table in 66ms. Inserted: 1. Deleted: 0"
2023-02-23 16:06:37: "SearchEngine: Updating FTS table..."
2023-02-23 16:06:37: "SearchEngine: Updated FTS table in 31ms. Inserted: 1. Deleted: 0"
2023-02-23 16:07:00: "Preparing scheduled sync"
2023-02-23 16:07:00: "Starting scheduled sync"
2023-02-23 16:07:00: Synchronizer: "Sync: starting: Starting synchronisation to target 3... supportsAccurateTimestamp = false; supportsMultiPut = false [1677168420097]"
2023-02-23 16:07:00: Synchronizer: "Indexing resources..."
2023-02-23 16:07:00: "ResourceService::indexNoteResources: Start"
2023-02-23 16:07:00: "ResourceService::indexNoteResources: Completed"
2023-02-23 16:07:00: resourceHandling: "Attaching D:\Graham\Desktop\testpic.png"
2023-02-23 16:07:00: resourceHandling: "File was attached."
2023-02-23 16:07:00: Synchronizer: "Sync target remote info:", "{"version_":3,"masterKeys_":[],"e2ee_":{"value":false,"updatedTime":0},"activeMasterKeyId_":{"value":"","updatedTime":0},"ppk_":{"value":null,"updatedTime":0}}"
2023-02-23 16:07:00: Synchronizer: "Sync target is already setup - checking it..."
2023-02-23 16:07:00: Synchronizer: "Sync target local info:", "{"version_":3,"masterKeys_":[],"e2ee_":{"value":false,"updatedTime":0},"activeMasterKeyId_":{"value":"","updatedTime":0},"ppk_":{"value":null,"updatedTime":0}}"
2023-02-23 16:07:03: Synchronizer: "Sync: updateRemote: local has changes: Note: (Local f59e21c8e2dc4004831459915fd2e28f): (Remote f59e21c8e2dc4004831459915fd2e28f.md)"
2023-02-23 16:07:04: Synchronizer: "Sync: createRemote: remote does not exist, and local is new and has never been synced: Resource: (Local fb28e978db83483e8b1287be06026092)"
2023-02-23 16:07:05: Synchronizer: "TaskQueue.stop: syncDownload: waiting for tasks to complete: 0"
2023-02-23 16:07:05: Synchronizer: "TaskQueue.stop: syncDownload: Done, waited for 0"
2023-02-23 16:07:06: Synchronizer: "Sync: finished: Synchronisation finished [1677168420097]"
2023-02-23 16:07:06: Synchronizer: "Operations completed: "
2023-02-23 16:07:06: Synchronizer: "updateRemote: 1"
2023-02-23 16:07:06: Synchronizer: "createRemote: 1"
2023-02-23 16:07:06: Synchronizer: "Total folders: 33"
2023-02-23 16:07:06: Synchronizer: "Total notes: 877"
2023-02-23 16:07:06: Synchronizer: "Total resources: 1629"
2023-02-23 16:07:06: "Sync has finished and note has never been changed - reloading it"
2023-02-23 16:07:11: "SearchEngine: Updating FTS table..."
2023-02-23 16:07:11: "SearchEngine: Updated FTS table in 72ms. Inserted: 1. Deleted: 0"
2023-02-23 16:07:23: "SearchEngine: Updating FTS table..."
2023-02-23 16:07:23: "SearchEngine: Updated FTS table in 77ms. Inserted: 1. Deleted: 0"
2023-02-23 16:07:43: "Preparing scheduled sync"
2023-02-23 16:07:43: "Starting scheduled sync"
2023-02-23 16:07:43: Synchronizer: "Sync: starting: Starting synchronisation to target 3... supportsAccurateTimestamp = false; supportsMultiPut = false [1677168463393]"
2023-02-23 16:07:43: Synchronizer: "Indexing resources..."
2023-02-23 16:07:43: "ResourceService::indexNoteResources: Start"
2023-02-23 16:07:43: "ResourceService::indexNoteResources: Completed"
2023-02-23 16:07:44: Synchronizer: "Sync target remote info:", "{"version_":3,"masterKeys_":[],"e2ee_":{"value":false,"updatedTime":0},"activeMasterKeyId_":{"value":"","updatedTime":0},"ppk_":{"value":null,"updatedTime":0}}"
2023-02-23 16:07:44: Synchronizer: "Sync target is already setup - checking it..."
2023-02-23 16:07:44: Synchronizer: "Sync target local info:", "{"version_":3,"masterKeys_":[],"e2ee_":{"value":false,"updatedTime":0},"activeMasterKeyId_":{"value":"","updatedTime":0},"ppk_":{"value":null,"updatedTime":0}}"
2023-02-23 16:07:47: Synchronizer: "Sync: noteConflict: both remote and local have changes: Note: (Local bdb7a4a5d2694d21ba80bb8ed35cbb8c): (Remote bdb7a4a5d2694d21ba80bb8ed35cbb8c.md)"
2023-02-23 16:07:47: Synchronizer: "TaskQueue.stop: syncDownload: waiting for tasks to complete: 0"
2023-02-23 16:07:47: Synchronizer: "TaskQueue.stop: syncDownload: Done, waited for 0"
2023-02-23 16:07:47: Synchronizer: "Sync: finished: Synchronisation finished [1677168463393]"
2023-02-23 16:07:47: Synchronizer: "Operations completed: "
2023-02-23 16:07:47: Synchronizer: "noteConflict: 1"
2023-02-23 16:07:47: Synchronizer: "Total folders: 33"
2023-02-23 16:07:47: Synchronizer: "Total notes: 878"
2023-02-23 16:07:47: Synchronizer: "Total resources: 1629"
2023-02-23 16:07:48: "Sync has finished and note has never been changed - reloading it"
2023-02-23 16:07:57: "SearchEngine: Updating FTS table..."
2023-02-23 16:07:57: "SearchEngine: Updated FTS table in 68ms. Inserted: 1. Deleted: 0"
2023-02-23 16:08:17: "SearchEngine: Updating FTS table..."
2023-02-23 16:08:17: "SearchEngine: Updated FTS table in 23ms. Inserted: 0. Deleted: 1"
2023-02-23 16:08:37: "Preparing scheduled sync"
2023-02-23 16:08:37: "Starting scheduled sync"
2023-02-23 16:08:37: Synchronizer: "Sync: starting: Starting synchronisation to target 3... supportsAccurateTimestamp = false; supportsMultiPut = false [1677168517554]"
2023-02-23 16:08:37: Synchronizer: "Indexing resources..."
2023-02-23 16:08:37: "ResourceService::indexNoteResources: Start"
2023-02-23 16:08:37: "ResourceService::indexNoteResources: Completed"
2023-02-23 16:08:38: Synchronizer: "Sync target remote info:", "{"version_":3,"masterKeys_":[],"e2ee_":{"value":false,"updatedTime":0},"activeMasterKeyId_":{"value":"","updatedTime":0},"ppk_":{"value":null,"updatedTime":0}}"
2023-02-23 16:08:38: Synchronizer: "Sync target is already setup - checking it..."
2023-02-23 16:08:38: Synchronizer: "Sync target local info:", "{"version_":3,"masterKeys_":[],"e2ee_":{"value":false,"updatedTime":0},"activeMasterKeyId_":{"value":"","updatedTime":0},"ppk_":{"value":null,"updatedTime":0}}"
2023-02-23 16:08:39: Synchronizer: "TaskQueue.stop: syncDownload: waiting for tasks to complete: 0"
2023-02-23 16:08:39: Synchronizer: "TaskQueue.stop: syncDownload: Done, waited for 0"
2023-02-23 16:08:40: Synchronizer: "Sync: finished: Synchronisation finished [1677168517554]"
2023-02-23 16:08:40: Synchronizer: "Operations completed: "
2023-02-23 16:08:40: Synchronizer: "Total folders: 33"
2023-02-23 16:08:40: Synchronizer: "Total notes: 877"
2023-02-23 16:08:40: Synchronizer: "Total resources: 1629"
2023-02-23 16:11:04: RevisionService: "maintenance: Starting..."
2023-02-23 16:11:04: RevisionService: "maintenance: Service is enabled"
2023-02-23 16:11:04: RevisionService: "collectRevisions: Created revisions for 4 notes"
2023-02-23 16:11:04: RevisionService: "maintenance: Done in 169ms"
2023-02-23 16:13:04: "Sync has finished and note has never been changed - reloading it"
2023-02-23 16:13:04: "Trying to reload note that has been deleted:", "null"
Second machine:
2023-02-23 16:05:56: "Preparing scheduled sync"
2023-02-23 16:05:56: "Starting scheduled sync"
2023-02-23 16:05:56: Synchronizer: "Sync: starting: Starting synchronisation to target 3... supportsAccurateTimestamp = false; supportsMultiPut = false [1677168356282]"
2023-02-23 16:05:56: Synchronizer: "Indexing resources..."
2023-02-23 16:05:56: "ResourceService::indexNoteResources: Start"
2023-02-23 16:05:56: "ResourceService::indexNoteResources: Completed"
2023-02-23 16:05:57: Synchronizer: "Sync target remote info:", "{"version_":3,"masterKeys_":[],"e2ee_":{"value":false,"updatedTime":0},"activeMasterKeyId_":{"value":"","updatedTime":0},"ppk_":{"value":null,"updatedTime":0}}"
2023-02-23 16:05:57: Synchronizer: "Sync target is already setup - checking it..."
2023-02-23 16:05:57: Synchronizer: "Sync target local info:", "{"version_":3,"masterKeys_":[],"e2ee_":{"value":false,"updatedTime":0},"activeMasterKeyId_":{"value":"","updatedTime":0},"ppk_":{"value":null,"updatedTime":0}}"
2023-02-23 16:05:58: Synchronizer: "TaskQueue.stop: syncDownload: waiting for tasks to complete: 0"
2023-02-23 16:05:58: Synchronizer: "TaskQueue.stop: syncDownload: Done, waited for 0"
2023-02-23 16:06:06: Synchronizer: "BasicDelta: Report: {"timestamp":1677168017466,"older":4034,"newer":2,"equal":1}"
2023-02-23 16:06:06: Synchronizer: "Sync: fetchingTotal: Fetching delta items from sync target"
2023-02-23 16:06:06: Synchronizer: "Sync: fetchingProcessed: Processing fetched item"
2023-02-23 16:06:07: Synchronizer: "Sync: fetchingProcessed: Processing fetched item"
2023-02-23 16:06:07: Synchronizer: "Sync: createLocal: remote exists but local does not: (Remote f59e21c8e2dc4004831459915fd2e28f.md)"
2023-02-23 16:06:08: Synchronizer: "Sync: finished: Synchronisation finished [1677168356282]"
2023-02-23 16:06:08: Synchronizer: "Operations completed: "
2023-02-23 16:06:08: Synchronizer: "fetchingTotal: 2"
2023-02-23 16:06:08: Synchronizer: "fetchingProcessed: 2"
2023-02-23 16:06:08: Synchronizer: "createLocal: 1"
2023-02-23 16:06:08: Synchronizer: "Total folders: 33"
2023-02-23 16:06:08: Synchronizer: "Total notes: 877"
2023-02-23 16:06:08: Synchronizer: "Total resources: 1628"
2023-02-23 16:06:08: "Sync has finished and note has never been changed - reloading it"
2023-02-23 16:06:09: "DecryptionWorker: cannot start because no master key is currently loaded."
2023-02-23 16:06:17: "SearchEngine: Updating FTS table..."
2023-02-23 16:06:17: "SearchEngine: Updated FTS table in 31ms. Inserted: 1. Deleted: 0"
2023-02-23 16:06:58: "SearchEngine: Updating FTS table..."
2023-02-23 16:06:58: "SearchEngine: Updated FTS table in 77ms. Inserted: 1. Deleted: 0"
2023-02-23 16:07:16: "Preparing scheduled sync"
2023-02-23 16:07:16: "Starting scheduled sync"
2023-02-23 16:07:16: Synchronizer: "Sync: starting: Starting synchronisation to target 3... supportsAccurateTimestamp = false; supportsMultiPut = false [1677168436594]"
2023-02-23 16:07:16: Synchronizer: "Indexing resources..."
2023-02-23 16:07:16: "ResourceService::indexNoteResources: Start"
2023-02-23 16:07:16: "ResourceService::indexNoteResources: Completed"
2023-02-23 16:07:17: Synchronizer: "Sync target remote info:", "{"version_":3,"masterKeys_":[],"e2ee_":{"value":false,"updatedTime":0},"activeMasterKeyId_":{"value":"","updatedTime":0},"ppk_":{"value":null,"updatedTime":0}}"
2023-02-23 16:07:17: Synchronizer: "Sync target is already setup - checking it..."
2023-02-23 16:07:17: Synchronizer: "Sync target local info:", "{"version_":3,"masterKeys_":[],"e2ee_":{"value":false,"updatedTime":0},"activeMasterKeyId_":{"value":"","updatedTime":0},"ppk_":{"value":null,"updatedTime":0}}"
2023-02-23 16:07:20: Synchronizer: "Sync: updateRemote: local has changes: Note: (Local bdb7a4a5d2694d21ba80bb8ed35cbb8c): (Remote bdb7a4a5d2694d21ba80bb8ed35cbb8c.md)"
2023-02-23 16:07:21: Synchronizer: "TaskQueue.stop: syncDownload: waiting for tasks to complete: 0"
2023-02-23 16:07:21: Synchronizer: "TaskQueue.stop: syncDownload: Done, waited for 0"
2023-02-23 16:07:30: Synchronizer: "BasicDelta: Report: {"timestamp":1677168334883,"older":4035,"newer":3,"equal":0}"
2023-02-23 16:07:30: Synchronizer: "Sync: fetchingTotal: Fetching delta items from sync target"
2023-02-23 16:07:30: Synchronizer: "Sync: fetchingProcessed: Processing fetched item"
2023-02-23 16:07:31: Synchronizer: "Sync: updateLocal: remote is more recent than local: Note: (Local f59e21c8e2dc4004831459915fd2e28f): (Remote f59e21c8e2dc4004831459915fd2e28f.md)"
2023-02-23 16:07:31: Synchronizer: "Sync: fetchingProcessed: Processing fetched item"
2023-02-23 16:07:31: Synchronizer: "Sync: createLocal: remote exists but local does not: (Remote fb28e978db83483e8b1287be06026092.md)"
2023-02-23 16:07:31: Synchronizer: "Sync: fetchingProcessed: Processing fetched item"
2023-02-23 16:07:31: "ResourceFetcher: Auto-add resources: Mode: always"
2023-02-23 16:07:31: "ResourceFetcher: Auto-added resources: 7"
2023-02-23 16:07:32: Synchronizer: "Sync: finished: Synchronisation finished [1677168436594]"
2023-02-23 16:07:32: Synchronizer: "Operations completed: "
2023-02-23 16:07:32: Synchronizer: "updateRemote: 1"
2023-02-23 16:07:32: Synchronizer: "fetchingTotal: 3"
2023-02-23 16:07:32: Synchronizer: "fetchingProcessed: 3"
2023-02-23 16:07:32: Synchronizer: "updateLocal: 1"
2023-02-23 16:07:32: Synchronizer: "createLocal: 1"
2023-02-23 16:07:32: Synchronizer: "Total folders: 33"
2023-02-23 16:07:32: Synchronizer: "Total notes: 877"
2023-02-23 16:07:32: Synchronizer: "Total resources: 1629"
2023-02-23 16:07:32: "Sync has finished and note has never been changed - reloading it"
2023-02-23 16:07:33: "DecryptionWorker: cannot start because no master key is currently loaded."
2023-02-23 16:07:41: "SearchEngine: Updating FTS table..."
2023-02-23 16:07:41: "SearchEngine: Updated FTS table in 109ms. Inserted: 2. Deleted: 0"
2023-02-23 16:08:06: "Preparing scheduled sync"
2023-02-23 16:08:06: "Starting scheduled sync"
2023-02-23 16:08:06: Synchronizer: "Sync: starting: Starting synchronisation to target 3... supportsAccurateTimestamp = false; supportsMultiPut = false [1677168486505]"
2023-02-23 16:08:06: Synchronizer: "Indexing resources..."
2023-02-23 16:08:06: "ResourceService::indexNoteResources: Start"
2023-02-23 16:08:06: "ResourceService::indexNoteResources: Completed"
2023-02-23 16:08:07: Synchronizer: "Sync target remote info:", "{"version_":3,"masterKeys_":[],"e2ee_":{"value":false,"updatedTime":0},"activeMasterKeyId_":{"value":"","updatedTime":0},"ppk_":{"value":null,"updatedTime":0}}"
2023-02-23 16:08:07: Synchronizer: "Sync target is already setup - checking it..."
2023-02-23 16:08:07: Synchronizer: "Sync target local info:", "{"version_":3,"masterKeys_":[],"e2ee_":{"value":false,"updatedTime":0},"activeMasterKeyId_":{"value":"","updatedTime":0},"ppk_":{"value":null,"updatedTime":0}}"
2023-02-23 16:08:10: Synchronizer: "Sync: updateRemote: local has changes: Note: (Local bdb7a4a5d2694d21ba80bb8ed35cbb8c): (Remote bdb7a4a5d2694d21ba80bb8ed35cbb8c.md)"
2023-02-23 16:08:11: Synchronizer: "TaskQueue.stop: syncDownload: waiting for tasks to complete: 0"
2023-02-23 16:08:11: Synchronizer: "TaskQueue.stop: syncDownload: Done, waited for 0"
2023-02-23 16:08:12: Synchronizer: "Sync: finished: Synchronisation finished [1677168486505]"
2023-02-23 16:08:12: Synchronizer: "Operations completed: "
2023-02-23 16:08:12: Synchronizer: "updateRemote: 1"
2023-02-23 16:08:12: Synchronizer: "Total folders: 33"
2023-02-23 16:08:12: Synchronizer: "Total notes: 877"
2023-02-23 16:08:12: Synchronizer: "Total resources: 1629"
2023-02-23 16:08:12: "Sync has finished and note has never been changed - reloading it"
2023-02-23 16:11:07: RevisionService: "maintenance: Starting..."
2023-02-23 16:11:07: RevisionService: "maintenance: Service is enabled"
2023-02-23 16:11:07: RevisionService: "collectRevisions: Created revisions for 1 notes"
2023-02-23 16:11:07: RevisionService: "maintenance: Done in 212ms"