Laverna / laverna

Laverna is a JavaScript note taking application with Markdown editor and encryption support. Consider it like open source alternative to Evernote.
https://laverna.cc/index.html
Mozilla Public License 2.0
9.2k stars 802 forks source link

[RemoteStorage] Notes sync bug #871

Open dayfuaim opened 6 years ago

dayfuaim commented 6 years ago

I use RemoteStorage for syncing notes between my devices (Desktop and 2 mobile things). And I've noticed an issue about it. Steps to reproduce:

  1. I have thoroughly synced state on devices, then close them all.
  2. Open Laverna on any one of them (say Mac) and do some edits.
  3. So far everything is fine. RemoteStorage syncs.
  4. Save, close.
  5. Open another device's Laverna (say Android tablet).
  6. Some "syncing" happens, RemoteStorage icon flashes... (but nothing really is done).
  7. ...All notes here are in prevoiusly synced state – nothing is edited.
  8. I have to go to Preferences > Sync and just Save them – only then notes are synced.

Please fix this.

With DropBox nothing like this were happened.

yangliu28 commented 6 years ago

I have a similar problem, but with dropbox.

I was editing a note on the windows app, save it, and the sync icon spins. After a few seconds, the contents fall back to the original state, the editing is lost. The problem persists after restarting the program.

I may have Laverna app running at another windows computer at home. Would that be causing the problem, that it keeps sync the old data to dropbox?


Update: it is the other desktop app causing the problem. After I close the other app, it syncs fine again. It's a bit annoying that I have to make sure there is only one app running at a time.

woodneko commented 6 years ago

I have the same problem I need to remove all file of ~/.config/laverna and run laverna and reconfigure the remotestorage can sync from server

funilrys commented 6 years ago

Hi there,

Unfortunately this issue will never be fixed here.

Please report to https://github.com/Laverna/laverna/issues/971#issuecomment-411423965 for the current state of this project.

Have a nice day/night.

Cheers, Nissar

daed commented 6 years ago

As @funilrys said, laverna is no longer being updated at this repo. I've forked it and I'm working on it currently, but it's been slow moving.

In the 'new' version I'm working on, RemoteStorage will be rewritten, so hopefully this issue will not be present.