Bug report: Attachments not syncing

I am syncing with OneDrive and have been using Joplin for sometime.

I have now noticed that some attachments are not syncing. I only have two machines I use for Joplin, a desktop and a laptop, both are running Windows 11. Notes created on the laptop sync correctly with their attachments but notes created on the desktop do not sync the attachments. The note text is synced apparently without error.

The following message is displayed in the note:
Please wait for all attachments to be downloaded and decrypted. You may also switch to Code View to edit the note.

How do you get the attachments downloaded?

Advice, please.

Thanks.

1 Like

Since you are using the same software on both devices, it sounds to me as if your settings are different on the desktop. Goto -> options -> sync -> advanced settings
and check / compare your settings.

The settings on the two machines for synchronisation are identical. I changed the "Attachment download behaviour" setting a few times between Always, Manual and Auto to see if it might reset it but it had no effect.

Where the attachment is missing there is a download icon showing in its place (in markdown mode), although it does show the resource name in the code window. Clicking the icon has no effect. If I switch to view mode the note appears empty.

Thanks.

do me a favor, follow these steps and report back (check results after each step)

  • create a note (no attchment ) on the laptop and sync
  • add an attachm to the note on the laptop and sync
  • add another attachm to the sync-ed note on the desktop and sync back
  • did it go through this time ?
    post the log files

Hi, where are the log files you require? Is that the Export debug report on the Synchronisation Status page?

@ myfta, I am not the guy who might eventually analyze your log files, I am a simple user. But I have seen many similar requests where users where asked to generate and upload logs so that somebody is able to help. That is why I proposed it.
The log I am talking about is called log.txt in your profile folder. You may also want to read

I have been through these steps and the error is repeatable. The 'receiving' machine when being synced recognises an attachment has been added to the note but does not actually download it. I displays a 'download' icon on the note in its place.

I had manualy checked all the options on the two machines and they are the same.

Each time I sync it seems to fall shart in downloading all the attachments, e.g.

Created local items: 1.
Created remote items: 2.
Fetched items: 4/4.
Completed: 22/02/2023 21:08 (19s)
Fetching resources: 3/24

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.

  1. Created a new note
  2. Synced it
  3. Added an attachment
  4. Synced again
  5. 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"

@myfta, while all the rest looks good to me (remember : I am not a dev), I would suggest a few more tests. If there is anything important in your profiles do backups first, then ....
a) uninstall and reinstall Joplin on both machines
b) erase profiles on both machines manually, AND on the sync target, THEN only try again
c) try syncing one machine and test, erase ALL profiles again, try syncing the other machine first
d) any difference ?
If none of this helps, try and
e) get your encryption settings right (I see error messages about that), this may seem unrelated, but since I never used Joplin without encryption, this ...

I wish I had a better response for you right now, but at this point - if the problem persists you have probably done what you can. Let's hope that one of the devs takes note of this thread and finds the time to help.

1 Like

I'm able to consistently reproduce this. To get this to happen with an existing Joplin installation,

  1. Back up all notes!
  2. Create a large resource and upload it to the sync target.
  3. Download the attachment from the sync target. To do this, either,
    1. Go to "tools > options > synchronization > advanced" and click "delete local data and re-download from sync target".
    2. Open Joplin on a different device.
  4. Wait for the sync status to contain "Fetching resources"
  5. While Joplin is fetching a resource, close the Joplin window.
  6. Re-open Joplin and attempt to sync.

After backing up everything, try deleting local data and re-downloading from the sync target:


This fixed the issue for me. It seems that closing Joplin while it's downloading a resource causes this issue, so, until the issue is fixed, make sure Joplin isn't syncing when you close it!

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.