YunoHost-Apps / snserver_ynh

Standard Notes Syncing Server
https://standardnotes.org/
GNU Affero General Public License v3.0
6 stars 4 forks source link

Backups not syncing after a brand new install #125

Open twizzayy opened 1 year ago

twizzayy commented 1 year ago

I have been hanging onto Version 2022.09.30~ynh1 for a while now because of this issue. This was the last version that I was able to get working with backups.

To reproduce:

  1. Remove the application and re-install under a new domain
  2. Set client_max_body_size 100M; in the second to last line of /etc/nginx/conf.d/YOUR_DOMAIN.TLD.d/snserver.conf
  3. Restart the server
  4. Import 223 notes from an unencrypted Standard Notes backup.

details

After the backups are imported, there is a dialog box that appears that says: 'Your import was successful.'

I see these:

01-27-2023_07:58%:08PM 01-27-2023_07:58%:04PM 01-27-2023_07:57%:59PM

Any new notes that I create are synced. It's only the imported notes that won't sync.

All my notes appear in the local app. However, only the first imported 20 notes are synced to the local server. If I delete ~/Standard Notes Backups and ~/.config/Standard Notes and then reopen the app, only the first 20 notes are synced back to my client after reopening it and logging back in.

Context

twizzayy commented 1 year ago

Currently my workaround for this is to cut apart the Json file and import the themes and notes at about 20 at a time.