Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Joplin stuck on syncing the encryption MasterKey #804

Closed
dev4223 opened this issue Sep 17, 2018 · 7 comments
Closed

Joplin stuck on syncing the encryption MasterKey #804

dev4223 opened this issue Sep 17, 2018 · 7 comments

Comments

@dev4223
Copy link

dev4223 commented Sep 17, 2018

Operating system

  • Windows 10

Application

  • Desktop

Hello,

I came from Evernote an get all my notes (some ~600) into Joplin desktop app under Windows 10. I exported all my notes from Evernote and imported them into Joplin. The I do some cleaning on my tags and notes. Syncing with Nextcloud then takes some time but finished without complications.

Then I wanted to use the E2EE feature and filled in an encryption phrase. Encryption worked and then the sync did also work for all the tags and notes, but not for the MasterKey. The sync process stuck there and the MasterKey did not get synced.

@laurent22
Copy link
Owner

How do you know the master key didn't get synced?

@dev4223
Copy link
Author

dev4223 commented Sep 22, 2018

Because of the sync status screen. I did a fresh sync today following your E2EE Guide. But it hangs during sync again. Please see the attached screenshots.
180922-joplin-hangs-on-encrypted-sync
180922-joplin-hangs-on-encrypted-sync-status

@dev4223 dev4223 closed this as completed Sep 22, 2018
@dev4223
Copy link
Author

dev4223 commented Sep 22, 2018

sorry, hi the wrong button

@dev4223 dev4223 reopened this Sep 22, 2018
@laurent22
Copy link
Owner

Sorry I can't tell what the issue is from this screenshot. How do you know the sync is not finished? Did you wait long enough to make sure it wasn't just a large resource being synced?

@dev4223
Copy link
Author

dev4223 commented Sep 22, 2018

The status always is "Working" and it never changes back. Now it says, it synced just one item but it stays on "Working" . And because I imported all my notes in the beginning from an .jex file and synced them, I know approximately how long it took. I've done this for testing 3 or 4 times now. And on the sync status screen the master key always is on not synced.
Yesterday night after the syncing I let my laptop runing until now. So the encrypted syncing should be ready now. It's twice or three times the time it took for the first sync.

@laurent22
Copy link
Owner

Was the master key uploaded to the sync target? You can search for it by searching for "type_: 9"

@dev4223
Copy link
Author

dev4223 commented Sep 26, 2018

ok, now I managed to get a full sync working. Firstly I cleaned up my notes, which I've imported from Evernote, looking for large attachements. I deleted all attachments over 4 MB. There was one note with 8 to 10 animated GIFs with around 8 MB each. I think, this was the largest note by overall size of the attachments.
After this cleaning the sync was working.
So to answer your question: I thought the master key wasn't synced because of the Joplin status screen entry for MasterKey, which said 0/1 (Synced Objects/All Objects).
So for the stuck-on-sync-problem this is not really a solution, because I don't know whether it comes from deleting large attachments or because I've edited these notes with large attachments.

@dev4223 dev4223 closed this as completed Sep 26, 2018
@lock lock bot locked and limited conversation to collaborators Oct 16, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants