Joplin won't sync on Debian

I setup Joplin on my Debian system, I set my sync option to Nextcloud, I filled out the username and password, I hit sync, and nothing happened. There weren’t any errors or anything, it just didn’t sync anything. I checked to make sure my WebDAV path was correct, it was.

Version: 1.0.169 (prod, linux)

Operating System: Debian 10 (Buster)

Log:

2019-10-10 08:47:54: "Profile directory: /home/cassidy/.config/joplin-desktop"
2019-10-10 08:47:54: "Trying to load 1 master keys..."
2019-10-10 08:47:55: "Loaded master keys: 1"
2019-10-10 08:47:55: "ResourceFetcher: Auto-add resources: Mode: always"
2019-10-10 08:47:55: "ResourceFetcher: Auto-added resources: 0"
2019-10-10 08:47:55: "Trying to load 1 master keys..."
2019-10-10 08:47:55: "Loaded master keys: 1"
2019-10-10 08:47:55: "Scheduling sync operation..."
2019-10-10 08:47:55: "Trying to load 1 master keys..."
2019-10-10 08:47:55: "Loaded master keys: 1"
2019-10-10 08:47:55: "Scheduling sync operation..."
2019-10-10 08:47:55: "Trying to load 1 master keys..."
2019-10-10 08:47:55: "Loaded master keys: 1"
2019-10-10 08:47:55: "Scheduling sync operation..."
2019-10-10 08:47:55: "Scheduling sync operation..."
2019-10-10 08:47:55: "RevisionService::runInBackground: Starting background service with revision collection interval 600000"
2019-10-10 08:47:56: "DecryptionWorker: starting decryption..."
2019-10-10 08:47:57: "DecryptionWorker: completed decryption."
2019-10-10 08:47:59: "RevisionService::maintenance: Starting..."
2019-10-10 08:47:59: "RevisionService::maintenance: Service is enabled"
2019-10-10 08:47:59: "RevisionService::collectRevisions: Created revisions for 0 notes"
2019-10-10 08:47:59: "RevisionService::maintenance: Done in 129ms"
2019-10-10 08:48:05: "SearchEngine: Updating FTS table..."
2019-10-10 08:48:05: "Preparing scheduled sync"
2019-10-10 08:48:05: "Starting scheduled sync"
2019-10-10 08:48:05: "SearchEngine: Updated FTS table in 187ms. Inserted: 0. Deleted: 0"
2019-10-10 08:52:13: "ResourceService::indexNoteResources: Start"
2019-10-10 08:52:13: "ResourceService::indexNoteResources: Completed"
2019-10-10 08:52:13: "ResourceService::deleteOrphanResources:", "[]"
2019-10-10 08:53:00: "Profile directory: /home/cassidy/.config/joplin-desktop"
2019-10-10 08:53:00: "Trying to load 1 master keys..."
2019-10-10 08:53:00: "Loaded master keys: 1"
2019-10-10 08:53:00: "ResourceFetcher: Auto-add resources: Mode: always"
2019-10-10 08:53:00: "ResourceFetcher: Auto-added resources: 0"
2019-10-10 08:53:00: "Refreshing notes:", "null", "null"
2019-10-10 08:53:00: "Trying to load 1 master keys..."
2019-10-10 08:53:00: "Loaded master keys: 1"
2019-10-10 08:53:00: "Scheduling sync operation..."
2019-10-10 08:53:00: "Setting up recurrent sync with interval 300"
2019-10-10 08:53:00: "Trying to load 1 master keys..."
2019-10-10 08:53:00: "Loaded master keys: 1"
2019-10-10 08:53:00: "Scheduling sync operation..."
2019-10-10 08:53:00: "Trying to load 1 master keys..."
2019-10-10 08:53:00: "Loaded master keys: 1"
2019-10-10 08:53:00: "Scheduling sync operation..."
2019-10-10 08:53:00: "Refreshing notes:", "null", "null"
2019-10-10 08:53:00: "Scheduling sync operation..."
2019-10-10 08:53:00: "RevisionService::runInBackground: Starting background service with revision collection interval 600000"
2019-10-10 08:53:01: "DecryptionWorker: starting decryption..."
2019-10-10 08:53:03: "DecryptionWorker: completed decryption."
2019-10-10 08:53:04: "RevisionService::maintenance: Starting..."
2019-10-10 08:53:04: "RevisionService::maintenance: Service is enabled"
2019-10-10 08:53:04: "RevisionService::collectRevisions: Created revisions for 0 notes"
2019-10-10 08:53:04: "RevisionService::maintenance: Done in 114ms"
2019-10-10 08:53:10: "SearchEngine: Updating FTS table..."
2019-10-10 08:53:10: "SearchEngine: Updated FTS table in 1ms. Inserted: 0. Deleted: 0"
2019-10-10 08:53:10: "Preparing scheduled sync"
2019-10-10 08:53:10: "Starting scheduled sync"
2019-10-10 08:53:10: "Sync: starting: Starting synchronisation to target 5... [1570722790399]"
2019-10-10 08:53:10: "mkdir .sync"
2019-10-10 08:53:12: "mkdir .resource"
2019-10-10 08:53:14: "delta "
2019-10-10 08:53:16: "Sync: fetchingTotal: Fetching delta items from sync target"
2019-10-10 08:53:16: "get 2263965eb41943f58af21bf19f489516.md"
2019-10-10 08:53:16: "get d070a09360e442c7935e295dfdcd7f67.md"
2019-10-10 08:53:16: "get b079f73a38554126b11eefc00b4a95f6.md"
2019-10-10 08:53:16: "Sync: fetchingProcessed: Processing fetched item"
2019-10-10 08:53:18: "Sync: createLocal: remote exists but local does not: (Remote 2263965eb41943f58af21bf19f489516.md)"
2019-10-10 08:53:18: "Sync: fetchingProcessed: Processing fetched item"
2019-10-10 08:53:19: "Sync: createLocal: remote exists but local does not: (Remote d070a09360e442c7935e295dfdcd7f67.md)"
2019-10-10 08:53:19: "Sync: fetchingProcessed: Processing fetched item"
2019-10-10 08:53:19: "Sync: createLocal: remote exists but local does not: (Remote b079f73a38554126b11eefc00b4a95f6.md)"
2019-10-10 08:53:19: "Sync: finished: Synchronisation finished [1570722790399]"
2019-10-10 08:53:19: "Operations completed: "
2019-10-10 08:53:19: "fetchingTotal: 3"
2019-10-10 08:53:19: "fetchingProcessed: 3"
2019-10-10 08:53:19: "createLocal: 3"
2019-10-10 08:53:19: "Total folders: 0"
2019-10-10 08:53:19: "Total notes: 8"
2019-10-10 08:53:19: "Total resources: 0"
2019-10-10 08:53:19: "Setting up recurrent sync with interval 300"
2019-10-10 08:53:19: "Updating all notifications..."
2019-10-10 08:53:19: "Garbage collecting alarms..."
2019-10-10 08:53:19: "DecryptionWorker: starting decryption..."
2019-10-10 08:53:22: "DecryptionWorker: completed decryption."
2019-10-10 08:53:23: "Scheduling sync operation..."
2019-10-10 08:53:23: "Preparing scheduled sync"
2019-10-10 08:53:23: "Starting scheduled sync"
2019-10-10 08:53:23: "Sync: starting: Starting synchronisation to target 5... [1570722803686]"
2019-10-10 08:53:23: "mkdir .sync"
2019-10-10 08:53:25: "mkdir .resource"
2019-10-10 08:53:27: "TaskQueue.stop: syncDownload: waiting for tasks to complete: 0"
2019-10-10 08:53:27: "TaskQueue.stop: syncDownload: Done, waited for 0"
2019-10-10 08:53:27: "delta "
2019-10-10 08:53:28: "SearchEngine: Updating FTS table..."
2019-10-10 08:53:29: "SearchEngine: Updated FTS table in 173ms. Inserted: 0. Deleted: 0"
2019-10-10 08:53:29: "Sync: fetchingTotal: Fetching delta items from sync target"
2019-10-10 08:53:29: "Sync: finished: Synchronisation finished [1570722803686]"
2019-10-10 08:53:29: "Operations completed: "
2019-10-10 08:53:29: "fetchingTotal: -"
2019-10-10 08:53:29: "Total folders: 0"
2019-10-10 08:53:29: "Total notes: 8"
2019-10-10 08:53:29: "Total resources: 0"
2019-10-10 08:53:29: "Setting up recurrent sync with interval 300"
2019-10-10 08:53:30: "ResourceService::indexNoteResources: Start"
2019-10-10 08:53:30: "ResourceService::indexNoteResources: Completed"
2019-10-10 08:53:30: "Res2019-10-10 08:47:54: "Profile directory: /home/cassidy/.config/joplin-desktop"
2019-10-10 08:47:54: "Trying to load 1 master keys..."
2019-10-10 08:47:55: "Loaded master keys: 1"
2019-10-10 08:47:55: "ResourceFetcher: Auto-add resources: Mode: always"
2019-10-10 08:47:55: "ResourceFetcher: Auto-added resources: 0"
2019-10-10 08:47:55: "Trying to load 1 master keys..."
2019-10-10 08:47:55: "Loaded master keys: 1"
2019-10-10 08:47:55: "Scheduling sync operation..."
2019-10-10 08:47:55: "Trying to load 1 master keys..."
2019-10-10 08:47:55: "Loaded master keys: 1"
2019-10-10 08:47:55: "Scheduling sync operation..."
2019-10-10 08:47:55: "Trying to load 1 master keys..."
2019-10-10 08:47:55: "Loaded master keys: 1"
2019-10-10 08:47:55: "Scheduling sync operation..."
2019-10-10 08:47:55: "Scheduling sync operation..."
2019-10-10 08:47:55: "RevisionService::runInBackground: Starting background service with revision collection interval 600000"
2019-10-10 08:47:56: "DecryptionWorker: starting decryption..."
2019-10-10 08:47:57: "DecryptionWorker: completed decryption."
2019-10-10 08:47:59: "RevisionService::maintenance: Starting..."
2019-10-10 08:47:59: "RevisionService::maintenance: Service is enabled"
2019-10-10 08:47:59: "RevisionService::collectRevisions: Created revisions for 0 notes"
2019-10-10 08:47:59: "RevisionService::maintenance: Done in 129ms"
2019-10-10 08:48:05: "SearchEngine: Updating FTS table..."
2019-10-10 08:48:05: "Preparing scheduled sync"
2019-10-10 08:48:05: "Starting scheduled sync"
2019-10-10 08:48:05: "SearchEngine: Updated FTS table in 187ms. Inserted: 0. Deleted: 0"
2019-10-10 08:52:13: "ResourceService::indexNoteResources: Start"
2019-10-10 08:52:13: "ResourceService::indexNoteResources: Completed"
2019-10-10 08:52:13: "ResourceService::deleteOrphanResources:", "[]"
2019-10-10 08:53:00: "Profile directory: /home/cassidy/.config/joplin-desktop"
2019-10-10 08:53:00: "Trying to load 1 master keys..."
2019-10-10 08:53:00: "Loaded master keys: 1"
2019-10-10 08:53:00: "ResourceFetcher: Auto-add resources: Mode: always"
2019-10-10 08:53:00: "ResourceFetcher: Auto-added resources: 0"
2019-10-10 08:53:00: "Refreshing notes:", "null", "null"
2019-10-10 08:53:00: "Trying to load 1 master keys..."
2019-10-10 08:53:00: "Loaded master keys: 1"
2019-10-10 08:53:00: "Scheduling sync operation..."
2019-10-10 08:53:00: "Setting up recurrent sync with interval 300"
2019-10-10 08:53:00: "Trying to load 1 master keys..."
2019-10-10 08:53:00: "Loaded master keys: 1"
2019-10-10 08:53:00: "Scheduling sync operation..."
2019-10-10 08:53:00: "Trying to load 1 master keys..."
2019-10-10 08:53:00: "Loaded master keys: 1"
2019-10-10 08:53:00: "Scheduling sync operation..."
2019-10-10 08:53:00: "Refreshing notes:", "null", "null"
2019-10-10 08:53:00: "Scheduling sync operation..."
2019-10-10 08:53:00: "RevisionService::runInBackground: Starting background service with revision collection interval 600000"
2019-10-10 08:53:01: "DecryptionWorker: starting decryption..."
2019-10-10 08:53:03: "DecryptionWorker: completed decryption."
2019-10-10 08:53:04: "RevisionService::maintenance: Starting..."
2019-10-10 08:53:04: "RevisionService::maintenance: Service is enabled"
2019-10-10 08:53:04: "RevisionService::collectRevisions: Created revisions for 0 notes"
2019-10-10 08:53:04: "RevisionService::maintenance: Done in 114ms"
2019-10-10 08:53:10: "SearchEngine: Updating FTS table..."
2019-10-10 08:53:10: "SearchEngine: Updated FTS table in 1ms. Inserted: 0. Deleted: 0"
2019-10-10 08:53:10: "Preparing scheduled sync"
2019-10-10 08:53:10: "Starting scheduled sync"
2019-10-10 08:53:10: "Sync: starting: Starting synchronisation to target 5... [1570722790399]"
2019-10-10 08:53:10: "mkdir .sync"
2019-10-10 08:53:12: "mkdir .resource"
2019-10-10 08:53:14: "delta "
2019-10-10 08:53:16: "Sync: fetchingTotal: Fetching delta items from sync target"
2019-10-10 08:53:16: "get 2263965eb41943f58af21bf19f489516.md"
2019-10-10 08:53:16: "get d070a09360e442c7935e295dfdcd7f67.md"
2019-10-10 08:53:16: "get b079f73a38554126b11eefc00b4a95f6.md"
2019-10-10 08:53:16: "Sync: fetchingProcessed: Processing fetched item"
2019-10-10 08:53:18: "Sync: createLocal: remote exists but local does not: (Remote 2263965eb41943f58af21bf19f489516.md)"
2019-10-10 08:53:18: "Sync: fetchingProcessed: Processing fetched item"
2019-10-10 08:53:19: "Sync: createLocal: remote exists but local does not: (Remote d070a09360e442c7935e295dfdcd7f67.md)"
2019-10-10 08:53:19: "Sync: fetchingProcessed: Processing fetched item"
2019-10-10 08:53:19: "Sync: createLocal: remote exists but local does not: (Remote b079f73a38554126b11eefc00b4a95f6.md)"
2019-10-10 08:53:19: "Sync: finished: Synchronisation finished [1570722790399]"
2019-10-10 08:53:19: "Operations completed: "
2019-10-10 08:53:19: "fetchingTotal: 3"
2019-10-10 08:53:19: "fetchingProcessed: 3"
2019-10-10 08:53:19: "createLocal: 3"
2019-10-10 08:53:19: "Total folders: 0"
2019-10-10 08:53:19: "Total notes: 8"
2019-10-10 08:53:19: "Total resources: 0"
2019-10-10 08:53:19: "Setting up recurrent sync with interval 300"
2019-10-10 08:53:19: "Updating all notifications..."
2019-10-10 08:53:19: "Garbage collecting alarms..."
2019-10-10 08:53:19: "DecryptionWorker: starting decryption..."
2019-10-10 08:53:22: "DecryptionWorker: completed decryption."
2019-10-10 08:53:23: "Scheduling sync operation..."
2019-10-10 08:53:23: "Preparing scheduled sync"
2019-10-10 08:53:23: "Starting scheduled sync"
2019-10-10 08:53:23: "Sync: starting: Starting synchronisation to target 5... [1570722803686]"
2019-10-10 08:53:23: "mkdir .sync"
2019-10-10 08:53:25: "mkdir .resource"
2019-10-10 08:53:27: "TaskQueue.stop: syncDownload: waiting for tasks to complete: 0"
2019-10-10 08:53:27: "TaskQueue.stop: syncDownload: Done, waited for 0"
2019-10-10 08:53:27: "delta "
2019-10-10 08:53:28: "SearchEngine: Updating FTS table..."
2019-10-10 08:53:29: "SearchEngine: Updated FTS table in 173ms. Inserted: 0. Deleted: 0"
2019-10-10 08:53:29: "Sync: fetchingTotal: Fetching delta items from sync target"
2019-10-10 08:53:29: "Sync: finished: Synchronisation finished [1570722803686]"
2019-10-10 08:53:29: "Operations completed: "
2019-10-10 08:53:29: "fetchingTotal: -"
2019-10-10 08:53:29: "Total folders: 0"
2019-10-10 08:53:29: "Total notes: 8"
2019-10-10 08:53:29: "Total resources: 0"
2019-10-10 08:53:29: "Setting up recurrent sync with interval 300"
2019-10-10 08:53:30: "ResourceService::indexNoteResources: Start"
2019-10-10 08:53:30: "ResourceService::indexNoteResources: Completed"
2019-10-10 08:53:30: "ResourceService::deleteOrphanResources:", "[]"
ourceService::deleteOrphanResources:", "[]"

Most likely this issue: https://github.com/laurent22/joplin/pull/1931

Hmm. Would that issue cause it to say it’s synchronising for a long time? Mine doesn’t do that. It finishes synchronisation, but nothing syncs.

It synced 8 notes. What do you have on the sync target?

I have over 100 .md files in my sync target.

I managed to fix it by disabling encryption