Skip to content

Sync only works one way: to the storage #50

@slavikf1

Description

@slavikf1

Dears,

I am using this wonderful piece of software for 6 months now. Works perfectly when I synchronize my CouchDB with my storage for backup purposes. However if I change something in the storage, it does not upload to CouchDB. Does not react to file change at all.

More, when I do modification in storage, when starting the client that has livesync enabled, that file size is missing and file cannot be recovered.
EDIT: changes are being captured, but somehow DB is still not updated:

6/3/2026, 10:37:11 AM   32      [redacted_local] --> lowercase.md change detected
6/3/2026, 10:37:11 AM   16      PUT: UPLOADING: lowercase.md
6/3/2026, 10:37:11 AM   16      Flushed 1 (11) chunks for lowercase.md
6/3/2026, 10:37:11 AM   16      Chunks processed for lowercase.md (11): 📚:1 (1) , 📥:1 (✨: 1, 🗃️ : 0 (0) / 🗄️ : 1, ♻:06/3/2026, 10:37:11 AM   16      All transactions completed. Performing stabilisation.
6/3/2026, 10:37:11 AM   16      Document saved: lowercase.md (f:873da7-12-a884cd1d57c84a3aa1e442a192f783a0)
6/3/2026, 10:37:11 AM   32      PUT: DONE: lowercase.md
6/3/2026, 10:37:11 AM   32      [redacted_remote_db] <--  lowercase.md saved
6/3/2026, 10:37:11 AM   16      WATCH: PROCESSING: lowercase.md
6/3/2026, 10:37:11 AM   32      [redacted_remote_db] --> lowercase.md change detected
6/3/2026, 10:37:11 AM   32      WATCH: PROCESS DONE: lowercase.md

I am using docker container.

Am I doing something wrong? I will appreciate any help.

Config:

{
  "peers": [
    {
      "type": "couchdb",
      "name": "redacted_remote_db",
      "group": "main",
      "database": "obsidian_redacted",
      "username": "redacted",
      "password": "redacted",
      "url": "http://couchdb:5984",
      "customChunkSize": 100,
      "minimumChunkSize": 20,
      "passphrase": "redacted",
      "obfuscatePassphrase": "redacted",
      "baseDir": "",
      "useRemoteTweaks":true
    },    
    {
      "type": "storage",
      "name": "redacted_local",
      "group": "main",
      "baseDir": "./data/redacted_vault/",
      "processor": {
      },
      "scanOfflineChanges": true,
      "useChokidar":false
    }
  ]
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions