Homepage    |    GitHub    |    API    |    FAQ

Sync not correct on Desktop App and Android App

I have found that the sync process between apps is faulty. If I do a little change in a note, e.g.

Old text: ## Di 2020-12-22 09:00 h
New text: ## Di 2020-12-22 09:00 - 01:00 h

on Ubuntu Desktop App, synchronize Ubuntu Joplin App, synchronize Android Joplin App, go to Android App the text appears is

Di 2020-12-22 09:00 h

I repeated it several times, but the change from my Ubuntu Joplin App is not transferred to my Android Joplin App. The sychronization status says: Synchronization finished. But it does not synchronize correctly cause changes are not copied.

I do synchronization using WebDAV.

Here is the hardware and software info:

  1. Desktop PC:
    1.1 Ubuntu OS: 20.04 LTS with GNOME: 3.36.8
    1.2 Ubuntu Desktop App:
    1.2.1 Joplin 1.4.19 (prod, linux)
    1.2.2 Sync-Version: 2
    1.2.3 Profil-Version: 34
    1.2.4 Revision: de123ee (master)

  2. Smartphone
    2.1 Device: Huawei P10 lite
    2.2 Android OS: Android Kernel: 4.4.23+ android@localhost # Wed Jul 15 17:53:33 CST 2020
    2.3 Android Joplin App:
    2.3.1 Joplin 1.4.11 (the newest version available in Google App Store)
    2.3.2 Database v34

Good morning,

  • please provide logs
  • please check the syncronisation status if all items synced (Desktop Help > Syncronisation Status, Mobile: Configuration > SYNC STATUS)

Hi,

I am not a Joplin developer. I am a user and do as best I can.

Desktop local directory "locks" is empty.
Remote directory "locks" is empty.
Where should I also have a look?

What should the result of the synchronization status be? What do I need to watch for?

Best

Georg

I'm too.

the logfiles are stored in ~/.config/joplin on the Desktop.

Check if the Sync Sync status synced items and total items identicale to verify that the sync is completed and compare if both devices show the same values for total items
grafik

Desktop local directory "locks" is empty.

Witch locks directory do you mean local? You are using WebDav or File system sync?
Because when I'm right there is only a locks directory on the WebDAV server, as long as no file sync is used.

Hi All,

I found out by accident what went wrong: On the cloud server the WebDAV sync was written I deleted the path in which the directory with the Joplin folder was stored.

I found this out yesterday and thought that I could simply create the path again and synchronize what I have stored locally. as all the notebooks were this displayed when opeing Joplin App.

Unfortunately the sync did not copy the local files to the WebDAV server but deleted all notebooks from Joplin App. There are only a few left. In addition 23 conflicts are shown.

When examine my local directory structure I found a directory named Joplin. This contains some .md files but only of last year. No files from this year are stored.

Now my questions:

Did I loose all my data from this year?
How can I "import" the data found in the local directory into Joplin App again?
How do I restore the notebook structure?

The data in my Joplin App is critical to me: both private and business data is stored.

Can you give advise?

I am looking forward to your reply.

Best Regards

Georg

P.S. I haven't read the FAQ article

All my notes got deleted after changing the WebDAV URL!

https://joplinapp.org/faq/#all-my-notes-got-deleted-after-changing-the-webdav-url

before starting syncing. But in the Options/Syncing dialog I have configured:

Ausfallsicher: checked
Ausfallsicher: Lösche nicht die lokalen Daten, wenn das Synchronisationsziel leer ist (oft ein Resultat von Fehlkonfiguration oder einem Programmfehler)

which translates to

Fail-safe: checked
Fail-safe: Do not delete the local data if the synchronization target is empty (often a result of incorrect configuration or a program error)

So I hadn't imagined that the program would delete local files.

Do I find my files somewhere else?

PSS: Some of my notes incl Ressources are still on the server. The files for the notes are dated of today. The dates within the files are from this and last week.

I found the folder ~/.config/joplin-desktop. The log.txt says:

2021-07-29 09:15:03: "Operations completed: "
2021-07-29 09:15:03: "createRemote: 360"
2021-07-29 09:15:03: "noteConflict: 23"
2021-07-29 09:15:03: "deleteRemote: 26"
2021-07-29 09:15:03: "fetchingTotal: 2173"
2021-07-29 09:15:03: "fetchingProcessed: 2173"
2021-07-29 09:15:03: "deleteLocal: 1723"
2021-07-29 09:15:03: "Total folders: 5"
2021-07-29 09:15:03: "Total notes: 54"
2021-07-29 09:15:03: "Total resources: 120"
2021-07-29 09:15:03: "Trying to reload note that has been deleted:", "null"
2021-07-29 09:15:04: "Saving settings..."
2021-07-29 09:15:04: "Settings have been saved."
2021-07-29 09:15:04: "DecryptionWorker: cannot start because no master key is currently loaded."

I have found a full backup of Joplin in an JEX file from 22.07.2021.

How can I restore my Joplin database with that?

You can simply import JEX Files via File > Import > JEX Joplin Export File

Please don't just post mini log snippets, post the log file.

Hi Jack, thank for the hint. I imported the JEX file successfully. Despite that I have data loss of about a week.

Uploading my logfile (approx 40 MB) reports an error after 30 % uploading. How much of the file do you need?

Best

Georg

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