-
-
Notifications
You must be signed in to change notification settings - Fork 464
-
Hello, everyone!
I am having a problem with Copilot, where it cannot index notes for consultation. The AI chat plugin works well, but the note reading function gives me the error "error indexing file" and when I try to refresh the vault index, I receive the following error: "failed to initialize copilot database. Some features may be limited Obsidian."
Beta Was this translation helpful? Give feedback.
All reactions
Replies: 3 comments 4 replies
-
What device is this? Can you check the dev console for error messages.
Beta Was this translation helpful? Give feedback.
All reactions
-
Hello, the device is running Windows 11, Obsidian version: 1.8.9. I am attaching the log file (TXT) for analysis.
I was able to use a local AI through LLM Studio, where it only created the index after adding a Gemini API. Once the index was created, I was able to use the local AI. However, as soon as I removed the Gemini API, the error reappeared when trying to index with the local AI.
Beta Was this translation helpful? Give feedback.
All reactions
-
same error... Windows 11, Obsidian 1.9.14, CoPilot 3.03
plugin:copilot:335 Database not initialized. Some features may be limited.
plugin:copilot:1732 Failed to fetch relevant notes: Error: Database is not loaded. Please restart the plugin.
at t.getDb (plugin:copilot:543:4796)
at async o (plugin:copilot:1732:8838)
plugin:copilot:335 Database not initialized. Some features may be limited.
plugin:copilot:1732 Failed to fetch relevant notes: Error: Database is not loaded. Please restart the plugin.
at t.getDb (plugin:copilot:543:4796)
at async o (plugin:copilot:1732:8838)
Beta Was this translation helpful? Give feedback.
All reactions
-
Same error. MacBook Pro M1 Max, Obsidian 1.10, Copilot 3.1.0
Database not initialized. Some features may be limited.
getDb @ plugin:copilot:336
plugin:copilot:1800 Failed to fetch relevant notes: Error: Database is not loaded. Please restart the plugin.
at t.getDb (plugin:copilot:544:4796)
at async o (plugin:copilot:1800:5441)
o @ plugin:copilot:1800
Beta Was this translation helpful? Give feedback.
All reactions
-
Hi, can you try:
- force reindexing the vault
- if the issue persists, delete your index file in /{your vault}/.obsidian/copilot-index-xxx.json
Beta Was this translation helpful? Give feedback.
All reactions
-
👍 1
-
Deleting the index file fixed the issue, thank you!
Beta Was this translation helpful? Give feedback.
All reactions
-
When I try 1: force reindexing I get: "Lexical Search Builds Index on Demand" and it doesn't reindex
When I delete the /copilot-index-chunks...
Database not initialized. Some features may be limited.
plugin:copilot:1800 Failed to fetch relevant notes: Error: Database is not loaded. Please restart the plugin.
at t.getDb (plugin:copilot:544:4796)
at runNextTicks (node:internal/process/task_queues:60:5)
at process.processImmediate (node:internal/timers:449:9)
at async o (plugin:copilot:1800:5441)
plugin:copilot:544 Error indexing file freeverse/Today.md: Error: Semantic index database not found.
at t.removeDocs (plugin:copilot:336:138037)
at Uge.reindexFile (plugin:copilot:544:1594)
at async t.reindexFile (plugin:copilot:544:492
And it is not recreating the copilot-index files...
I have close to 7000 notes, perhaps this is a boundary issue?
Beta Was this translation helpful? Give feedback.