Unable to Sync

Error Message: Last error: Error: Could not initialise synchroniser: Could not initialise synchroniser
macOS 13.4.1 (22F82)

Joplin 2.11.11 (prod, darwin)
Sync Version: 3
Profile Version: 43
Keychain Supported: Yes

Revision: 6886f6f

Joplin Folder successfully created in One-Drive Unable to sync either iOS or Mac version

1 Like

Could you provide the full log from the console please? How to enable debugging | Joplin

An error occurred: Sorry, new users can't mention other users.

trying to paste log into reply

Could you attach it as a text file?

/Applications/Joplin.app/Contents/Resources/app.asar/node_modules/react-dom/cjs/react-dom.development.js:29840 Download the React DevTools for a better development experience: https://reactjs.org/link/react-devtoolsYou might need to use a local HTTP server (instead of file://): https://reactjs.org/link/react-devtools-faq
main-html.js:60 Environment: prod
main-html.js:82 appId: net.cozic.joplin-desktop
main-html.js:84 appType: desktop
Logger.ts:237 07:09:15: App: Profile directory: /Users/kamvento/.config/joplin-desktop
Logger.ts:237 07:09:15: App: Root profile directory: /Users/kamvento/.config/joplin-desktop
Logger.ts:237 07:09:15: Database was open successfully
Logger.ts:237 07:09:15: Checking for database schema update...
Logger.ts:237 07:09:15: Current database version Object
Logger.ts:237 07:09:15: Upgrading database from version 43
Logger.ts:237 07:09:15: New version: 43. Previously recorded version: 43
Logger.ts:237 07:09:15: KeychainService: checking if keychain supported
Logger.ts:237 07:09:15: KeychainService: check was already done - skipping. Supported: 1
Logger.ts:237 07:09:15: e2ee/utils: Master password is not set - trying to get it from the active master key...
Logger.ts:237 07:09:15: handleSyncStartupOperation: Processing operation: 0
Logger.ts:237 07:09:15: App: Client ID: f1d4afd15d344810a4dd038cb798a46e
Logger.ts:237 07:09:15: models/Setting: Applying default migrations...
Logger.ts:237 07:09:15: e2ee/utils: Trying to load 0 master keys...
Logger.ts:237 07:09:15: e2ee/utils: Loaded master keys: 0
Logger.ts:237 07:09:15: ResourceFetcher: Auto-add resources: Mode: always
Logger.ts:237 07:09:15: ResourceFetcher: Auto-added resources: 0
Logger.ts:237 07:09:15: App: "syncInfoCache" was changed - setting up encryption related code
Logger.ts:237 07:09:15: e2ee/utils: Trying to load 0 master keys...
Logger.ts:237 07:09:15: e2ee/utils: Loaded master keys: 0
Logger.ts:237 07:09:15: Scheduling sync operation... 10000
Logger.ts:237 07:09:15: Setting up recurrent sync with interval 300
Logger.ts:237 07:09:15: App: "syncInfoCache" was changed - setting up encryption related code
Logger.ts:237 07:09:15: e2ee/utils: Trying to load 0 master keys...
Logger.ts:237 07:09:15: e2ee/utils: Loaded master keys: 0
Logger.ts:237 07:09:15: Scheduling sync operation... 10000
Logger.ts:237 07:09:15: App: "syncInfoCache" was changed - setting up encryption related code
Logger.ts:237 07:09:15: e2ee/utils: Trying to load 0 master keys...
Logger.ts:237 07:09:15: e2ee/utils: Loaded master keys: 0
Logger.ts:237 07:09:15: Scheduling sync operation... 10000
Logger.ts:237 07:09:15: app.start: doing regular boot
Logger.ts:237 07:09:15: App: Refreshing notes: null null
Logger.ts:237 07:09:15: App: "syncInfoCache" was changed - setting up encryption related code
Logger.ts:237 07:09:15: e2ee/utils: Trying to load 0 master keys...
Logger.ts:237 07:09:15: e2ee/utils: Loaded master keys: 0
Logger.ts:237 07:09:15: Scheduling sync operation... 10000
Logger.ts:237 07:09:15: Setting up recurrent sync with interval 300
Logger.ts:237 07:09:15: App: "syncInfoCache" was changed - setting up encryption related code
Logger.ts:237 07:09:15: e2ee/utils: Trying to load 0 master keys...
Logger.ts:237 07:09:15: e2ee/utils: Loaded master keys: 0
Logger.ts:237 07:09:15: Scheduling sync operation... 10000
Logger.ts:237 07:09:15: App: "syncInfoCache" was changed - setting up encryption related code
Logger.ts:237 07:09:15: e2ee/utils: Trying to load 0 master keys...
Logger.ts:237 07:09:15: e2ee/utils: Loaded master keys: 0
Logger.ts:237 07:09:15: Scheduling sync operation... 10000
Logger.ts:237 07:09:15: Scheduling sync operation... 1000
Logger.ts:237 07:09:16: RevisionService: runInBackground: Starting background service with revision collection interval 600000
Logger.ts:237 07:09:16: App: Refreshing notes: 2 208f52b4a8f84ae4850df92a1ab21ddf
Logger.ts:237 07:09:16: defaultPluginsUtils: Could not find default plugins' directory: /Applications/Joplin.app/Contents/Resources/build/defaultPlugins - skipping installation.
Logger.ts:237 07:09:16: Starting Clipper server on port 41184
Logger.ts:237 07:09:16: SpellCheckerServiceDriverNative: Set effective languages to "en-US"
Logger.ts:237 07:09:17: Loading existing note 202e30fc02cd4b719393120cbb524df3
Logger.ts:237 07:09:17: DecryptionWorker: cannot start because no master key is currently loaded.
Logger.ts:237 07:09:17: Preparing scheduled sync
Logger.ts:237 07:09:17: Saving updated OneDrive auth.
Logger.ts:237 07:09:17: models/Setting: Saving settings...
Logger.ts:237 07:09:18: Loaded note: Object
Logger.ts:237 07:09:18: models/Setting: Saving settings...
Logger.ts:237 07:09:20: RevisionService: maintenance: Starting...
Logger.ts:237 07:09:20: RevisionService: maintenance: Service is enabled
Logger.ts:237 07:09:20: checkForUpdates: Starting...
Logger.ts:237 07:09:20: checkForUpdates: Checking with options {"includePreReleases":false}
Logger.ts:237 07:09:21: RevisionService: collectRevisions: Created revisions for 0 notes
Logger.ts:237 07:09:21: Could not run background sync:
Logger.ts:237 07:09:21: Error: The specified item does not exist.
at OneDriveApi.oneDriveErrorResponseToError (onedrive-api.ts:134:24)
at OneDriveApi. (onedrive-api.ts:312:24)
at Generator.next ()
at fulfilled (/Applications/Joplin.app/Contents/Resources/app.asar/node_modules/@joplin/lib/onedrive-api.js:5:58)
at process.processTicksAndRejections (node:internal/process/task_queues:96:5)
Logger.ts:237 07:09:21: Setting up recurrent sync with interval 300
Logger.ts:237 07:09:21: Updating all notifications...
Logger.ts:237 07:09:21: Garbage collecting alarms...
Logger.ts:237 07:09:21: RevisionService: maintenance: Done in 966ms
useMessageHandler.ts:17 Got ipc-message: noteRenderComplete undefined
2Logger.ts:237 07:09:21: models/Setting: Settings have been saved.
DevTools failed to load source map: Could not parse content for file:///Applications/Joplin.app/Contents/Resources/app.asar/gui/note-viewer/pluginAssets/mermaid/mermaid.min.js.map: Unexpected end of JSON input
Logger.ts:237 07:09:22: checkForUpdates: Current version: 2.11.11
Logger.ts:237 07:09:22: checkForUpdates: Latest version: 2.11.11
Logger.ts:237 07:09:22: checkForUpdates: Is Pre-release: false
Logger.ts:237 07:09:22: checkForUpdates: Done.
Logger.ts:237 07:09:22: DecryptionWorker: cannot start because no master key is currently loaded.
Logger.ts:237 07:09:25: SearchEngine: Updating FTS table...
Logger.ts:237 07:09:25: SearchEngine: Updated FTS table in 6ms. Inserted: 0. Deleted: 0
Logger.ts:237 07:09:45: ResourceService::indexNoteResources: Start
Logger.ts:237 07:09:46: ResourceService::indexNoteResources: Completed
Logger.ts:237 07:09:46: ResourceService::deleteOrphanResources:
Logger.ts:237 07:10:01: CommandService::execute: synchronize false
Logger.ts:237 07:10:02: Could not initialise synchroniser:
log @ Logger.ts:237
error @ Logger.ts:111
(anonymous) @ synchronize.ts:46
rejected @ /Applications/Joplin.app/Contents/Resources/app.asar/node_modules/@joplin/lib/commands/synchronize.js:6
processTicksAndRejections @ node:internal/process/task_queues:96
Promise.then (async)
step @ /Applications/Joplin.app/Contents/Resources/app.asar/node_modules/@joplin/lib/commands/synchronize.js:7
fulfilled @ /Applications/Joplin.app/Contents/Resources/app.asar/node_modules/@joplin/lib/commands/synchronize.js:5
Promise.then (async)
step @ /Applications/Joplin.app/Contents/Resources/app.asar/node_modules/@joplin/lib/commands/synchronize.js:7
(anonymous) @ /Applications/Joplin.app/Contents/Resources/app.asar/node_modules/@joplin/lib/commands/synchronize.js:8
__awaiter @ /Applications/Joplin.app/Contents/Resources/app.asar/node_modules/@joplin/lib/commands/synchronize.js:4
execute @ synchronize.ts:16
(anonymous) @ CommandService.ts:248
(anonymous) @ /Applications/Joplin.app/Contents/Resources/app.asar/node_modules/@joplin/lib/services/CommandService.js:8
__awaiter @ /Applications/Joplin.app/Contents/Resources/app.asar/node_modules/@joplin/lib/services/CommandService.js:4
execute @ CommandService.ts:241
onClick @ Sidebar.tsx:686
onClick @ Button.tsx:227
callCallback @ /Applications/Joplin.app/Contents/Resources/app.asar/node_modules/react-dom/cjs/react-dom.development.js:4164
invokeGuardedCallbackDev @ /Applications/Joplin.app/Contents/Resources/app.asar/node_modules/react-dom/cjs/react-dom.development.js:4213
invokeGuardedCallback @ /Applications/Joplin.app/Contents/Resources/app.asar/node_modules/react-dom/cjs/react-dom.development.js:4277
invokeGuardedCallbackAndCatchFirstError @ /Applications/Joplin.app/Contents/Resources/app.asar/node_modules/react-dom/cjs/react-dom.development.js:4291
executeDispatch @ /Applications/Joplin.app/Contents/Resources/app.asar/node_modules/react-dom/cjs/react-dom.development.js:9041
processDispatchQueueItemsInOrder @ /Applications/Joplin.app/Contents/Resources/app.asar/node_modules/react-dom/cjs/react-dom.development.js:9073
processDispatchQueue @ /Applications/Joplin.app/Contents/Resources/app.asar/node_modules/react-dom/cjs/react-dom.development.js:9086
dispatchEventsForPlugins @ /Applications/Joplin.app/Contents/Resources/app.asar/node_modules/react-dom/cjs/react-dom.development.js:9097
(anonymous) @ /Applications/Joplin.app/Contents/Resources/app.asar/node_modules/react-dom/cjs/react-dom.development.js:9288
batchedUpdates$1 @ /Applications/Joplin.app/Contents/Resources/app.asar/node_modules/react-dom/cjs/react-dom.development.js:26140
batchedUpdates @ /Applications/Joplin.app/Contents/Resources/app.asar/node_modules/react-dom/cjs/react-dom.development.js:3991
dispatchEventForPluginEventSystem @ /Applications/Joplin.app/Contents/Resources/app.asar/node_modules/react-dom/cjs/react-dom.development.js:9287
dispatchEventWithEnableCapturePhaseSelectiveHydrationWithoutDiscreteEventReplay @ /Applications/Joplin.app/Contents/Resources/app.asar/node_modules/react-dom/cjs/react-dom.development.js:6465
dispatchEvent @ /Applications/Joplin.app/Contents/Resources/app.asar/node_modules/react-dom/cjs/react-dom.development.js:6457
dispatchDiscreteEvent @ /Applications/Joplin.app/Contents/Resources/app.asar/node_modules/react-dom/cjs/react-dom.development.js:6430
Logger.ts:237 07:10:02: Error: The specified item does not exist.
at OneDriveApi.oneDriveErrorResponseToError (onedrive-api.ts:134:24)
at OneDriveApi. (onedrive-api.ts:312:24)
at Generator.next ()
at fulfilled (/Applications/Joplin.app/Contents/Resources/app.asar/node_modules/@joplin/lib/onedrive-api.js:5:58)
at process.processTicksAndRejections (node:internal/process/task_queues:96:5)
log @ Logger.ts:237
error @ Logger.ts:111
(anonymous) @ synchronize.ts:47
rejected @ /Applications/Joplin.app/Contents/Resources/app.asar/node_modules/@joplin/lib/commands/synchronize.js:6
processTicksAndRejections @ node:internal/process/task_queues:96
Promise.then (async)
step @ /Applications/Joplin.app/Contents/Resources/app.asar/node_modules/@joplin/lib/commands/synchronize.js:7
fulfilled @ /Applications/Joplin.app/Contents/Resources/app.asar/node_modules/@joplin/lib/commands/synchronize.js:5
Promise.then (async)
step @ /Applications/Joplin.app/Contents/Resources/app.asar/node_modules/@joplin/lib/commands/synchronize.js:7
(anonymous) @ /Applications/Joplin.app/Contents/Resources/app.asar/node_modules/@joplin/lib/commands/synchronize.js:8
__awaiter @ /Applications/Joplin.app/Contents/Resources/app.asar/node_modules/@joplin/lib/commands/synchronize.js:4
execute @ synchronize.ts:16
(anonymous) @ CommandService.ts:248
(anonymous) @ /Applications/Joplin.app/Contents/Resources/app.asar/node_modules/@joplin/lib/services/CommandService.js:8
__awaiter @ /Applications/Joplin.app/Contents/Resources/app.asar/node_modules/@joplin/lib/services/CommandService.js:4
execute @ CommandService.ts:241
onClick @ Sidebar.tsx:686
onClick @ Button.tsx:227
callCallback @ /Applications/Joplin.app/Contents/Resources/app.asar/node_modules/react-dom/cjs/react-dom.development.js:4164
invokeGuardedCallbackDev @ /Applications/Joplin.app/Contents/Resources/app.asar/node_modules/react-dom/cjs/react-dom.development.js:4213
invokeGuardedCallback @ /Applications/Joplin.app/Contents/Resources/app.asar/node_modules/react-dom/cjs/react-dom.development.js:4277
invokeGuardedCallbackAndCatchFirstError @ /Applications/Joplin.app/Contents/Resources/app.asar/node_modules/react-dom/cjs/react-dom.development.js:4291
executeDispatch @ /Applications/Joplin.app/Contents/Resources/app.asar/node_modules/react-dom/cjs/react-dom.development.js:9041
processDispatchQueueItemsInOrder @ /Applications/Joplin.app/Contents/Resources/app.asar/node_modules/react-dom/cjs/react-dom.development.js:9073
processDispatchQueue @ /Applications/Joplin.app/Contents/Resources/app.asar/node_modules/react-dom/cjs/react-dom.development.js:9086
dispatchEventsForPlugins @ /Applications/Joplin.app/Contents/Resources/app.asar/node_modules/react-dom/cjs/react-dom.development.js:9097
(anonymous) @ /Applications/Joplin.app/Contents/Resources/app.asar/node_modules/react-dom/cjs/react-dom.development.js:9288
batchedUpdates$1 @ /Applications/Joplin.app/Contents/Resources/app.asar/node_modules/react-dom/cjs/react-dom.development.js:26140
batchedUpdates @ /Applications/Joplin.app/Contents/Resources/app.asar/node_modules/react-dom/cjs/react-dom.development.js:3991
dispatchEventForPluginEventSystem @ /Applications/Joplin.app/Contents/Resources/app.asar/node_modules/react-dom/cjs/react-dom.development.js:9287
dispatchEventWithEnableCapturePhaseSelectiveHydrationWithoutDiscreteEventReplay @ /Applications/Joplin.app/Contents/Resources/app.asar/node_modules/react-dom/cjs/react-dom.development.js:6465
dispatchEvent @ /Applications/Joplin.app/Contents/Resources/app.asar/node_modules/react-dom/cjs/react-dom.development.js:6457
dispatchDiscreteEvent @ /Applications/Joplin.app/Contents/Resources/app.asar/node_modules/react-dom/cjs/react-dom.development.js:6430

flags.txt (13.7 KB)
didn't see upload symbol earlier. kv

Was able to make sync work buy re-installing onedrive and uninstalling and re-installing Joplin. Ended up with duplicate folders which is not a big problem. It's working on both android, Mac, and ios.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.