You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Plugin information (please complete the following information):
OS: MacOS Sonoma 14.7, Windows 11 (latest), IOS (latest)
Templater version: 2.9.1 (and just updated to 2.9.2)
Obsidian version: 1.7.7
Templater settings: Template folder location Templates/, Trigger Template on new file creation, Enable folder templates (12 different folders), Template hotkeys (4)
Describe the bug
I pay for Obsidian Sync (and have no other third party syncing in use).
When I add a new file in a folder template location, it works fine if only one device is running.
But if I have Obsidian open on multiple devices, it causes and almost-endless loop of renaming the files, where the unique timestamp is repeated in the title. While taking notes, I'm unable to work since the file keeps moving to a new name (probably triggered by the other active device).
Does anyone have any ideas for how to prevent this looping file rename?
An example of the log (shortened to keep this issue readable):
Expected behavior
I want Templater to only run on the device with Obsidian that I'm actually using, not the one sitting idle.
I want an option that allows me to "Ignore Obsidian Sync changes" in the template folders, to prevent the looping.
Screenshots
I could record a video and share as a DM if that would help?
Is that your full template? I can repro if that is my full template. If my template has anything that adds content to the note (even a space or a blank line), then it will not get stuck in a loop.
Edit: Adding a single space to the template fixed it, thanks! I've never fixed such a big annoying problem with such a tiny change 😂
Is that your full template? I can repro if that is my full template. If my template has anything that adds content to the note (even a space or a blank line), then it will not get stuck in a loop.
What does “I can repro” mean? You can reproduce it?
Yes, that’s the full template. I’ve been wondering if it might be interacting with another plugin, but I’m not sure how to diagnose that without turning off/on every plugin. And I can’t think of a plugin that might be related (I have the Core unique note feature off).
I agree, any content prevents the issue. So maybe I just need to add a small bit of content into the template? Will try that (so easy) thanks!!
Plugin information (please complete the following information):
Templates/
, Trigger Template on new file creation, Enable folder templates (12 different folders), Template hotkeys (4)Describe the bug
I pay for Obsidian Sync (and have no other third party syncing in use).
When I add a new file in a folder template location, it works fine if only one device is running.
But if I have Obsidian open on multiple devices, it causes and almost-endless loop of renaming the files, where the unique timestamp is repeated in the title. While taking notes, I'm unable to work since the file keeps moving to a new name (probably triggered by the other active device).
Does anyone have any ideas for how to prevent this looping file rename?
An example of the log (shortened to keep this issue readable):
Expected behavior
I want Templater to only run on the device with Obsidian that I'm actually using, not the one sitting idle.
I want an option that allows me to "Ignore Obsidian Sync changes" in the template folders, to prevent the looping.
Screenshots
I could record a video and share as a DM if that would help?
Additional context
My template code is:
Thanks!!!
The text was updated successfully, but these errors were encountered: