Joplin tries to find a resource that does not exist

Operating system


Joplin version


Desktop version info

Joplin 2.14.20 (prod, win32)

Client ID: 75c41c10c6b54b0f8ce45aa9aa2e7309
Sync Version: 3
Profile Version: 46
Keychain Supported: Yes

Revision: cfd98e3

Backup: 1.4.0
Email Plugin: 1.0.0
Hotfolder: 1.1.1

Sync target


What issue do you have?

Error message during sync: These items will remain on the device but will not be uploaded to the sync target. In order to find these items, either search for the title or the ID (which is displayed in brackets above).

I have 5 resources that cannot be found in my local folder. The problem happened probably when importing notes and I had a full disk during OCR conversion. This is the error that I got at the time of diskspace:

2024-04-16 16:06:01: OcrService: "Processing resource 1 / 12: 2df326f0b5cf4f2bb34088c84667b91b (type image/webp)..."
2024-04-16 16:06:01: OcrService: "Could not process resource 2df326f0b5cf4f2bb34088c84667b91b (type image/webp)", "TypeError: Recognition failed on: C:/Users/.../.config/joplin-desktop/resources/2df326f0b5cf4f2bb34088c84667b91b.webp: Failed to fetch
TypeError: Recognition failed on: C:/Users/.../.config/joplin-desktop/resources/2df326f0b5cf4f2bb34088c84667b91b.webp: Failed to fetch
at file:///C:/Users/.../AppData/Local/Programs/Joplin/resources/app.asar/node_modules/tesseract.js/dist/tesseract.min.js:2:57298
at h (file:///C:/Users/.../AppData/Local/Programs/Joplin/resources/app.asar/node_modules/tesseract.js/dist/tesseract.min.js:2:50356)
at Generator. (file:///C:/Users/../AppData/Local/Programs/Joplin/resources/app.asar/node_modules/tesseract.js/dist/tesseract.min.js:2:51711)
at (file:///C:/Users/../AppData/Local/Programs/Joplin/resources/app.asar/node_modules/tesseract.js/dist/tesseract.min.js:2:50719)
at n (file:///C:/Users/../AppData/Local/Programs/Joplin/resources/app.asar/node_modules/tesseract.js/dist/tesseract.min.js:2:56364)
at c (file:///C:/Users/../AppData/Local/Programs/Joplin/resources/app.asar/node_modules/tesseract.js/dist/tesseract.min.js:2:56567)
at file:///C:/Users/../AppData/Local/Programs/Joplin/resources/app.asar/node_modules/tesseract.js/dist/tesseract.min.js:2:56626
at new Promise ()
at file:///C:/Users/../AppData/Local/Programs/Joplin/resources/app.asar/node_modules/tesseract.js/dist/tesseract.min.js:2:56507
at file:///C:/Users/../AppData/Local/Programs/Joplin/resources/app.asar/node_modules/tesseract.js/dist/tesseract.min.js:2:58471"
2024-04-16 16:06:01: OcrService: "Processing resource 2 / 12: e308a33009e2ef346285fbabdcc34727 (type image/png)..."

For this resource 2df326f0b5cf4f2bb34088c84667b91b , I get this sync error displayed in the desktop:

soft-skills-hard-skills-390x220.jpg.webp (2df326f0b5cf4f2bb34088c84667b91b) could not be uploaded: File not found: C:/Users/../.config/joplin-desktop/resources/2df326f0b5cf4f2bb34088c84667b91b.webp

My remarks:

  • resource file does not exist locally
  • tools - attachments: it only display 10.000 attachments so I cannot find it in this list
  • some notes that might refer this image was deleted but no success.

How to find the reference to these 5 images? How to delete those 5 resources that do not exist? Is there an attachment tool that searches for non-existing resources?

Many thanks,


PS: migrating process from Evernote to Joplin for 40K notes. All good till now.

You could try export to JEX, unpack (it's just a tar archive), and look for references there.

If you're comfortable doing this, you can also open your database using any sqlite client (make a backup first!) and search there, the schema should be obvious enough.

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