Daily notes duplicate when created before indexing on mobile

Before opening a new bug report, please search the forum for duplicates and follow the Troubleshooting Guide.

Steps to reproduce

Using daily notes plugin.
Syncing with ICloud enabled.
Open daily note on startup enabled.

Create a daily note on desktop.
Open the mobile app, indexing starts and it creates a daily note on startup.
As indexing completes I assume there are two notes with the same name and I can see that it has automatically renamed one (today it was “2023-11-06 2”)

Did you follow the troubleshooting guide? [Y/N]

Yes

This bug can’t be tested in sandbox as the notes in there do not save and this has to do with syncing.

Expected result

I expected that once the indexing is completed, I would see today’s daily note synced from my computer to my mobile device.

Without knowing the intricacies, it seems like this could be achieved if note creation was delayed until after indexing is complete.

Actual result

I end up with a duplicate default daily note and have to merge it with my original daily note from desktop.

Environment

SYSTEM INFO:
Operating system: ios 17.2 (Apple iPhone)
Obsidian version: 1.4.16 (114)
API version: v1.4.16
Login status: not logged in
Live preview: on
Legacy editor: off
Base theme: adapt to system
Community theme: Minimal v7.2.1
Snippets enabled: 0
Restricted mode: off
Plugins installed: 5
Plugins enabled: 3
1: Various Complements v8.4.1
2: Style Settings v1.0.6
3: Calendar v1.5.10


Additional information

this other forum post highlights the issues but goes unresolved: [Bug] Duplicating Daily Note template for existing daily note

The thread you linked is about Obsidian Sync. We introduced a special handling over this case because we have complete control over Obsidian Sync.

We don’t have the same level of control on iCloud, which frequently also purges files from the device under our nose.

We don’t have any information regarding what will be sent by iCloud and we can’t wait for the iCloud to finish syncing everything, otherwise it will take even longer to start obsidian.

Moved to help section

I see, thanks for the info!

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.