Lost note and picture

I got a problem wich confused me many times.

I usually lost my note or picture even I sync with a webDAV.

Sometimes, I just finished my note and sync. Then, the note is disappeared. It happened many times and I'm sure I didn't delete them by myself. It greatly reduce the relability of Joplin.

Joplin 1.6.7 synced with webDAV
Win10 64

Hi. Have you found any solution?
I met the same problem.
I'm using Joplin 1.6.6(win,32bit, f58b7563e (master)) with WebDAV, provided by nutsotre.
It worked fine for a month.
Some pictures are lost recently, and yesterday, a note lost.

I have the same problem with nutstore yesterday. I found the lost notes still on the webdav server (nutstore). It wont appear in the client both desktop and android.

The amount of files in the directory joplin on webdav server is 983, but my notes should be 270, it shows in client just 255

how to bring back all of my notes.

I checked my webDAV server, and found I lost 7 notes...frustrated.
I partially saved these notes by

  • Download the whole directory
  • Start joplin in an empty folder (--profile dirName)
  • Import notes as raw files.

Figures are still lost.

I've been using Joplin for years with Nextcloud (which uses WebDAV) and I've never lost a note.

It seems that your WebDAV provider has a problem that has nothing to do with Joplin. But if there's an issue with Joplin, we need the Joplin log file, otherwise there's nothing we can do.

2021-01-31 17:14:18: "Preparing scheduled sync"
2021-01-31 17:14:18: "Starting scheduled sync"
2021-01-31 17:14:19: "Sync target info:", "{"version":2}"
2021-01-31 17:14:21: "Processing a path that has already been done: cd5357b24d5447bb8e31634bff68c180.md. sync_time was not updated? Remote item has an updated_time in the future?"
2021-01-31 17:14:22: "Operations completed: "
2021-01-31 17:14:22: "updateRemote: 1"
2021-01-31 17:14:22: "Total folders: 5"
2021-01-31 17:14:22: "Total notes: 270"
2021-01-31 17:14:22: "Total resources: 130"
2021-01-31 17:14:29: "SearchEngine: Updating FTS table..."
2021-01-31 17:14:29: "Saving settings..."
2021-01-31 17:14:29: "Settings have been saved."
2021-01-31 17:14:29: "SearchEngine: Updated FTS table in 108ms. Inserted: 1. Deleted: 0"
2021-01-31 17:19:03: "Garbage collecting alarms..."
2021-01-31 17:19:03: "RevisionService::maintenance: Starting..."
2021-01-31 17:19:03: "RevisionService::maintenance: Service is enabled"
2021-01-31 17:19:03: "Saving settings..."
2021-01-31 17:19:03: "Settings have been saved."
2021-01-31 17:19:03: "RevisionService::collectRevisions: Created revisions for 1 notes"
2021-01-31 17:19:03: "RevisionService::maintenance: Done in 211ms"
2021-01-31 17:19:22: "Running background sync on timer..."
2021-01-31 17:19:22: "Preparing scheduled sync"
2021-01-31 17:19:22: "Starting scheduled sync"
2021-01-31 17:19:23: "Sync target info:", "{"version":2}"
2021-01-31 17:19:24: "TaskQueue.stop: syncDownload: waiting for tasks to complete: 0"
2021-01-31 17:19:24: "TaskQueue.stop: syncDownload: Done, waited for 0"
2021-01-31 17:19:26: "BasicDelta: Report: {"timestamp":1612075722000,"older":744,"newer":1,"equal":1}"
2021-01-31 17:19:28: "Saving settings..."
2021-01-31 17:19:28: "Operations completed: "
2021-01-31 17:19:28: "updateRemote: 1"
2021-01-31 17:19:28: "createRemote: 1"
2021-01-31 17:19:28: "fetchingTotal: 3"
2021-01-31 17:19:28: "fetchingProcessed: 3"
2021-01-31 17:19:28: "deleteLocal: 1"
2021-01-31 17:19:28: "Total folders: 5"
2021-01-31 17:19:28: "Total notes: 269"
2021-01-31 17:19:28: "Total resources: 130"
2021-01-31 17:19:28: "Settings have been saved."

total notes 270 to 269, but I do nothing. I don't know why it shows "deleteLocal".

webdav server log shows below ( the green line means add file, and the other means delete file)

"Processing a path that has already been done: cd5357b24d5447bb8e31634bff68c180.md. sync_time was not updated? Remote item has an updated_time in the future?"

and lots of timecheck.txt file deleted, maybe it caused by wrong server timestamp?

The nutstore webdav only supports fetching 750 files once (750 files per page). Is this the reason? Does joplin support pageing webdav?

I have no idea what that means.

Are you using note history? But I don't see any errors in the log. @laurent am I missing something here? Do you see anything weird?

That looks fine. Only the .json status files are deleted.

Sorry for my poor english. I means joplin cannot get all the files in the directory once. Joplin should get files page by page. one page contains 750 files.

something of the webdav paging tech : Implementing Paging Support on a WebDAV Server

I got the same reply from nutstore.
750 files include directories.Here's the official note, in Chinese. 坚果云第三方应用授权WebDAV开启方法 | 坚果云帮助中心
As far as I know, nutsotre is the only webDAV service provider in China mainland,
I have to syncronize notes locally, using file system, until joplin support paging.
Or maybe turn to AWS(S3)? ( see https://zhuanlan.zhihu.com/p/346460176.)

No, your English is fine. I just didn't know that WebDAV providers add paging to direct WebDAV access. I understand that paging makes sense for web interfaces, but not for WebDAV itself.

That's most likely not going to happen. I'm sorry to say, but get a proper WebDAV provider. We have now encountered WebDAV providers that restrict the number of files, restrict the number of connections, restrict the number of accesses, rate limiting, now paging. Where does it end?

There's a WebDAV specification. If providers screw around and don't adhere to it, there's nothing we can do.

1 Like

Good to know.
I agree with you that ANY servie provider should provide standard service if there is already a specification, not adding more limits.
I'm seeking for other sync. solutions.

Hi,

It's a known issue and Jianguoyun (or nutstore) is not supported by Joplin. See FAQ: https://joplinapp.org/faq/ for details.

2 Likes

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