Import note from sync files

Hello there.

I'm a Joplin user that joined around 6 months ago. I'm extremely happy with this software. Kudos to all the makers and community.

With all said I humbly come here with a request for help.

This is my environment:

  • Joplin 1.7.11
  • I'm syncing with dropbox
  • I'm using Ubuntu 20.04

My problem is that for some reason Joplin is not showing a note that seems to exist on the sync destination. I don't really know how I got to this situation, but I'd really, really like to recover that note.

I've checked with some greps the destination directory and found that the markdown is indeed there, but it is split amongst several files (which I assume are revisions).

My question is: is there any way to import all those files into a properly formatted note?

Thank you all!

If you have the ID of the note you can update the modification time of the note which should force Joplin to pull it from the sync target.
An easy way to do this is with the touch command.
Within your Joplin directory (in the Dropbox folder) you can run

touch <my note ID>.md

This should trigger the note to download.

1 Like

Hey, Caleb

Thank you very much for your reply.

Unfortunately that didn't seem to do the trick:

I've touched the file:

hector@red-queen:~/Documentos/cloud/dropbox/Dropbox/Aplicaciones/Joplin$ touch
hector@red-queen:~/Documentos/cloud/dropbox/Dropbox/Aplicaciones/Joplin$ ls -l
-rw-r--r-- 1 hector hector 1069 may  5 00:51

Then I've opened Joplin and hit the Sync button but nothing happens. The log displays these lines:

2021-05-05 00:52:06: "Preparing scheduled sync"
2021-05-05 00:52:06: "Starting scheduled sync"
2021-05-05 00:52:06: "Sync target info:", "{"version":2}"
2021-05-05 00:52:08: "TaskQueue.stop: syncDownload: waiting for tasks to complete: 0"
2021-05-05 00:52:08: "TaskQueue.stop: syncDownload: Done, waited for 0"
2021-05-05 00:52:10: "Operations completed: "
2021-05-05 00:52:10: "fetchingTotal: -"
2021-05-05 00:52:10: "Total folders: 41"
2021-05-05 00:52:10: "Total notes: 263"
2021-05-05 00:52:10: "Total resources: 791"
2021-05-05 00:52:10: "Trying to reload note that has been deleted:", "null"
2021-05-05 00:52:11: "DecryptionWorker: cannot start because no master key is currently loaded."

Do you have any other trick up your sleeve?

Thank you very much.

It looks like you don't have encryption enabled, this means that you should actually be able to open ``` and directly read the note contents. There is some additional meta-data but if you scroll through you should be able to recognize your note pretty quickly.
Unfortunately I don't have an example of what it will look like, but I think you should get it easily.

1 Like

Have the files the field type_: 13 ?
When yes, than its a revision with only differences and not the full note.

Can you check if you find the item_id: as *.md file.

For example
item_id: 770fac91c3ee4a3abaa7a00f854d40d1 =>

1 Like

Hey Jack,

Thank you very much. That was the piece that I was missing. Thank you.


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