Joplin Sync Fails to Dropbox on same file again and again

I am having some issues in trying to sync to Dropbox. Details of OS and software are shown below along with log.txt file. FYI - I am on a lousy DSL connection with only 1 MB upload speed that at times disconnects / connects.

It appears to crash while uploading a large resource (~19MB) during the sync process. The sync status is listed below as well. It was able to sync 5 resource files, but seems to crash on this one file. No encryption.

Guidance or suggestions welcome. I did search the forum, but did not think I found a solution relating to this problem. My apologies in advance if the answer is already out there. I could not find a file size limit for Dropbox sync.

Joplin 1.7.11
From workstation Ubuntu 18.04 to Dropbox

Relevant portion of log.txt

2021-02-26 11:15:40: App: "Profile directory: /home/rclark/.config/joplin-desktop"
2021-02-26 11:15:40: "Database was open successfully"
2021-02-26 11:15:40: "Checking for database schema update..."
2021-02-26 11:15:40: "Current database version", "{"version":34,"table_fields_version":34}"
2021-02-26 11:15:40: "Upgrading database from version 34"
2021-02-26 11:15:40: "New version: 34. Previously recorded version: 34"
2021-02-26 11:15:40: "KeychainService: checking if keychain supported"
2021-02-26 11:15:40: "KeychainService: check was already done - skipping. Supported:", "0"
2021-02-26 11:15:40: App: "Client ID: a267c5cd4f944505805ff92f5c03fbac"
2021-02-26 11:15:40: "Trying to load 0 master keys..."
2021-02-26 11:15:40: "Loaded master keys: 0"
2021-02-26 11:15:40: "ResourceFetcher: Auto-add resources: Mode: always"
2021-02-26 11:15:40: "ResourceFetcher: Auto-added resources: 0"
2021-02-26 11:15:40: "Trying to load 0 master keys..."
2021-02-26 11:15:40: "Loaded master keys: 0"
2021-02-26 11:15:40: "Trying to load 0 master keys..."
2021-02-26 11:15:40: "Loaded master keys: 0"
2021-02-26 11:15:40: "Trying to load 0 master keys..."
2021-02-26 11:15:40: "Loaded master keys: 0"
2021-02-26 11:15:40: "app.start: doing regular boot"
2021-02-26 11:15:40: "Trying to load 0 master keys..."
2021-02-26 11:15:40: "Loaded master keys: 0"
2021-02-26 11:15:40: "Trying to load 0 master keys..."
2021-02-26 11:15:40: "Loaded master keys: 0"
2021-02-26 11:15:40: "Trying to load 0 master keys..."
2021-02-26 11:15:40: "Loaded master keys: 0"
2021-02-26 11:15:41: "RevisionService::runInBackground: Starting background service with revision collection interval 600000"
2021-02-26 11:15:41: PluginService: "Loading plugin from /home/rclark/.config/joplin-desktop/cache/joplin.plugin.note.tabs"
2021-02-26 11:15:41: SpellCheckerServiceDriverNative: "Set effective language from "en-US" to "en-US""
2021-02-26 11:15:43: "Preparing scheduled sync"
2021-02-26 11:15:43: "Saving updated Dropbox auth."
2021-02-26 11:15:43: "DecryptionWorker: cannot start because no master key is currently loaded."
2021-02-26 11:15:43: "Starting scheduled sync"
2021-02-26 11:15:43: joplin.plugins: "Starting plugin: joplin.plugin.note.tabs"
2021-02-26 11:15:44: "Sync target info:", "{"version":2}"
2021-02-26 11:15:45: "RevisionService::maintenance: Starting..."
2021-02-26 11:15:45: "RevisionService::maintenance: Service is enabled"
2021-02-26 11:15:45: "RevisionService::collectRevisions: Created revisions for 0 notes"
2021-02-26 11:15:45: "RevisionService::maintenance: Done in 270ms"
2021-02-26 11:15:45: joplin.plugins: "Finished running onStart handler: joplin.plugin.note.tabs (Took 2479ms)"
2021-02-26 11:15:53: "SearchEngine: Updating FTS table..."
2021-02-26 11:15:53: "SearchEngine: Updated FTS table in 2ms. Inserted: 0. Deleted: 0"
2021-02-26 11:15:56: "Uploading a large resource (resourceId: d5b26ff35c7f458ca53427e9a064070c, size:19044449 bytes) which may tie up the sync process."
2021-02-26 11:16:11: "ResourceService::indexNoteResources: Start"
2021-02-26 11:16:11: "ResourceService::indexNoteResources: Completed"
2021-02-26 11:16:11: "ResourceService::deleteOrphanResources:", "[]"
2021-02-26 11:20:40: "Running background sync on timer..."
2021-02-26 11:20:40: "Preparing scheduled sync"
2021-02-26 11:20:40: "Starting scheduled sync"
2021-02-26 11:20:40: "Synchronisation is already in progress. State: in_progress"
2021-02-26 11:24:39: "FetchError: network timeout at: https://content.dropboxapi.com/2/files/upload
FetchError: network timeout at: https://content.dropboxapi.com/2/files/upload
at /tmp/.mount_JoplinGdIkMu/resources/app.asar/node_modules/@joplin/lib/node_modules/node-fetch/index.js:126:13"
2021-02-26 11:24:45: "Operations completed: "
2021-02-26 11:24:45: "createRemote: 1"
2021-02-26 11:24:45: "Total folders: 258"
2021-02-26 11:24:45: "Total notes: 3046"
2021-02-26 11:24:45: "Total resources: 5484"
2021-02-26 11:24:45: "Updating all notifications..."
2021-02-26 11:24:45: "Garbage collecting alarms..."
2021-02-26 11:24:46: "DecryptionWorker: cannot start because no master key is currently loaded."

Sync Status:

Export debug report

Attachments

Not downloaded: 0
Downloading: 0
Downloaded and decrypted: 0
Downloaded and encrypted: 0
Created locally: 5484

Error: 0

Sync status (synced items / total items)

Note: 3046/3046
Folder: 258/258
Resource: 5/5484

Tag: 0/0
NoteTag: 0/0
MasterKey: 0/0
Revision: 0/238
Total: 3309/9026
Conflicted: 0
To delete: 380

just a nudge to see if anyone has suggestions or solutions.

The app doesn't resume uploads or downloads, so if it fails midway on a file it will have to start over. A 19MB file wouldn't be an issue normally but if your internet connection is not reliable, it could be.

You could simply keep trying until it succeeds. And if it doesn't, you can also delete the resource from the "Attachments" screen, under Tools.

The file itself will go to Dropbox without issue. I place it in a Dropbox folder on my Desktop and it goes without issue. At nearly the same time and day - it crashed in Joplin, but went without issue in Dropbox.

I am guessing the addition of a resume upload/download won't be on the new feature chart any time soon.

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