brianpetro / obsidian-smart-connections

Chat with your notes & see links to related content with AI embeddings. Use local models or 100+ via APIs like Claude, Gemini, ChatGPT & Llama 3

Home Page:https://smartconnections.app

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

smart connection files don't update

palwoo opened this issue · comments

The version of obsidian-smart-connections I'm using is 2.1.71. When I delete a note, the smart connection files don't automatically update, it's still there, refreshing embeddings doesn't work, and restarting Obsidian doesn't work either.

PixPin_2024-06-07_14-37-46

I deleted the file "Notice 2024-06-02-22-23-29.md" from directory "+\Readitlater", but "+_Readitlater_Notice_2024-06-02_22-23-29_md.ajson" is still in ".smart-connections\multi".

Hi @palwoo

While I know this probably sounds ridiculous... it might require two restarts until the deleted files are cleared.

You can prevent doing a full restart by simply disabling and re-enabling the plugin.

The "Making connections process" at start-up should flag any deleted files. However, the saved record may not be deleted until the subsequent restart.

It's also quite possible that you are encountering a bug. If so, errors should be in the developer console logs when you start the plugin. Screenshotting these errors and uploading them here will help me investigate the issue.

Thanks for bringing this to my attention and your help in figuring it out
🌴

I deleted a file named "test for smart connections", then I disabled and re-enabled the plugin three times. Here is the log:
obsidian.md-1718095957335.log

Moving a file doesn't update smart-connections either.


@brianpetro Thank you for your work, it's a very useful plugin. 👍

I updated the plugin to version 2.1.72 and it workes fine now. 👍