2024-10-18 - Win11 Joplin decryption problem

Operating system

Windows

Joplin version

3.0.15

Sync target

Joplin Cloud

What issue do you have?

In my own profile on my old Win10 Joplin 3.0.15 (prod, win32), I make Joplin Cloud Shares available to others.
In my own profile on my old Win10 Joplin 3.0.15 (prod, win32), I have 0 problems with encryption.
Recently, I created a new Joplin Cloud account for someone else and a new profile in Joplin.
In this new profile, I get a Joplin Cloud Share from my own profile.
In this new profile on my old Win10 Joplin 3.0.15 (prod, win32), I have 45 encryption issues.
In this new profile on my new Win11 Joplin 3.0.15 (prod, win32) I have 453 encryption problems.

Question: What can I do to fix all encryption problems on all Windows Joplins?

Screenshots


In my own profile on my old Win10 Joplin 3.0.15 (prod, win32), I have 0 problems with encryption.
2024-10-18 - 0950 - Win10 - Master.jpg
Joplin 3.0.15 (prod, win32)

Client-ID: "the old one on Win10"
Sync-Version: 3
Profil-Version: 47
Unterstützter Schlüsselbund: Ja

Revision: 598677b

Backup: 1.4.2
Conflict Resolution: 1.2.3
Diff view: 0.1.0
Joplin debug tool: 0.2.0


In the new profile on my old Win10 Joplin 3.0.15 (prod, win32), I have 45 encryption issues:
2024-10-18 - 0944 - Win10.jpg


In the new profile on my new Win11 Joplin 3.0.15 (prod, win32) I have 453 encryption problems.
2024-10-18 - 0936 - Win11.png

Joplin 3.0.15 (prod, win32)

Client-ID: "the new one on Win11"
Sync-Version: 3
Profil-Version: 47
Unterstützter Schlüsselbund: Ja

Revision: 598677b

Backup: 1.4.1


Thank you for reporting this!

Is there an error banner visible?:

Einige Elemente können nicht entschlüsselt werden. Zeige sie jetzt an

1 Like

Thank you for that information!

Restarting Joplin (and thus forcing it to reload its encryption keys) may help (if not already done):

  1. File > Quit (not just close) the instances of Joplin with decryption errors and re-launch them:
  2. Next click the "Show them now" link ("Zeige sie jetzt an").
  3. Click the "retry all" link (if visible).
  4. Close the sync status screen.
  5. Click sync.

I went through this procedure again exactly the same way.
Unfortunately, the values did not change as a result.

Note: What I've done so far to try to reproduce this locally.

I'm recording what I've done so far. As commented below, there are at least 1-2 major differences between my test setup and the setup in the reported issue.

Possible difference 0: Device and Joplin locale is English (USA), tests were done on a Linux computer (Fedora 40).

  1. Started test Joplin Server instance.
    • Possible difference 1: I'm testing with Joplin Server. My main account is a Joplin Server account and will differ somewhat from a Joplin Cloud Teams user.
  2. Created a secondary account (can share with other users).
    • Email: self2@localhost.
    • Possible difference 2: Number of users shared with at a time?
    • Possible difference 3: Secondary account type?
  3. Attempted to share a notebook with self2@localhost containing 2054 notes and one subnotebook, though not many resources (and all smaller than a few megabytes).
    • Possible difference 4: Maximum resource size?
  4. Switched back to the secondary account and enabled encryption.
    • I was previously shown an error similar to "self2@localhost must enable encryption".
  5. Switched back to the primary account and completed the share.
  6. While waiting for sync, added 1-2 resources to a note.
  7. Verified that sync completed successfully.
  8. Created 5 more test accounts. (share-user-1@localhost, ...)
  9. Enabled encryption for each account.
  10. Switched back to the main account.
  11. Shared with share-user-1@localhost.
  12. Stopped Joplin Server.
  13. Tried to share with share-user-2@localhost (this failed)
  14. Started Joplin Server.
  15. Shared with share-user-2@localhost, share-user-3@localhost, share-user-4@localhost, and share-user-5@localhost.
  16. Changed a note in the subfolder of the shared folder.
  17. Synced.
  18. Switched to share-user-2@localhost's profile.
  19. Synced.
  20. Verified that there are no decryption errors.
  21. Attached a 244 MB attachment to a new note.
  22. Synced.
  23. Got an "Uploading items larger than 250 MB is currently disabled" error.
  24. Synced again.
  25. Deleted the attachment.
  26. Clicked cancel.
  27. Waited for "Cancelling..." to go away.

Next, I plan to try reducing the differences documented above. If I'm still unable to reproduce the issue, logs (which may contain a more detailed error message) may help.

1 Like

One (1) Joplin Cloud Teams account sharing folder with three (3) Joplin Cloud Basic accounts.
Sharing started when no read-only option was available. Changed to read-only option when I found it was available as a new feature.

1 Like

The problem also occurs with Joplin 3.1.24 (prod, win32).
This is a disappointment as seamless note sharing is one of the key features I pay for with Joplin's cloud accounts and which was promised priority support for.

This post is to prevent the topic from being automatically closed.

This topic will close a month after the last reply.

Could you also provide a screenshot of your encryption config screen please? (Ideally in English)

Since I don't have access to the Win11 computer documented above at the moment, I installed Joplin on a new Win11 computer, set the user interface to English and reproduced the problem as far as possible.

Joplin 3.1.24 (prod, win32)
Client ID: the new client installed 2024-12-04
Sync Version: 3
Profile Version: 47
Keychain Supported: Yes
Revision: d581264
Backup: 1.4.2

will be continued ...

In the new profile on my new 2024-12-04 Win11 Joplin 3.0.24 (prod, win32) I have 628 encryption problems.

Does this answer your question, @laurent ?

Yes thank you. This actually seems normal though? In the sidebar is it not saying that it's decrypting items?

If not would you mind sharing the log? As it might indicate why it's not decrypting the remaining items

That depends on what you consider normal.
I, for example, don't understand how the number
Total 1377/1377
from the sync status is supposed to fit logically with the number
Decrypted items 1554/1554

No, it isn't.
2024-12-05 083249

I assume you mean the file
C:\Users<user>.config\joplin-desktop\log.txt

I have replaced the real username with “user” in this upload
2024-12-05 - 0830 - log.txt (8.8 KB)

In this log, I notice the following lines in particular,
which seems to contradict the screenshot above:

2024-12-04 20:16:15: DecryptionWorker: cannot start because no master key is currently loaded.
and
2024-12-04 20:16:15: Sync cancelled - no sync target is selected.

Does that answer the other questions you had last night, @laurent ?