Notes Missing After Update and Sync

Operating system

macOS

Joplin version

3.3.12

Desktop version info

Joplin 3.3.12 (prod, darwin)

Device: darwin, Apple M1
Client ID: b24ac65ce0074bae80a28b9f72d35c70
Sync Version: 3
Profile Version: 47
Keychain Supported: Yes
Alternative instance ID: -

Revision: 4d790b6

Backup: 1.4.3
Freehand Drawing: 3.0.1

Sync target

Joplin Cloud

Editor

Rich Text Editor

What issue do you have?

I have a Joplin Cloud subscription and recently performed an update. After updating, a yellow toolbar appeared prompting me to enter an encryption password. The banner wouldn’t go away, so I added a password as requested.

Once I did that, the app synced, and suddenly, all of my tags, notebooks, and notes disappeared. I now see 1,560 notes in the trash, and I’m very concerned.

Where did my notes and settings go? Is there a way to restore everything to the way it was before the update? I chose Joplin Cloud thinking it would provide added security and stability, but now I’m scared I’ve lost all my data.

Screenshots


Joplin comes with the Backup plugin. By default, this plugin creates a backup of notes, notebooks, tags, etc. every 24 hours and stores it in the /Users/YourUsername/JoplinBackup folder. See also:

Edit: For reference, I'm extracting a few relevant parts of the log files:

mobile-log.log indicates a disabled account:

04-19T16:27:35: JoplinServerApi: Error: This account is disabled. Please login to https://joplincloud.com for more information.
Code: 403
Error: This account is disabled. Please login to https://joplincloud.com for more information.
    at construct (native)
    at Wrapper (address at index.android.bundle:1:2827622)
    at construct (native)
    at _createSuperInternal (address at index.android.bundle:1:2826758)
    at call (native)
    at JoplinError (address at index.android.bundle:1:2827086)
    at newError (address at index.android.bundle:1:3036002)
    at ?anon_0_ (address at index.android.bundle:1:3035585)
    at next (native)
    at asyncGeneratorStep (address at index.android.bundle:1:846151)
    at _next (address at index.android.bundle:1:846406)
    at tryCallOne (address at InternalBytecode.js:1:1180)
    at anonymous (address at InternalBytecode.js:1:1874)
    at apply (native)
    at anonymous (address at index.android.bundle:1:292943)
    at _callTimer (address at index.android.bundle:1:291894)
    at _callReactNativeMicrotasksPass (address at index.android.bundle:1:292038)
    at callReactNativeMicrotasks (address at index.android.bundle:1:294028)
    at __callReactNativeMicrotasks (address at index.android.bundle:1:154693)
    at anonymous (address at index.android.bundle:1:153777)
    at __guard (address at index.android.bundle:1:154531)
    at flushedQueue (address at index.android.bundle:1:153688)
    at invokeCallbackAndReturnFlushedQueue (address at index.android.bundle:1:153631)

The app detects a change to the sync target information since last sync:

05-24T08:23:14: Synchronizer: Sync target local info: {"version":3,"e2ee":{"value":true,"updatedTime":1747580917128},"activeMasterKeyId":{"value":"19a69f5e231d484e96ba03eea22915fd","updatedTime":1747580917120},"masterKeys":[{"encryption_method":4,"created_time":1747580917105,"updated_time":1748094668143,"source_application":"net.cozic.joplin-mobile","hasBeenUsed":true,"id":"19a69f5e231d484e96ba03eea22915fd"}],"ppk":{"value":{"id":"sSReNpqbE1gcm6JzkAf43j","keySize":2048,"privateKey":{"encryptionMethod":4,"ciphertext":"{\"iv\":\"K+7kCHdlsiQ2v...RL6fz1SmtcsGLhdiTo\"}"},"publicKey":"-----BEGIN RSA PUBLIC KEY-----\nMIIBCgKCA...","createdTime":1747581108444},"updatedTime":1747581108444},"appMinVersion":"3.0.0"}
05-24T08:23:14: Synchronizer: Sync target remote info: {"version":3,"e2ee":{"value":true,"updatedTime":1747580917128},"activeMasterKeyId":{"value":"19a69f5e231d484e96ba03eea22915fd","updatedTime":1747580917120},"masterKeys":[{"encryption_method":4,"created_time":1747580917105,"updated_time":1748094995425,"source_application":"net.cozic.joplin-mobile","hasBeenUsed":true,"id":"19a69f5e231d484e96ba03eea22915fd","enabled":0}],"ppk":{"value":{"id":"sSReNpqbE1gcm6JzkAf43j","keySize":2048,"privateKey":{"encryptionMethod":4,"ciphertext":"{\"iv\":\"K+7kCHdlsiQ2v...RL6fz1SmtcsGLhdiTo\"}"},"publicKey":"-----BEGIN RSA PUBLIC KEY-----\nMIIBCgKCA...","createdTime":1747581108444},"updatedTime":1747581108444},"appMinVersion":"3.0.0"}

The deletion log marks all items with handleConflictAction (related code):

2025-05-13 09:53:50: DeleteAction: sync: handleConflictAction: note/resource conflict: titles: ["Thurs April 13, 2023"]; Item IDs: ["65262694441f4684b8770093ace40b33"]
1 Like

Thank you for the backup information.

How do I get back my notes from before the new sync? Does Joplin Cloud have any restore function? Adding a password after an update should not destroy my entire db of notes