Attachments in shared notebooks are failing to download properly in certain cases

Operating system

Windows

Joplin version

2.13.13

Desktop version info

Joplin 2.13.13 (prod, win32)

Client ID: 0565b4095899405cac9b4f43da800ab8
Sync Version: 3
Profile Version: 44
Keychain Supported: Yes

Revision: c3cdeeb

Favorites: 1.3.2
Note list (Preview): 0.3.0
Note Tabs: 1.4.0
Rich Markdown: 0.13.3
Simple Backup: 1.3.5

Sync target

Joplin Server

Editor

Markdown Editor

What issue do you have?

Notes with attachments that exist before the folder was shared are downloaded as invalid files on the 2nd account. These files exist with the proper name/file extension, but when opened in a text editor a PDF file contained this:

{"error":"Not found: root:/.resource/479fd9ca741247f99ed548e779208402:"}

The server logs this error when this happens:

00:13:36 0|app | 2024-01-07 00:13:36: [error] App: 404: GET /api/items/root:/.resource/479fd9ca741247f99ed548e779208402:/content: AN4H78HySC8Vu84vT8u95u: Not found: root:/.resource/479fd9ca741247f99ed548e779208402:

This is running on my own Joplin Server v2.13.3 with pg db, Filesystem STORAGE_DRIVER, and encryption disabled.

1 Like

To confirm I have the same problem having just tried to use shared notebooks for the first time on my wife's MAC
Server = v2.14.1 on Ubuntu 20.04
Sharing version of Joplin = 2.13.14 Windows 10 (X64)
Receiving/syncing version of Joplin = 2.13.14 MAC (M1)

Thanks for the report - that will be fixed in v2.13.15 (being built now) and next pre-release

2 Likes

Thanks @laurent! I just confirmed this is working as expected now in Desktop v2.13.15 with the same version of server (2.13.3).

1 Like

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