Skip to content

Only lowercase files are transmitted from storage #23

@achatham

Description

@achatham

I see that I can only sync changes from local storage to couchdb if the file is all lowercase. I'm running docker on linux.

{
    "peers": [
        {
            "type": "couchdb",
            "name": "mainvault",
            "database": "db",
            "username": "obsidian",
        "password": "<redacted>",
            "url": "https://<redacted>/",
            "passphrase": "<redacted>",
            "obfuscatePassphrase": "",
            "baseDir": ""
    }, {
      "type": "storage",
      "name": "storage-local",
        "baseDir": "./data/vault",
        "scanOfflineChanges": true,
        "useChokidar":false
    }
  ]
}

If I edit ~/obsidian/vault/test_file_lower.md, it replicates to couchdb and other devices. If I edit ~/obsidian/vault/Test_File_Upper.md it does not.

I see this in the logs:

livesync-fs | 1/12/2025, 8:51:44 PM     10      [storage-local] --> Test_File_Caps.md change detected
livesync-fs | 1/12/2025, 8:51:44 PM     1       GET: START: Test_File_Caps.md
livesync-fs | 1/12/2025, 8:51:44 PM     1       PUT: UPLOADING: Test_File_Caps.md
livesync-fs | 1/12/2025, 8:51:44 PM     10      Chunks saved: doc: Test_File_Caps.md ,chunks: 2 (new:1, recycled:0, cached:1)
livesync-fs | 1/12/2025, 8:51:44 PM     10      PUT: DONE: Test_File_Caps.md
livesync-fs | 1/12/2025, 8:51:44 PM     10      [mainvault] <--  Test_File_Caps.md saved
livesync-fs | 1/12/2025, 8:51:44 PM     1       WATCH: PROCESSING: Test_File_Caps.md
livesync-fs | 1/12/2025, 8:51:44 PM     10      [mainvault] --> Test_File_Caps.md change detected
livesync-fs | 1/12/2025, 8:51:44 PM     10      WATCH: PROCESS DONE: Test_File_Caps.md

But when I look at the couchdb UI, there's no Test_File_Caps file in there.

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