Troubleshooting¶
This page lists common issues and how to resolve them.
Common errors and fixes¶
- “No such index idx:zotero”
-
Start Redis Stack and run Reindex Redis from cached chunks.
-
“Chunks cache missing for
” - Run Reindex current note from cache while the affected note is open.
- The plugin now rebuilds
.zotero-redisearch-rag/chunks/<doc_id>.jsonfrom existingzrr:sync/zrr:chunkmarkers in the note, then continues reindexing. -
If the note no longer contains valid chunk markers, reimport the item from Zotero.
-
“Failed to sync bundled tools”
-
Restart Obsidian and try again. If it persists, reinstall the plugin.
-
“No PDF attachment found for item”
-
The selected Zotero item doesn’t have a PDF attachment. Add one in Zotero and re‑import.
-
The synced PDF tab disappeared from the right sidebar
- Run Sync PDF view in right sidebar for current note from the command palette, or click the PDF ribbon button, while the note is open.
- If the sidebar was collapsed, the command will reveal the PDF leaf again.
Redis index mismatch and reindex¶
If you change embedding models or the index schema gets out of sync, you may see errors about embedding dimensions or missing fields.
Fix:
- Run Drop & rebuild Redis index.
- Then run Reindex Redis from cached chunks.
This rebuilds the Redis index using your current settings.
Model identifier issues¶
- LM Studio: Use the exact model ID shown in LM Studio, not the repository name.
- Ollama: Use the OpenAI‑compatible endpoint and a model name that exists in Ollama.
If model refresh fails, double‑check the base URL and API key in the provider profile.
OCR quality problems and cleanup¶
If OCR output is noisy or incomplete:
- Switch OCR mode to “OCR only if text is poor” or “Always OCR.”
- Try a different OCR engine (Tesseract vs. Paddle options).
- Enable OCR cleanup with an LLM to improve low‑quality text.
For scanned PDFs:
- Worker runtime: Tesseract + Poppler are already in the worker image.
- Local runtime (legacy/advanced mode): installing Tesseract + Poppler on the host improves OCR accuracy.
Redis Stack start failures¶
Docker/Podman will pull the image (if missing) and then create a container. On first startup, this can take several minutes, and on slower networks/machines can take 10+ minutes. If no Redis container appears (or it exits immediately), or the Python worker fails to come up, common causes to check:
- Missing file sharing configuration: Docker Desktop/Podman Desktop must allow mounting your vault path (and plugin/tools path if separate). Typical errors include
Mounts deniedoroperation not permitted. - Docker/Podman isn’t running: The CLI exists, but the daemon is stopped.
- Wrong Docker/Podman path: The plugin points to a non‑working binary.
- Compose not available: Podman needs
podman composeorpodman-compose. - Image pull failed: Network issue, registry auth/rate limit, or blocked access.
- Port conflict: Redis port is already in use (enable Auto‑assign Redis port).
- Stale containers: An old Redis container or project name is conflicting.
- Vault path not accessible: Vault is on an external drive or blocked path.
- Data directory not writable:
.obsidian/zotero-redisearch-rag/redis-datacan’t be created. - Invalid bind mount/config path: For example,
./redis-stack.confis missing or unreadable. - Redis config/startup error: Container is created, then exits because Redis fails to start.
Quick checks:
docker compose config
docker compose pull redis-stack
docker compose up -d redis-stack python-worker
docker compose ps -a
docker compose logs redis-stack
docker compose logs python-worker
In Obsidian you can also run:
- Command palette → Recreate Redis Stack (Pull Configured Image)