Home / GitHub Page

Sync issue on Fedora


#1

Hi all,

I’m a Joplin user on many devices (iOS, Android, Windows10, Ubuntu and Fedora) since couple months now. I never had an issue for syncing which i’m doing with my nextcloud server. Since a few weeks now, the modifications i’m doing from Fedora does save (i get the sync completed) but doesn’t propagate to all other devices. Just to make sure, from any other device, if I enter just a dot, it does sync as expected.

I tried by deleting everything related to joplin-dektop and Joplin, more than 3 times now but always the same issue. The initial sync does work perfectly by copying locally the stuff but it’s always when i’m trying to edit from this workstation afterwards that doesn’t work anymore even if it tells me the sync has been successfully completed.

Anyone have an idea what’s wrong?

Thanks,


#2

Try to enable debug mode - http://joplin.cozic.net/debugging/ and can you see any error or warning in the log?


#3

In the console i see this message on startup of the app but after that, when i edit a note and sync it, nothing else is adding in the console which i put in Verbose mode.

/tmp/.mount_JoplinIUgQuf/app/resources/app/node_modules/brace/index.js:1390 [Violation] Added non-passive event listener to a scroll-blocking ‘mousewheel’ event. Consider marking event handler as ‘passive’ to make the page more responsive.
/tmp/.mount_JoplinIUgQuf/app/resources/app/node_modules/react-dom/cjs/react-dom.development.js:534 [Violation] ‘react-invokeguardedcallback’ handler took 231ms
[Violation] Forced reflow while executing JavaScript took 54ms

For the log file, everything look fine, no error or so, i’ll paste the last few lines so you can see. Please let me know if you need anything else and thank you for the amazing product, really love it!

2018-05-10 21:43:54: “Sync: updateRemote: local has changes: Note: (Local fb0626459b6641489757e9a6ff2429fa): (Remote fb0626459b6641489757e9a6ff2429fa.md)”
2018-05-10 21:43:54: “Reducer action”, “SYNC_REPORT_UPDATE”
2018-05-10 21:43:54: “No master key is defined as active. Check this: Either one or more master keys exist but no password was provided for any of them. Or no master key exist. Or master keys and password exist, but none was set as active.”
2018-05-10 21:43:54: “Sync: finished: Synchronisation finished [1526003028577]”
2018-05-10 21:43:54: “Reducer action”, “SYNC_REPORT_UPDATE”
2018-05-10 21:43:54: "Operations completed: "
2018-05-10 21:43:54: “updateRemote: 1”
2018-05-10 21:43:54: “Total folders: 9”
2018-05-10 21:43:54: “Total notes: 105”
2018-05-10 21:43:54: “Total resources: 0”
2018-05-10 21:43:54: “Reducer action”, “SYNC_COMPLETED”
2018-05-10 21:43:54: “Setting up recurrent sync with interval 300”
2018-05-10 21:43:59: “ResourceService::indexNoteResources: Start”
2018-05-10 21:43:59: “ResourceService::indexNoteResources: Completed”
2018-05-10 21:43:59: “ResourceService::deleteOrphanResources:”, “[]”
2018-05-10 21:45:16: “Scheduling sync operation…”
2018-05-10 21:45:16: “Reducer action”, “NOTE_UPDATE_ONE”
2018-05-10 21:45:16: “Reducer action”, “EVENT_NOTE_ALARM_FIELD_CHANGE, 16650ed3cf364261b62a2ce426c46a16”
2018-05-10 21:45:16: “Preparing scheduled sync”
2018-05-10 21:45:16: “Starting scheduled sync”
2018-05-10 21:45:16: “Reducer action”, “SYNC_STARTED”
2018-05-10 21:45:16: “Sync: starting: Starting synchronisation to target 5… [1526003116721]”
2018-05-10 21:45:16: “Reducer action”, “SYNC_REPORT_UPDATE”
2018-05-10 21:45:16: “mkdir .sync”
2018-05-10 21:45:17: “Reducer action”, “NOTE_UPDATE_ONE”
2018-05-10 21:45:17: “Reducer action”, “EVENT_NOTE_ALARM_FIELD_CHANGE, 16650ed3cf364261b62a2ce426c46a16”
2018-05-10 21:45:18: “mkdir .resource”
2018-05-10 21:45:18: “Reducer action”, “NOTE_UPDATE_ONE”
2018-05-10 21:45:18: “Reducer action”, “EVENT_NOTE_ALARM_FIELD_CHANGE, 16650ed3cf364261b62a2ce426c46a16”
2018-05-10 21:45:19: “stat fb0626459b6641489757e9a6ff2429fa.md”
2018-05-10 21:45:21: “get fb0626459b6641489757e9a6ff2429fa.md”
2018-05-10 21:45:22: “Sync: updateRemote: local has changes: Note: (Local fb0626459b6641489757e9a6ff2429fa): (Remote fb0626459b6641489757e9a6ff2429fa.md)”
2018-05-10 21:45:22: “Reducer action”, “SYNC_REPORT_UPDATE”
2018-05-10 21:45:22: “No master key is defined as active. Check this: Either one or more master keys exist but no password was provided for any of them. Or no master key exist. Or master keys and password exist, but none was set as active.”
2018-05-10 21:45:22: “Sync: finished: Synchronisation finished [1526003116721]”
2018-05-10 21:45:22: “Reducer action”, “SYNC_REPORT_UPDATE”
2018-05-10 21:45:22: "Operations completed: "
2018-05-10 21:45:22: “updateRemote: 1”
2018-05-10 21:45:22: “Total folders: 9”
2018-05-10 21:45:22: “Total notes: 105”
2018-05-10 21:45:22: “Total resources: 0”
2018-05-10 21:45:22: “Reducer action”, “SYNC_COMPLETED”
2018-05-10 21:45:22: “Setting up recurrent sync with interval 300”


#4

Do you use E2EE? If so, it seems that for some reason no key is active, which means it cannot encrypt the data and if it cannot encrypt it, it won’t sync it.

How does the Encryption Config screen look? How many master keys? And are passwords provided for each of them?


#5

You got it!

I did used encrytion back when it was only possible to sync with OneDrive but since i’m on my nextcloud instance, i turned it off for all the devices. The Fedora laptop was a newly installed one. This also means, i could pull the current notes from the server since it wasn’t encrypted but strangly i do need to enter the encryption password in the config even if i’m not using it anymore to see the editing propagating back to the server. Once done, everything started to work as expected.

Last questions, do you know if there’s a way to get rid off all the encryption history without breaking everything?

Thanks again for the amazing work.