mirnovov/obsidian-homepage

Home.md file truncated several times recently

Closed this issue · 5 comments

Details

I use the plugin on a Mac, iPhone and iPad, all synced by storing the vault in iCloud. Twice in the past week, I found the Home.md file truncated to zero bytes.

No other files in the vault have been truncated ,as far as I can tell.

Steps to reproduce

No idea how to reproduce reliably I'm afraid. Maybe it is due to problems with iCloud syncing. More of an FYI report.

Debug information

No response

Checklist

  • I updated to the latest version of the plugin.

I’d try turning auto-create off and seeing if the problem persists. What is most likely happening is that Homepage is opening it while being in the process of syncing.

Good idea. That sounds promising. Will try shortly. Thanks for this nice plugin.

That did seem to help, thanks.

But then I found I could reliably truncate Home.md as follows. On MacOs, with auto-create off, using version 1.4.0, click "View" > "Force reload".

Every time I do that it reloads with Home an empty page,

I still cannot replicate this, I'm afraid :/

No worries. Feel free to close as unreproducible. Turning off both “Auto create” and “Open on startup” seems to avoid the problem.