extensions icon indicating copy to clipboard operation
extensions copied to clipboard

[Obsidian] Daily notes not working on windows

Open Kenljs opened this issue 2 months ago • 9 comments

Extension

https://www.raycast.com/marcjulian/obsidian

Raycast Version

0.40.0.0

OS Version

Windows 11 Core 10.0.26200.0 amd64

Description

Whenever I try to append to my daily note, I get an error "Required plugins not installed or enabled in any vault. This command requires the Advanced URI plugin for Obsidian to be installed and the core Daily Notes plugin in Obsidian to be enabled.".

have tried uninstalling and reinstalling the advanced URI plugin. I have exited out of both Obsidian and Raycast multiple times but this command will not work.

Steps To Reproduce

So far there's no specific environment needed to reproduce this bug. It simply will not append to my daily note or open it. The commands to open my vault, or a random note work.

Current Behaviour

No response

Expected Behaviour

No response

Kenljs avatar Dec 18 '25 15:12 Kenljs

Thank you for opening this issue!

🔔 @marcjulianschwarz @KevinBatdorf @iancanderson @pernielsentikaer @ofalvai @adamadamsmusic @FServais @rakoort @MuuNU @marcjulianschwarz @theherk @marcjulianschwarz you might want to have a look.

💡 Author and Contributors commands

The author and contributors of marcjulian/obsidian can trigger bot actions by commenting:

  • @raycastbot close this issue Closes the issue.
  • @raycastbot close as not planned Closes the issue as not planned.
  • @raycastbot close as duplicate Closes the issue as duplicate.
  • @raycastbot rename this issue to "Awesome new title" Renames the issue.
  • @raycastbot reopen this issue Reopens the issue.
  • @raycastbot assign me Assigns yourself to the issue.
  • @raycastbot good first issue Adds the "Good first issue" label to the issue.
  • @raycastbot keep this issue open Make sure the issue won't go stale and will be kept open by the bot.

raycastbot avatar Dec 18 '25 15:12 raycastbot

@Kenljs - thanks for reporting. Can you check the files you see in /path/to/your/vault/.obsidian? Do you see core-plugins.json and community-plugins.json? If yes, please share the contents of both files.

And maybe check whether this helps: https://github.com/marcjulianschwarz/obsidian-raycast/issues/117

marcjulianschwarz avatar Dec 18 '25 18:12 marcjulianschwarz

@raycastbot rename this issue to "[Obsidian] Daily notes not working on windows"

marcjulianschwarz avatar Dec 18 '25 18:12 marcjulianschwarz

I will read through the link you sent. Thank you!

below are those two files.

CorePlugins Note

[
  "file-explorer",
  "global-search",
  "switcher",
  "graph",
  "backlink",
  "canvas",
  "outgoing-link",
  "tag-pane",
  "properties",
  "page-preview",
  "daily-notes",
  "templates",
  "note-composer",
  "command-palette",
  "bookmarks",
  "outline",
  "word-count",
  "slides",
  "workspaces",
  "file-recovery",
  "sync"
]

Community Plugins Note

[
  "obsidian-better-command-palette",
  "chronology",
  "obsidian-excalidraw-plugin",
  "obsidian-imgur-plugin",
  "obsidian-linter",
  "obsidian-minimal-settings",
  "note-toolbar",
  "copy-document-as-html",
  "folder-note-plugin",
  "obsidian-footnotes",
  "hotkeysplus-obsidian",
  "note-refactor-obsidian",
  "obsidian-pandoc",
  "darlal-switcher-plus",
  "readwise-official",
  "slash-commander",
  "obsidian-smarter-md-hotkeys",
  "tag-wrangler",
  "obsidian-style-settings",
  "templater-obsidian",
  "obsidian-toggle-list",
  "obsidian-underline",
  "waypoint",
  "whisper",
  "cmdr",
  "obsidian-task-progress-bar",
  "obsidian-plugin-update-tracker",
  "mousewheel-image-zoom",
  "persistent-graph",
  "alias-management"
]

Kenljs avatar Dec 18 '25 19:12 Kenljs

In the second file I can’t see the advanced URI plugin installed/enabled.

The raycast extension checks whether the core plugins file includes daily-notes and the community plugins file includes obsidian-advanced-uri.

marcjulianschwarz avatar Dec 18 '25 20:12 marcjulianschwarz

I see that now. Do you have any idea what could be causing that? I've tried to look into it but cannot find a way to have obsidian-advanced-uri show up in the community plugins and therefore for the Raycast extension to work

Things I've tried

  • uninstalling/reinstalling Uri plugin
  • disabling/enabling all community plugins
  • manually adding in obsidian-advanced-uri to the .json
  • restarting obsidian and raycast Yet I still get the same error message.

Kenljs avatar Dec 18 '25 21:12 Kenljs

Interesting. Things that come to my mind:

  • are you installing the plugin in the correct vault
  • are you installing the correct plugin: https://obsidian.md/plugins?id=obsidian-advanced-uri
  • does the plugin appear in your community plugins inside of Obsidian when you install it and is it enabled? See the three steps in the screenshot. If it is there like in the provided image, does it appear in the JSON file?
  • do you have to update Obsidian (I am on 1.10.6 and installer version on 1.8.4)
  • did you set any preferences in the Obsidian extension? You can change the default config name there. Is it different?
  • are you using the vault on mobile devices? (I remember many plugins don't work on the iOS/Android version and maybe something is overriding your file?)

But other than that I might not be able to help much here. The extension needs some way to check for available plugins... don't think we can easily get around this.

Image Image

marcjulianschwarz avatar Dec 18 '25 22:12 marcjulianschwarz

I know this is out of your scope, so I appreciate you helping in whatever way you can. This must be some odd corner case because no matter what I do, I still can't fix it. Thank you for your help though!

  • are you installing the plugin in the correct vault Yes
  • are you installing the correct plugin: https://obsidian.md/plugins?id=obsidian-advanced-uri Yes
  • does the plugin appear in your community plugins inside of Obsidian when you install it and is it enabled? See the three steps in the screenshot. If it is there like in the provided image, does it appear in the JSON file? Yes it is enabled, but still not showin up in the JSON
  • do you have to update Obsidian (I am on 1.10.6 and installer version on 1.8.4) I updated the installer to no avail. Everything is the latest update.
  • did you set any preferences in the Obsidian extension? You can change the default config name there. Is it different? No. It is the default
  • are you using the vault on mobile devices? (I remember many plugins don't work on the iOS/Android version and maybe something is overriding your file?) Yes. I am using it on mobile and I pay for Sync. I just installed and enabled Advanced URI on mobile in case that would help. Still no changes.

Kenljs avatar Dec 23 '25 18:12 Kenljs

Yes it is enabled, but still not showin up in the JSON

Can you try creating a completely new vault (without Obsidian Sync enabled) and only installing the URI plugin and enabling the core daily notes plugin? Maybe some other plugin is preventing it to install correctly?

marcjulianschwarz avatar Dec 23 '25 18:12 marcjulianschwarz

Well, that was a horror to walk through! I finally figured it out. After noticing that some of my files were missing, I went down a rabbit hole trying to figure out what was going on. When I had installed Obsidian on my phone recently, it had somehow jacked up my sync. In addition to the fresh install on my phone, I had somehow been storing Obsidian in two different places, both in OneDrive and on my local PC. Once I got my Obsidian sync/storage under control, this plugin worked like a charm. Thanks for your help. I think this issue is resolved!

Kenljs avatar Dec 24 '25 19:12 Kenljs

Awesome that you got it resolved! Sync is sometimes misbehaving, especially with mobile in my experience.

Hope you can enjoy the extension now. If you have any feedback or suggestions for workflows that might be missing, let me know :)

marcjulianschwarz avatar Dec 24 '25 20:12 marcjulianschwarz