I opened Android Obsidian, and it decided to reindex my vault. This is annoying, but I’ve experienced this before so let it do its thing.
It wanted to reindex over 7k items, so while waiting I went to the vault switcher. I was looking for clues for why Obsidian insists on this sometimes. Didn’t find anything, so went back into the same vault (I only have one).
After this I let it continue re-indexing, and then opened the Sync plugin page, which was stuck on the “sync is loading” page with a refresh button (this is its own annoyance). Since it can take ages to sync I left it plugged in and came back 10 minutes later and clicked “refresh”.
Sync plugin now tells me “Currently not connected to any remote vault”.
I still have all my local items. The connection just seems to have been killed.
Steps to reproduce
Not the sort of thing I can reproduce.
Expected result
Don’t throw away the vault association without any explanation why.
Actual result
Vault association lost. Now I have to manually extract the notes that have yet to sync and somehow integrate them with my remote vault.
Environment
SYSTEM INFO:
Operating system: android 10 (samsung SM-G960F)
Obsidian version: 1.7.7 (171)
API version: v1.7.7
Login status: logged in
Language: en
Catalyst license: none
Live preview: on
Base theme: light
Community theme: Typewriter v2.1.10
Snippets enabled: 1
Restricted mode: off
Plugins installed: 12
Plugins enabled: 2
1: Recent Files v1.6.0
2: Spaced Repetition v1.13.2
Here are some other details to rule out common responses/questions:
I ONLY experienced this bug on Android. I have no issues with my OSX/Ubuntu/Win10 Obsidian installs (all synced to same vault).
My vault is on internal storage on my phone. I also have over 50GB of free space. The vault is ~11GB, but I only sync folders containing around 2-3 GB of that.
I have no auto clean-up configured at the OS level.
Yesterday, I noticed it was showing it needs index, after that, I noticed the sync status was “Sync: Uninitialized”. I further noticed the remote vault was disconnected. So I configure the remote vault again, and it could sync up successfully.
But today, I noticed the same re-index issue and the remote vault disconnected again.
The issue only happened on my Android phone, no issue with MacOS, iPad, Windows 11.
I am using Samsung S23 Ultra (SM-S918B), Android 14
Obsidian version: 1.7.7 (171)
I have used the sync feature for quite long time, it is the first time I experience the sync issue.