zadam / trilium

Build your personal knowledge base with Trilium Notes
GNU Affero General Public License v3.0
27.2k stars 1.9k forks source link

Could not setup sync since local sync protocol version is 20 while remote is 21 #2208

Closed nateProjects closed 2 years ago

nateProjects commented 3 years ago

When trying to sync with the server I get the following -

"Sync server handshake failed, error: Could not setup sync since local sync protocol version is 20 while remote is 21. To fix this issue, use same Trilium version on all instances."

Local version is the latest - Version 0.47.8 Server version is the latest - cloned today

Any help would be appreciated

Log -

18:39:25.802 sync failed: Could not setup sync since local sync protocol version is 20 while remote is 21. To fix this issue, use same Trilium version on all instances.
stack: Error: Could not setup sync since local sync protocol version is 20 while remote is 21. To fix this issue, use same Trilium version on all instances.
    at Object.hasSyncServerSchemaAndSeed (/private/var/folders/kz/_2phhw613s3cnwd1m6jx8l240000gn/T/AppTranslocation/4EB3BE91-3942-4EFF-B1FC-1853E05592AA/d/Trilium Notes.app/Contents/Resources/app.asar/src/services/setup.js:15:15)
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (internal/process/task_queues.js:93:5)
    at async login (/private/var/folders/kz/_2phhw613s3cnwd1m6jx8l240000gn/T/AppTranslocation/4EB3BE91-3942-4EFF-B1FC-1853E05592AA/d/Trilium Notes.app/Contents/Resources/app.asar/src/services/sync.js:90:10)
    at async /private/var/folders/kz/_2phhw613s3cnwd1m6jx8l240000gn/T/AppTranslocation/4EB3BE91-3942-4EFF-B1FC-1853E05592AA/d/Trilium Notes.app/Contents/Resources/app.asar/src/services/sync.js:35:37
    at async Object.doExclusively (/private/var/folders/kz/_2phhw613s3cnwd1m6jx8l240000gn/T/AppTranslocation/4EB3BE91-3942-4EFF-B1FC-1853E05592AA/d/Trilium Notes.app/Contents/Resources/app.asar/src/services/sync_mutex.js:13:16)
    at async sync (/private/var/folders/kz/_2phhw613s3cnwd1m6jx8l240000gn/T/AppTranslocation/4EB3BE91-3942-4EFF-B1FC-1853E05592AA/d/Trilium Notes.app/Contents/Resources/app.asar/src/services/sync.js:27:16)
zadam commented 3 years ago

master branch is a development branch and corresponds to (not yet released 0.48). Either check out stable branch or use official build.