Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Re-embed smart notes every time I change machine. #578

Open
DarioRugg opened this issue May 3, 2024 · 4 comments
Open

Re-embed smart notes every time I change machine. #578

DarioRugg opened this issue May 3, 2024 · 4 comments

Comments

@DarioRugg
Copy link

Hello,

First of all, thank you a lot for your effort and time in making this great product; I really love it!

I have opened this issue since every time I switch laptops (I have two) or switch Windows accounts on the same laptop (I have two on each computer), the plugin asks me to embed the notes, even though the embedding was already done and it's present in the .smart-connections folder.
To sync the vault across the different machines/accounts I have it on OneDrive, I tried to use the options to have the .smart-connections folders always downloaded with the option "Always keep on this device", but there was no way; I also tried to sync the embedding manually from the cloud before opening Obsidian, but didn't work. By the way, this issue shows up only when I first open the software on the new machine/account; when I do the embeddings then, the problem is solved until I don't switch to another machine/account, and even if on the second environment I don't re-embed the notes with the aim of keep the embedding integer where I made them when I switch back it asks me to redo them anyway.

Let me know if I can give you more information to help you with this issue.

All the best,
Dario

@brianpetro
Copy link
Owner

Hi @DarioRugg

Thanks for letting me know about this.

  1. I recommend excluding the .smart-connections folder from any syncing. Unfortunately, the differences between machines can trick Smart Connections into thinking files have changed when they haven't. Furthermore, the syncing processes can also prevent Smart Connections from being able to access the files, once again tricking the software into thinking that there are no embeddings since they could not be loaded.

  2. Try the "Embedding file per note (EXPERIMENTAL)" setting. While this is still a work in progress, it may resolve any latent issues that may exist after following the above recommendations.

Let me know if that helps,
🌴

@DarioRugg
Copy link
Author

Hello @brianpetro,

Thanks for your qick answare,
I have recently noticed that there was an issue with my forlder sync service for android, I wasn't filtering out affectivelly the .smart-connection folder from the sync srevice, maybe now that the files there are excluded from the sync with my android devices the problem will be solved, let's see.

I'll keep you updated,
Dario

@DarioRugg
Copy link
Author

Hello,

Unfortunately, it seems that the problem originated from the OneDrive sync since fixing the exclusion of the Android sync app didn't fix the issue.
So now I tried to do as you suggested, excluding the .smart-connections folder from the cloud with the "Smart connections folder" option in the plugin settings. However, when I add the absolute path to the folder I have just created on my desktop, it gives me the message "No Smart Connections found." Instead, when using a relative path, I could go to a different folder (though still confined in the OneDrive space).
Now I have just updated the plugin, so let's see if with the new update things work better.

By the way I also tried to find the "Embedding file per note (EXPERIMENTAL)" setting but I couldn't find it, I don't know if it isn't in the plugin settings (since I have just updated the plugin I should have a recent version).

Best wishes.

@brianpetro
Copy link
Owner

Hey @DarioRugg

If the experimental feature setting is missing, then you're probably using the early release (v2.2.x). In this latest version, the experimental feature is now the default.

🌴

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants