aboutsummaryrefslogtreecommitdiffstats
path: root/docs/versioned_docs/version-v0.23.0/12-troubleshooting.md
diff options
context:
space:
mode:
authorMohamed Bassem <me@mbassem.com>2025-03-22 17:26:59 +0000
committerMohamed Bassem <me@mbassem.com>2025-03-22 17:26:59 +0000
commit13ba417f55ffd77bb5f4d4f4b53f349bd6d2dc4d (patch)
treee7da94aaa8eb22f901641f07c372ba0c2d236209 /docs/versioned_docs/version-v0.23.0/12-troubleshooting.md
parentf51462f16d32297cab724760ea1573480bfc25bb (diff)
downloadkarakeep-13ba417f55ffd77bb5f4d4f4b53f349bd6d2dc4d.tar.zst
docs: Release the 0.23 docs
Diffstat (limited to 'docs/versioned_docs/version-v0.23.0/12-troubleshooting.md')
-rw-r--r--docs/versioned_docs/version-v0.23.0/12-troubleshooting.md33
1 files changed, 33 insertions, 0 deletions
diff --git a/docs/versioned_docs/version-v0.23.0/12-troubleshooting.md b/docs/versioned_docs/version-v0.23.0/12-troubleshooting.md
new file mode 100644
index 00000000..15356309
--- /dev/null
+++ b/docs/versioned_docs/version-v0.23.0/12-troubleshooting.md
@@ -0,0 +1,33 @@
+# Troubleshooting
+
+## SqliteError: no such table: user
+
+This usually means that there's something wrong with the database setup (more concretely, it means that the database is not initialized). This can be caused by multiple problems:
+1. **Wiped DATA_DIR:** Your `DATA_DIR` got wiped (or the backing storage dir changed). If you did this intentionally, restart the container so that it can re-initalize the database.
+2. **Missing DATA_DIR**: You're not using the default docker compose file, and you forgot to configure the `DATA_DIR` env var. This will result into the database getting set up in a different directory than the one used by the service.
+
+## Chrome Failed to Read DnsConfig
+
+If you see this error in the logs of the chrome container, it's a benign error and you can safely ignore it. Whatever problems you're having, is unrelated to this error.
+
+## AI Tagging not working (when using OpenAI)
+
+Check the logs of the container and this will usually tell you what's wrong. Common problems are:
+1. Typo in the env variable `OPENAI_API_KEY` name resulting into logs saying something like "skipping inference as it's not configured".
+2. You forgot to call `docker compose up` after configuring open ai.
+3. OpenAI requires pre-charging the account with credits before using it, otherwise you'll get an error like "insufficient funds".
+
+## AI Tagging not working (when using Ollama)
+
+Check the logs of the container and this will usually tell you what's wrong. Common problems are:
+1. Typo in the env variable `OLLAMA_BASE_URL` name resulting into logs saying something like "skipping inference as it's not configured".
+2. You forgot to call `docker compose up` after configuring ollama.
+3. You didn't change the `INFERENCE_TEXT_MODEL` env variable, resulting into hoarder attempting to use gpt models with ollama which won't work.
+4. Ollama server is not reachable by the hoarder container. This can be caused by:
+ 1. Ollama server being in a different docker network than the hoarder container.
+ 2. You're using `localhost` as the `OLLAMA_BASE_URL` instead of the actual address of the ollama server. `localhost` points to the container itself, not the docker host. Check this [stackoverflow answer](https://stackoverflow.com/questions/24319662/from-inside-of-a-docker-container-how-do-i-connect-to-the-localhost-of-the-mach) to find how to correctly point to the docker host address instead.
+
+## Crawling not working
+
+Check the logs of the container and this will usually tell you what's wrong. Common problems are:
+1. You changed the name of the chrome container but didn't change the `BROWSER_WEB_URL` env variable.