Daily Notes not created on startup

After a recent Obsidian Android app update, Daily Notes are no longer created or resolved when startup is set to “Open last file”.

Steps to reproduce:

  1. On Android, enable the Daily Notes core plugin.
  2. Set Settings → Startup → Open last file.
  3. Open Obsidian on a new day.
  4. Open the Calendar view.

Expected behaviour:
Today’s daily note should be resolved or created automatically, and the Calendar should show an entry for today.

Actual behaviour:
No daily note is created for today, and the Calendar shows no entry for the current day. No error message is shown.

Workaround:
Changing Settings → Startup → Open daily note immediately creates today’s daily note and restores correct Calendar behaviour.

Notes:

  • Paths and filename format are valid
  • Templates / Templater disabled (no effect)
  • Sync not involved (manual sync only, app closed during sync)
  • This configuration worked correctly until the recent Android update

Platform:
Android (desktop yet unknown)

3 Likes

I do not recall the daily note being automatically created unless you had “start up with daily note”. Otherwise, you had to manually do the command “Daily notes: open today’s calendar view” to create it.

@cnrenner I don’t see this. Maybe you mean Settings->Files and links->Default file to open->

Which calendar view? is that a third party plugin?

You didn’t include the output of “show debug info”.

Came here to report that automatic Daily Note creation on Linux Flatpak is broken since the last update was pushed out a couple of days ago. Can you take it from here @WhiteNoise or would you like me to create a separate issue?

I can confirm the same issue on desktop (Windows), I noticed this over the past few days. @WhiteNoise I don’t see a setting for “Start up with Daily note” - the settings for the daily notes plugin include “Date format”, “Custom format”, “New file location”, and “Template file location”.

1 Like

Maybe that’s the reason of this confusion, the settings were reworked and that was coalesced into:

Files and links->Default file to open->Select Daily Note.

2 Likes

Will that open both the daily note and whatever was open previously? I currently have “Last opened” selected and don’t want to lose that functionality.

No, it will not. I think your should search/open a FR for that.

1 Like

I just checked (on Windows) changing the Files and links > Default file to open setting to Daily note and it seemed to keep my previously open notes open, as well as creating/opening today’s daily note. I don’t think a feature request needs to be created, as the changelog did mention the new setting, I just missed it. I don’t see an equivalent changelog entry for mobile though.

It would be good if the changelog were updated to mention the removal of the old setting (and in that mention, point out the new).

4 Likes

I think your should search/open a FR for that.

@WhiteNoise I searched Feature Requests for this and did not find one, so I made one. Sadly, the forum does not let me post a link to it here. The title is Please let “Daily note” and “Last opened” both be selected for “Default file to open” setting in “Files and links” options

I am affected by this bug also. On both my Macs. To recap, AFAICR, Obsidian to open a Daily Note, and also whatever I had open before. As of the past week, now Obsidian fails to open the daily notes in addition. I have now set Obsiudian to open Daily Note as per upthread, but now I miss the (wanted/used) functionality of opening whatever else I had open.

Thanks for the discussion. Please vote for the FR issue, or merge into another FR if there is a better one already.

1 Like

I’m on Kubuntu, v1.11.4 and the Files and links > Default file to open > Daily notesetting is not working for me. I’ve set it and restarted several times, it still opens the previous note, no new daily created, not switched to it. So I would say thats a bug.

@tau maybe you have this other problem:

The issue daily notes not opening on startup is not solved, and it’s not specific to Android. I noticed this behavior, posted about it on 1/17, and noticed in the changelog on 1/20. Obsidian Changelog - Obsidian

The changelog implies that it’s a migration of settings, but it’s not. The functionality of opening today’s daily note is gone.

My daily note template, which uses the current date, no longer works, because if I create a new note in my Daily folder the new note is named “Untitled” not today’s date. I can do “Daily notes: open today’s daily note” in the command palette, but this is not the same thing has having the note automatically created.

Now I have missing days if I forget to create a note, and I have to manually go back and fill them in.

This is my daily note template:

[[<% tp.date.now("YYYY-MM-DD", -1, tp.file.title, "YYYY-MM-DD") %>]] 
[[<% tp.date.now("YYYY-MM-DD", 1, tp.file.title, "YYYY-MM-DD") %>]] 

# <% tp.date.now("dddd") %>
- 


# Notes Created Today
```dataview
list from ""
where file.cday = this.file.day
sort file.name
````

# Notes Modified Today

```dataview
list from ""
where file.mday = this.file.day
sort file.name
```
Note: add the following to the WHERE to exclude daily notes: \`and !contains(file.path, “Daily/”)

Did you set to create daily note on startup with

Files and links->Default file to open->Select Daily Note

I didn’t see this initially:

Yes, I changed it to restore the previous behavior and now it’s working.