Note stuck as "Encrypted"

MAC Version: 1.0.193, but it may have been on the previous version when I first synced this note.
Android Version: 1.0.193
Syncing via Dropbox

I wrote a note yesterday on my phone. It displays fine there.

But the sync to my desktop seems to have caused some issue, as it just shows as “Encrypted” in the notes list.

I’ve tried resyncing both.
I’ve tried editing the note on my phone and then resyncing.
I tried restarting and resyncing.
But still just “encrypted”.

Any ideas for how I deal with this? I’ve never had it happen before. I’m not sure its update related, but… maybe it is? I think my desktop was on the previous to the new version when I first synced the note. Not sure why that would make a difference.

I should add a wrote a note on my phone this morning and it all synced to the desktop fine.

1 Like

Could you open the Sync Status screen and see if you have the option there to retry decryption?

Otherwise please post your log https://joplinapp.org/debugging

2 Likes

Ah, thanks! Retry worked. I had no idea that was there.

Hi, I’m seeing the same scenario on two notes. This is the first time I’ve seen this issue, I have ~150 notes, almost all text.

Like OP I started both notes on my iPhone and see them as encrypted on Mac. Both notes are very short, just a few lines of text and an external link.

I am using WebDav for syncing.

iPhone version: 10.0.45
Mac version: 1.0.179 (prod, darwin)

I have tried:

  • Force quitting both clients and resyncing
  • Editing the notes iPhone and then resyncing
  • Going to Synchronization Status on Mac and hitting “retry”
    While in there, I see that there are 2 notes that are stuck as well as 7 revisions (not sure which notes those are affected).

As far as posting logs:
I saw this console error when I went to Synchronization Status the first time I tried. I then restarted, and did the same steps, and it did not produce any errors, so I am not sure this error is related. Let me know if you need more / different logs.

Thank you!

/Applications/Joplin.app/Contents/Resources/app/gui/NoteText.min.js:1484 Uncaught TypeError: Cannot read property 'start' of null
    at NoteTextComponent.commandTextCode (/Applications/Joplin.app/Contents/Resources/app/gui/NoteText.min.js:1484)
    at /Applications/Joplin.app/Contents/Resources/app/gui/NoteText.min.js:1148
commandTextCode @ /Applications/Joplin.app/Contents/Resources/app/gui/NoteText.min.js:1484
(anonymous) @ /Applications/Joplin.app/Contents/Resources/app/gui/NoteText.min.js:1148
requestAnimationFrame (async)
doCommand @ /Applications/Joplin.app/Contents/Resources/app/gui/NoteText.min.js:1146
UNSAFE_componentWillReceiveProps @ /Applications/Joplin.app/Contents/Resources/app/gui/NoteText.min.js:664
callComponentWillReceiveProps @ /Applications/Joplin.app/Contents/Resources/app/node_modules/react-dom/cjs/react-dom.development.js:14298
updateClassInstance @ /Applications/Joplin.app/Contents/Resources/app/node_modules/react-dom/cjs/react-dom.development.js:14511
updateClassComponent @ /Applications/Joplin.app/Contents/Resources/app/node_modules/react-dom/cjs/react-dom.development.js:18420
beginWork$1 @ /Applications/Joplin.app/Contents/Resources/app/node_modules/react-dom/cjs/react-dom.development.js:20186
beginWork$$1 @ /Applications/Joplin.app/Contents/Resources/app/node_modules/react-dom/cjs/react-dom.development.js:25756
performUnitOfWork @ /Applications/Joplin.app/Contents/Resources/app/node_modules/react-dom/cjs/react-dom.development.js:24695
workLoopSync @ /Applications/Joplin.app/Contents/Resources/app/node_modules/react-dom/cjs/react-dom.development.js:24671
performSyncWorkOnRoot @ /Applications/Joplin.app/Contents/Resources/app/node_modules/react-dom/cjs/react-dom.development.js:24270
(anonymous) @ /Applications/Joplin.app/Contents/Resources/app/node_modules/react-dom/cjs/react-dom.development.js:12199
unstable_runWithPriority @ /Applications/Joplin.app/Contents/Resources/app/node_modules/scheduler/cjs/scheduler.development.js:697
runWithPriority$2 @ /Applications/Joplin.app/Contents/Resources/app/node_modules/react-dom/cjs/react-dom.development.js:12149
flushSyncCallbackQueueImpl @ /Applications/Joplin.app/Contents/Resources/app/node_modules/react-dom/cjs/react-dom.development.js:12194
flushSyncCallbackQueue @ /Applications/Joplin.app/Contents/Resources/app/node_modules/react-dom/cjs/react-dom.development.js:12182
scheduleUpdateOnFiber @ /Applications/Joplin.app/Contents/Resources/app/node_modules/react-dom/cjs/react-dom.development.js:23709
enqueueSetState @ /Applications/Joplin.app/Contents/Resources/app/node_modules/react-dom/cjs/react-dom.development.js:13994
Component.setState @ /Applications/Joplin.app/Contents/Resources/app/node_modules/react/cjs/react.development.js:325
onStateChange @ /Applications/Joplin.app/Contents/Resources/app/node_modules/react-redux/lib/components/connectAdvanced.js:222
notify @ /Applications/Joplin.app/Contents/Resources/app/node_modules/react-redux/lib/utils/Subscription.js:30
notifyNestedSubs @ /Applications/Joplin.app/Contents/Resources/app/node_modules/react-redux/lib/utils/Subscription.js:69
onStateChange @ /Applications/Joplin.app/Contents/Resources/app/node_modules/react-redux/lib/components/connectAdvanced.js:219
notify @ /Applications/Joplin.app/Contents/Resources/app/node_modules/react-redux/lib/utils/Subscription.js:30
notifyNestedSubs @ /Applications/Joplin.app/Contents/Resources/app/node_modules/react-redux/lib/utils/Subscription.js:69
onStateChange @ /Applications/Joplin.app/Contents/Resources/app/node_modules/react-redux/lib/components/connectAdvanced.js:219
dispatch @ /Applications/Joplin.app/Contents/Resources/app/node_modules/redux/lib/createStore.js:186
generalMiddleware @ /Applications/Joplin.app/Contents/Resources/app/lib/BaseApplication.js:393
generalMiddleware @ /Applications/Joplin.app/Contents/Resources/app/app.js:271
(anonymous) @ /Applications/Joplin.app/Contents/Resources/app/lib/BaseApplication.js:330
dispatch @ /Applications/Joplin.app/Contents/Resources/app/lib/BaseApplication.js:490
click @ /Applications/Joplin.app/Contents/Resources/app/app.js:836
apply @ callbacks-registry.ts:45
(anonymous) @ remote.js:286
(anonymous) @ remote.js:276
emit @ events.js:203
onMessage @ init.ts:50
Show 8 more frames

I also see this warning multiple times

/Applications/Joplin.app/Contents/Resources/app/node_modules/react-dom/cjs/react-dom.development.js:12357 Warning: componentWillUpdate has been renamed, and is not recommended for use. See https://fb.me/react-unsafe-component-lifecycles for details.

* Move data fetching code or side effects to componentDidUpdate.
* Rename componentWillUpdate to UNSAFE_componentWillUpdate to suppress this warning in non-strict mode. In React 17.x, only the UNSAFE_ name will work. To rename all deprecated lifecycles to their new names, you can run `npx react-codemod rename-unsafe-lifecycles` in your project source folder.

Please update the following components: Connect(StatusScreenComponent)

Didn’t realize I was on the old version of the Mac app. I updated to Joplin 1.0.193 (prod, darwin) and the issue went away.

Leaving this in case it helps someone else.

1 Like

I’ve had an item labelled “Encrypt” in my notes list on Android. Everything worked fine on Windows. I couldn’t figure out what this item was for, though I noticed some notebooks were missing. I tried clicking the “Encrypt” item but nothing happened, so I ignored it for awhile.

Then tonight, my Windows installation prompted me to re-encrypt everything due to a change in the encryption method (version 1.0.197). The instructions told me to resynchronize all other installations, so I did that on Android. I still had this mysterious “Encrypt” item, so I went digging through the Options, and found on the Encryption page that several notes had previously failed to decrypt. So, I clicked them one at a time, and each successfully decrypted. After doing this, my missing notes appeared, and the “Encrypt” item in the note list was gone.

Just an FYI for anyone that might see this Encrypt item in their note list.

1 Like