# The attachment file content is not synchronized after modification, please assist

**URL:** <https://discourse.joplinapp.org/t/the-attachment-file-content-is-not-synchronized-after-modification-please-assist/8472>\
**Category:** Support\
**Created:** [7 May 2020 01:51 UTC](https://discourse.joplinapp.org/t/the-attachment-file-content-is-not-synchronized-after-modification-please-assist/8472 "2020-05-07T01:51:23Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![s4j4](https://avatars.discourse-cdn.com/v4/letter/s/ecccb3/32.png) [@s4j4](https://discourse.joplinapp.org/u/s4j4)\
**Post date:** [7 May 2020 01:51 UTC](https://discourse.joplinapp.org/t/the-attachment-file-content-is-not-synchronized-after-modification-please-assist/8472/1 "2020-05-07T01:51:23Z")

</div>

After modifying the file content of the attachment on the computer, open the content of the old attachment on the mobile phone, and the attachment content is not synchronized after modification

os：windows、ios

---

<div class="post-metadata">

**Author:** ![CalebJohn](https://yyz2.discourse-cdn.com/flex028/user_avatar/discourse.joplinapp.org/calebjohn/32/356_2.png) [@CalebJohn](https://discourse.joplinapp.org/u/CalebJohn)\
**Post date:** [7 May 2020 03:23 UTC](https://discourse.joplinapp.org/t/the-attachment-file-content-is-not-synchronized-after-modification-please-assist/8472/2 "2020-05-07T03:23:49Z")

</div>

Unfortunately that is a current limitation of Joplin. If you really need to modify a file you’ll have to save it somewhere else and re-attach it.

---

<div class="post-metadata">

**Author:** ![s4j4](https://avatars.discourse-cdn.com/v4/letter/s/ecccb3/32.png) [@s4j4](https://discourse.joplinapp.org/u/s4j4)\
**Post date:** [7 May 2020 03:57 UTC](https://discourse.joplinapp.org/t/the-attachment-file-content-is-not-synchronized-after-modification-please-assist/8472/3 "2020-05-07T03:57:06Z")

</div>

Can this question be included in subsequent optimization projects？ thank you

---

<div class="post-metadata">

**Author:** ![CalebJohn](https://yyz2.discourse-cdn.com/flex028/user_avatar/discourse.joplinapp.org/calebjohn/32/356_2.png) [@CalebJohn](https://discourse.joplinapp.org/u/CalebJohn)\
**Post date:** [7 May 2020 04:08 UTC](https://discourse.joplinapp.org/t/the-attachment-file-content-is-not-synchronized-after-modification-please-assist/8472/4 "2020-05-07T04:08:05Z")

</div>

I’m not sure exactly what you’re asking. But if you’re asking that we add that feature at some point, then for sure it is something that will be done eventually. I actually tried once, but it’s rather complicated.

---

<div class="post-metadata">

**Author:** ![s4j4](https://avatars.discourse-cdn.com/v4/letter/s/ecccb3/32.png) [@s4j4](https://discourse.joplinapp.org/u/s4j4)\
**Post date:** [7 May 2020 05:00 UTC](https://discourse.joplinapp.org/t/the-attachment-file-content-is-not-synchronized-after-modification-please-assist/8472/5 "2020-05-07T05:00:02Z")

</div>

After opening the attachment and editing it, the edited attachment cannot be synchronized. I hope it can be added to the optimization project so that the attachment can be synchronized after editing. Thank you

---

<div class="post-metadata">

**Author:** ![kowalskidev](https://yyz2.discourse-cdn.com/flex028/user_avatar/discourse.joplinapp.org/kowalskidev/32/2877_2.png) [@kowalskidev](https://discourse.joplinapp.org/u/kowalskidev)\
**Post date:** [7 May 2020 05:11 UTC](https://discourse.joplinapp.org/t/the-attachment-file-content-is-not-synchronized-after-modification-please-assist/8472/6 "2020-05-07T05:11:52Z")

</div>

> [@CalebJohn](#):
>
> . I actually tried once, but it’s rather complicated.

We can do something like adding a background service which keep tracks of synced attachments and if there's any change in attachment (change in "last modified date" metadata) then it will re-sync that note with edited attachment.. just a thought....I'm not sure if it works 😅

---

<div class="post-metadata">

**Author:** ![s4j4](https://avatars.discourse-cdn.com/v4/letter/s/ecccb3/32.png) [@s4j4](https://discourse.joplinapp.org/u/s4j4)\
**Post date:** [7 May 2020 05:20 UTC](https://discourse.joplinapp.org/t/the-attachment-file-content-is-not-synchronized-after-modification-please-assist/8472/7 "2020-05-07T05:20:02Z")

</div>

The modified attachments cannot be synchronized, which is the biggest problem I encountered when using Joplin. Thank you for your suggestions, and I look forward to the development team having a good solution.

---

<div class="post-metadata">

**Author:** ![CalebJohn](https://yyz2.discourse-cdn.com/flex028/user_avatar/discourse.joplinapp.org/calebjohn/32/356_2.png) [@CalebJohn](https://discourse.joplinapp.org/u/CalebJohn)\
**Post date:** [7 May 2020 05:31 UTC](https://discourse.joplinapp.org/t/the-attachment-file-content-is-not-synchronized-after-modification-please-assist/8472/8 "2020-05-07T05:31:14Z")

</div>

Yes absolutely, the structure could be similar to the external editor.  
Another option is to mark any opened attached as dirty by adding a hash of the attachment. On sync the dirty attachments would be checked against the hashes and the changed ones could be synced. This would avoid the necessity of running a background service.

---

<div class="post-metadata">

**Author:** ![kowalskidev](https://yyz2.discourse-cdn.com/flex028/user_avatar/discourse.joplinapp.org/kowalskidev/32/2877_2.png) [@kowalskidev](https://discourse.joplinapp.org/u/kowalskidev)\
**Post date:** [7 May 2020 06:13 UTC](https://discourse.joplinapp.org/t/the-attachment-file-content-is-not-synchronized-after-modification-please-assist/8472/9 "2020-05-07T06:13:04Z")

</div>

> [@CalebJohn](#):
>
> Another option is to mark any opened attached as dirty by adding a hash of the attachment. On sync the dirty attachments would be checked against the hashes and the changed ones could be synced.

Yes that would be more efficient and robust...but could be a tough implementation 😉

---

<div class="post-metadata">

**Author:** ![s4j4](https://avatars.discourse-cdn.com/v4/letter/s/ecccb3/32.png) [@s4j4](https://discourse.joplinapp.org/u/s4j4)\
**Post date:** [20 May 2020 06:29 UTC](https://discourse.joplinapp.org/t/the-attachment-file-content-is-not-synchronized-after-modification-please-assist/8472/10 "2020-05-20T06:29:28Z")

</div>

Does the development team see this problem? Can it be solved? Thank you

---

<div class="post-metadata">

**Author:** ![mrkjhnstn](https://yyz2.discourse-cdn.com/flex028/user_avatar/discourse.joplinapp.org/mrkjhnstn/32/3963_2.png) [@mrkjhnstn](https://discourse.joplinapp.org/u/mrkjhnstn)\
**Post date:** [23 May 2020 18:20 UTC](https://discourse.joplinapp.org/t/the-attachment-file-content-is-not-synchronized-after-modification-please-assist/8472/11 "2020-05-23T18:20:44Z")

</div>

Just to chime in on this - as a new Joplin user, loving it but very surprised that changes to attachments are not synching, and there doesn’t seem to be a way to force that to occur. Add my vote to finding a solution for this, please!

---

<div class="post-metadata">

**Author:** ![s4j4](https://avatars.discourse-cdn.com/v4/letter/s/ecccb3/32.png) [@s4j4](https://discourse.joplinapp.org/u/s4j4)\
**Post date:** [5 June 2020 08:51 UTC](https://discourse.joplinapp.org/t/the-attachment-file-content-is-not-synchronized-after-modification-please-assist/8472/12 "2020-06-05T08:51:47Z")

</div>

The inability to synchronize after the attachment is edited is a major defect of Joplin, and I hope that the development team will fix it first after seeing it. Thank you

---

<div class="post-metadata">

**Author:** ![CalebJohn](https://yyz2.discourse-cdn.com/flex028/user_avatar/discourse.joplinapp.org/calebjohn/32/356_2.png) [@CalebJohn](https://discourse.joplinapp.org/u/CalebJohn)\
**Post date:** [5 June 2020 16:42 UTC](https://discourse.joplinapp.org/t/the-attachment-file-content-is-not-synchronized-after-modification-please-assist/8472/13 "2020-06-05T16:42:49Z")

</div>

Looks like this feature was just merged in a couple of days ago. Please be patient it should be available soon.

---

<div class="post-metadata">

**Author:** ![s4j4](https://avatars.discourse-cdn.com/v4/letter/s/ecccb3/32.png) [@s4j4](https://discourse.joplinapp.org/u/s4j4)\
**Post date:** [6 June 2020 00:36 UTC](https://discourse.joplinapp.org/t/the-attachment-file-content-is-not-synchronized-after-modification-please-assist/8472/14 "2020-06-06T00:36:30Z")

</div>

Great, thank you very much.

---

<div class="post-metadata">

**Author:** ![ChristopheDavid](https://yyz2.discourse-cdn.com/flex028/user_avatar/discourse.joplinapp.org/christophedavid/32/6244_2.png) [@ChristopheDavid](https://discourse.joplinapp.org/u/ChristopheDavid)\
**Post date:** [22 December 2020 20:58 UTC](https://discourse.joplinapp.org/t/the-attachment-file-content-is-not-synchronized-after-modification-please-assist/8472/15 "2020-12-22T20:58:21Z")

</div>

> [@CalebJohn](#):
>
> Looks like this feature was just merged in a couple of days ago. Please be patient it should be available soon

I recently discovered and migrated to Joplin (1.4.19, Linux), which does everything I need to do, except synchronising attachments properly. Googling for this led me to this thread.

Would someone please update on this issue ? Is there a workaround if it is not fixed yet ?

Thank you in anticipation.

---

<div class="post-metadata">

**Author:** ![CalebJohn](https://yyz2.discourse-cdn.com/flex028/user_avatar/discourse.joplinapp.org/calebjohn/32/356_2.png) [@CalebJohn](https://discourse.joplinapp.org/u/CalebJohn)\
**Post date:** [22 December 2020 21:27 UTC](https://discourse.joplinapp.org/t/the-attachment-file-content-is-not-synchronized-after-modification-please-assist/8472/16 "2020-12-22T21:27:38Z")

</div>

Hi @ChristopheDavid

As far as I know there aren't any known issues with this feature. If you have encountered an issue please open a new thread on the forum that describes your problem in more detail.

Thanks.

---

<div class="post-metadata">

**Author:** ![ChristopheDavid](https://yyz2.discourse-cdn.com/flex028/user_avatar/discourse.joplinapp.org/christophedavid/32/6244_2.png) [@ChristopheDavid](https://discourse.joplinapp.org/u/ChristopheDavid)\
**Post date:** [23 December 2020 11:42 UTC](https://discourse.joplinapp.org/t/the-attachment-file-content-is-not-synchronized-after-modification-please-assist/8472/17 "2020-12-23T11:42:26Z")

</div>

> [@CalebJohn](#):
>
> As far as I know there aren't any known issues with this feature.

Thank you for the fast reply.

After checking, it looks like everything works fine for **new** attachments.

What I had noticed is that after I turned on encryption and shared the synchronisation folder using SyncThing, when importing on a new device the notes were encrypted properly but the attachments were lost.

Since then (no new configuration change), new attachments are shared correctly.

Not sure it is worth a new specific topic, but maybe something to double check in the future.

Thanks again for your help and for this very useful piece of software.

---

<div class="post-metadata">

**Author:** ![MrMacvos](https://yyz2.discourse-cdn.com/flex028/user_avatar/discourse.joplinapp.org/mrmacvos/32/5786_2.png) [@MrMacvos](https://discourse.joplinapp.org/u/MrMacvos)\
**Post date:** [14 January 2021 11:09 UTC](https://discourse.joplinapp.org/t/the-attachment-file-content-is-not-synchronized-after-modification-please-assist/8472/18 "2021-01-14T11:09:17Z")

</div>

This doesn't seem to work for PDFs? I have just changed a PDF and synced, then on my other devices started a sync, but on the other devices, the PDF is still the 'old' PDF. Is there a way to force-sync attachments?

---

<div class="post-metadata">

**Author:** ![CalebJohn](https://yyz2.discourse-cdn.com/flex028/user_avatar/discourse.joplinapp.org/calebjohn/32/356_2.png) [@CalebJohn](https://discourse.joplinapp.org/u/CalebJohn)\
**Post date:** [14 January 2021 17:11 UTC](https://discourse.joplinapp.org/t/the-attachment-file-content-is-not-synchronized-after-modification-please-assist/8472/19 "2021-01-14T17:11:31Z")

</div>

Can you confirm which version you're on? And which Os.

When you open a pdf from a note, there should be a big message that appears across the top of Joplin, do you see this?

---

<div class="post-metadata">

**Author:** ![MrMacvos](https://yyz2.discourse-cdn.com/flex028/user_avatar/discourse.joplinapp.org/mrmacvos/32/5786_2.png) [@MrMacvos](https://discourse.joplinapp.org/u/MrMacvos)\
**Post date:** [14 January 2021 17:52 UTC](https://discourse.joplinapp.org/t/the-attachment-file-content-is-not-synchronized-after-modification-please-assist/8472/20 "2021-01-14T17:52:05Z")

</div>

Yes, that's what I see when I open the PDF by clicking the link.  
However, I needed it to open with a different PDF editor, and Joplin has no 'Open with...' menu-item so I right-clicked the PDF-link, choose 'Show in Finder' and edited the attachment there directly.

[Next page](https://discourse.joplinapp.org/t/the-attachment-file-content-is-not-synchronized-after-modification-please-assist/8472.md?page=2)
