[bug] Obsidian vault path not saving
describe the bug When attempting to set the value ( /Users/my.name/Repos/obsidian )of my obsidian vault path via browser or app, it:
- Successfully finds my existing obsidian vaults.
- Successfully sets the path in the field.
- I am able to successfully save the settings.
However, when I reload the Obsidian settings app/browser page or use the directory selector, it defaults back to "obsidian" in the path field and reports "no obsidian vault found in path or parent directories".
system info
- os: e.g. macos 15.3.1
- screenpipe version: 0.44.1
additional context
Relevant Logs:
[2m2025-05-06T16:34:28.804979Z[0m [31mERROR[0m [2mscreenpipe_core::pipes[0m[2m:[0m [obsidian] failed to find vault root: Error: could not find obsidian vault root (.obsidian folder)
[2m2025-05-06T16:34:28.805100Z[0m [32m INFO[0m [2mscreenpipe_core::pipes[0m[2m:[0m [obsidian] at
Screenshots:
Same here.
Furthermore, test log generation says obsidian path not configured and test analyze activity returns an error: failed to generate analysis. The latter due to the obsidian path not being configured (according to the dev tools).
Also noticed some differences between the "web" and "app" view as one required permission to access directories. Hope that helps, bug definitely gets in the way of using this. Any workarounds?
I can confirm this bug. I've identified the root cause and a working workaround.
Root Cause:
When saving the Obsidian vault path through the UI, the application is only storing the folder name (e.g., "Obsidian Vault") instead of the full absolute path (e.g., "/Users/username/PKM"). This causes the vault to not be found on reload.
Affected File:
~/Library/Application Support/screenpipe/store.bin (on macOS)
Workaround:
- Close screenpipe completely
- Edit the
store.binfile and find these two lines:
and"customSettings.obsidian.customSettings.obsidian.vaultPath": "Obsidian Vault","customSettings.obsidian.vaultPath": "Obsidian Vault", - Replace both with your full absolute path:
and"customSettings.obsidian.customSettings.obsidian.vaultPath": "/Users/your-username/path/to/vault","customSettings.obsidian.vaultPath": "/Users/your-username/path/to/vault", - Save the file and restart screenpipe
Suggested Fix: The vault path save logic should store the absolute path returned from the directory picker, not just the folder name. The issue appears to be in how the settings are being serialized when saved.
System Info:
- OS: macOS 15.3.1
- screenpipe version: 0.44.1